Compartilhar via


ISessionHost Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.SessionHostTypeConverter))]
public interface ISessionHost : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api10.IResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.SessionHostTypeConverter))>]
type ISessionHost = interface
    interface IJsonSerializable
    interface IResource
Public Interface ISessionHost
Implements IResource
Derived
Attributes
Implements

Properties

AgentVersion

Version of agent on SessionHost.

AllowNewSession

Allow a new session.

AssignedUser

User assigned to SessionHost.

FriendlyName

Friendly name of SessionHost

HealthCheckResult

List of SessionHostHealthCheckReports

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from IResource)
LastHeartBeat

Last heart beat from SessionHost.

LastUpdateTime

The timestamp of the last update.

Name

The name of the resource

(Inherited from IResource)
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.

Status

Status for a SessionHost.

StatusTimestamp

The timestamp of the status.

SxSStackVersion

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

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from IResource)
UpdateErrorMessage

The error message.

UpdateState

Update state of a SessionHost.

VirtualMachineId

Virtual Machine Id of SessionHost's underlying virtual machine.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to