Can be used in a VPC environment.
Overview
Sets the IP list of network ACL's Deny-Allow groups.
Request
Request parameter
| Parameter name | Requirement status | Type | Restrictions | Description | 
|---|---|---|---|---|
| regionCode | No | String | - Region code Determines the region of the network ACL's Deny-Allow group to set the IP list for. regionCode can be obtained through the getRegionList action. Default: Selects the first region of the getRegionList search results.  | 
|
| networkAclDenyAllowGroupNo | Yes | String | - Network ACL's Deny-Allow group number networkAclDenyAllowGroupNo can be obtained through the getNetworkAclDenyAllowGroupList action.  | 
|
| ipList.N | No | List | 
- IP list Enter the IP list to add to the Deny-Allow group. Up to 100 IPs can be registered, and duplicated IP addresses are not allowed. Up to 8 duplicated IP addresses can be registered within the same VPC. ex) ipList.1=10.0.0.1&ipList.2=10.0.0.2  | 
|
| responseFormatType | No | String | - Format type of the response result Options : xml | json Default : xml  | 
Response
Response data type
- NetworkAclDenyAllowGroupList type
 
| NetworkAclDenyAllowGroupList extends CommonResponse | 
|---|
| private Integer totalRows; | 
| private List | 
| NetworkAclDenyAllowGroup | 
|---|
| private String networkAclDenyAllowGroupNo; | 
| private String networkAclDenyAllowGroupName; | 
| private CommonCode networkAclDenyAllowGroupStatus; | 
| private String vpcNo; | 
| private IpList ipList; | 
| private String networkAclDenyAllowGroupDescription; | 
| private Date createDate; | 
| private Boolean isApplied; | 
| IpList | 
|---|
| private List | 
Examples
Request examples
ncloud vpc setNetworkAclDenyAllowGroupIpList --regionCode KR --networkAclDenyAllowGroupNo ***40 --ipList 10.0.0.1
Response examples
<setNetworkAclDenyAllowGroupIpListResponse>
  <requestId>84a4afa8-78aa-43b6-9a15-2bc25c3a7e7c</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <networkAclDenyAllowGroupList>
    <networkAclDenyAllowGroup>
      <networkAclDenyAllowGroupNo>***40</networkAclDenyAllowGroupNo>
      <networkAclDenyAllowGroupName>test-***</networkAclDenyAllowGroupName>
      <networkAclDenyAllowGroupStatus>
        <code>RUN</code>
        <codeName>run</codeName>
      </networkAclDenyAllowGroupStatus>
      <vpcNo>***04</vpcNo>
      <ipList>
        <ip>10.0.0.1</ip>
      </ipList>
      <networkAclDenyAllowGroupDescription></networkAclDenyAllowGroupDescription>
      <createDate>2021-01-25T19:40:48+0900</createDate>
      <isApplied>false</isApplied>
    </networkAclDenyAllowGroup>
  </networkAclDenyAllowGroupList>
</setNetworkAclDenyAllowGroupIpListResponse>