Sdílet prostřednictvím


ManagedClusterAzureMonitorProfileKubeStateMetrics Class

Definition

Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.

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

Constructors

ManagedClusterAzureMonitorProfileKubeStateMetrics()

Creates an new ManagedClusterAzureMonitorProfileKubeStateMetrics instance.

Properties

MetricAnnotationsAllowList

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.

MetricLabelsAllowlist

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagedClusterAzureMonitorProfileKubeStateMetrics.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedClusterAzureMonitorProfileKubeStateMetrics.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedClusterAzureMonitorProfileKubeStateMetrics into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to