Apache CloudStack 4.19.0.0 Root Admin API Reference

updateVMSchedule

Update VM Schedule.

Request parameters

Parameter NameDescriptionRequired
idID of VM scheduletrue
descriptionName of the schedulefalse
enabledEnable VM schedulefalse
enddateend date after which the schedule becomes inactiveUse format "yyyy-MM-dd hh:mm:ss")false
scheduleSchedule for action on VM in cron format. e.g. '0 15 10 * *' for 'at 15:00 on 10th day of every month'false
startdatestart date from which the schedule becomes activeUse format "yyyy-MM-dd hh:mm:ss")false
timezoneSpecifies a timezone for this command. For more information on the timezone parameter, see TimeZone Format.false

Response Tags

Response NameDescription
idthe ID of VM schedule
actionAction
createdDate when the schedule was created
descriptionDescription of VM schedule
enabledVM schedule is enabled
enddateDate after which the schedule becomes inactive
scheduleCron formatted VM schedule
startdateDate from which the schedule is active
timezoneTimezone of the schedule
virtualmachineidID of virtual machine