Startup
Creates a new Startup Schedule.
Body
namestring | nullableRequired
Schedule name.
siteIdinteger · int32Optional
Site ID from which to retrieve the schedule.
enabledboolean | nullableOptional
Whether to enable or disable the schedule.
descriptionstring | nullableOptional
Schedule description.
typeinteger · int32 | nullableOptional
Schedule type
startDateTimestring · date-timeOptional
Start time. Default: Now.
durationInSecsnumber · double | nullableOptional
Duration in seconds.
repeatstring · enumOptionalPossible values:
Repeat Type
specificDaysstring[Flag] · enumOptionalPossible values:
Repeat Specific Days
completeIninteger · int32 | nullableOptional
The duration of the scheduler task in minutes. Default: 15 minutes for disable task, 10 minutes for reboot task.
poolMembersTypeinteger · int32 | nullableOptional
Whether to select the percentage or specific number of members to be started
percentageMembersinteger · int32 | nullableOptional
Percentage of members to be started
membersToStartinteger · int32 | nullableOptional
Specific number of members to be started
powerOnAssignedPoolMembersinteger · int32 | nullableOptional
Power On Assigned Pool Members
enableDrainModeboolean | nullableOptional
Whether to enable Drain Mode
forceServerRebootAfterinteger · int32 | nullableOptional
Force server reboot after the specified time in seconds
enforceScheduleInactiveHostboolean | nullableOptional
Enforce schedule for currently inactive host
onDisableboolean | nullableOptional
What action to take on Disable
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
409
Conflict
application/json; api-version=1.0
post
/api/AVD/HostPool/Schedule/StartupLast updated