Compartir a través de


ManagedClusterAzureMonitorProfileKubeStateMetrics Constructors

Definition

Overloads

ManagedClusterAzureMonitorProfileKubeStateMetrics()

Initializes a new instance of the ManagedClusterAzureMonitorProfileKubeStateMetrics class.

ManagedClusterAzureMonitorProfileKubeStateMetrics(String, String)

Initializes a new instance of the ManagedClusterAzureMonitorProfileKubeStateMetrics class.

ManagedClusterAzureMonitorProfileKubeStateMetrics()

Initializes a new instance of the ManagedClusterAzureMonitorProfileKubeStateMetrics class.

public ManagedClusterAzureMonitorProfileKubeStateMetrics ();
Public Sub New ()

Applies to

ManagedClusterAzureMonitorProfileKubeStateMetrics(String, String)

Initializes a new instance of the ManagedClusterAzureMonitorProfileKubeStateMetrics class.

public ManagedClusterAzureMonitorProfileKubeStateMetrics (string metricLabelsAllowlist = default, string metricAnnotationsAllowList = default);
new Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAzureMonitorProfileKubeStateMetrics : string * string -> Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAzureMonitorProfileKubeStateMetrics
Public Sub New (Optional metricLabelsAllowlist As String = Nothing, Optional metricAnnotationsAllowList As String = Nothing)

Parameters

metricLabelsAllowlist
String

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.

metricAnnotationsAllowList
String

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.

Applies to