Can be used in a VPC environment.
Summary
Delete scaling action schedules.
Request
Request Parameters
| Parameter name | Requirement status | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | Region code You can decide the region of Auto Scaling Group to delete the scheduled action. You can obtain the regionCode through the getRegionList action. Default: Select the first region of the getRegionList search results |
|
| autoScalingGroupNo | Yes | String | Auto Scaling Group number You can obtain the autoScalingGroupNo through the getAutoScalingGroupList action. |
|
| scheduledActionNo | Yes | String | The scheduled action number to delete You can obtain the scheduledActionNo through the getScheduledActionList action. |
|
| responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response data type
- ScheduledUpdateGroupActionList type
| ScheduledUpdateGroupActionList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List |
| ScheduledUpdateGroupAction |
|---|
| private String autoScalingGroupNo; |
| private String scheduledActionNo; |
| private String scheduledActionName; |
| private Integer minSize; |
| private Integer maxSize; |
| private Integer desiredCapacity; |
| private Date startTime; |
| private Date endTime; |
| private String recurrence; |
| private String timeZone; |
Example
Request example
ncloud vautoscaling deleteScheduledAction --regionCode KR --autoScalingGroupNo ***700 --scheduledActionNo ***281
Response example
<deleteScheduledActionResponse>
<requestId></requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<scheduledUpdateGroupActionList>
<scheduledUpdateGroupAction>
<autoScalingGroupNo>***700</autoScalingGroupNo>
<scheduledActionNo>***281</scheduledActionNo>
<scheduledActionName>test-***</scheduledActionName>
<minSize>0</minSize>
<maxSize>0</maxSize>
<desiredCapacity>0</desiredCapacity>
<startTime>2020-12-15T17:05:00+0900</startTime>
<endTime>2020-12-15T18:00:00+0900</endTime>
<recurrence>5 * * * *</recurrence>
<timeZone>KST</timeZone>
</scheduledUpdateGroupAction>
</scheduledUpdateGroupActionList>
</deleteScheduledActionResponse>