共用方式為


ArmHDInsightModelFactory.HDInsightClusterData Method

Definition

Initializes a new instance of HDInsightClusterData.

public static Azure.ResourceManager.HDInsight.HDInsightClusterData HDInsightClusterData (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.ETag? etag = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ResourceManager.HDInsight.Models.HDInsightClusterProperties properties = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member HDInsightClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * seq<string> * Azure.ResourceManager.HDInsight.Models.HDInsightClusterProperties * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.HDInsight.HDInsightClusterData
Public Shared Function HDInsightClusterData (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 etag As Nullable(Of ETag) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional properties As HDInsightClusterProperties = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As HDInsightClusterData

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.

etag
Nullable<ETag>

The ETag for the resource.

zones
IEnumerable<String>

The availability zones.

properties
HDInsightClusterProperties

The properties of the cluster.

identity
ManagedServiceIdentity

The identity of the cluster, if configured.

Returns

A new HDInsightClusterData instance for mocking.

Applies to