--- title: "getScheduledActionList" slug: "cli-vautoscaling-autoscalinggroup-getscheduledactionlist" tags: ["Auto Scaling"] updated: 2026-10-08T09:44:16Z published: 2026-10-08T09:44:16Z canonical: "cli.ncloud-docs.com/cli-vautoscaling-autoscalinggroup-getscheduledactionlist" --- > ## 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. # getScheduledActionList VPC環境で利用できます。 Auto Scaling Groupの Scalingスケジュールのうち、まだ実行されていないスケジュールリストを照会します。 ## 構文 `getScheduledActionList`構文は次の通りです。 ``` ./ncloud vautoscaling getScheduledActionList \ --autoScalingGroupNo \ [--scheduledActionNoList ] \ [--scheduledActionNameList ] \ [--startTime ] \ [--endTime ] \ [--pageNo ] \ [--pageSize ] \ [--sortList ] \ [--regionCode ] \ [--output ] ``` ## オプション `getScheduledActionList`の実行時に指定できるオプションについて説明します。 ### 必須オプション `getScheduledActionList`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--autoScalingGroupNo` | String | Required | Auto Scaling Group番号 - [getAutoScalingGroupList](/docs/ja/cli-vautoscaling-autoscalinggroup-getautoscalinggrouplist)を参照 | | `--pageSize` | Integer | Conditional | ページごとの項目数 - `1`~N - `pageNo`入力時、必ず入力 | ### 任意オプション `getScheduledActionList`の任意オプションです。指定しない場合、オプションにはデフォルト値が適用されます。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--scheduledActionNoList` | List | Optional | スケジュール番号リスト - スペースで区切って複数入力可能 (例: `--scheduledActionNoList 1234 2345`) | | `--scheduledActionNameList` | List | Optional | スケジュール名リスト - スペースで区切って複数入力可能 (例: `--scheduledActionNameList test1 test2`) | | `--startTime` | Date | Optional | スケジュール開始日時 - `yyyy-MM-ddTHH:mm:ssZ`形式 - 入力時刻以降のスケジュールを照会 - `scheduledActionNoList`または`scheduledActionNameList`指定時、無視 | | `--endTime` | Date | Optional | スケジュール終了日時 - `yyyy-MM-ddTHH:mm:ssZ`形式 - 入力時刻以前のスケジュールを照会 - `scheduledActionNoList`または`scheduledActionNameList`指定時、無視 | | `--pageNo` | Integer | Optional | ページ番号 - `1`~N | | `--sortList` | List | Optional | ソートの条件 - 二重引用符の中に{フィールド=‘値’}のペアをコンマで区切って入力 - `sortedBy` (任意): ソート対象。`scheduledActionName` (スケジュール名) - `sortingOrder` (任意): ソート順。`ASC` (上昇、デフォルト) \| `DESC` (下降) | ### 共通オプション `vautoscaling`コマンドで共通して使用するオプションについては、[Auto Scaling (VPC)のオプション](/docs/ja/cli-vautoscaling#%EC%98%B5%EC%85%98)をご参照ください。 ## 例 Scalingスケジュールリストの照会リクエストが成功すると、各 Scalingスケジュールの構成情報が返されます。 ### コマンド コマンドの例は次の通りです。 ``` ./ncloud vautoscaling getScheduledActionList \ --autoScalingGroupNo 20461037 \ --scheduledActionNoList 13650027 \ --pageNo 0 \ --pageSize 10 \ --sortList "sortedBy='scheduledActionName',sortingOrder='ASC'" \ --regionCode KR \ --output json ``` ### 出力 出力の例は次の通りです。 ``` { "getScheduledActionListResponse": { "totalRows": 1, "scheduledUpdateGroupActionList": [ { "autoScalingGroupNo": "20461037", "scheduledActionNo": "13650027", "scheduledActionName": "schedule-01", "minSize": 0, "maxSize": 2, "desiredCapacity": 1, "startTime": "2026-12-01T03:00:00+0900", "recurrence": "", "timeZone": "KST" } ], "requestId": "f2a3b4c5-d6e7-8901-fabc-234567890123", "returnCode": "0", "returnMessage": "success" } } ```