createNetworkAcl
- Print
- PDF
createNetworkAcl
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Overview
Create a network ACL.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region in which a network ACL will be created. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
vpcNo | Yes | String | VPC number This determines the VPC in which a network ACL will be created. vpcNo can be obtained through the getVpcList action. | |
networkAclName | No | String | Min : 3, Max : 30 Only lower case characters, numbers, and special character (-) are allowed, and it has to start with an English letter. It must end with an English letter or number. | The name of the network ACL to be created Default: NAVER Cloud Platform automatically grants it. |
networkAclDescription | No | String | Min : 0, Max : 1000 Bytes | The description about network ACL to be created |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request Example
GET {API_URL}/vpc/v2/createNetworkAcl
?regionCode=KR
&vpcNo=***04
&networkAclName=test-***
Response Example
<createNetworkAclResponse>
<requestId>2828ed65-e3ad-48ef-ac80-ca2e31c33544</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<networkAclList>
<networkAcl>
<networkAclNo>***31</networkAclNo>
<networkAclName>test-***</networkAclName>
<vpcNo>***04</vpcNo>
<networkAclStatus>
<code>RUN</code>
<codeName>run</codeName>
</networkAclStatus>
<networkAclDescription></networkAclDescription>
<createDate>2020-07-31T16:38:52+0900</createDate>
<isDefault>false</isDefault>
</networkAcl>
</networkAclList>
</createNetworkAclResponse>
Was this article helpful?