getAccessControlGroupRuleList
    • PDF

    getAccessControlGroupRuleList

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Query the list of ACG rules using the ACG number.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region where the rule list of ACG will be queried.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    accessControlGroupNoYesStringACG number
    The accessControlGroupNo can be obtained through the getAccessControlGroupList action.
    accessControlGroupRuleTypeCodeNoStringACG rule type code
    You can search by filtering with the ACG rule type code.
    Options: INBND (Inbound rule) | OTBND (Outbound rule)
    Default: All ACG rules are queried.
    responseFormatTypeNoStringFormat type for the response result
    Options : xml | json
    Default : xml

    Response

    Response data type

    • AccessControlGroupRuleList type
    AccessControlGroupRuleList extends CommonResponse
    private Integer totalRows;
    private List accessControlGroupRuleList = new ArrayList<>();
    AccessControlGroupRule
    private String accessControlGroupNo;
    private ProtocolType protocolType;
    private String ipBlock;
    private String accessControlGroupSequence;
    private String portRange;
    private CommonCode accessControlGroupRuleType;
    private String accessControlGroupRuleDescription;

    Example

    Request example

    ncloud vserver getAccessControlGroupRuleList --regionCode KR --accessControlGroupNo ***63
    

    Response example

    <getAccessControlGroupRuleListResponse>
      <requestId>a6fe4c12-b592-41c6-acf9-dff0369f09b0</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>2</totalRows>
      <accessControlGroupRuleList>
        <accessControlGroupRule>
          <accessControlGroupNo>***63</accessControlGroupNo>
          <protocolType>
            <code>TCP</code>
            <codeName>tcp</codeName>
            <number>6</number>
          </protocolType>
          <ipBlock>***.***.0.0/0</ipBlock>
          <accessControlGroupSequence></accessControlGroupSequence>
          <portRange>22</portRange>
          <accessControlGroupRuleType>
            <code>INBND</code>
            <codeName>Inbound</codeName>
          </accessControlGroupRuleType>
          <accessControlGroupRuleDescription></accessControlGroupRuleDescription>
        </accessControlGroupRule>
        <accessControlGroupRule>
          <accessControlGroupNo>***63</accessControlGroupNo>
          <protocolType>
            <code>TCP</code>
            <codeName>tcp</codeName>
            <number>6</number>
          </protocolType>
          <ipBlock>***.***.0.0/0</ipBlock>
          <accessControlGroupSequence></accessControlGroupSequence>
          <portRange>22</portRange>
          <accessControlGroupRuleType>
            <code>OTBND</code>
            <codeName>Outbound</codeName>
          </accessControlGroupRuleType>
          <accessControlGroupRuleDescription></accessControlGroupRuleDescription>
        </accessControlGroupRule>
      </accessControlGroupRuleList>
    </getAccessControlGroupRuleListResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.