MENU
      executePolicy
        • PDF

        executePolicy

        • PDF

        記事の要約

        概要

        スケーリングポリシーの実行

        説明

        指定されたスケーリングポリシー(policy)を実行します。

        リクエストパラメータ

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

        レスポンスデータタイプ

        • CommonResponseタイプ
        CommonResponse extends BaseObject
        private String requestId;
        private String returnCode;
        private String returnMessage;

        例示

        呼び出し

        ncloud autoscaling executePolicy --policyName test-autoscaling-policy --autoScalingGroupName soso02
        Plain text

        レスポンス

        {
          "executePolicyResponse": {
            "requestId": "50281fd3-41e6-4ffe-a5e7-ef37103867b6",
            "returnCode": "0",
            "returnMessage": "success"
          }
        }
        JSON
        <?xml version="1.0" encoding="UTF-8" ?>
        <executePolicyResponse>
          <requestId>50281fd3-41e6-4ffe-a5e7-ef37103867b6</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
        </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.