UserInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. labservices. fluent. models. UserInner
- com.
- com.
public final class UserInner
extends ProxyResource
User of a lab that can register for and use virtual machines within the lab.
Constructor Summary
| Constructor | Description |
|---|---|
| UserInner() |
Creates an instance of User |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Duration |
additionalUsageQuota()
Get the additional |
| String |
displayName()
Get the display |
| String |
email()
Get the email property: Email address of the user. |
|
static
User |
fromJson(JsonReader jsonReader)
Reads an instance of User |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Offset |
invitationSent()
Get the invitation |
|
Invitation |
invitationState()
Get the invitation |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Registration |
registrationState()
Get the registration |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| Duration |
totalUsage()
Get the total |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
User |
withAdditionalUsageQuota(Duration additionalUsageQuota)
Set the additional |
|
User |
withEmail(String email)
Set the email property: Email address of the user. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
UserInner
public UserInner()
Creates an instance of UserInner class.
Method Details
additionalUsageQuota
public Duration additionalUsageQuota()
Get the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.
Returns:
displayName
public String displayName()
Get the displayName property: Display name of the user, for example user's full name.
Returns:
public String email()
Get the email property: Email address of the user.
Returns:
fromJson
public static UserInner fromJson(JsonReader jsonReader)
Reads an instance of UserInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
UserInner.id()Returns:
invitationSent
public OffsetDateTime invitationSent()
Get the invitationSent property: Date and time when the invitation message was sent to the user.
Returns:
invitationState
public InvitationState invitationState()
Get the invitationState property: State of the invitation message for the user.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
UserInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Current provisioning state of the user resource.
Returns:
registrationState
public RegistrationState registrationState()
Get the registrationState property: State of the user's registration within the lab.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the user resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
UserInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
totalUsage
public Duration totalUsage()
Get the totalUsage property: How long the user has used their virtual machines in this lab.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
UserInner.type()Returns:
validate
public void validate()
Validates the instance.
withAdditionalUsageQuota
public UserInner withAdditionalUsageQuota(Duration additionalUsageQuota)
Set the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.
Parameters:
Returns:
withEmail
public UserInner withEmail(String email)
Set the email property: Email address of the user.
Parameters:
Returns: