次の方法で共有


User Interface

public interface User

An immutable client-side representation of User.

Method Summary

Modifier and Type Method and Description
abstract Duration additionalUsageQuota()

Gets the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.

abstract String displayName()

Gets the displayName property: Display name of the user, for example user's full name.

abstract String email()

Gets the email property: Email address of the user.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract UserInner innerModel()

Gets the inner com.azure.resourcemanager.labservices.fluent.models.UserInner object.

abstract OffsetDateTime invitationSent()

Gets the invitationSent property: Date and time when the invitation message was sent to the user.

abstract InvitationState invitationState()

Gets the invitationState property: State of the invitation message for the user.

abstract void invite(InviteBody body)

Invite a user to a lab.

abstract void invite(InviteBody body, Context context)

Invite a user to a lab.

abstract String name()

Gets the name property: The name of the resource.

abstract ProvisioningState provisioningState()

Gets the provisioningState property: Current provisioning state of the user resource.

abstract User refresh()

Refreshes the resource to sync with Azure.

abstract User refresh(Context context)

Refreshes the resource to sync with Azure.

abstract RegistrationState registrationState()

Gets the registrationState property: State of the user's registration within the lab.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract SystemData systemData()

Gets the systemData property: Metadata pertaining to creation and last modification of the user resource.

abstract Duration totalUsage()

Gets the totalUsage property: How long the user has used their virtual machines in this lab.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the User resource.

Method Details

additionalUsageQuota

public abstract Duration additionalUsageQuota()

Gets the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.

Returns:

the additionalUsageQuota value.

displayName

public abstract String displayName()

Gets the displayName property: Display name of the user, for example user's full name.

Returns:

the displayName value.

email

public abstract String email()

Gets the email property: Email address of the user.

Returns:

the email value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract UserInner innerModel()

Gets the inner com.azure.resourcemanager.labservices.fluent.models.UserInner object.

Returns:

the inner object.

invitationSent

public abstract OffsetDateTime invitationSent()

Gets the invitationSent property: Date and time when the invitation message was sent to the user.

Returns:

the invitationSent value.

invitationState

public abstract InvitationState invitationState()

Gets the invitationState property: State of the invitation message for the user.

Returns:

the invitationState value.

invite

public abstract void invite(InviteBody body)

Invite a user to a lab. Operation to invite a user to a lab.

Parameters:

body - The request body.

invite

public abstract void invite(InviteBody body, Context context)

Invite a user to a lab. Operation to invite a user to a lab.

Parameters:

body - The request body.
context - The context to associate with this operation.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioningState property: Current provisioning state of the user resource.

Returns:

the provisioningState value.

refresh

public abstract User refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract User refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

registrationState

public abstract RegistrationState registrationState()

Gets the registrationState property: State of the user's registration within the lab.

Returns:

the registrationState value.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

systemData

public abstract SystemData systemData()

Gets the systemData property: Metadata pertaining to creation and last modification of the user resource.

Returns:

the systemData value.

totalUsage

public abstract Duration totalUsage()

Gets the totalUsage property: How long the user has used their virtual machines in this lab.

Returns:

the totalUsage value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract User.Update update()

Begins update for the User resource.

Returns:

the stage of resource update.

Applies to