getNetworkAclDetail

Prev Next

Available in VPC

Get the details of a network ACL by specifying the network ACL number.

Syntax

The getNetworkAclDetail syntax is as follows:

./ncloud vpc getNetworkAclDetail \
    --networkAclNo <network-acl-no> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getNetworkAclDetail.

Required options

The following options are required for getNetworkAclDetail.

Options Type Required Description
--networkAclNo String Required Network ACL number

Common options

For information about the options common to all vpc subcommands, see VPC options.

Examples

If the request to retrieve the network ACL details is successful, the network ACL configuration information is returned.

Command

The command example is as follows:

./ncloud vpc getNetworkAclDetail \
    --networkAclNo 34567890 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getNetworkAclDetailResponse": {
    "totalRows": 1,
    "networkAclList": [
      {
        "networkAclNo": "34567890",
        "networkAclName": "test-acl-01",
        "vpcNo": "12345678",
        "networkAclStatus": {
          "code": "RUN",
          "codeName": "In operation"
        },
        "networkAclDescription": "Test network ACL",
        "createDate": "2026-07-07T14:37:10+0900",
        "isDefault": false
      }
    ],
    "requestId": "c3d4e5f6-a7b8-9012-cdef-345678901234",
    "returnCode": "0",
    "returnMessage": "success"
  }
}