SessionHostAgentUpdatePatchProperties Class

Definition

The session host configuration for updating agent, monitoring agent, and stack component.

public class SessionHostAgentUpdatePatchProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostAgentUpdatePatchProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostAgentUpdatePatchProperties>
type SessionHostAgentUpdatePatchProperties = class
    interface IJsonModel<SessionHostAgentUpdatePatchProperties>
    interface IPersistableModel<SessionHostAgentUpdatePatchProperties>
Public Class SessionHostAgentUpdatePatchProperties
Implements IJsonModel(Of SessionHostAgentUpdatePatchProperties), IPersistableModel(Of SessionHostAgentUpdatePatchProperties)
Inheritance
SessionHostAgentUpdatePatchProperties
Implements

Constructors

SessionHostAgentUpdatePatchProperties()

Initializes a new instance of SessionHostAgentUpdatePatchProperties.

Properties

DoesUseSessionHostLocalTime

Whether to use localTime of the virtual machine.

MaintenanceWindows

List of maintenance windows. Maintenance windows are 2 hours long.

MaintenanceWindowTimeZone

Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.

UpdateType

The type of maintenance for session host components.

Explicit Interface Implementations

IJsonModel<SessionHostAgentUpdatePatchProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SessionHostAgentUpdatePatchProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SessionHostAgentUpdatePatchProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SessionHostAgentUpdatePatchProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SessionHostAgentUpdatePatchProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to