suspendProcesses

Prev Next

Overview

Suspend the scaling process

Description

Suspend the scaling process regarding the assigned Auto Scaling Group.

Request Parameters

Parameter Required Type Restrictions Description
autoScalingGroupName Yes String Min : 1, Max : 255 Enter the name of the auto-scaling group you want to view.
scalingProcessCodeList No List Min : 1, Max : 5 A list of process codes to be suspended. The following items are valid values (in parentheses).

* LAUNCH (LANCH)
* TERMINATE (TERMT)
* HEALTH_CHECK (HTHCK)
* RELACE_UNHEALTHY (RPUNH)
* ZONE_REBALANCE (ZNRBL)
* SCHEDULED_ACTIONS (SCACT)
* ADD_TO_LOAD_BALANCER (ADTLB)
* ALARM_NOTIFICATION (ALMNO)

A description of each value is documented in the [Auto Scaling]. If this parameter is omitted, All processes are suspended. The same item (process) can not be specified in the list.

Response Data type

  • CommonResponse Type
CommonResponse extends BaseObject
private String requestId;
private String returnCode;
private String returnMessage;

Examples

Request

ncloud autoscaling suspendProcesses --autoScalingGroupName soso02

Response

{
  "suspendProcessesResponse": {
    "requestId": "c3dab7b8-8dd5-4559-8f62-3b5dfdee3402",
    "returnCode": "0",
    "returnMessage": "success"
  }
}
<?xml version="1.0" encoding="UTF-8" ?>
<suspendProcessesResponse>
  <requestId>c3dab7b8-8dd5-4559-8f62-3b5dfdee3402</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
</suspendProcessesResponse>