Can be used in a VPC environment.
Overview
Query the Network ACL details using the Network ACL number.
Request
Request parameter
| Parameter Name | Required Status | Type | Restrictions | Description | 
|---|---|---|---|---|
| regionCode | No | String | Region Code You can decide the region where the Network ACL details will be queried. 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 to be queried The networkAclNo can be obtained through the getNetworkAclList 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 getNetworkAclDetail --regionCode KR --networkAclNo ***31
Response example
<getNetworkAclDetailResponse>
  <requestId>284ac9b9-3908-4f11-82a4-71c20b63ff1e</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-31T15:13:30+0900</createDate>
      <isDefault>false</isDefault>
    </networkAcl>
  </networkAclList>
</getNetworkAclDetailResponse>