Share via


UserSessionData Class

Definition

A class representing the UserSession data model. Represents a UserSession definition.

public class UserSessionData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DesktopVirtualization.UserSessionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DesktopVirtualization.UserSessionData>
type UserSessionData = class
    inherit ResourceData
    interface IJsonModel<UserSessionData>
    interface IPersistableModel<UserSessionData>
Public Class UserSessionData
Inherits ResourceData
Implements IJsonModel(Of UserSessionData), IPersistableModel(Of UserSessionData)
Inheritance
UserSessionData
Implements

Constructors

UserSessionData()

Initializes a new instance of UserSessionData.

Properties

ActiveDirectoryUserName

The active directory user name.

ApplicationType

Application type of application.

CreateOn

The timestamp of the user session create.

Id

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

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ObjectId

ObjectId of user session. (internal use).

ResourceType

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

(Inherited from ResourceData)
SessionState

State of user session.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UserPrincipalName

The user principal name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<UserSessionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<UserSessionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserSessionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserSessionData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<UserSessionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to