Class ManagedClusterAzureMonitorProfileMetrics

java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterAzureMonitorProfileMetrics

public final class ManagedClusterAzureMonitorProfileMetrics extends Object
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.
  • Constructor Details

    • ManagedClusterAzureMonitorProfileMetrics

      public ManagedClusterAzureMonitorProfileMetrics()
      Creates an instance of ManagedClusterAzureMonitorProfileMetrics class.
  • Method Details

    • enabled

      public boolean enabled()
      Get the enabled property: 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.
      Returns:
      the enabled value.
    • withEnabled

      public ManagedClusterAzureMonitorProfileMetrics withEnabled(boolean enabled)
      Set the enabled property: 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.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the ManagedClusterAzureMonitorProfileMetrics object itself.
    • kubeStateMetrics

      Get the kubeStateMetrics property: 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.
      Returns:
      the kubeStateMetrics value.
    • withKubeStateMetrics

      Set the kubeStateMetrics property: 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.
      Parameters:
      kubeStateMetrics - the kubeStateMetrics value to set.
      Returns:
      the ManagedClusterAzureMonitorProfileMetrics object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.