User Constructors

Definition

Overloads

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.

User()

Initializes a new instance of the User class.

public User ();
Public Sub New ()

Applies to

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.

public User (string email, string id = default, string name = default, string type = default, Microsoft.Azure.Management.LabServices.Models.SystemData systemData = default, TimeSpan? additionalUsageQuota = default, Microsoft.Azure.Management.LabServices.Models.ProvisioningState? provisioningState = default, string displayName = default, Microsoft.Azure.Management.LabServices.Models.RegistrationState? registrationState = default, Microsoft.Azure.Management.LabServices.Models.InvitationState? invitationState = default, DateTime? invitationSent = default, TimeSpan? totalUsage = default);
new Microsoft.Azure.Management.LabServices.Models.User : string * string * string * string * Microsoft.Azure.Management.LabServices.Models.SystemData * Nullable<TimeSpan> * Nullable<Microsoft.Azure.Management.LabServices.Models.ProvisioningState> * string * Nullable<Microsoft.Azure.Management.LabServices.Models.RegistrationState> * Nullable<Microsoft.Azure.Management.LabServices.Models.InvitationState> * Nullable<DateTime> * Nullable<TimeSpan> -> Microsoft.Azure.Management.LabServices.Models.User
Public Sub New (email As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional additionalUsageQuota As Nullable(Of TimeSpan) = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional displayName As String = Nothing, Optional registrationState As Nullable(Of RegistrationState) = Nothing, Optional invitationState As Nullable(Of InvitationState) = Nothing, Optional invitationSent As Nullable(Of DateTime) = Nothing, Optional totalUsage As Nullable(Of TimeSpan) = Nothing)

Parameters

email
String

Email address of the user.

id
String

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

name
String

The name of the resource

type
String

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

systemData
SystemData

Metadata pertaining to creation and last modification of the user resource.

additionalUsageQuota
Nullable<TimeSpan>

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

provisioningState
Nullable<ProvisioningState>

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

displayName
String

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

registrationState
Nullable<RegistrationState>

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

invitationState
Nullable<InvitationState>

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

invitationSent
Nullable<DateTime>

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

totalUsage
Nullable<TimeSpan>

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

Applies to