getAutoScalingPolicyList
    • PDF

    getAutoScalingPolicyList

    • PDF

    Article summary

    Can be used in a VPC environment.

    Summary

    Search list of scaling policies.

    Request

    Request Parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoStringRegion code
    You can decide the region of the Auto Scaling Group where the list of scaling policies will be searched.
    You can obtain the regionCode through the getRegionList action.
    Default: Select the first region of the getRegionList search results
    autoScalingGroupNoYesStringAuto Scaling Group number
    You can obtain the autoScalingGroupNo through the getAutoScalingGroupList action.
    policyNoList.NNoList<String>List of policy numbers
    You can search by filtering with a scaling policy number.
    You can obtain the policyNo through the getAutoScalingPolicyList action.
    ex) policyNoList.1=1234&policyNoList.2=2345
    responseFormatTypeNoStringFormat type of the response results
    Options : xml | json
    Default : xml

    Response

    Response data type

    • ScalingPolicyList type
    ScalingPolicyList extends CommonResponse
    private Integer totalRows;
    private List scalingPolicyList = new ArrayList<>();
    ScalingPolicy
    private String autoScalingGroupNo;
    private String policyNo;
    private String policyName;
    private CommonCode adjustmentType;
    private Integer scalingAdjustment;
    private Integer minAdjustmentStep;
    private Integer coolDown;

    Example

    Request example

    ncloud vautoscaling getAutoScalingPolicyList --regionCode KR --autoScalingGroupNo ***700 --policyNoList ***922
    

    Response example

    <getAutoScalingPolicyListResponse>
      <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>
    </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.