Class ManagedClusterAzureMonitorProfile

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

public final class ManagedClusterAzureMonitorProfile extends Object
Azure Monitor addon profiles for monitoring the managed cluster.
  • Constructor Details

    • ManagedClusterAzureMonitorProfile

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

    • metrics

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

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

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