Share via


UserProperties Class

Definition

User resource properties

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

Constructors

UserProperties()

Creates an new UserProperties 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.

InvitationSent

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

InvitationState

State of the invitation message for the user.

ProvisioningState

Current provisioning state of the user resource.

RegistrationState

State of the user's registration within the lab.

TotalUsage

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UserProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UserProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of UserProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to