Partilhar via


IManagedClusterAzureMonitorProfileMetrics Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ManagedClusterAzureMonitorProfileMetricsTypeConverter))]
public interface IManagedClusterAzureMonitorProfileMetrics : Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ManagedClusterAzureMonitorProfileMetricsTypeConverter))>]
type IManagedClusterAzureMonitorProfileMetrics = interface
    interface IJsonSerializable
Public Interface IManagedClusterAzureMonitorProfileMetrics
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Enabled

Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.

KubeStateMetricAnnotationsAllowList

Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.

KubeStateMetricLabelsAllowlist

Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to