Can be used in a VPC environment.
Overview
Query the list of Network ACLs.
Request
Request parameter
| Parameter Name | Required Status | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | Region Code You can decide the region where the Network ACL list will be queried. The regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList query results. |
|
| networkAclName | No | String | The name of Network ACL You can search by filtering with the Network ACL name. |
|
| networkAclStatusCode | No | String | Network ACL status code You can search by filtering with the Network ACL status code. Options : INIT | SET | RUN | TERMTING |
|
| networkAclNoList.N | No | List<String> | List of Network ACL numbers You can search by filtering with the Network ACL number. The networkAclNo can be obtained through the getNetworkAclList action. ex) --networkAclNoList 1234 2345 |
|
| pageNo | No | Integer | The page number of the paged results The results can shown as pages using pageNo and pageSize. |
|
| pageSize | Conditional | Integer | The size of each page to be displayed at the time of paging The results can shown as pages using pageNo and pageSize. Enter it when entering pageNo. |
|
| vpcNo | No | String | VPC number You can search by filtering with the VPC number. vpcNo can be obtained through the getVpcList action. |
|
| 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 getNetworkAclList --regionCode KR --networkAclName test-*** --networkAclStatusCode RUN --networkAclNoList ***31 --vpcNo ***04
Response example
<getNetworkAclListResponse>
<requestId>dc9325b1-a000-4db5-ac28-e33819b910eb</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-31T14:29:14+0900</createDate>
<isDefault>false</isDefault>
</networkAcl>
</networkAclList>
</getNetworkAclListResponse>