Class ManagedClusterCostAnalysis
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterCostAnalysis
The cost analysis configuration for the cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterCostAnalysis class. -
Method Summary
Modifier and TypeMethodDescriptionenabled()Get the enabled property: Whether to enable cost analysis The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature.voidvalidate()Validates the instance.withEnabled(Boolean enabled) Set the enabled property: Whether to enable cost analysis The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature.
-
Constructor Details
-
ManagedClusterCostAnalysis
public ManagedClusterCostAnalysis()Creates an instance of ManagedClusterCostAnalysis class.
-
-
Method Details
-
enabled
Get the enabled property: Whether to enable cost analysis The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Whether to enable cost analysis The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.- Parameters:
enabled- the enabled value to set.- Returns:
- the ManagedClusterCostAnalysis object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-