public final class SiteLimits extends Object
| Constructor and Description |
|---|
SiteLimits() |
| Modifier and Type | Method and Description |
|---|---|
Long |
maxDiskSizeInMb()
Get the maxDiskSizeInMb property: Maximum allowed disk size usage in MB.
|
Long |
maxMemoryInMb()
Get the maxMemoryInMb property: Maximum allowed memory usage in MB.
|
Double |
maxPercentageCpu()
Get the maxPercentageCpu property: Maximum allowed CPU usage percentage.
|
void |
validate()
Validates the instance.
|
SiteLimits |
withMaxDiskSizeInMb(Long maxDiskSizeInMb)
Set the maxDiskSizeInMb property: Maximum allowed disk size usage in MB.
|
SiteLimits |
withMaxMemoryInMb(Long maxMemoryInMb)
Set the maxMemoryInMb property: Maximum allowed memory usage in MB.
|
SiteLimits |
withMaxPercentageCpu(Double maxPercentageCpu)
Set the maxPercentageCpu property: Maximum allowed CPU usage percentage.
|
public Double maxPercentageCpu()
public SiteLimits withMaxPercentageCpu(Double maxPercentageCpu)
maxPercentageCpu - the maxPercentageCpu value to set.public Long maxMemoryInMb()
public SiteLimits withMaxMemoryInMb(Long maxMemoryInMb)
maxMemoryInMb - the maxMemoryInMb value to set.public Long maxDiskSizeInMb()
public SiteLimits withMaxDiskSizeInMb(Long maxDiskSizeInMb)
maxDiskSizeInMb - the maxDiskSizeInMb value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.