setNetworkAclDenyAllowGroupIpList

Prev Next

Available in VPC

Set the IP list for a network ACL Deny-Allow group.

Syntax

The setNetworkAclDenyAllowGroupIpList syntax is as follows:

./ncloud vpc setNetworkAclDenyAllowGroupIpList \
    --networkAclDenyAllowGroupNo <deny-allow-group-no> \
    [--ipList <ip-list>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running setNetworkAclDenyAllowGroupIpList.

Required options

The following options are required for setNetworkAclDenyAllowGroupIpList.

Options Type Required Description
--networkAclDenyAllowGroupNo String Required Network ACL deny-allow group number

Optional options

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

Options Type Required Description
--ipList List Optional IP address
  • You can enter multiple items separated by spaces (e.g., --ipList 10.0.0.1 10.0.0.2).
  • You can register up to 100 IP addresses; duplicate IP addresses are not allowed.
  • Within the same VPC, you can register up to 8 duplicate IP addresses.

Common options

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

Examples

If the request to configure the network ACL deny-allow group IP list is successful, the group's configuration information and IP list are returned.

Command

The command example is as follows:

./ncloud vpc setNetworkAclDenyAllowGroupIpList \
    --networkAclDenyAllowGroupNo 78901234 \
    --ipList 192.0.2.10 192.0.2.11 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "setNetworkAclDenyAllowGroupIpListResponse": {
    "totalRows": 1,
    "networkAclDenyAllowGroupList": [
      {
        "networkAclDenyAllowGroupNo": "78901234",
        "networkAclDenyAllowGroupName": "test-dag-01",
        "networkAclDenyAllowGroupStatus": {
          "code": "SET",
          "codeName": "Configuring"
        },
        "vpcNo": "12345678",
        "ipList": [
          "192.0.2.10",
          "192.0.2.11"
        ],
        "networkAclDenyAllowGroupDescription": "Updated deny-allow group description",
        "createDate": "2026-07-07T14:41:47+0900",
        "isApplied": false
      }
    ],
    "requestId": "c5d6e7f8-a9b0-1234-cdef-567890123456",
    "returnCode": "0",
    "returnMessage": "success"
  }
}