Megosztás a következőn keresztül:


User Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.UserTypeConverter))]
public class User : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IUser, Microsoft.Azure.PowerShell.Cmdlets.LabServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.UserTypeConverter))>]
type User = class
    interface IUser
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class User
Implements IUser, IValidates
Inheritance
User
Attributes
Implements

Constructors

User()

Creates an new User instance.

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}

InvitationSent

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

ProvisioningState

Current provisioning state of the user resource.

RegistrationState

State of the user's registration within the lab.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

TotalUsage

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

Type

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

Methods

BindResourceParameters(Hashtable)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of User.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of User.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IUser.

FromJsonString(String)

Creates a new instance of User, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of User into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to