共用方式為


ManagedClusterMonitorProfileMetrics Class

Definition

Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.

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

Constructors

ManagedClusterMonitorProfileMetrics(Boolean)

Initializes a new instance of ManagedClusterMonitorProfileMetrics.

Properties

IsEnabled

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.

KubeStateMetrics

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.

Explicit Interface Implementations

IJsonModel<ManagedClusterMonitorProfileMetrics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedClusterMonitorProfileMetrics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedClusterMonitorProfileMetrics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedClusterMonitorProfileMetrics>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedClusterMonitorProfileMetrics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to