Available in VPC
Restart a process of Auto Scaling Group.
Syntax
The resumeProcesses syntax is as follows:
./ncloud vautoscaling resumeProcesses \
--autoScalingGroupNo <auto-scaling-group-no> \
--scalingProcessCodeList <scaling-process-code-list> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running resumeProcesses.
Required options
The following options are required for resumeProcesses.
| Options | Type | Required | Description |
|---|---|---|---|
--autoScalingGroupNo |
String | Required | Auto Scaling Group number |
--scalingProcessCodeList |
List | Required | Process code list
|
Common options
For information on options commonly used in the vautoscaling command, see Auto Scaling (VPC) options.
Examples
If the request to restart the process is successful, the code information for the restarted process is returned.
Command
The command example is as follows:
./ncloud vautoscaling resumeProcesses \
--autoScalingGroupNo 20461037 \
--scalingProcessCodeList LANCH TERMT \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"resumeProcessesResponse": {
"processList": [
{
"code": "LANCH",
"codeName": "Create a server instance."
},
{
"code": "TERMT",
"codeName": "Terminate server instances."
}
],
"requestId": "d6e7f8a9-b0c1-2345-defa-678901234567",
"returnCode": "0",
"returnMessage": "success"
}
}