ArmContainerServiceModelFactory.ManagedClusterMonitorProfileMetrics Method

Definition

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileMetrics ManagedClusterMonitorProfileMetrics(bool isEnabled = false, Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileKubeStateMetrics kubeStateMetrics = default, bool? isControlPlaneEnabled = default);
static member ManagedClusterMonitorProfileMetrics : bool * Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileKubeStateMetrics * Nullable<bool> -> Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileMetrics
Public Shared Function ManagedClusterMonitorProfileMetrics (Optional isEnabled As Boolean = false, Optional kubeStateMetrics As ManagedClusterMonitorProfileKubeStateMetrics = Nothing, Optional isControlPlaneEnabled As Nullable(Of Boolean) = Nothing) As ManagedClusterMonitorProfileMetrics

Parameters

isEnabled
Boolean

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
ManagedClusterMonitorProfileKubeStateMetrics

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.

isControlPlaneEnabled
Nullable<Boolean>

Whether to enable or disable collection of control plane metrics by the Azure Managed Prometheus addon. Defaults to disabled. See aka.ms/aks/controlplane-metrics for details.

Returns

A new ManagedClusterMonitorProfileMetrics instance for mocking.

Applies to