Class SiteLimits
java.lang.Object
com.microsoft.azure.management.appservice.SiteLimits
Metric limits set on an app.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet maximum allowed disk size usage in MB.Get maximum allowed memory usage in MB.Get maximum allowed CPU usage percentage.withMaxDiskSizeInMb
(Long maxDiskSizeInMb) Set maximum allowed disk size usage in MB.withMaxMemoryInMb
(Long maxMemoryInMb) Set maximum allowed memory usage in MB.withMaxPercentageCpu
(Double maxPercentageCpu) Set maximum allowed CPU usage percentage.
-
Constructor Details
-
SiteLimits
public SiteLimits()
-
-
Method Details
-
maxPercentageCpu
Get maximum allowed CPU usage percentage.- Returns:
- the maxPercentageCpu value
-
withMaxPercentageCpu
Set maximum allowed CPU usage percentage.- Parameters:
maxPercentageCpu
- the maxPercentageCpu value to set- Returns:
- the SiteLimits object itself.
-
maxMemoryInMb
Get maximum allowed memory usage in MB.- Returns:
- the maxMemoryInMb value
-
withMaxMemoryInMb
Set maximum allowed memory usage in MB.- Parameters:
maxMemoryInMb
- the maxMemoryInMb value to set- Returns:
- the SiteLimits object itself.
-
maxDiskSizeInMb
Get maximum allowed disk size usage in MB.- Returns:
- the maxDiskSizeInMb value
-
withMaxDiskSizeInMb
Set maximum allowed disk size usage in MB.- Parameters:
maxDiskSizeInMb
- the maxDiskSizeInMb value to set- Returns:
- the SiteLimits object itself.
-