--- title: "getAutoScalingActivityLogList" slug: "compute-vautoscaling-autoscalinggroup-getautoscalingactivityloglist" updated: 2026-09-17T09:57:45Z published: 2026-09-17T09:57:45Z canonical: "api.ncloud-docs.com/compute-vautoscaling-autoscalinggroup-getautoscalingactivityloglist" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # getAutoScalingActivityLogList VPC環境で利用できます。 Auto Scaling Groupの Scalingアクションログリストを照会します。直近6週間実行されたスケジュールのログを確認することができ、実行開始時間を基準に降順ソートして返されます。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | GET \| POST | /vautoscaling/v2/getAutoScalingActivityLogList | 参考 ガイドは GETメソッドを基準に説明します。POSTメソッドの呼び出しテストは、NAVERクラウドプラットフォームコンソールの API Gatewayサービスの Swaggerで行えます。 ### リクエストヘッダ Auto Scaling APIで共通して使用されるヘッダの詳細は、[Auto Scalingのリクエストヘッダ](/docs/ja/compute-vautoscaling#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエストクエリパラメータ リクエストクエリパラメータの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `regionCode` | String | Optional | リージョンコード - [getRegionList](/docs/ja/compute-vserver-server-common-getregionlist)を参照 - 照会結果の最初のリージョン(デフォルト) | | `autoScalingGroupNo` | String | Required | Auto Scaling Group番号 - [getAutoScalingGroupList](/docs/ja/compute-vautoscaling-autoscalinggroup-getautoscalinggrouplist)を参照 | | `activityNoList.N` | Array | Optional | ログ番号リスト - ログ番号で絞り込み - <例> `activityNoList.1=1234&activityNoList.2=2345` | | `pageNo` | Integer | Optional | ページ番号 - 1~N | | `pageSize` | Integer | Conditional | ページごとの項目数 - 1~N - `pageNo`入力時、必ず入力 | | `responseFormatType` | String | Optional | レスポンスデータの形式 - `xml`(デフォルト) \| `json` | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request GET 'https://ncloud.apigw.ntruss.com/vautoscaling/v2/getAutoScalingActivityLogList ?regionCode=KR &autoScalingGroupNo=1***9 &responseFormatType=json' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスボディ レスポンスボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `getAutoScalingActivityLogListResponse` | Object | - | レスポンス結果 - [ActivityLogList](/docs/ja/common-vapidatatype-activityloglist)を参照 | | `getAutoScalingActivityLogListResponse.requestId` | String | - | リクエスト ID - UUID形式 | | `getAutoScalingActivityLogListResponse.returnCode` | String | - | レスポンスコード | | `getAutoScalingActivityLogListResponse.returnMessage` | String | - | レスポンスメッセージ | ### レスポンスステータスコード Auto Scaling APIで共通して使用されるレスポンスステータスコードの詳細は、[Auto Scalingのレスポンスステータスコード](/docs/ja/compute-vautoscaling#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` { "getAutoScalingActivityLogListResponse": { "totalRows": 2, "activityLogList": [ { "autoScalingGroupNo": "1***9", "activityNo": "3202612", "serverInstanceNo": "10****092", "zoneCode": "KR-2", "actionName": "Terminate", "actionStatus": { "code": "SUCCS", "codeName": "SUCCESSFUL" }, "actionCause": "At 2025-05-30T15:58:22+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity to 0. ", "actionDescription": "Launching a new server instance: #10****092", "startTime": "2025-05-30T15:58:22+0900", "endTime": "2025-05-30T15:59:24+0900" }, { "autoScalingGroupNo": "1***9", "activityNo": "3155596", "serverInstanceNo": "10****092", "zoneCode": "KR-2", "actionName": "Launch", "actionStatus": { "code": "SUCCS", "codeName": "SUCCESSFUL" }, "actionCause": "At 2025-05-15T09:51:02+0900 an instance was started in response to a difference between desired and actual capacity, increasing the capacity to 1.", "actionDescription": "Launching a new server instance: #10****092", "startTime": "2025-05-15T09:51:03+0900", "endTime": "2025-05-15T09:56:09+0900" } ], "requestId": "605902b8-****-****-****-a47d46441f59", "returnCode": "0", "returnMessage": "success" } } ```