Can be used in a VPC environment.
Overview
Removes rules from the inbound rule list of network ACL.
Request
Request parameter
| Parameter name | Requirement status | Type | Restrictions | Description | 
|---|---|---|---|---|
| regionCode | No | String | - Region code Determines the region of the network ACL where the inbound rules will be removed from. regionCode can be obtained through the getRegionList action. Default: Selects the first region of the getRegionList search results.  | 
|
| networkAclNo | Yes | String | - Network ACL number networkAclNo can be obtained through the getNetworkAclList action.  | 
|
| networkAclRuleList.N.priority | Yes | Integer | Min : 0, Max : 199 | - The priority of the network ACL rules to be removed Determines the priority of the inbound rules to be removed.  | 
| networkAclRuleList.N.protocolTypeCode | Yes | String | - The protocol type code of the network ACL rules to be removed Options : TCP | UDP | ICMP  | 
|
| networkAclRuleList.N.ipBlock | Conditional | String | - The access source IP address block of the network ACL rules to be removed ex) 0.0.0.0/0, 100.10.20.0/24, 192.168.0.10/32  | 
|
| networkAclRuleList.N.denyAllowGroupNo | Conditional | String | - The Deny-Allow group number of access sources for the network ACL rules to be removed Entered when removing the rule whose access source is specified to be a Deny-Allow group. denyAllowGroupNo can be obtained through the getNetworkAclDenyAllowGroupList action.  | 
|
| networkAclRuleList.N.portRange | Conditional | String | - Port range of the network ACL rules to be removed Example 1. Single port: 22 Example 2. Specifying range: 1-65535 Do not enter when protocolTypeCode is ICMP.  | 
|
| networkAclRuleList.N.ruleActionCode | Yes | String | - The rule action code of the network ACL rules to be removed Options : ALLOW | DROP  | 
|
| responseFormatType | No | String | - Format type of the response result Options : xml | json Default : xml  | 
Response
Response data type
- NetworkAclRuleList type
 
| NetworkAclRuleList extends CommonResponse | 
|---|
| private Integer totalRows; | 
| private List | 
| NetworkAclRule | 
|---|
| private String networkAclNo; | 
| private Integer priority; | 
| private CommonCode protocolType; | 
| private String portRange; | 
| private CommonCode ruleAction; | 
| private Date createDate; | 
| private String ipBlock; | 
| private String denyAllowGroupNo; | 
| private CommonCode networkAclRuleType; | 
| private String networkAclRuleDescription; | 
Examples
Request examples
ncloud vpc removeNetworkAclInboundRule --regionCode KR --networkAclNo ***31 --networkAclRuleList "priority='0', protocolTypeCode='TCP', ipBlock='***.***.0.0/0', portRange='22-23', ruleActionCode='ALLOW'" "priority='1', protocolTypeCode='TCP', ipBlock='***.***.0.0/0', portRange='24-25', ruleActionCode='ALLOW'"
Response examples
The inbound rule list of the network ACL after completing the request
<removeNetworkAclInboundRuleResponse>
  <requestId>fd874399-8139-4ba0-a7a1-2f06dfa83234</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>0</totalRows>
  <networkAclRuleList/>
</removeNetworkAclInboundRuleResponse>