Share via


SessionHostProperties Class

Definition

Schema for SessionHost properties.

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

Constructors

SessionHostProperties()

Creates an new SessionHostProperties instance.

Properties

AgentVersion

Version of agent on SessionHost.

AllowNewSession

Allow a new session.

AssignedUser

User assigned to SessionHost.

FriendlyName

Friendly name of SessionHost

LastHeartBeat

Last heart beat from SessionHost.

LastUpdateTime

The timestamp of the last update.

ObjectId

ObjectId of SessionHost. (internal use)

OSVersion

The version of the OS on the session host.

ResourceId

Resource Id of SessionHost's underlying virtual machine.

Session

Number of sessions on SessionHost.

SessionHostHealthCheckResult

List of SessionHostHealthCheckReports

Status

Status for a SessionHost.

StatusTimestamp

The timestamp of the status.

SxSStackVersion

The version of the side by side stack on the session host.

UpdateErrorMessage

The error message.

UpdateState

Update state of a SessionHost.

VirtualMachineId

Virtual Machine Id of SessionHost's underlying virtual machine.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SessionHostProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SessionHostProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SessionHostProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to