Class ConfigDataProperties
java.lang.Object
com.azure.resourcemanager.advisor.fluent.models.ConfigDataProperties
Configuration data properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondigests()
Get the digests property: Advisor digest configuration.exclude()
Get the exclude property: Exclude the resource from Advisor evaluations.Get the lowCpuThreshold property: Minimum percentage threshold for Advisor low CPU utilization evaluation.void
validate()
Validates the instance.withDigests
(List<DigestConfig> digests) Set the digests property: Advisor digest configuration.withExclude
(Boolean exclude) Set the exclude property: Exclude the resource from Advisor evaluations.withLowCpuThreshold
(CpuThreshold lowCpuThreshold) Set the lowCpuThreshold property: Minimum percentage threshold for Advisor low CPU utilization evaluation.
-
Constructor Details
-
ConfigDataProperties
public ConfigDataProperties()Creates an instance of ConfigDataProperties class.
-
-
Method Details
-
exclude
Get the exclude property: Exclude the resource from Advisor evaluations. Valid values: False (default) or True.- Returns:
- the exclude value.
-
withExclude
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 ConfigDataProperties object itself.
-
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
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 ConfigDataProperties object itself.
-
digests
Get the digests property: Advisor digest configuration. Valid only for subscriptions.- Returns:
- the digests value.
-
withDigests
Set the digests property: Advisor digest configuration. Valid only for subscriptions.- Parameters:
digests
- the digests value to set.- Returns:
- the ConfigDataProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-