Available in VPC
Get the list of process types available for use in the process management of Auto Scaling Group.
Syntax
The getScalingProcessTypeList syntax is as follows:
./ncloud vautoscaling getScalingProcessTypeList \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getScalingProcessTypeList.
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 process types is successful, the code information for each process type is returned.
Command
The command example is as follows:
./ncloud vautoscaling getScalingProcessTypeList \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getScalingProcessTypeListResponse": {
"totalRows": 8,
"processList": [
{
"code": "LANCH",
"codeName": "Create a server instance."
},
{
"code": "TERMT",
"codeName": "Terminate server instances."
},
{
"code": "HTHCK",
"codeName": "Health check"
},
{
"code": "RPUNH",
"codeName": "Replace a server instance with health issues"
},
{
"code": "ZNRBL",
"codeName": "Rebalance the number of server instances per zone"
},
{
"code": "SCACT",
"codeName": "Scheduled action"
},
{
"code": "ADTLB",
"codeName": "Add a server instance to load balancer"
},
{
"code": "ALMNO",
"codeName": "Alarm notification"
}
],
"requestId": "b4c5d6e7-f8a9-0123-bcde-456789012345",
"returnCode": "0",
"returnMessage": "success"
}
}