createNetworkAclDenyAllowGroup

Prev Next

Can be used in a VPC environment.

Overview

Creates network ACL's Deny-Allow groups.

Request

Request parameter

Parameter name Requirement status Type Restrictions Description
regionCode No String - Region code
Determines the region where the network ACL's Deny-Allow group will be created.
regionCode can be obtained through the getRegionList action.
Default: Selects the first region of the getRegionList search results.
vpcNo Yes String - VPC number
Determines the VPC where the network ACL's Deny-Allow group will be created.
vpcNo can be obtained through the getVpcList action.
networkAclDenyAllowGroupName No String Min : 3, Max : 30
Only lowercase English letters, numbers, and "-" are allowed, and it must start with an English letter.
It must end with an English letter or number.
- Network ACL's Deny-Allow group name to be created
Default: NAVER Cloud Platform automatically assigns it.
networkAclDenyAllowGroupDescription No String Min : 0, Max : 1000 Bytes Description of the network ACL's Deny-Allow group to be created
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 networkAclDenyAllowGroupList = new ArrayList<>();
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 ipList = new ArrayList<>();

Examples

Request examples

ncloud vpc createNetworkAclDenyAllowGroup --regionCode KR --vpcNo ***04 --networkAclDenyAllowGroupName test-***

Response examples

<createNetworkAclDenyAllowGroupResponse>
  <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>
      <networkAclDenyAllowGroupDescription></networkAclDenyAllowGroupDescription>
      <createDate>2021-01-25T19:40:48+0900</createDate>
      <isApplied>false</isApplied>
    </networkAclDenyAllowGroup>
  </networkAclDenyAllowGroupList>
</createNetworkAclDenyAllowGroupResponse>