getAutoScalingGroupDetail

Prev Next

Available in VPC

Get Auto Scaling Group details.

Syntax

The getAutoScalingGroupDetail syntax is as follows:

./ncloud vautoscaling getAutoScalingGroupDetail \
    --autoScalingGroupNo <auto-scaling-group-no> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getAutoScalingGroupDetail.

Required options

The following options are required for getAutoScalingGroupDetail.

Options Type Required Description
--autoScalingGroupNo String Required Auto Scaling Group number

Common options

For information on options commonly used in the vautoscaling command, see Auto Scaling (VPC) options.

Examples

If the request to retrieve Auto Scaling Group details is successful, the Auto Scaling Group's configuration information is returned.

Command

The command example is as follows:

./ncloud vautoscaling getAutoScalingGroupDetail \
    --autoScalingGroupNo 20461037 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
    "getAutoScalingGroupDetailResponse": {
        "totalRows": 1,
        "autoScalingGroupList": [
            {
                "vpcNo": "12345678",
                "subnetNo": "23456789",
                "serverNamePrefix": "test",
                "autoScalingGroupNo": "20461037",
                "autoScalingGroupName": "asg-01",
                "launchConfigurationNo": "18305791",
                "minSize": 0,
                "maxSize": 0,
                "desiredCapacity": 0,
                "defaultCoolDown": 300,
                "healthCheckGracePeriod": 300,
                "healthCheckType": {
                    "code": "SVR",
                    "codeName": "Server"
                },
                "createDate": "2026-07-07T10:22:20+0900",
                "autoScalingGroupStatus": {
                    "code": "CREAT",
                    "codeName": "Created"
                },
                "targetGroupNoList": [],
                "inAutoScalingGroupServerInstanceList": [],
                "accessControlGroupNoList": [
                    "67890123"
                ],
                "suspendedProcessList": []
            }
        ],
        "requestId": "c3d4e5f6-a7b8-9012-cdef-345678901234",
        "returnCode": "0",
        "returnMessage": "success"
    }
}