Class SiteLimits
java.lang.Object
com.azure.resourcemanager.appservice.models.SiteLimits
Metric limits set on an app.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the maxDiskSizeInMb property: Maximum allowed disk size usage in MB.Get the maxMemoryInMb property: Maximum allowed memory usage in MB.Get the maxPercentageCpu property: Maximum allowed CPU usage percentage.void
validate()
Validates the instance.withMaxDiskSizeInMb
(Long maxDiskSizeInMb) Set the maxDiskSizeInMb property: Maximum allowed disk size usage in MB.withMaxMemoryInMb
(Long maxMemoryInMb) Set the maxMemoryInMb property: Maximum allowed memory usage in MB.withMaxPercentageCpu
(Double maxPercentageCpu) Set the maxPercentageCpu property: Maximum allowed CPU usage percentage.
-
Constructor Details
-
SiteLimits
public SiteLimits()
-
-
Method Details
-
maxPercentageCpu
Get the maxPercentageCpu property: Maximum allowed CPU usage percentage.- Returns:
- the maxPercentageCpu value.
-
withMaxPercentageCpu
Set the maxPercentageCpu property: Maximum allowed CPU usage percentage.- Parameters:
maxPercentageCpu
- the maxPercentageCpu value to set.- Returns:
- the SiteLimits object itself.
-
maxMemoryInMb
Get the maxMemoryInMb property: Maximum allowed memory usage in MB.- Returns:
- the maxMemoryInMb value.
-
withMaxMemoryInMb
Set the maxMemoryInMb property: Maximum allowed memory usage in MB.- Parameters:
maxMemoryInMb
- the maxMemoryInMb value to set.- Returns:
- the SiteLimits object itself.
-
maxDiskSizeInMb
Get the maxDiskSizeInMb property: Maximum allowed disk size usage in MB.- Returns:
- the maxDiskSizeInMb value.
-
withMaxDiskSizeInMb
Set the maxDiskSizeInMb property: Maximum allowed disk size usage in MB.- Parameters:
maxDiskSizeInMb
- the maxDiskSizeInMb value to set.- Returns:
- the SiteLimits object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-