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 Details

    • AksClusterProfile

      public AksClusterProfile()
      Creates an instance of AksClusterProfile class.
  • Method Details

    • aksClusterResourceId

      public String aksClusterResourceId()
      Get the aksClusterResourceId property: ARM Resource ID of the AKS cluster.
      Returns:
      the aksClusterResourceId value.
    • withAksClusterResourceId

      public AksClusterProfile withAksClusterResourceId(String aksClusterResourceId)
      Set the aksClusterResourceId property: ARM Resource ID of the AKS cluster.
      Parameters:
      aksClusterResourceId - the aksClusterResourceId value to set.
      Returns:
      the AksClusterProfile object itself.
    • aksClusterAgentPoolIdentityProfile

      public AksClusterProfileAksClusterAgentPoolIdentityProfile 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

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AksClusterProfile>
      Throws:
      IOException
    • fromJson

      public static AksClusterProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.