Compartir a través de


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

public class ManagedClusterMonitorProfileKubeStateMetrics : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileKubeStateMetrics>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileKubeStateMetrics>
public class ManagedClusterMonitorProfileKubeStateMetrics
type ManagedClusterMonitorProfileKubeStateMetrics = class
    interface IJsonModel<ManagedClusterMonitorProfileKubeStateMetrics>
    interface IPersistableModel<ManagedClusterMonitorProfileKubeStateMetrics>
type ManagedClusterMonitorProfileKubeStateMetrics = class
Public Class ManagedClusterMonitorProfileKubeStateMetrics
Implements IJsonModel(Of ManagedClusterMonitorProfileKubeStateMetrics), IPersistableModel(Of ManagedClusterMonitorProfileKubeStateMetrics)
Public Class ManagedClusterMonitorProfileKubeStateMetrics
Inheritance
ManagedClusterMonitorProfileKubeStateMetrics
Implements

Constructors

ManagedClusterMonitorProfileKubeStateMetrics()

Initializes a new instance of ManagedClusterMonitorProfileKubeStateMetrics.

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.

Explicit Interface Implementations

IJsonModel<ManagedClusterMonitorProfileKubeStateMetrics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ManagedClusterMonitorProfileKubeStateMetrics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedClusterMonitorProfileKubeStateMetrics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedClusterMonitorProfileKubeStateMetrics>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ManagedClusterMonitorProfileKubeStateMetrics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to