deletePolicy
- Print
- PDF
deletePolicy
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Delete scaling policy
Description
Delete a scaling policy.
Request Parameters
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
policyName | Yes | String | Min : 1, Max : 255 | Name of a scaling policy to delete |
autoScalingGroupName | Yes | String | Min : 1, Max : 255 | Name 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?