resumeProcesses

Prev Next

Can be used in a VPC environment.

Summary

Restart the process of the specified Auto Scaling Group.

Request

Request Parameters

Parameter name Requirement status Type Restrictions Description
regionCode No String Region code
You can decide the region of Auto Scaling Group to restart the process.
You can obtain the regionCode through the getRegionList action.
Default: Select the first region of the getRegionList search results
autoScalingGroupNo Yes String Auto Scaling Group number
You can obtain the autoScalingGroupNo through the getAutoScalingGroupList action.
scalingProcessCodeList Yes List<String> List of process codes to restart
You can obtain the scalingProcessCode through the getScalingProcessTypeList action.
LANCH (LAUNCH process)
TERMT (TERMINATE process)
HTHCK (HEALTH CHECK process)
RPUNH (REPLACE UNHEALTHY process)
SCACT (SCHEDULED ACTIONS process)
ADTLB (ADD TO LOAD BALANCER process)
ALMNO (ALARM NOTIFICATION process)
ex) scalingProcessCodeList.1=LAUNCH&scalingProcessCodeList.2=TERMT
responseFormatType No String Format type of the response results
Options : xml | json
Default : xml

Response

Response data type

  • ProcessList type
ProcessList extends CommonResponse
private Integer totalRows;
private List processList = new ArrayList<>();
Process
private String code;
private String codeName;

Example

Request example

ncloud vautoscaling resumeProcesses --regionCode KR --autoScalingGroupNo ***700 --scalingProcessCodeList LANCH

Response example

<resumeProcessesResponse>
  <requestId></requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <processList>
    <process>
      <code>LANCH</code>
      <codeName>Launch</codeName>
    </process>
  </processList>
</resumeProcessesResponse>