Class AksClusterProfile
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.AksClusterProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AksClusterProfile>
- Direct Known Subclasses:
ClusterPoolResourcePropertiesAksClusterProfile
public class AksClusterProfile
extends Object
implements com.azure.json.JsonSerializable<AksClusterProfile>
Properties of the cluster pool underlying AKS cluster.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the aksClusterAgentPoolIdentityProfile property: Identity properties of the AKS cluster agentpool MSI.Get the aksClusterResourceId property: ARM Resource ID of the AKS cluster.Get the aksVersion property: AKS control plane and default node pool version of this ClusterPool.static AksClusterProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AksClusterProfile from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAksClusterAgentPoolIdentityProfile(AksClusterProfileAksClusterAgentPoolIdentityProfile aksClusterAgentPoolIdentityProfile) Set the aksClusterAgentPoolIdentityProfile property: Identity properties of the AKS cluster agentpool MSI.withAksClusterResourceId(String aksClusterResourceId) Set the aksClusterResourceId property: ARM Resource ID of the AKS cluster.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
-
AksClusterProfile
public AksClusterProfile()Creates an instance of AksClusterProfile class.
-
-
Method Details
-
aksClusterResourceId
Get the aksClusterResourceId property: ARM Resource ID of the AKS cluster.- Returns:
- the aksClusterResourceId value.
-
withAksClusterResourceId
Set the aksClusterResourceId property: ARM Resource ID of the AKS cluster.- Parameters:
aksClusterResourceId- the aksClusterResourceId value to set.- Returns:
- the AksClusterProfile object itself.
-
aksClusterAgentPoolIdentityProfile
Get the aksClusterAgentPoolIdentityProfile property: Identity properties of the AKS cluster agentpool MSI.- Returns:
- the aksClusterAgentPoolIdentityProfile value.
-
withAksClusterAgentPoolIdentityProfile
public AksClusterProfile withAksClusterAgentPoolIdentityProfile(AksClusterProfileAksClusterAgentPoolIdentityProfile aksClusterAgentPoolIdentityProfile) Set the aksClusterAgentPoolIdentityProfile property: Identity properties of the AKS cluster agentpool MSI.- Parameters:
aksClusterAgentPoolIdentityProfile- the aksClusterAgentPoolIdentityProfile value to set.- Returns:
- the AksClusterProfile object itself.
-
aksVersion
Get the aksVersion property: AKS control plane and default node pool version of this ClusterPool.- Returns:
- the aksVersion value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AksClusterProfile>- Throws:
IOException
-
fromJson
Reads an instance of AksClusterProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AksClusterProfile 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 AksClusterProfile.
-