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

ArmDevTestLabsModelFactory.DevTestLabSecretData 方法

定义

初始化 DevTestLabSecretData 的新实例。

public static Azure.ResourceManager.DevTestLabs.DevTestLabSecretData DevTestLabSecretData (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, string value = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabSecretData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabSecretData
Public Shared Function DevTestLabSecretData (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 value As String = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabSecretData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tags
IDictionary<String,String>

标记。

location
AzureLocation

位置。

value
String

用于创建机密的机密的值。

provisioningState
String

资源的预配状态。

uniqueIdentifier
Nullable<Guid>

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

返回

用于模拟的新 DevTestLabSecretData 实例。

适用于