Class UpdatableClusterProfile
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.UpdatableClusterProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<UpdatableClusterProfile>
public final class UpdatableClusterProfile
extends Object
implements com.azure.json.JsonSerializable<UpdatableClusterProfile>
Cluster resource patch properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of UpdatableClusterProfile class. -
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.static UpdatableClusterProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of UpdatableClusterProfile from the JsonReader.Get the logAnalyticsProfile property: Cluster log analytics profile to enable or disable OMS agent for cluster.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 sshProfile property: Ssh profile for the cluster.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.withLogAnalyticsProfile(ClusterLogAnalyticsProfile logAnalyticsProfile) Set the logAnalyticsProfile property: Cluster log analytics profile to enable or disable OMS agent for cluster.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.withSshProfile(SshProfile sshProfile) Set the sshProfile property: Ssh profile for the cluster.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
-
UpdatableClusterProfile
public UpdatableClusterProfile()Creates an instance of UpdatableClusterProfile class.
-
-
Method Details
-
serviceConfigsProfiles
Get the serviceConfigsProfiles property: The service configs profiles.- Returns:
- the serviceConfigsProfiles value.
-
withServiceConfigsProfiles
public UpdatableClusterProfile withServiceConfigsProfiles(List<ClusterServiceConfigsProfile> serviceConfigsProfiles) Set the serviceConfigsProfiles property: The service configs profiles.- Parameters:
serviceConfigsProfiles- the serviceConfigsProfiles value to set.- Returns:
- the UpdatableClusterProfile 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 UpdatableClusterProfile 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 UpdatableClusterProfile 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 UpdatableClusterProfile object itself.
-
logAnalyticsProfile
Get the logAnalyticsProfile property: Cluster log analytics profile to enable or disable OMS agent for cluster.- Returns:
- the logAnalyticsProfile value.
-
withLogAnalyticsProfile
public UpdatableClusterProfile withLogAnalyticsProfile(ClusterLogAnalyticsProfile logAnalyticsProfile) 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 UpdatableClusterProfile 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 UpdatableClusterProfile object itself.
-
rangerPluginProfile
Get the rangerPluginProfile property: Cluster Ranger plugin profile.- Returns:
- the rangerPluginProfile value.
-
withRangerPluginProfile
public UpdatableClusterProfile withRangerPluginProfile(ClusterRangerPluginProfile rangerPluginProfile) Set the rangerPluginProfile property: Cluster Ranger plugin profile.- Parameters:
rangerPluginProfile- the rangerPluginProfile value to set.- Returns:
- the UpdatableClusterProfile 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 UpdatableClusterProfile object itself.
-
scriptActionProfiles
Get the scriptActionProfiles property: The script action profile list.- Returns:
- the scriptActionProfiles value.
-
withScriptActionProfiles
public UpdatableClusterProfile withScriptActionProfiles(List<ScriptActionProfile> scriptActionProfiles) Set the scriptActionProfiles property: The script action profile list.- Parameters:
scriptActionProfiles- the scriptActionProfiles value to set.- Returns:
- the UpdatableClusterProfile 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 UpdatableClusterProfile 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 UpdatableClusterProfile 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<UpdatableClusterProfile>- Throws:
IOException
-
fromJson
public static UpdatableClusterProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of UpdatableClusterProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of UpdatableClusterProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the UpdatableClusterProfile.
-