Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getAccessControlGroupDetail

Prev Next

Available in VPC

Get ACG details.

Syntax

The getAccessControlGroupDetail syntax is as follows:

./ncloud vserver getAccessControlGroupDetail \
    --accessControlGroupNo <acg-no> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getAccessControlGroupDetail.

Required options

The following options are required for getAccessControlGroupDetail.

Options Type Required Description
--accessControlGroupNo String Required ACG number

Common options

For information about the options common to all vserver subcommands, see Server (VPC) options.

Examples

If the ACG detailed query request is successful, the identification information and operational status of the created ACG are returned.

Command

The command example is as follows:

./ncloud vserver getAccessControlGroupDetail \
    --accessControlGroupNo 67890123 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getAccessControlGroupDetailResponse": {
    "totalRows": 1,
    "accessControlGroupList": [
      {
        "accessControlGroupNo": "67890123",
        "accessControlGroupName": "test-acg-01",
        "isDefault": false,
        "vpcNo": "12345678",
        "accessControlGroupStatus": {
          "code": "RUN",
          "codeName": "In operation"
        },
        "accessControlGroupDescription": "ACG for web tier"
      }
    ],
    "requestId": "f6789012-3456-789a-f012-678901234567",
    "returnCode": "0",
    "returnMessage": "success"
  }
}