getAutoScalingPolicyList
    • PDF

    getAutoScalingPolicyList

    • PDF

    Article Summary

    Overview

    Gets a list of Auto Scaling policies.

    Request

    Request parameters

    ParameterRequiredTypeLimitationsDescription
    policyNameListNListMin: 1, Max: 255List of policy names
    If this parameter is not specified, all your policy information is returned.
    autoScalingGroupNameNStringMin: 1, Max: 255Name of the Auto Scaling group to get
    pageNoNIntegerMin: 0, Max: 2147483647Page number for pagination
    If it is set to 0 by default, all items are displayed.
    pageSizeNIntegerMin: 0, Max: 2147483647Number of items to be shown per page.
    If it is set to 0 by default, all items are displayed.

    Response

    Response body

    Examples

    Request example

    {AUTOSCALILNG_API_URL}/getAutoScalingPolicyList
    ?autoScalingGroupName=asg-0602b
    &pageNo=1
    &pageSize=10
    &policyNameList.1=scale-out
    &policyNameList.2=scale-in
    

    Response example

    <getAutoScalingPolicyListResponse>
       <requestId>b3b5947c-a4fd-4104-b619-ba472665d50c</requestId>
       <returnCode>0</returnCode>
       <returnMessage>success</returnMessage>
       <totalRows>2</totalRows>
       <scalingPolicyList>
          <scalingPolicy>
             <policyName>scale-in</policyName>
             <autoScalingGroupName>asg-0602b</autoScalingGroupName>
             <adjustmentType>
                <code>CHANG</code>
                <codeName>ChangeInCapacity</codeName>
             </adjustmentType>
             <scalingAdjustment>-1</scalingAdjustment>
          </scalingPolicy>
          <scalingPolicy>
             <policyName>scale-out</policyName>
             <autoScalingGroupName>asg-0602b</autoScalingGroupName>
             <adjustmentType>
                <code>PRCNT</code>
                <codeName>PercentChangeInCapacity</codeName>
             </adjustmentType>
             <scalingAdjustment>50</scalingAdjustment>
             <cooldown>600</cooldown>
             <minAdjustmentStep>2</minAdjustmentStep>
          </scalingPolicy>
       </scalingPolicyList>
    </getAutoScalingPolicyListResponse>
    

    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.