你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

User 类

定义

可以在实验室中注册和使用虚拟机的实验室用户。

[Microsoft.Rest.Serialization.JsonTransformation]
public class User : Microsoft.Azure.Management.LabServices.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type User = class
    inherit ProxyResource
Public Class User
Inherits ProxyResource
继承
属性

构造函数

User()

初始化 User 类的新实例。

User(String, String, String, String, SystemData, Nullable<TimeSpan>, Nullable<ProvisioningState>, String, Nullable<RegistrationState>, Nullable<InvitationState>, Nullable<DateTime>, Nullable<TimeSpan>)

初始化 User 类的新实例。

属性

AdditionalUsageQuota

获取或设置用户除实验室使用配额外获得的使用配额时间量。

DisplayName

获取用户的显示名称,例如用户的全名。

Email

获取或设置用户的电子邮件地址。

Id

获取资源的完全限定资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(继承自 Resource)
InvitationSent

获取邀请消息发送给用户的日期和时间。

InvitationState

获取用户的邀请消息的状态。 可能的值包括:“NotSent”、“Sent”、“Sent”、“Failed”

Name

获取资源的名称

(继承自 Resource)
ProvisioningState

获取用户资源的当前预配状态。 可能的值包括:“Create”、“Updateing”、“删除”、“Succeeded”、“Failed”、“Locked”

RegistrationState

获取用户在实验室中的注册状态。 可能的值包括:“Registered”、“NotRegistered”

SystemData

获取与用户资源的创建和上次修改相关的元数据。

TotalUsage

获取用户在此实验室中使用其虚拟机的时间。

Type

获取资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

(继承自 Resource)

方法

Validate()

验证 对象。

适用于