Reboot

Create Reboot

post

Creates a new Reboot Schedule.

Body
namestring · min: 1 · max: 255 · 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 · enumOptional

Repeat Type

Possible values:
specificDaysstring[Flag] · enumOptional

Repeat Specific Days

Possible values:
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
chevron-right
200

Success

application/json; api-version=1.0

Schedule

idinteger · int32Optional

ID of the object.

adminCreatestring · nullableOptional

User who created the object.

adminLastModstring · nullableOptional

User who last modified the object.

timeCreatestring · date-timeOptional

Time when the object was created.

timeLastModstring · date-timeOptional

Time when the object was last modified.

siteIDinteger · int32Optional

Site ID

objTypestring · enumOptional

Schedule Object Type

Possible values:
actionstring · enumOptional

Schedule Action Type

Possible values:
targetTypestring · enumOptional

Scheduler Target Type

Possible values:
enabledbooleanOptional

Enabled

namestring · nullableOptional

Name

descriptionstring · nullableOptional

Description

typeinteger · int32 · nullableOptional

Type

targetIDsinteger · int32[] · nullableOptional

Target IDs

post
/api/VDI/HostPool/Schedule/Reboot

Was this helpful?