共用方式為


ArmHDInsightContainersModelFactory.ClusterProfile Method

Definition

Initializes a new instance of ClusterProfile.

public static Azure.ResourceManager.HDInsight.Containers.Models.ClusterProfile ClusterProfile (string clusterVersion = default, string ossVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Containers.Models.ClusterComponentItem> components = default, Azure.ResourceManager.HDInsight.Containers.Models.HDInsightIdentityProfile identityProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Containers.Models.HDInsightManagedIdentitySpec> identityList = default, Azure.ResourceManager.HDInsight.Containers.Models.AuthorizationProfile authorizationProfile = default, Azure.ResourceManager.HDInsight.Containers.Models.ClusterSecretsProfile secretsProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Containers.Models.ClusterServiceConfigsProfile> serviceConfigsProfiles = default, Azure.ResourceManager.HDInsight.Containers.Models.ClusterConnectivityProfile connectivityProfile = default, Azure.ResourceManager.HDInsight.Containers.Models.ClusterAccessProfile clusterAccessProfile = default, Azure.ResourceManager.HDInsight.Containers.Models.ClusterLogAnalyticsProfile logAnalyticsProfile = default, bool? isEnabled = default, Azure.ResourceManager.HDInsight.Containers.Models.ClusterSshProfile sshProfile = default, Azure.ResourceManager.HDInsight.Containers.Models.ClusterAutoscaleProfile autoscaleProfile = default, bool? isRangerForClusterEnabled = default, Azure.ResourceManager.HDInsight.Containers.Models.KafkaProfile kafkaProfile = default, Azure.ResourceManager.HDInsight.Containers.Models.TrinoProfile trinoProfile = default, System.Collections.Generic.IDictionary<string,BinaryData> llapProfile = default, Azure.ResourceManager.HDInsight.Containers.Models.FlinkProfile flinkProfile = default, Azure.ResourceManager.HDInsight.Containers.Models.SparkProfile sparkProfile = default, Azure.ResourceManager.HDInsight.Containers.Models.RangerProfile rangerProfile = default, System.Collections.Generic.IDictionary<string,BinaryData> stubProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Containers.Models.ScriptActionProfile> scriptActionProfiles = default);
static member ClusterProfile : string * string * seq<Azure.ResourceManager.HDInsight.Containers.Models.ClusterComponentItem> * Azure.ResourceManager.HDInsight.Containers.Models.HDInsightIdentityProfile * seq<Azure.ResourceManager.HDInsight.Containers.Models.HDInsightManagedIdentitySpec> * Azure.ResourceManager.HDInsight.Containers.Models.AuthorizationProfile * Azure.ResourceManager.HDInsight.Containers.Models.ClusterSecretsProfile * seq<Azure.ResourceManager.HDInsight.Containers.Models.ClusterServiceConfigsProfile> * Azure.ResourceManager.HDInsight.Containers.Models.ClusterConnectivityProfile * Azure.ResourceManager.HDInsight.Containers.Models.ClusterAccessProfile * Azure.ResourceManager.HDInsight.Containers.Models.ClusterLogAnalyticsProfile * Nullable<bool> * Azure.ResourceManager.HDInsight.Containers.Models.ClusterSshProfile * Azure.ResourceManager.HDInsight.Containers.Models.ClusterAutoscaleProfile * Nullable<bool> * Azure.ResourceManager.HDInsight.Containers.Models.KafkaProfile * Azure.ResourceManager.HDInsight.Containers.Models.TrinoProfile * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.ResourceManager.HDInsight.Containers.Models.FlinkProfile * Azure.ResourceManager.HDInsight.Containers.Models.SparkProfile * Azure.ResourceManager.HDInsight.Containers.Models.RangerProfile * System.Collections.Generic.IDictionary<string, BinaryData> * seq<Azure.ResourceManager.HDInsight.Containers.Models.ScriptActionProfile> -> Azure.ResourceManager.HDInsight.Containers.Models.ClusterProfile
Public Shared Function ClusterProfile (Optional clusterVersion As String = Nothing, Optional ossVersion As String = Nothing, Optional components As IEnumerable(Of ClusterComponentItem) = Nothing, Optional identityProfile As HDInsightIdentityProfile = Nothing, Optional identityList As IEnumerable(Of HDInsightManagedIdentitySpec) = Nothing, Optional authorizationProfile As AuthorizationProfile = Nothing, Optional secretsProfile As ClusterSecretsProfile = Nothing, Optional serviceConfigsProfiles As IEnumerable(Of ClusterServiceConfigsProfile) = Nothing, Optional connectivityProfile As ClusterConnectivityProfile = Nothing, Optional clusterAccessProfile As ClusterAccessProfile = Nothing, Optional logAnalyticsProfile As ClusterLogAnalyticsProfile = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional sshProfile As ClusterSshProfile = Nothing, Optional autoscaleProfile As ClusterAutoscaleProfile = Nothing, Optional isRangerForClusterEnabled As Nullable(Of Boolean) = Nothing, Optional kafkaProfile As KafkaProfile = Nothing, Optional trinoProfile As TrinoProfile = Nothing, Optional llapProfile As IDictionary(Of String, BinaryData) = Nothing, Optional flinkProfile As FlinkProfile = Nothing, Optional sparkProfile As SparkProfile = Nothing, Optional rangerProfile As RangerProfile = Nothing, Optional stubProfile As IDictionary(Of String, BinaryData) = Nothing, Optional scriptActionProfiles As IEnumerable(Of ScriptActionProfile) = Nothing) As ClusterProfile

Parameters

clusterVersion
String

Version with 3/4 part.

ossVersion
String

Version with three part.

components
IEnumerable<ClusterComponentItem>

Component list of this cluster type and version.

identityProfile
HDInsightIdentityProfile

This is deprecated. Please use managed identity profile instead.

identityList
IEnumerable<HDInsightManagedIdentitySpec>

This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster.

authorizationProfile
AuthorizationProfile

Authorization profile with details of AAD user Ids and group Ids authorized for data plane access.

secretsProfile
ClusterSecretsProfile

The cluster secret profile.

serviceConfigsProfiles
IEnumerable<ClusterServiceConfigsProfile>

The service configs profiles.

connectivityProfile
ClusterConnectivityProfile

Cluster connectivity profile.

clusterAccessProfile
ClusterAccessProfile

Cluster access profile.

logAnalyticsProfile
ClusterLogAnalyticsProfile

Cluster log analytics profile to enable or disable OMS agent for cluster.

isEnabled
Nullable<Boolean>

Cluster Prometheus profile.

sshProfile
ClusterSshProfile

Ssh profile for the cluster.

autoscaleProfile
ClusterAutoscaleProfile

This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale.

isRangerForClusterEnabled
Nullable<Boolean>

Cluster Ranger plugin profile.

kafkaProfile
KafkaProfile

The Kafka cluster profile.

trinoProfile
TrinoProfile

Trino Cluster profile.

llapProfile
IDictionary<String,BinaryData>

LLAP cluster profile.

flinkProfile
FlinkProfile

The Flink cluster profile.

sparkProfile
SparkProfile

The spark cluster profile.

rangerProfile
RangerProfile

The ranger cluster profile.

stubProfile
IDictionary<String,BinaryData>

Stub cluster profile.

scriptActionProfiles
IEnumerable<ScriptActionProfile>

The script action profile list.

Returns

A new ClusterProfile instance for mocking.

Applies to