다음을 통해 공유


User Class

Definition

User of a lab that can register for and use virtual machines within the lab.

[Microsoft.Rest.Serialization.JsonTransformation]
public class User : Microsoft.Azure.Management.LabServices.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type User = class
    inherit ProxyResource
Public Class User
Inherits ProxyResource
Inheritance
Attributes

Constructors

User()

Initializes a new instance of the User class.

User(String, String, String, String, SystemData, Nullable<TimeSpan>, Nullable<ProvisioningState>, String, Nullable<RegistrationState>, Nullable<InvitationState>, Nullable<DateTime>, Nullable<TimeSpan>)

Initializes a new instance of the User class.

Properties

AdditionalUsageQuota

Gets or sets the amount of usage quota time the user gets in addition to the lab usage quota.

DisplayName

Gets display name of the user, for example user's full name.

Email

Gets or sets email address of the user.

Id

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

(Inherited from Resource)
InvitationSent

Gets date and time when the invitation message was sent to the user.

InvitationState

Gets state of the invitation message for the user. Possible values include: 'NotSent', 'Sending', 'Sent', 'Failed'

Name

Gets the name of the resource

(Inherited from Resource)
ProvisioningState

Gets current provisioning state of the user resource. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Locked'

RegistrationState

Gets state of the user's registration within the lab. Possible values include: 'Registered', 'NotRegistered'

SystemData

Gets metadata pertaining to creation and last modification of the user resource.

TotalUsage

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

Type

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

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to