--- title: "executePolicy" slug: "cli-vautoscaling-autoscalinggroup-executepolicy" tags: ["Auto Scaling"] updated: 2026-10-08T09:44:18Z published: 2026-10-08T09:44:18Z canonical: "cli.ncloud-docs.com/cli-vautoscaling-autoscalinggroup-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 VPC環境で利用できます。 Auto Scaling Groupの Scalingポリシーを実行します。 ## 構文 `executePolicy`構文は次の通りです。 ``` ./ncloud vautoscaling executePolicy \ --autoScalingGroupNo \ --policyNo \ [--regionCode ] \ [--output ] ``` ## オプション `executePolicy`の実行時に指定できるオプションについて説明します。 ### 必須オプション `executePolicy`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--autoScalingGroupNo` | String | Required | Auto Scaling Group番号 - [getAutoScalingGroupList](/docs/ja/cli-vautoscaling-autoscalinggroup-getautoscalinggrouplist)を参照 | | `--policyNo` | String | Required | ポリシー番号 - [getAutoScalingPolicyList](/docs/ja/cli-vautoscaling-autoscalinggroup-getautoscalingpolicylist)を参照 | ### 共通オプション `vautoscaling`コマンドで共通して使用するオプションについては、[Auto Scaling (VPC)のオプション](/docs/ja/cli-vautoscaling#%EC%98%B5%EC%85%98)をご参照ください。 ## 例 Scalingポリシーの実行リクエストが成功すると、実行された Scalingポリシーの構成情報が返されます。 ### コマンド コマンドの例は次の通りです。 ``` ./ncloud vautoscaling executePolicy \ --autoScalingGroupNo 20461037 \ --policyNo 28470019 \ --regionCode KR \ --output json ``` ### 出力 出力の例は次の通りです。 ``` { "executePolicyResponse": { "totalRows": 1, "scalingPolicyList": [ { "autoScalingGroupNo": "20461037", "policyNo": "28470019", "policyName": "policy-01", "adjustmentType": { "code": "CHANG", "codeName": "容量変更値" }, "scalingAdjustment": 1, "coolDown": 300 } ], "requestId": "c9d0e1f2-a3b4-5678-cdef-901234567890", "returnCode": "0", "returnMessage": "success" } } ```