ManagedClusterCostAnalysis Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterCostAnalysis
- com.
Implements
public final class ManagedClusterCostAnalysis
implements JsonSerializable<ManagedClusterCostAnalysis>
The cost analysis configuration for the cluster.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterCostAnalysis() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: The Managed Cluster sku. |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withEnabled(Boolean enabled)
Set the enabled property: The Managed Cluster sku. |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterCostAnalysis
public ManagedClusterCostAnalysis()
Creates an instance of ManagedClusterCostAnalysis class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: 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:
fromJson
public static ManagedClusterCostAnalysis fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterCostAnalysis from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public ManagedClusterCostAnalysis withEnabled(Boolean enabled)
Set the enabled property: 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:
Returns:
Applies to
Azure SDK for Java