getAccessControlGroupRuleList

Prev Next

Can be used in a VPC environment.

Overview

This searches the rule list for the ACG using the ACG number.

Request

Request parameters

Parameter name Required Type Restrictions Description
regionCode No String Region code
You can decide the region in which the rule list for the ACG will be queried.
regionCode can be obtained through the getRegionList action.
Default: Select the first region of the getRegionList search results
accessControlGroupNo Yes String ACG number
accessControlGroupNo can be obtained through the getAccessControlGroupList action.
accessControlGroupRuleTypeCode No String Type code of ACG rules
You can search by filtering with the type code of the ACG rule.
Options: INBND (Inbound rule) | OTBND (Outbound rule)
Default: Search all ACG rules.
responseFormatType No String Format type of the response results
Options : xml | json
Default : xml

Response

Response body

Example

Request Example

GET {API_URL}/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>