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

ArmKeyVaultModelFactory.KeyVaultSecretData 方法

定义

初始化 KeyVaultSecretData 的新实例。

public static Azure.ResourceManager.KeyVault.KeyVaultSecretData KeyVaultSecretData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.KeyVault.Models.SecretProperties properties = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member KeyVaultSecretData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.KeyVault.Models.SecretProperties * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.KeyVault.KeyVaultSecretData
Public Shared Function KeyVaultSecretData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional properties As SecretProperties = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As KeyVaultSecretData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

properties
SecretProperties

机密的属性。

location
Nullable<AzureLocation>

密钥保管库资源的 Azure 位置。

tags
IReadOnlyDictionary<String,String>

分配给密钥保管库资源的标记。

返回

用于模拟的新 KeyVaultSecretData 实例。

适用于