Class SiteLimits

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

public class SiteLimits extends Object
Metric limits set on an app.
  • Constructor Details

    • SiteLimits

      public SiteLimits()
  • Method Details

    • maxPercentageCpu

      public Double maxPercentageCpu()
      Get maximum allowed CPU usage percentage.
      Returns:
      the maxPercentageCpu value
    • withMaxPercentageCpu

      public SiteLimits withMaxPercentageCpu(Double maxPercentageCpu)
      Set maximum allowed CPU usage percentage.
      Parameters:
      maxPercentageCpu - the maxPercentageCpu value to set
      Returns:
      the SiteLimits object itself.
    • maxMemoryInMb

      public Long maxMemoryInMb()
      Get maximum allowed memory usage in MB.
      Returns:
      the maxMemoryInMb value
    • withMaxMemoryInMb

      public SiteLimits withMaxMemoryInMb(Long maxMemoryInMb)
      Set maximum allowed memory usage in MB.
      Parameters:
      maxMemoryInMb - the maxMemoryInMb value to set
      Returns:
      the SiteLimits object itself.
    • maxDiskSizeInMb

      public Long maxDiskSizeInMb()
      Get maximum allowed disk size usage in MB.
      Returns:
      the maxDiskSizeInMb value
    • withMaxDiskSizeInMb

      public SiteLimits withMaxDiskSizeInMb(Long maxDiskSizeInMb)
      Set maximum allowed disk size usage in MB.
      Parameters:
      maxDiskSizeInMb - the maxDiskSizeInMb value to set
      Returns:
      the SiteLimits object itself.