Class ManagedClusterMetricsProfile

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

public final class ManagedClusterMetricsProfile extends Object
The metrics profile for the ManagedCluster.
  • Constructor Details

    • ManagedClusterMetricsProfile

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

    • costAnalysis

      public ManagedClusterCostAnalysis costAnalysis()
      Get the costAnalysis property: The cost analysis configuration for the cluster.
      Returns:
      the costAnalysis value.
    • withCostAnalysis

      public ManagedClusterMetricsProfile withCostAnalysis(ManagedClusterCostAnalysis costAnalysis)
      Set the costAnalysis property: The cost analysis configuration for the cluster.
      Parameters:
      costAnalysis - the costAnalysis value to set.
      Returns:
      the ManagedClusterMetricsProfile object itself.
    • validate

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