getAutoScalingPolicyList
    • PDF

    getAutoScalingPolicyList

    • PDF

    Article Summary

    Overview

    Get Auto Scaling Policy List

    Description

    Receive detailed descriptions regarding Auto Scaling policies in the form of a list.

    Request Parameters

    ParameterRequiredTypeRestrictionsDescription
    policyNameListNoListMin : 1, Max : 255A list of policy names (identifiers).
    If not specified, all the policy information the user has is received.
    autoScalingGroupNameNoStringMin : 1, Max : 255Enter the name of the auto-scaling group you want to view.
    pageNoNoIntegerMin : 0, Max : 2147483647Enter the page information of the Pagination in the list view.
    If you enter a default value of 0, all lists are displayed.
    pageSizeNoIntegerMin : 0, Max : 2147483647Enter the number of pieces of information to be displayed in the Pagination in the list view.
    If you enter a default value of 0, all lists are queried.

    Response Data type

    • ScalingPolicyList Type
    ScalingPolicyList extends CommonResponse
    private Integer totalRows;
    private List scalingPolicyList = new ArrayList();
    ScalingPolicy extends BaseObject
    private String policyName;
    private String autoScalingGroupName;
    private CommonCode adjustmentType;
    private Integer scalingAdjustment;
    private Integer cooldown;
    private Integer minAdjustmentStep;

    Examples

    Request

    ncloud autoscaling getAutoScalingPolicyList --policyNameList test-autoscaling-policy
    

    Response

    {
      "getAutoScalingPolicyListResponse": {
        "requestId": "17f3d224-a06c-4159-a46d-b5c1b138750e",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 1,
        "scalingPolicyList": [
          {
            "policyName": "test-autoscaling-policy",
            "autoScalingGroupName": "soso02",
            "adjustmentType": {
              "code": "EXACT",
              "codeName": "ExactCapacity"
            },
            "scalingAdjustment": 22
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <getAutoScalingPolicyListResponse>
      <requestId>17f3d224-a06c-4159-a46d-b5c1b138750e</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <scalingPolicyList>
        <policyName>test-autoscaling-policy</policyName>
        <autoScalingGroupName>soso02</autoScalingGroupName>
        <adjustmentType>
          <code>EXACT</code>
          <codeName>ExactCapacity</codeName>
        </adjustmentType>
        <scalingAdjustment>22</scalingAdjustment>
      </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.