suspendProcesses
    • PDF

    suspendProcesses

    • PDF

    Article summary

    Can be used in a VPC environment.

    Summary

    Suspend the process of the specified Auto Scaling Group.

    Request

    Request Parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoStringRegion code
    You can decide the region of Auto Scaling Group to suspend the process.
    You can obtain the regionCode through the getRegionList action.
    Default: Select the first region of the getRegionList search results
    autoScalingGroupNoYesStringAuto Scaling Group number
    You can obtain the autoScalingGroupNo through the getAutoScalingGroupList action.
    scalingProcessCodeListYesList<String>List of process codes to suspend
    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
    responseFormatTypeNoStringFormat 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 suspendProcesses --regionCode KR --autoScalingGroupNo ***700 --scalingProcessCodeList LANCH
    

    Response example

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

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.