getAutoScalingPolicyList
    • PDF

    getAutoScalingPolicyList

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    Scalingポリシーリストを照会します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須有無タイプ制約事項説明
    regionCodeNoStringリージョンコード
    Scalingポリシーリストが照会されるAuto Scaling Groupのリージョン(Region)を決定できます。
    regionCodeはgetRegionListアクションを通じて取得できます。
    Default:getRegionList照会結果の最初のリージョンを選択
    autoScalingGroupNoYesStringAuto Scaling Group番号
    autoScalingGroupNoはgetAutoScalingGroupListアクションを通じて取得できます。
    policyNoList.NNoList<String>ポリシー番号リスト
    Scalingポリシー番号でフィルタリングして検索できます。
    policyNoはgetAutoScalingPolicyListアクションを通じて取得できます。
    ex) policyNoList.1=1234&policyNoList.2=2345
    responseFormatTypeNoStringレスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : xml

    レスポンス

    レスポンスデータのタイプ

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

    リクエスト例

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

    レスポンス例

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

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

    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.