Udostępnij za pośrednictwem


ArmKeyVaultModelFactory.ManagedHsmData Method

Definition

Initializes a new instance of ManagedHsmData.

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

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
ManagedHsmProperties

Properties of the managed HSM.

sku
ManagedHsmSku

SKU details.

identity
ManagedServiceIdentity

Managed service identity (system assigned and/or user assigned identities).

Returns

A new ManagedHsmData instance for mocking.

Applies to