你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SiteLimits Class

  • java.lang.Object
    • com.microsoft.azure.management.appservice.SiteLimits

public class SiteLimits

Metric limits set on an app.

Method Summary

Modifier and Type Method and Description
Long maxDiskSizeInMb()

Get the maxDiskSizeInMb value.

Long maxMemoryInMb()

Get the maxMemoryInMb value.

Double maxPercentageCpu()

Get the maxPercentageCpu value.

SiteLimits withMaxDiskSizeInMb(Long maxDiskSizeInMb)

Set the maxDiskSizeInMb value.

SiteLimits withMaxMemoryInMb(Long maxMemoryInMb)

Set the maxMemoryInMb value.

SiteLimits withMaxPercentageCpu(Double maxPercentageCpu)

Set the maxPercentageCpu value.

Method Details

maxDiskSizeInMb

public Long maxDiskSizeInMb()

Get the maxDiskSizeInMb value.

Returns:

the maxDiskSizeInMb value

maxMemoryInMb

public Long maxMemoryInMb()

Get the maxMemoryInMb value.

Returns:

the maxMemoryInMb value

maxPercentageCpu

public Double maxPercentageCpu()

Get the maxPercentageCpu value.

Returns:

the maxPercentageCpu value

withMaxDiskSizeInMb

public SiteLimits withMaxDiskSizeInMb(Long maxDiskSizeInMb)

Set the maxDiskSizeInMb value.

Parameters:

maxDiskSizeInMb - the maxDiskSizeInMb value to set

Returns:

the SiteLimits object itself.

withMaxMemoryInMb

public SiteLimits withMaxMemoryInMb(Long maxMemoryInMb)

Set the maxMemoryInMb value.

Parameters:

maxMemoryInMb - the maxMemoryInMb value to set

Returns:

the SiteLimits object itself.

withMaxPercentageCpu

public SiteLimits withMaxPercentageCpu(Double maxPercentageCpu)

Set the maxPercentageCpu value.

Parameters:

maxPercentageCpu - the maxPercentageCpu value to set

Returns:

the SiteLimits object itself.

Applies to