Udostępnij przez


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

Constructors

Name Description
AgentUpdateProperties()

Creates an new AgentUpdateProperties instance.

Properties

Name Description
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

Name Description
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.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.

ToString()

Applies to