Auto Upgrade
Get
Retrieve the Auto-upgrade settings of a session server with the specified ID.
GET/api/AVD/HostPool/{id}/AutoUpgrade
Path parameters
id*integer (int32)
The ID of a session server for which to retrieve the Auto-upgrade settings.
Response
Success
Body
enabledboolean
Enable auto-upgrade maintenance window
startDateTimestring (date-time)
Start Date
drainModeDurationInSecsnumber (double)
Drain mode duration
forceLogoffSessionsboolean
Force logoff sessions at the end of the drain mode period
repeatRepeatType (enum)
Repeat Type
0 = Never,1 = EveryDay,2 = EveryWeek,3 = Every2Weeks,4 = EveryMonth,5 = EveryYear,6 = SpecificDays
specificDaysRepeatSpecificDays (enum)
Repeat Specific Days
0 = Never,1 = Sunday,2 = Monday,4 = Tuesday,8 = Wednesday,16 = Thursday,32 = Friday,64 = Saturday
messagesnullable array of ScheduleMessage (object)
Messages
Request
Response
Update
Update the Auto-upgrade settings of a session server with the specified ID.
PUT/api/AVD/HostPool/{id}/AutoUpgrade
Path parameters
id*integer (int32)
The ID of a session server for which to modify the Auto-upgrade settings.
Body
Auto-upgrade settings.
SetAutoUpgrade (object)
Modify the Auto-upgrade settings
Response
No Content
Request
Response