Available in VPC
Get the list of scaling schedules in Auto Scaling Group that have not yet run.
Syntax
The getScheduledActionList syntax is as follows:
./ncloud vautoscaling getScheduledActionList \
--autoScalingGroupNo <auto-scaling-group-no> \
[--scheduledActionNoList <scheduled-action-no-list>] \
[--scheduledActionNameList <scheduled-action-name-list>] \
[--startTime <yyyy-MM-ddTHH:mm:ssZ>] \
[--endTime <yyyy-MM-ddTHH:mm:ssZ>] \
[--pageNo <page-no>] \
[--pageSize <page-size>] \
[--sortList <sort-condition>] \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getScheduledActionList.
Required options
The following options are required for getScheduledActionList.
| Options | Type | Required | Description |
|---|---|---|---|
--autoScalingGroupNo |
String | Required | Auto Scaling Group number |
--pageSize |
Integer | Conditional | Number of items per page
|
Optional options
These are the optional options for getScheduledActionList. Options that are not specified will use their default values.
| Options | Type | Required | Description |
|---|---|---|---|
--scheduledActionNoList |
List | Optional | Scheduled number list
|
--scheduledActionNameList |
List | Optional | Schedule name list
|
--startTime |
Date | Optional | Schedule start date and time
|
--endTime |
Date | Optional | Schedule end date and time
|
--pageNo |
Integer | Optional | Page number
|
--sortList |
List | Optional | Sort criteria
|
Common options
For information on options commonly used in the vautoscaling command, see Auto Scaling (VPC) options.
Examples
If the request to retrieve the list of scaling schedules is successful, the configuration details for each scaling schedule are returned.
Command
The command example is as follows:
./ncloud vautoscaling getScheduledActionList \
--autoScalingGroupNo 20461037 \
--scheduledActionNoList 13650027 \
--pageNo 0 \
--pageSize 10 \
--sortList "sortedBy='scheduledActionName',sortingOrder='ASC'" \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"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"
}
}