SiteLimits Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. SiteLimits
- com.
public final class SiteLimits
Metric limits set on an app.
Constructor Summary
Constructor | Description |
---|---|
SiteLimits() |
Creates an instance of Site |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
maxDiskSizeInMb()
Get the max |
Long |
maxMemoryInMb()
Get the max |
Double |
maxPercentageCpu()
Get the max |
void |
validate()
Validates the instance. |
Site |
withMaxDiskSizeInMb(Long maxDiskSizeInMb)
Set the max |
Site |
withMaxMemoryInMb(Long maxMemoryInMb)
Set the max |
Site |
withMaxPercentageCpu(Double maxPercentageCpu)
Set the max |
Methods inherited from java.lang.Object
Constructor Details
SiteLimits
public SiteLimits()
Creates an instance of SiteLimits class.
Method Details
maxDiskSizeInMb
public Long maxDiskSizeInMb()
Get the maxDiskSizeInMb property: Maximum allowed disk size usage in MB.
Returns:
maxMemoryInMb
public Long maxMemoryInMb()
Get the maxMemoryInMb property: Maximum allowed memory usage in MB.
Returns:
maxPercentageCpu
public Double maxPercentageCpu()
Get the maxPercentageCpu property: Maximum allowed CPU usage percentage.
Returns:
validate
public void validate()
Validates the instance.
withMaxDiskSizeInMb
public SiteLimits withMaxDiskSizeInMb(Long maxDiskSizeInMb)
Set the maxDiskSizeInMb property: Maximum allowed disk size usage in MB.
Parameters:
Returns:
withMaxMemoryInMb
public SiteLimits withMaxMemoryInMb(Long maxMemoryInMb)
Set the maxMemoryInMb property: Maximum allowed memory usage in MB.
Parameters:
Returns:
withMaxPercentageCpu
public SiteLimits withMaxPercentageCpu(Double maxPercentageCpu)
Set the maxPercentageCpu property: Maximum allowed CPU usage percentage.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for