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