Share via


ManagedClusterMetricsProfile Class

Definition

The metrics profile for the ManagedCluster.

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

Constructors

Name Description
ManagedClusterMetricsProfile()

Creates an new ManagedClusterMetricsProfile instance.

Properties

Name Description
CostAnalysisEnabled

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 ManagedClusterMetricsProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedClusterMetricsProfile.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedClusterMetricsProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to