Поделиться через


LabUserData Class

Definition

A class representing the LabUser data model. User of a lab that can register for and use virtual machines within the lab.

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

Constructors

LabUserData(String)

Initializes a new instance of LabUserData.

Properties

AdditionalUsageQuota

The amount of usage quota time the user gets in addition to the lab usage quota.

DisplayName

Display name of the user, for example user's full name.

Email

Email address of the user.

Id

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

(Inherited from ResourceData)
InvitationSentOn

Date and time when the invitation message was sent to the user.

InvitationState

State of the invitation message for the user.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

Current provisioning state of the user resource.

RegistrationState

State of the user's registration within the lab.

ResourceType

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

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TotalUsage

How long the user has used their virtual machines in this lab.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LabUserData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LabUserData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LabUserData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LabUserData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LabUserData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to