Class ConfigDataInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.advisor.fluent.models.ConfigDataInner

public final class ConfigDataInner extends com.azure.core.management.ProxyResource
The Advisor configuration data structure.
  • Constructor Details

    • ConfigDataInner

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

    • exclude

      public Boolean exclude()
      Get the exclude property: Exclude the resource from Advisor evaluations. Valid values: False (default) or True.
      Returns:
      the exclude value.
    • withExclude

      public ConfigDataInner withExclude(Boolean exclude)
      Set the exclude property: Exclude the resource from Advisor evaluations. Valid values: False (default) or True.
      Parameters:
      exclude - the exclude value to set.
      Returns:
      the ConfigDataInner object itself.
    • lowCpuThreshold

      public CpuThreshold lowCpuThreshold()
      Get the lowCpuThreshold property: Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20.
      Returns:
      the lowCpuThreshold value.
    • withLowCpuThreshold

      public ConfigDataInner withLowCpuThreshold(CpuThreshold lowCpuThreshold)
      Set the lowCpuThreshold property: Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20.
      Parameters:
      lowCpuThreshold - the lowCpuThreshold value to set.
      Returns:
      the ConfigDataInner object itself.
    • digests

      public List<DigestConfig> digests()
      Get the digests property: Advisor digest configuration. Valid only for subscriptions.
      Returns:
      the digests value.
    • withDigests

      public ConfigDataInner withDigests(List<DigestConfig> digests)
      Set the digests property: Advisor digest configuration. Valid only for subscriptions.
      Parameters:
      digests - the digests value to set.
      Returns:
      the ConfigDataInner object itself.
    • validate

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