ManagedClusterAzureMonitorProfileKubeStateMetrics Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.