setNetworkAclDescription

Prev Next

Available in VPC

Edit the description of a network ACL by specifying the network ACL number.

Syntax

The setNetworkAclDescription syntax is as follows:

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

Options

This section describes the options available when running setNetworkAclDescription.

Required options

The following options are required for setNetworkAclDescription.

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

Optional options

These are the optional options for setNetworkAclDescription. Options that are not specified will use their default values.

Options Type Required Description
--networkAclDescription String Optional Description of the network ACL (byte)
  • 0-1000

Common options

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

Examples

If the request to edit the network ACL description is successful, the network ACL configuration information is returned.

Command

The command example is as follows:

./ncloud vpc setNetworkAclDescription \
    --networkAclNo 34567890 \
    --networkAclDescription "Updated network ACL description" \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "setNetworkAclDescriptionResponse": {
    "totalRows": 1,
    "networkAclList": [
      {
        "networkAclNo": "34567890",
        "networkAclName": "test-acl-01",
        "vpcNo": "12345678",
        "networkAclStatus": {
          "code": "RUN",
          "codeName": "In operation"
        },
        "networkAclDescription": "Updated network ACL description",
        "createDate": "2026-07-07T14:37:10+0900",
        "isDefault": false
      }
    ],
    "requestId": "d4e5f6a7-b8c9-0123-defa-456789012345",
    "returnCode": "0",
    "returnMessage": "success"
  }
}