deletePolicy
    • PDF

    deletePolicy

    • PDF

    Article Summary

    Overview

    Delete scaling policy

    Description

    Delete a scaling policy.

    Request Parameters

    ParameterRequiredTypeRestrictionsDescription
    policyNameYesStringMin : 1, Max : 255Name of a scaling policy to delete
    autoScalingGroupNameYesStringMin : 1, Max : 255Name of Auto Scaling Group

    Response Data type

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

    Examples

    Request

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

    Response

    {
      "deletePolicyResponse": {
        "requestId": "9fefd58a-2ce4-41a6-a83b-ecc00e7db032",
        "returnCode": "0",
        "returnMessage": "success"
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <deletePolicyResponse>
      <requestId>9fefd58a-2ce4-41a6-a83b-ecc00e7db032</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
    </deletePolicyResponse>
    

    Was this article helpful?

    What's Next
    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.