AgentUpdateProperties Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.AgentUpdatePropertiesTypeConverter))]
public class AgentUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.IAgentUpdateProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.AgentUpdatePropertiesTypeConverter))>]
type AgentUpdateProperties = class
    interface IAgentUpdateProperties
    interface IJsonSerializable
Public Class AgentUpdateProperties
Implements IAgentUpdateProperties
Inheritance
AgentUpdateProperties
Attributes
Implements

Constructors

AgentUpdateProperties()

Creates an new AgentUpdateProperties instance.

Properties

MaintenanceWindow

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.

Type

The type of maintenance for session host components.

UseSessionHostLocalTime

Whether to use localTime of the virtual machine.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AgentUpdateProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AgentUpdateProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.IAgentUpdateProperties.

FromJsonString(String)

Creates a new instance of AgentUpdateProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AgentUpdateProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to