MENU
      executePolicy

        executePolicy


        記事の要約

        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

        レスポンス

        レスポンスボディ

        リクエスト例

        GET {API_URL}/executePolicy
        ?regionCode=KR
        &autoScalingGroupNo=***700
        &policyNo=***922
        HTTP

        レスポンス例

        <executePolicyResponse>
          <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>
        </executePolicyResponse>
        XML

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

        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.