Delen via


SessionHostAgentUpdateProperties Class

Definition

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

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

Constructors

SessionHostAgentUpdateProperties()

Initializes a new instance of SessionHostAgentUpdateProperties.

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<SessionHostAgentUpdateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SessionHostAgentUpdateProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SessionHostAgentUpdateProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SessionHostAgentUpdateProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SessionHostAgentUpdateProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to