getAdjustmentTypeList

Prev Next

Available in VPC

Get available adjustment type codes when setting a scaling policy of Auto Scaling Group.

Syntax

The getAdjustmentTypeList syntax is as follows:

./ncloud vautoscaling getAdjustmentTypeList \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getAdjustmentTypeList.

Common options

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

Examples

If the request to retrieve the list of adjustment types is successful, the code information for each adjustment type is returned.

Command

The command example is as follows:

./ncloud vautoscaling getAdjustmentTypeList \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
    "getAdjustmentTypeListResponse": {
        "totalRows": 3,
        "adjustmentTypeList": [
            {
                "code": "CHANG",
                "codeName": "Capacity change amount"
            },
            {
                "code": "PRCNT",
                "codeName": "Capacity change percentage"
            },
            {
                "code": "EXACT",
                "codeName": "Exact capacity to set"
            }
        ],
        "requestId": "f6a7b8c9-d0e1-2345-fabc-678901234567",
        "returnCode": "0",
        "returnMessage": "success"
    }
}