AgentUpdatePatchProperties interface
用于更新代理、监视代理和堆栈组件的会话主机配置。
属性
| maintenance |
维护时段列表。 维护时段长 2 小时。 |
| maintenance |
https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0中定义的维护时区。 如果 useLocalTime 为 true,则必须设置。 |
| type | 会话主机组件的维护类型。 |
| use |
是否使用虚拟机的 localTime。 |
属性详细信息
maintenanceWindows
维护时段列表。 维护时段长 2 小时。
maintenanceWindows?: MaintenanceWindowPatchProperties[]
属性值
maintenanceWindowTimeZone
https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0中定义的维护时区。 如果 useLocalTime 为 true,则必须设置。
maintenanceWindowTimeZone?: string
属性值
string
type
会话主机组件的维护类型。
type?: string
属性值
string
useSessionHostLocalTime
是否使用虚拟机的 localTime。
useSessionHostLocalTime?: boolean
属性值
boolean