--- title: "getAutoScalingActivityLogList" slug: "cli-vautoscaling-autoscalinggroup-getautoscalingactivityloglist" tags: ["Auto Scaling"] updated: 2026-10-08T09:44:13Z published: 2026-10-08T09:44:13Z canonical: "cli.ncloud-docs.com/cli-vautoscaling-autoscalinggroup-getautoscalingactivityloglist" --- > ## 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. # getAutoScalingActivityLogList VPC環境で利用できます。 Auto Scaling Groupの Scalingアクションログリストを照会します。直近6週間実行されたスケジュールのログを確認することができ、実行開始時間を基準に降順ソートして返されます。 ## 構文 `getAutoScalingActivityLogList`構文は次の通りです。 ``` ./ncloud vautoscaling getAutoScalingActivityLogList \ --autoScalingGroupNo \ [--activityNoList ] \ [--pageNo ] \ [--pageSize ] \ [--regionCode ] \ [--output ] ``` ## オプション `getAutoScalingActivityLogList`の実行時に指定できるオプションについて説明します。 ### 必須オプション `getAutoScalingActivityLogList`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--autoScalingGroupNo` | String | Required | Auto Scaling Group番号 - [getAutoScalingGroupList](/docs/ja/cli-vautoscaling-autoscalinggroup-getautoscalinggrouplist)を参照 | | `--pageSize` | Integer | Conditional | ページごとの項目数 - `1`~N - `pageNo`入力時、必ず入力 | ### 任意オプション `getAutoScalingActivityLogList`の任意オプションです。指定しない場合、オプションにはデフォルト値が適用されます。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--activityNoList` | List | Optional | ログ番号リスト - スペースで区切って複数入力可能 (例: `--activityNoList 1234 2345`) | | `--pageNo` | Integer | Optional | ページ番号 - `1`~N | ### 共通オプション `vautoscaling`コマンドで共通して使用するオプションについては、[Auto Scaling (VPC)のオプション](/docs/ja/cli-vautoscaling#%EC%98%B5%EC%85%98)をご参照ください。 ## 例 Scalingアクションのログリストの照会リクエストが成功すると、各ログの実行情報が返されます。 ### コマンド コマンドの例は次の通りです。 ``` ./ncloud vautoscaling getAutoScalingActivityLogList \ --autoScalingGroupNo 20461037 \ --regionCode KR \ --output json ``` ### 出力 出力の例は次の通りです。 ``` { "getAutoScalingActivityLogListResponse": { "totalRows": 1, "activityLogList": [ { "autoScalingGroupNo": "20461037", "activityNo": "84130266", "serverInstanceNo": "34567890", "zoneCode": "KR-2", "actionName": "Launch", "actionStatus": { "code": "INPRG", "codeName": "IN_PROGRESS" }, "actionCause": "At 2026-07-07T10:25:45+0900 a user request update of AutoScalingGroup constraints to min: 0, max: 1, desired: 1 changing the desired capacity from 0 to 1.", "actionDescription": "Launching a new server instance: #34567890", "startTime": "2026-07-07T10:25:52+0900" } ], "requestId": "e7f8a9b0-c1d2-3456-efab-789012345678", "returnCode": "0", "returnMessage": "success" } } ```