getAccessControlGroupRuleList
- Print
- PDF
getAccessControlGroupRuleList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
Query the list of ACG rules using the ACG number.
Request
Request parameter
Parameter Name | Required Status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region 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. | |
accessControlGroupNo | Yes | String | ACG number The accessControlGroupNo can be obtained through the getAccessControlGroupList action. | |
accessControlGroupRuleTypeCode | No | String | ACG 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. | |
responseFormatType | No | String | Format type for the response result Options : xml | json Default : xml |
Response
Response data type
- AccessControlGroupRuleList type
AccessControlGroupRuleList extends CommonResponse |
---|
private Integer totalRows; |
private List |
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?