Overview
Get schedule action list
Description
List every unexecuted scaling action schedule of a user. You can check executed action lists by calling the getAutoScalingActivityLogList.
The list can also be divided into pages. A user can assign each page size(item number) and page number.
Request Parameters
| Parameter | Required | Type | Restrictions | Description |
|---|---|---|---|---|
| autoScalingGroupName | No | String | Min : 1, Max : 255 | Enter the name of the auto-scaling group you want to view. |
| scheduledActionNameList | No | List |
Min : 1, Max : 255 | The list of scaling action schedule names to be received as a result is displayed. |
| startTime | No | Date | yyyy-MM-dd'T'HH:mm:ssZ | Less than or equal to the schedule start date and time (datetime) Ignore this field if scheduledActionNameList is specified format : yyyy-MM-dd'T'HH:mm:ssZ ex)2013-07-25T17:50:00+0900, 2013-07-25T17:50:00+09:00 |
| endTime | No | Date | yyyy-MM-dd'T'HH:mm:ssZ | Time less than or equal to the schedule end date (datetime) Ignore this field if scheduledActionNameList is specified format : yyyy-MM-dd'T'HH:mm:ssZ ex)2013-07-25T17:50:00+0900, 2013-07-25T17:50:00+09:00 |
| 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. |
| sortedBy | No | String | - | Name of Schedule Action (scheduledActionName) | Date Created (createDate) [No case sensitivity] Default: Name of Schedule Action(scheduledActionName) |
| sortingOrder | No | String | - | Ascending | descending [No case sensitivity] Default: Ascending |
Response Data type
- ScheduledUpdateGroupActionList Type
| ScheduledUpdateGroupActionList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List |
| ScheduledUpdateGroupAction extends BaseObject |
|---|
| private String autoScalingGroupName; |
| private String scheduledActionName; |
| private Integer desiredCapacity; |
| private Integer minSize; |
| private Integer maxSize; |
| private Date startTime; |
| private Date endTime; |
| private String recurrenceInKST; |
Examples
Request
ncloud autoscaling getScheduledActionList --autoScalingGroupName soso02 --scheduledActionNameList test-autoscaling-schedule
Response
{
"getScheduledActionListResponse": {
"requestId": "dfee1ecb-c335-4225-8872-538940aac950",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"scheduledUpdateGroupActionList": [
{
"autoScalingGroupName": "soso02",
"scheduledActionName": "test-autoscaling-schedule",
"desiredCapacity": 2,
"minSize": 0,
"maxSize": 3,
"startTime": "2018-04-05T19:00:00+0900",
"endTime": "2020-04-05T20:00:00+0900",
"recurrenceInKST": ""
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<getScheduledActionListResponse>
<requestId>dfee1ecb-c335-4225-8872-538940aac950</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<scheduledUpdateGroupActionList>
<autoScalingGroupName>soso02</autoScalingGroupName>
<scheduledActionName>test-autoscaling-schedule</scheduledActionName>
<desiredCapacity>2</desiredCapacity>
<minSize>0</minSize>
<maxSize>3</maxSize>
<startTime>2018-04-05T19:00:00+0900</startTime>
<endTime>2020-04-05T20:00:00+0900</endTime>
<recurrenceInKST></recurrenceInKST>
</scheduledUpdateGroupActionList>
</getScheduledActionListResponse>