--- title: "executePolicy" slug: "cli-autoscaling-executepolicy" updated: 2026-09-17T10:11:06Z published: 2026-09-17T10:11:06Z canonical: "cli.ncloud-docs.com/cli-autoscaling-executepolicy" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # executePolicy ## 概要 スケーリングポリシーの実行 ## 説明 指定されたスケーリングポリシー(policy)を実行します。 ## リクエストパラメータ | パラメータ名 | 必須 | タイプ | 制約事項 | 説明 | | --- | --- | --- | --- | --- | | policyName | Yes | String | Min : 1, Max : 255 | 実行するスケーリングポリシー名 | | autoScalingGroupName | Yes | String | Min : 1, Max : 255 | ポリシーを実行するオートスケーリンググループ名を入力します。 | | honorCooldown | No | Boolean | - | 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 ``` ### レスポンス ``` { "executePolicyResponse": { "requestId": "50281fd3-41e6-4ffe-a5e7-ef37103867b6", "returnCode": "0", "returnMessage": "success" } } ``` ``` 50281fd3-41e6-4ffe-a5e7-ef37103867b6 0 success ```