Class UserInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.labservices.fluent.models.UserInner
public final class UserInner
extends com.azure.core.management.ProxyResource
User of a lab that can register for and use virtual machines within the lab.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.Get the displayName property: Display name of the user, for example user's full name.email()
Get the email property: Email address of the user.Get the invitationSent property: Date and time when the invitation message was sent to the user.Get the invitationState property: State of the invitation message for the user.Get the provisioningState property: Current provisioning state of the user resource.Get the registrationState property: State of the user's registration within the lab.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the user resource.Get the totalUsage property: How long the user has used their virtual machines in this lab.void
validate()
Validates the instance.withAdditionalUsageQuota
(Duration additionalUsageQuota) Set the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.Set the email property: Email address of the user.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
UserInner
public UserInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the user resource.- Returns:
- the systemData value.
-
provisioningState
Get the provisioningState property: Current provisioning state of the user resource.- Returns:
- the provisioningState value.
-
displayName
Get the displayName property: Display name of the user, for example user's full name.- Returns:
- the displayName value.
-
email
Get the email property: Email address of the user.- Returns:
- the email value.
-
withEmail
Set the email property: Email address of the user.- Parameters:
email
- the email value to set.- Returns:
- the UserInner object itself.
-
registrationState
Get the registrationState property: State of the user's registration within the lab.- Returns:
- the registrationState value.
-
invitationState
Get the invitationState property: State of the invitation message for the user.- Returns:
- the invitationState value.
-
invitationSent
Get the invitationSent property: Date and time when the invitation message was sent to the user.- Returns:
- the invitationSent value.
-
totalUsage
Get the totalUsage property: How long the user has used their virtual machines in this lab.- Returns:
- the totalUsage value.
-
additionalUsageQuota
Get the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.- Returns:
- the additionalUsageQuota value.
-
withAdditionalUsageQuota
Set the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.- Parameters:
additionalUsageQuota
- the additionalUsageQuota value to set.- Returns:
- the UserInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-