Bagikan melalui


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

Constructors

AgentUpdatePatchProperties()

Creates an new AgentUpdatePatchProperties 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 AgentUpdatePatchProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AgentUpdatePatchProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AgentUpdatePatchProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to