deleteScalingPolicy
    • PDF

    deleteScalingPolicy

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    Scalingポリシーを削除します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須有無タイプ制約事項説明
    regionCodeNoStringリージョンコード
    Scalingポリシーを削除するAuto Scaling Groupのリージョン(Region)を決定できます。
    regionCodeはgetRegionListアクションを通じて取得できます。
    Default:getRegionList照会結果の最初のリージョンを選択
    autoScalingGroupNoYesStringAuto Scaling Group番号
    autoScalingGroupNoはgetAutoScalingGroupListアクションを通じて取得できます。
    policyNoYesString削除するScalingポリシー番号
    policyNoはgetAutoScalingPolicyListアクションを通じて取得できます。
    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 deleteScalingPolicy --regionCode KR --autoScalingGroupNo ***700 --policyNo ***922
    

    レスポンス例

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

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

    What's Next
    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.