executePolicy
    • PDF

    executePolicy

    • PDF

    Article Summary

    Overview

    Operate an assigned scaling policy

    Description

    Operate an assigned scaling policy.

    Request Parameters

    ParameterRequiredTypeRestrictionsDescription
    policyNameYesStringMin : 1, Max : 255Policy name. The identifier of a scaling policy.
    autoScalingGroupNameYesStringMin : 1, Max : 255The name(Identifier) of Auto Scaling Group that this policy will be operated
    honorCooldownNoBoolean-Whether to honor cooldown period
    If the api is called while a scaling action is underway or is under cooldown, you must decide whether to keep the cooldown progress or not. If it is true, the cooldown will be continued, and if it is false, the cooldown will be stopped.
    The default value is false. It means the cooldown will not be continued if you do not change the default value to true.

    Response Data type

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

    Examples

    Request

    ncloud autoscaling executePolicy --policyName test-autoscaling-policy --autoScalingGroupName soso02
    

    Response

    {
      "executePolicyResponse": {
        "requestId": "50281fd3-41e6-4ffe-a5e7-ef37103867b6",
        "returnCode": "0",
        "returnMessage": "success"
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <executePolicyResponse>
      <requestId>50281fd3-41e6-4ffe-a5e7-ef37103867b6</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
    </executePolicyResponse>
    

    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.