removeAccessControlGroupOutboundRule
- Print
- PDF
removeAccessControlGroupOutboundRule
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Removes the outbound rule list of the ACG.
Request
Request parameter
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code Able to determine the region from which an outbound rule is to be removed. regionCode is obtained via getRegionList. Default: the first region from the getRegionList search results is selected. | |
vpcNo | Yes | String | - VPC number Determines VPC of the ACG from which an outbound rule is to be removed. vpcNo is obtained via getVpcList | |
accessControlGroupNo | Yes | String | - ACG number accessControlGroupNo is obtained via getAccessControlGroupList | |
accessControlGroupRuleList.N.protocolTypeCode | Yes | String | - Protocol type code of the ACG rule Protocol number is valid within 1-254. Options: TCP | UDP | ICMP | 1-254 | |
accessControlGroupRuleList.N.ipBlock | Conditional | String | - Access the source IP address block of the ACG rule You can determine the access source as either an IP address block or an ACG number E.g., 0.0.0.0/0, 100.10.20.0/24, 192.168.0.10/32 | |
accessControlGroupRuleList.N.accessControlGroupSequence | Conditional | String | - Access the source ACG number of the ACG rule You can determine the access source as either an IP address block or an ACG number. accessControlGroupNo is obtained via getAccessControlGroupList | |
accessControlGroupRuleList.N.portRange | Conditional | String | - Port range of ACG rule E.g., 1. Single port: 22 E.g., 2. Custom range: 1-65535 No port range is required except for protocolTypeCode TCP(6), UDP(17) | |
responseFormatType | No | String | - Format type of response 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; |
Examples
Request examples
ncloud vserver removeAccessControlGroupOutboundRule --regionCode KR --vpcNo ***04 --accessControlGroupNo ***63 --accessControlGroupRuleList "protocolTypeCode='TCP', ipBlock='***.***.0.0/0', portRange='81'" "protocolTypeCode='TCP', ipBlock='***.***.0.0/0', portRange='82'"
Response examples
Outbound rule list of the ACG after the request is performed
<removeAccessControlGroupOutboundRuleResponse>
<requestId>33d89f82-a41e-4ca5-b634-d7a4f8290d1e</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</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>OTBND</code>
<codeName>Outbound</codeName>
</accessControlGroupRuleType>
<accessControlGroupRuleDescription></accessControlGroupRuleDescription>
</accessControlGroupRule>
</accessControlGroupRuleList>
</removeAccessControlGroupOutboundRuleResponse>
Was this article helpful?