共用方式為


ArmHardwareSecurityModulesModelFactory.DedicatedHsmData Method

Definition

Initializes a new instance of DedicatedHsmData.

public static Azure.ResourceManager.HardwareSecurityModules.DedicatedHsmData DedicatedHsmData (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.HardwareSecurityModules.Models.DedicatedHsmSkuName? skuName = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ResourceManager.HardwareSecurityModules.Models.DedicatedHsmProperties properties = default);
static member DedicatedHsmData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.HardwareSecurityModules.Models.DedicatedHsmSkuName> * seq<string> * Azure.ResourceManager.HardwareSecurityModules.Models.DedicatedHsmProperties -> Azure.ResourceManager.HardwareSecurityModules.DedicatedHsmData
Public Shared Function DedicatedHsmData (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 skuName As Nullable(Of DedicatedHsmSkuName) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional properties As DedicatedHsmProperties = Nothing) As DedicatedHsmData

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.

skuName
Nullable<DedicatedHsmSkuName>

SKU details.

zones
IEnumerable<String>

The Dedicated Hsm zones.

properties
DedicatedHsmProperties

Properties of the dedicated HSM.

Returns

A new DedicatedHsmData instance for mocking.

Applies to