Available in VPC
Delete a scaling schedule of Auto Scaling Group.
Syntax
The deleteScheduledAction syntax is as follows:
./ncloud vautoscaling deleteScheduledAction \
--autoScalingGroupNo <auto-scaling-group-no> \
--scheduledActionNo <scheduled-action-no> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running deleteScheduledAction.
Required options
The following options are required for deleteScheduledAction.
| Options | Type | Required | Description |
|---|---|---|---|
--autoScalingGroupNo |
String | Required | Auto Scaling Group number |
--scheduledActionNo |
String | Required | Schedule number |
Common options
For information on options commonly used in the vautoscaling command, see Auto Scaling (VPC) options.
Examples
If the request to delete a scaling schedule is successful, the configuration information for the deleted scaling schedule is returned.
Command
The command example is as follows:
./ncloud vautoscaling deleteScheduledAction \
--autoScalingGroupNo 20461037 \
--scheduledActionNo 13650027 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"deleteScheduledActionResponse": {
"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": "a3b4c5d6-e7f8-9012-abcd-345678901234",
"returnCode": "0",
"returnMessage": "success"
}
}