executePolicy
    • PDF

    executePolicy

    • PDF

    Article Summary

    概要

    指定されたscalingポリシー(policy)を実行します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須タイプ制約事項説明
    policyNameYesStringMin : 1, Max : 255実行するスケーリングポリシー名
    autoScalingGroupNameYesStringMin : 1, Max : 255ポリシーを実行するオートスケーリンググループ名を入力します。
    honorCooldownNoBoolean-Cooldown時間遵守区分
    このapiを呼び出した当時がscaling actionの途中であったり、cooldown時間である場合、これを遵守するかを定めます。
    default : false

    レスポンス

    レスポンスボディ

    例示

    リクエスト例示

    {AUTOSCALILNG_API_URL}/executePolicy
    ?autoScalingGroupName=asg-0602b
    &honorCooldown=true
    &policyName=p-0602
    

    レスポンス例示

    <executePolicyResponse>
       <requestId>0c811c22-cdd3-47e5-8d8b-434071de2e46</requestId>
       <returnCode>0</returnCode>
       <returnMessage>success</returnMessage>
    </executePolicyResponse>
    

    エラーコード

    以下のエラーコードは、このアクション(Action)で特徴的に発生するエラーです。共通的に発生するエラーに対する詳細な説明はNAVER Cloud Platform APIをご参考ください。

    HTTP Response Codeリターンコードリターンメッセージ
    40050120An invalid or out-of-range value was supplied for the input parameter.

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

    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.