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 Summary
ConstructorsConstructorDescriptionCreates an instance of ClusterPoolResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the aksClusterProfile property: Properties of underlying AKS cluster.Get the aksManagedResourceGroupName property: A resource group created by AKS, to hold the infrastructure resources created by AKS on-behalf of customers.Get the clusterPoolProfile property: CLuster pool profile.Get the computeProfile property: CLuster pool compute profile.Get the deploymentId property: A unique id generated by the RP to identify the resource.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ClusterPoolResourceProperties from the JsonReader.Get the logAnalyticsProfile property: Cluster pool log analytics profile to enable OMS agent for AKS cluster.Get the managedResourceGroupName property: A resource group created by RP, to hold the resources created by RP on-behalf of customers.Get the networkProfile property: Cluster pool network profile.Get the provisioningState property: Provisioning state of the resource.status()Get the status property: Business status of the resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withClusterPoolProfile(ClusterPoolResourcePropertiesClusterPoolProfile clusterPoolProfile) Set the clusterPoolProfile property: CLuster pool profile.withComputeProfile(ClusterPoolResourcePropertiesComputeProfile computeProfile) Set the computeProfile property: CLuster pool compute profile.withLogAnalyticsProfile(ClusterPoolResourcePropertiesLogAnalyticsProfile logAnalyticsProfile) Set the logAnalyticsProfile property: Cluster pool log analytics profile to enable OMS agent for AKS cluster.withManagedResourceGroupName(String managedResourceGroupName) Set the managedResourceGroupName property: A resource group created by RP, to hold the resources created by RP on-behalf of customers.withNetworkProfile(ClusterPoolResourcePropertiesNetworkProfile networkProfile) Set the networkProfile property: Cluster pool network 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
-
ClusterPoolResourceProperties
public ClusterPoolResourceProperties()Creates an instance of ClusterPoolResourceProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
deploymentId
Get the deploymentId property: A unique id generated by the RP to identify the resource.- Returns:
- the deploymentId value.
-
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
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
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
public ClusterPoolResourceProperties withComputeProfile(ClusterPoolResourcePropertiesComputeProfile computeProfile) 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
public ClusterPoolResourceProperties withNetworkProfile(ClusterPoolResourcePropertiesNetworkProfile networkProfile) 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
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
- Specified by:
toJsonin interfacecom.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.
-