创建伸缩任务(CreateScheduledTask),如创建 12:00 触发第四步伸缩规则的定时任务。在请求时,需要指定第四步返回的 ScalingRuleAri。
请求示例
- [backcolor=transparent]http[backcolor=transparent]:[backcolor=transparent]//ess.aliyuncs.com/?Action=CreateScheduledTask
- [backcolor=transparent]&[backcolor=transparent]RegionId[backcolor=transparent]=[backcolor=transparent]cn[backcolor=transparent]-[backcolor=transparent]qingdao
- [backcolor=transparent]&[backcolor=transparent]LaunchTime[backcolor=transparent]=[backcolor=transparent]2014[backcolor=transparent]-[backcolor=transparent]08[backcolor=transparent]-[backcolor=transparent]17T12[backcolor=transparent]:[backcolor=transparent]00Z
- [backcolor=transparent]&[backcolor=transparent]RecurrenceType[backcolor=transparent]=[backcolor=transparent]Daily
- [backcolor=transparent]&[backcolor=transparent]RecurrenceValue[backcolor=transparent]=[backcolor=transparent]1
- [backcolor=transparent]&[backcolor=transparent]RecurrenceEndTime[backcolor=transparent]=[backcolor=transparent]2014[backcolor=transparent]-[backcolor=transparent]09[backcolor=transparent]-[backcolor=transparent]17T16[backcolor=transparent]:[backcolor=transparent]55Z
- [backcolor=transparent]&[backcolor=transparent]ScheduledAction[backcolor=transparent]=[backcolor=transparent]ari[backcolor=transparent]:[backcolor=transparent]acs[backcolor=transparent]:[backcolor=transparent]ess[backcolor=transparent]:[backcolor=transparent]cn[backcolor=transparent]-[backcolor=transparent]qingdao[backcolor=transparent]:[backcolor=transparent]1344371[backcolor=transparent]:[backcolor=transparent]scalingrule[backcolor=transparent]/[backcolor=transparent]eMKWG8SRNb9dBLAjweNI1Ik
- [backcolor=transparent]&<公共请求参数>
返回示例
- [backcolor=transparent]<CreateScheduledTaskResponse>
- [backcolor=transparent] [backcolor=transparent]<ScheduledTaskId>[backcolor=transparent]edRtShc57WGXdt8TlPbrjsnV[backcolor=transparent]</ScheduledTaskId>
- [backcolor=transparent] [backcolor=transparent]<RequestId>[backcolor=transparent]0F02D931-2B12-44D7-A0E9-39925C13D15E[backcolor=transparent]</RequestId>
- [backcolor=transparent]</CreateScheduledTaskResponse>