Compartilhar via


ArmDesktopVirtualizationModelFactory.UserSessionData Método

Definição

Inicializa uma nova instância de UserSessionData.

public static Azure.ResourceManager.DesktopVirtualization.UserSessionData UserSessionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string objectId = default, string userPrincipalName = default, Azure.ResourceManager.DesktopVirtualization.Models.VirtualApplicationType? applicationType = default, Azure.ResourceManager.DesktopVirtualization.Models.UserSessionState? sessionState = default, string activeDirectoryUserName = default, DateTimeOffset? createOn = default);
static member UserSessionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.VirtualApplicationType> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.UserSessionState> * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.DesktopVirtualization.UserSessionData
Public Shared Function UserSessionData (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 userPrincipalName As String = Nothing, Optional applicationType As Nullable(Of VirtualApplicationType) = Nothing, Optional sessionState As Nullable(Of UserSessionState) = Nothing, Optional activeDirectoryUserName As String = Nothing, Optional createOn As Nullable(Of DateTimeOffset) = Nothing) As UserSessionData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

objectId
String

ObjectId da sessão do usuário. (uso interno).

userPrincipalName
String

Nome principal do usuário.

applicationType
Nullable<VirtualApplicationType>

Tipo de aplicativo.

sessionState
Nullable<UserSessionState>

Estado da sessão do usuário.

activeDirectoryUserName
String

O nome de usuário do Active Directory.

createOn
Nullable<DateTimeOffset>

O carimbo de data/hora da criação da sessão do usuário.

Retornos

Uma nova UserSessionData instância para zombar.

Aplica-se a