Can be used in a VPC environment.
Overview
Modify the Network ACL description.
Request
Request parameter
| Parameter Name | Required Status | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | Region Code You can decide the region of the Network ACL whose description will be modified. The regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList query results. |
|
| networkAclNo | Yes | String | The number of the Network ACL whose description will be modified The networkAclNo can be obtained through the getNetworkAclList action. |
|
| networkAclDescription | No | String | Min : 0, Max : 1000 Bytes | The Network ACL description to be modified |
| responseFormatType | No | String | Format type for the response result Options : xml | json Default : xml |
Response
Response data type
- NetworkAclList type
| NetworkAclList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List |
| NetworkAcl |
|---|
| private String networkAclNo; |
| private String networkAclName; |
| private String vpcNo; |
| private CommonCode networkAclStatus; |
| private String networkAclDescription; |
| private Date createDate; |
| private Boolean isDefault; |
Example
Request example
ncloud vpc setNetworkAclDescription --regionCode KR --networkAclNo ***31 --networkAclDescription test-description
Response example
<setNetworkAclDescriptionResponse>
<requestId>b3826530-2906-476e-916f-c3f29221c59d</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>test-description</networkAclDescription>
<createDate>2020-06-24T15:37:07+0900</createDate>
<isDefault>false</isDefault>
</networkAcl>
</networkAclList>
</setNetworkAclDescriptionResponse>