Class ClusterPoolResourceProperties

java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.ClusterPoolResourceProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ClusterPoolResourceProperties>

public final class ClusterPoolResourceProperties extends Object implements com.azure.json.JsonSerializable<ClusterPoolResourceProperties>
Cluster pool resource properties.
  • Constructor Details

    • ClusterPoolResourceProperties

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

    • provisioningState

      public ProvisioningStatus provisioningState()
      Get the provisioningState property: Provisioning state of the resource.
      Returns:
      the provisioningState value.
    • deploymentId

      public String deploymentId()
      Get the deploymentId property: A unique id generated by the RP to identify the resource.
      Returns:
      the deploymentId value.
    • managedResourceGroupName

      public String managedResourceGroupName()
      Get the managedResourceGroupName property: A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction.
      Returns:
      the managedResourceGroupName value.
    • withManagedResourceGroupName

      public ClusterPoolResourceProperties withManagedResourceGroupName(String managedResourceGroupName)
      Set the managedResourceGroupName property: A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction.
      Parameters:
      managedResourceGroupName - the managedResourceGroupName value to set.
      Returns:
      the ClusterPoolResourceProperties object itself.
    • aksManagedResourceGroupName

      public String aksManagedResourceGroupName()
      Get the aksManagedResourceGroupName property: A resource group created by AKS, to hold the infrastructure resources created by AKS on-behalf of customers. It is generated by cluster pool name and managed resource group name by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}.
      Returns:
      the aksManagedResourceGroupName value.
    • clusterPoolProfile

      Get the clusterPoolProfile property: CLuster pool profile.
      Returns:
      the clusterPoolProfile value.
    • withClusterPoolProfile

      public ClusterPoolResourceProperties withClusterPoolProfile(ClusterPoolResourcePropertiesClusterPoolProfile clusterPoolProfile)
      Set the clusterPoolProfile property: CLuster pool profile.
      Parameters:
      clusterPoolProfile - the clusterPoolProfile value to set.
      Returns:
      the ClusterPoolResourceProperties object itself.
    • computeProfile

      Get the computeProfile property: CLuster pool compute profile.
      Returns:
      the computeProfile value.
    • withComputeProfile

      Set the computeProfile property: CLuster pool compute profile.
      Parameters:
      computeProfile - the computeProfile value to set.
      Returns:
      the ClusterPoolResourceProperties object itself.
    • aksClusterProfile

      Get the aksClusterProfile property: Properties of underlying AKS cluster.
      Returns:
      the aksClusterProfile value.
    • networkProfile

      Get the networkProfile property: Cluster pool network profile.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      Set the networkProfile property: Cluster pool network profile.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the ClusterPoolResourceProperties object itself.
    • logAnalyticsProfile

      Get the logAnalyticsProfile property: Cluster pool log analytics profile to enable OMS agent for AKS cluster.
      Returns:
      the logAnalyticsProfile value.
    • withLogAnalyticsProfile

      public ClusterPoolResourceProperties withLogAnalyticsProfile(ClusterPoolResourcePropertiesLogAnalyticsProfile logAnalyticsProfile)
      Set the logAnalyticsProfile property: Cluster pool log analytics profile to enable OMS agent for AKS cluster.
      Parameters:
      logAnalyticsProfile - the logAnalyticsProfile value to set.
      Returns:
      the ClusterPoolResourceProperties object itself.
    • status

      public String status()
      Get the status property: Business status of the resource.
      Returns:
      the status 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<ClusterPoolResourceProperties>
      Throws:
      IOException
    • fromJson

      public static ClusterPoolResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ClusterPoolResourceProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ClusterPoolResourceProperties 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 ClusterPoolResourceProperties.