deleteScalingPolicy
    • PDF

    deleteScalingPolicy

    • PDF

    Article summary

    Can be used in a VPC environment.

    Summary

    Delete scaling policies.

    Request

    Request Parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoStringRegion code
    You can decide the region of Auto Scaling Group to delete the scaling policy.
    You can obtain the regionCode through the getRegionList action.
    Default: Select the first region of the getRegionList search results
    autoScalingGroupNoYesStringAuto Scaling Group number
    autoScalingGroupNo can be obtained through the getAutoScalingGroupList action.
    policyNoYesStringThe scaling policy number to delete
    You can obtain the policyNo through the getAutoScalingPolicyList action.
    responseFormatTypeNoStringFormat type of the response results
    Options : xml | json
    Default : xml

    Response

    Response body

    Example

    Request example

    GET {API_URL}/deleteScalingPolicy
    ?regionCode=KR
    &autoScalingGroupNo=***700
    &policyNo=***922
    

    Response example

    <deleteScalingPolicyResponse>
      <requestId>dcbf41de-b9d4-460d-a594-60d77ec25bf1</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <scalingPolicyList>
          <scalingPolicy>
            <autoScalingGroupNo>***700</autoScalingGroupNo>
            <policyNo>***922</policyNo>
            <policyName>test-***</policyName>
            <adjustmentType>
              <code>CHANG</code>
              <codeName>ChangeInCapacity</codeName>
            </adjustmentType>
            <scalingAdjustment>1</scalingAdjustment>
            <coolDown>300</coolDown>
          </scalingPolicy>
        </scalingPolicyList>
    </deleteScalingPolicyResponse>
    

    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.