getAutoScalingPolicyList
    • PDF

    getAutoScalingPolicyList

    • PDF

    Article Summary

    概要

    Auto Scalingポリシーリスト照会

    説明

    設定できるポリシー(policy)調整タイプをリストの形式で受け取ります。

    リクエストパラメータ

    パラメータ名必須タイプ制約事項説明
    policyNameListNoListMin : 1, Max : 255ポリシー名(識別子)のリストです。
    指定されてない場合、ユーザーが保有しているすべてのポリシー情報を受け取ります。
    autoScalingGroupNameNoStringMin : 1, Max : 255照会しようとするAuto Scaling Group名を入力します。
    pageNoNoIntegerMin:0, Max:2147483647リストを照会する時、Paginationのページ情報を入力します。
    基本値の0を入力した場合、すべてのリストを照会します。
    pageSizeNoIntegerMin:0, Max:2147483647リストを照会する時、Pagination表示される情報の個数を入力します。
    基本値の0を入力した場合、すべてのリストを照会します。

    レスポンスデータタイプ

    • ScalingPolicyListタイプ
    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;

    例示

    呼び出し

    ncloud autoscaling getAutoScalingPolicyList --policyNameList test-autoscaling-policy
    

    レスポンス

    {
      "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>
    

    この記事は役に立ちましたか?

    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.