Udostępnij za pośrednictwem


ArmKeyVaultModelFactory.KeyVaultData Method

Definition

Initializes a new instance of KeyVaultData.

public static Azure.ResourceManager.KeyVault.KeyVaultData KeyVaultData (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.KeyVault.Models.KeyVaultProperties properties = default);
static member KeyVaultData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.KeyVault.Models.KeyVaultProperties -> Azure.ResourceManager.KeyVault.KeyVaultData
Public Shared Function KeyVaultData (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 properties As KeyVaultProperties = Nothing) As KeyVaultData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

properties
KeyVaultProperties

Properties of the vault.

Returns

A new KeyVaultData instance for mocking.

Applies to