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

ArmDevTestLabsModelFactory.DevTestLabUserData 方法

定义

初始化 DevTestLabUserData 的新实例。

public static Azure.ResourceManager.DevTestLabs.DevTestLabUserData DevTestLabUserData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserIdentity identity = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserSecretStore secretStore = default, DateTimeOffset? createdOn = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabUserData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserIdentity * Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserSecretStore * Nullable<DateTimeOffset> * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabUserData
Public Shared Function DevTestLabUserData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As DevTestLabUserIdentity = Nothing, Optional secretStore As DevTestLabUserSecretStore = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabUserData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tags
IDictionary<String,String>

标记。

location
AzureLocation

位置。

identity
DevTestLabUserIdentity

用户的标识。

secretStore
DevTestLabUserSecretStore

用户的机密存储。

createdOn
Nullable<DateTimeOffset>

用户配置文件的创建日期。

provisioningState
String

资源的预配状态。

uniqueIdentifier
Nullable<Guid>

资源的唯一不可变标识符 (Guid) 。

返回

用于模拟的新 DevTestLabUserData 实例。

适用于