Compartilhar via


ArmDesktopVirtualizationModelFactory.SessionHostData Método

Definição

Inicializa uma nova instância de SessionHostData.

public static Azure.ResourceManager.DesktopVirtualization.SessionHostData SessionHostData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string objectId = default, DateTimeOffset? lastHeartBeatOn = default, int? sessions = default, string agentVersion = default, bool? allowNewSession = default, string vmId = default, Azure.Core.ResourceIdentifier resourceId = default, string assignedUser = default, string friendlyName = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHostStatus? status = default, DateTimeOffset? statusTimestamp = default, string osVersion = default, string sxsStackVersion = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHostUpdateState? updateState = default, DateTimeOffset? lastUpdatedOn = default, string updateErrorMessage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostHealthCheckReport> sessionHostHealthCheckResults = default);
static member SessionHostData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<int> * string * Nullable<bool> * string * Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostStatus> * Nullable<DateTimeOffset> * string * string * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostUpdateState> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostHealthCheckReport> -> Azure.ResourceManager.DesktopVirtualization.SessionHostData
Public Shared Function SessionHostData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional objectId As String = Nothing, Optional lastHeartBeatOn As Nullable(Of DateTimeOffset) = Nothing, Optional sessions As Nullable(Of Integer) = Nothing, Optional agentVersion As String = Nothing, Optional allowNewSession As Nullable(Of Boolean) = Nothing, Optional vmId As String = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional assignedUser As String = Nothing, Optional friendlyName As String = Nothing, Optional status As Nullable(Of SessionHostStatus) = Nothing, Optional statusTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional osVersion As String = Nothing, Optional sxsStackVersion As String = Nothing, Optional updateState As Nullable(Of SessionHostUpdateState) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional updateErrorMessage As String = Nothing, Optional sessionHostHealthCheckResults As IEnumerable(Of SessionHostHealthCheckReport) = Nothing) As SessionHostData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

objectId
String

ObjectId de SessionHost. (uso interno).

lastHeartBeatOn
Nullable<DateTimeOffset>

Última batida cardíaca de SessionHost.

sessions
Nullable<Int32>

Número de sessões no SessionHost.

agentVersion
String

Versão do agente no SessionHost.

allowNewSession
Nullable<Boolean>

Permitir uma nova sessão.

vmId
String

ID da máquina virtual subjacente do SessionHost.

resourceId
ResourceIdentifier

ID do recurso da máquina virtual subjacente do SessionHost.

assignedUser
String

Usuário atribuído a SessionHost.

friendlyName
String

Nome amigável de SessionHost.

status
Nullable<SessionHostStatus>

Status de um SessionHost.

statusTimestamp
Nullable<DateTimeOffset>

O carimbo de data/hora do status.

osVersion
String

A versão do sistema operacional no host da sessão.

sxsStackVersion
String

A versão da pilha lado a lado no host da sessão.

updateState
Nullable<SessionHostUpdateState>

Atualizar o estado de um SessionHost.

lastUpdatedOn
Nullable<DateTimeOffset>

O carimbo de data/hora da última atualização.

updateErrorMessage
String

A mensagem de erro.

sessionHostHealthCheckResults
IEnumerable<SessionHostHealthCheckReport>

Lista de SessionHostHealthCheckReports.

Retornos

Uma nova SessionHostData instância para simulação.

Aplica-se a