getAutoScalingActivityLogList
- Print
- PDF
getAutoScalingActivityLogList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Get list of Activity Log
Description
Receives all scaling action logs for the past 6 weeks. It is listed as Descending from the last log.
Paging is also enabled, allowing the user to specify the page size (number of items) and page number.
Request Parameters
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
activityNoList | No | List | - | Scaling action(activity) identification number. |
autoScalingGroupName | No | String | Min : 1, Max : 255 | Enter the name of the auto-scaling group you want to view. |
pageNo | No | Integer | Min : 0, Max : 2147483647 | Enter the page information of the Pagination in the list view. If you enter a default value of 0, all lists are displayed. |
pageSize | No | Integer | Min :0, Max : 2147483647 | Enter the number of pieces of information to be displayed in the Pagination in the list view. If you enter a default value of 0, all lists are queried. |
Response Data type
- ActivityLogList Type
ActivityLogList extends CommonResponse |
---|
private Integer totalRows; |
private List |
ActivityLog extends BaseObject |
---|
private String activityNo; |
private String autoScalingGroupName; |
private CommonCode status; |
private String statusMessage; |
private String actionCause; |
private String description; |
private String details; |
private Date startTime; |
private Date endTime; |
Examples
Request
ncloud autoscaling getAutoScalingActivityLogList --activityNoList 26019 26020 26021 --autoScalingGroupName soso02
Response
{
"getAutoScalingActivityLogListResponse": {
"requestId": "bc6e7dc6-be77-4dcc-b88d-b06ac92bcc0c",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 2,
"activityLogList": [
{
"activityNo": "26019",
"autoScalingGroupName": "soso02",
"status": {
"code": "INPRG",
"codeName": "IN_PROGRESS"
},
"statusMessage": "",
"actionCause": "At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.",
"description": "Terminating server instance: #352663",
"details": "{\"zoneNo\":\"2\"}",
"startTime": "2017-12-19T11:33:03+0900"
},
{
"activityNo": "26020",
"autoScalingGroupName": "soso02",
"status": {
"code": "INPRG",
"codeName": "IN_PROGRESS"
},
"statusMessage": "",
"actionCause": "At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.",
"description": "Terminating server instance: #352668",
"details": "{\"zoneNo\":\"2\"}",
"startTime": "2017-12-19T11:33:03+0900"
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<getAutoScalingActivityLogListResponse>
<requestId>bc6e7dc6-be77-4dcc-b88d-b06ac92bcc0c</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<activityLogList>
<activityNo>26019</activityNo>
<autoScalingGroupName>soso02</autoScalingGroupName>
<status>
<code>INPRG</code>
<codeName>IN_PROGRESS</codeName>
</status>
<statusMessage></statusMessage>
<actionCause>At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.</actionCause>
<description>Terminating server instance: #352663</description>
<details>{"zoneNo":"2"}</details>
<startTime>2017-12-19T11:33:03+0900</startTime>
</activityLogList>
<activityLogList>
<activityNo>26020</activityNo>
<autoScalingGroupName>soso02</autoScalingGroupName>
<status>
<code>INPRG</code>
<codeName>IN_PROGRESS</codeName>
</status>
<statusMessage></statusMessage>
<actionCause>At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.</actionCause>
<description>Terminating server instance: #352668</description>
<details>{"zoneNo":"2"}</details>
<startTime>2017-12-19T11:33:03+0900</startTime>
</activityLogList>
</getAutoScalingActivityLogListResponse>
Was this article helpful?