Class ClusterProfile
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.ClusterProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ClusterProfile>
public final class ClusterProfile
extends Object
implements com.azure.json.JsonSerializable<ClusterProfile>
Cluster profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the authorizationProfile property: Authorization profile with details of AAD user Ids and group Ids authorized for data plane access.Get the autoscaleProfile property: This is the Autoscale profile for the cluster.Get the clusterAccessProfile property: Cluster access profile.Get the clusterVersion property: Version with 3/4 part.Get the components property: Component list of this cluster type and version.Get the connectivityProfile property: Cluster connectivity profile.Get the flinkProfile property: The Flink cluster profile.static ClusterProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ClusterProfile from the JsonReader.Get the identityProfile property: This is deprecated.Get the kafkaProfile property: The Kafka cluster profile.Get the llapProfile property: LLAP cluster profile.Get the logAnalyticsProfile property: Cluster log analytics profile to enable or disable OMS agent for cluster.Get the managedIdentityProfile property: This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster.Get the ossVersion property: Version with three part.Get the prometheusProfile property: Cluster Prometheus profile.Get the rangerPluginProfile property: Cluster Ranger plugin profile.Get the rangerProfile property: The ranger cluster profile.Get the scriptActionProfiles property: The script action profile list.Get the secretsProfile property: The cluster secret profile.Get the serviceConfigsProfiles property: The service configs profiles.Get the sparkProfile property: The spark cluster profile.Get the sshProfile property: Ssh profile for the cluster.Get the stubProfile property: Stub cluster profile.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the trinoProfile property: Trino Cluster profile.voidvalidate()Validates the instance.withAuthorizationProfile(AuthorizationProfile authorizationProfile) Set the authorizationProfile property: Authorization profile with details of AAD user Ids and group Ids authorized for data plane access.withAutoscaleProfile(AutoscaleProfile autoscaleProfile) Set the autoscaleProfile property: This is the Autoscale profile for the cluster.withClusterAccessProfile(ClusterAccessProfile clusterAccessProfile) Set the clusterAccessProfile property: Cluster access profile.withClusterVersion(String clusterVersion) Set the clusterVersion property: Version with 3/4 part.withFlinkProfile(FlinkProfile flinkProfile) Set the flinkProfile property: The Flink cluster profile.withIdentityProfile(IdentityProfile identityProfile) Set the identityProfile property: This is deprecated.withKafkaProfile(KafkaProfile kafkaProfile) Set the kafkaProfile property: The Kafka cluster profile.withLlapProfile(Map<String, Object> llapProfile) Set the llapProfile property: LLAP cluster profile.withLogAnalyticsProfile(ClusterLogAnalyticsProfile logAnalyticsProfile) Set the logAnalyticsProfile property: Cluster log analytics profile to enable or disable OMS agent for cluster.withManagedIdentityProfile(ManagedIdentityProfile managedIdentityProfile) Set the managedIdentityProfile property: This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster.withOssVersion(String ossVersion) Set the ossVersion property: Version with three part.withPrometheusProfile(ClusterPrometheusProfile prometheusProfile) Set the prometheusProfile property: Cluster Prometheus profile.withRangerPluginProfile(ClusterRangerPluginProfile rangerPluginProfile) Set the rangerPluginProfile property: Cluster Ranger plugin profile.withRangerProfile(RangerProfile rangerProfile) Set the rangerProfile property: The ranger cluster profile.withScriptActionProfiles(List<ScriptActionProfile> scriptActionProfiles) Set the scriptActionProfiles property: The script action profile list.withSecretsProfile(SecretsProfile secretsProfile) Set the secretsProfile property: The cluster secret profile.withServiceConfigsProfiles(List<ClusterServiceConfigsProfile> serviceConfigsProfiles) Set the serviceConfigsProfiles property: The service configs profiles.withSparkProfile(SparkProfile sparkProfile) Set the sparkProfile property: The spark cluster profile.withSshProfile(SshProfile sshProfile) Set the sshProfile property: Ssh profile for the cluster.withStubProfile(Map<String, Object> stubProfile) Set the stubProfile property: Stub cluster profile.withTrinoProfile(TrinoProfile trinoProfile) Set the trinoProfile property: Trino Cluster profile.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ClusterProfile
public ClusterProfile()Creates an instance of ClusterProfile class.
-
-
Method Details
-
clusterVersion
Get the clusterVersion property: Version with 3/4 part.- Returns:
- the clusterVersion value.
-
withClusterVersion
Set the clusterVersion property: Version with 3/4 part.- Parameters:
clusterVersion- the clusterVersion value to set.- Returns:
- the ClusterProfile object itself.
-
ossVersion
Get the ossVersion property: Version with three part.- Returns:
- the ossVersion value.
-
withOssVersion
Set the ossVersion property: Version with three part.- Parameters:
ossVersion- the ossVersion value to set.- Returns:
- the ClusterProfile object itself.
-
components
Get the components property: Component list of this cluster type and version.- Returns:
- the components value.
-
identityProfile
Get the identityProfile property: This is deprecated. Please use managed identity profile instead.- Returns:
- the identityProfile value.
-
withIdentityProfile
Set the identityProfile property: This is deprecated. Please use managed identity profile instead.- Parameters:
identityProfile- the identityProfile value to set.- Returns:
- the ClusterProfile object itself.
-
managedIdentityProfile
Get the managedIdentityProfile property: This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster.- Returns:
- the managedIdentityProfile value.
-
withManagedIdentityProfile
Set the managedIdentityProfile property: This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster.- Parameters:
managedIdentityProfile- the managedIdentityProfile value to set.- Returns:
- the ClusterProfile object itself.
-
authorizationProfile
Get the authorizationProfile property: Authorization profile with details of AAD user Ids and group Ids authorized for data plane access.- Returns:
- the authorizationProfile value.
-
withAuthorizationProfile
Set the authorizationProfile property: Authorization profile with details of AAD user Ids and group Ids authorized for data plane access.- Parameters:
authorizationProfile- the authorizationProfile value to set.- Returns:
- the ClusterProfile object itself.
-
secretsProfile
Get the secretsProfile property: The cluster secret profile.- Returns:
- the secretsProfile value.
-
withSecretsProfile
Set the secretsProfile property: The cluster secret profile.- Parameters:
secretsProfile- the secretsProfile value to set.- Returns:
- the ClusterProfile object itself.
-
serviceConfigsProfiles
Get the serviceConfigsProfiles property: The service configs profiles.- Returns:
- the serviceConfigsProfiles value.
-
withServiceConfigsProfiles
public ClusterProfile withServiceConfigsProfiles(List<ClusterServiceConfigsProfile> serviceConfigsProfiles) Set the serviceConfigsProfiles property: The service configs profiles.- Parameters:
serviceConfigsProfiles- the serviceConfigsProfiles value to set.- Returns:
- the ClusterProfile object itself.
-
connectivityProfile
Get the connectivityProfile property: Cluster connectivity profile.- Returns:
- the connectivityProfile value.
-
clusterAccessProfile
Get the clusterAccessProfile property: Cluster access profile.- Returns:
- the clusterAccessProfile value.
-
withClusterAccessProfile
Set the clusterAccessProfile property: Cluster access profile.- Parameters:
clusterAccessProfile- the clusterAccessProfile value to set.- Returns:
- the ClusterProfile object itself.
-
logAnalyticsProfile
Get the logAnalyticsProfile property: Cluster log analytics profile to enable or disable OMS agent for cluster.- Returns:
- the logAnalyticsProfile value.
-
withLogAnalyticsProfile
Set the logAnalyticsProfile property: Cluster log analytics profile to enable or disable OMS agent for cluster.- Parameters:
logAnalyticsProfile- the logAnalyticsProfile value to set.- Returns:
- the ClusterProfile object itself.
-
prometheusProfile
Get the prometheusProfile property: Cluster Prometheus profile.- Returns:
- the prometheusProfile value.
-
withPrometheusProfile
Set the prometheusProfile property: Cluster Prometheus profile.- Parameters:
prometheusProfile- the prometheusProfile value to set.- Returns:
- the ClusterProfile object itself.
-
sshProfile
Get the sshProfile property: Ssh profile for the cluster.- Returns:
- the sshProfile value.
-
withSshProfile
Set the sshProfile property: Ssh profile for the cluster.- Parameters:
sshProfile- the sshProfile value to set.- Returns:
- the ClusterProfile object itself.
-
autoscaleProfile
Get the autoscaleProfile property: This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale.- Returns:
- the autoscaleProfile value.
-
withAutoscaleProfile
Set the autoscaleProfile property: This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale.- Parameters:
autoscaleProfile- the autoscaleProfile value to set.- Returns:
- the ClusterProfile object itself.
-
rangerPluginProfile
Get the rangerPluginProfile property: Cluster Ranger plugin profile.- Returns:
- the rangerPluginProfile value.
-
withRangerPluginProfile
Set the rangerPluginProfile property: Cluster Ranger plugin profile.- Parameters:
rangerPluginProfile- the rangerPluginProfile value to set.- Returns:
- the ClusterProfile object itself.
-
kafkaProfile
Get the kafkaProfile property: The Kafka cluster profile.- Returns:
- the kafkaProfile value.
-
withKafkaProfile
Set the kafkaProfile property: The Kafka cluster profile.- Parameters:
kafkaProfile- the kafkaProfile value to set.- Returns:
- the ClusterProfile object itself.
-
trinoProfile
Get the trinoProfile property: Trino Cluster profile.- Returns:
- the trinoProfile value.
-
withTrinoProfile
Set the trinoProfile property: Trino Cluster profile.- Parameters:
trinoProfile- the trinoProfile value to set.- Returns:
- the ClusterProfile object itself.
-
llapProfile
-
withLlapProfile
Set the llapProfile property: LLAP cluster profile.- Parameters:
llapProfile- the llapProfile value to set.- Returns:
- the ClusterProfile object itself.
-
flinkProfile
Get the flinkProfile property: The Flink cluster profile.- Returns:
- the flinkProfile value.
-
withFlinkProfile
Set the flinkProfile property: The Flink cluster profile.- Parameters:
flinkProfile- the flinkProfile value to set.- Returns:
- the ClusterProfile object itself.
-
sparkProfile
Get the sparkProfile property: The spark cluster profile.- Returns:
- the sparkProfile value.
-
withSparkProfile
Set the sparkProfile property: The spark cluster profile.- Parameters:
sparkProfile- the sparkProfile value to set.- Returns:
- the ClusterProfile object itself.
-
rangerProfile
Get the rangerProfile property: The ranger cluster profile.- Returns:
- the rangerProfile value.
-
withRangerProfile
Set the rangerProfile property: The ranger cluster profile.- Parameters:
rangerProfile- the rangerProfile value to set.- Returns:
- the ClusterProfile object itself.
-
stubProfile
-
withStubProfile
Set the stubProfile property: Stub cluster profile.- Parameters:
stubProfile- the stubProfile value to set.- Returns:
- the ClusterProfile object itself.
-
scriptActionProfiles
Get the scriptActionProfiles property: The script action profile list.- Returns:
- the scriptActionProfiles value.
-
withScriptActionProfiles
Set the scriptActionProfiles property: The script action profile list.- Parameters:
scriptActionProfiles- the scriptActionProfiles value to set.- Returns:
- the ClusterProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ClusterProfile>- Throws:
IOException
-
fromJson
Reads an instance of ClusterProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ClusterProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ClusterProfile.
-