Share via


ManagedClusterCostAnalysis Class

Definition

The cost analysis configuration for the cluster

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterCostAnalysisTypeConverter))]
public class ManagedClusterCostAnalysis : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterCostAnalysis
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterCostAnalysisTypeConverter))>]
type ManagedClusterCostAnalysis = class
    interface IManagedClusterCostAnalysis
    interface IJsonSerializable
Public Class ManagedClusterCostAnalysis
Implements IManagedClusterCostAnalysis
Inheritance
ManagedClusterCostAnalysis
Attributes
Implements

Constructors

Name Description
ManagedClusterCostAnalysis()

Creates an new ManagedClusterCostAnalysis instance.

Properties

Name Description
Enabled

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.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagedClusterCostAnalysis.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedClusterCostAnalysis.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterCostAnalysis.

FromJsonString(String)

Creates a new instance of ManagedClusterCostAnalysis, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedClusterCostAnalysis into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to