Class FunctionsScaleAndConcurrency

java.lang.Object
com.azure.resourcemanager.appservice.models.FunctionsScaleAndConcurrency

public final class FunctionsScaleAndConcurrency extends Object
Scale and concurrency settings for the function app.
  • Constructor Details

    • FunctionsScaleAndConcurrency

      public FunctionsScaleAndConcurrency()
      Creates an instance of FunctionsScaleAndConcurrency class.
  • Method Details

    • alwaysReady

      public List<FunctionsAlwaysReadyConfig> alwaysReady()
      Get the alwaysReady property: 'Always Ready' configuration for the function app.
      Returns:
      the alwaysReady value.
    • withAlwaysReady

      public FunctionsScaleAndConcurrency withAlwaysReady(List<FunctionsAlwaysReadyConfig> alwaysReady)
      Set the alwaysReady property: 'Always Ready' configuration for the function app.
      Parameters:
      alwaysReady - the alwaysReady value to set.
      Returns:
      the FunctionsScaleAndConcurrency object itself.
    • maximumInstanceCount

      public Float maximumInstanceCount()
      Get the maximumInstanceCount property: The maximum number of instances for the function app.
      Returns:
      the maximumInstanceCount value.
    • withMaximumInstanceCount

      public FunctionsScaleAndConcurrency withMaximumInstanceCount(Float maximumInstanceCount)
      Set the maximumInstanceCount property: The maximum number of instances for the function app.
      Parameters:
      maximumInstanceCount - the maximumInstanceCount value to set.
      Returns:
      the FunctionsScaleAndConcurrency object itself.
    • instanceMemoryMB

      public Float instanceMemoryMB()
      Get the instanceMemoryMB property: Set the amount of memory allocated to each instance of the function app in MB. CPU and network bandwidth are allocated proportionally.
      Returns:
      the instanceMemoryMB value.
    • withInstanceMemoryMB

      public FunctionsScaleAndConcurrency withInstanceMemoryMB(Float instanceMemoryMB)
      Set the instanceMemoryMB property: Set the amount of memory allocated to each instance of the function app in MB. CPU and network bandwidth are allocated proportionally.
      Parameters:
      instanceMemoryMB - the instanceMemoryMB value to set.
      Returns:
      the FunctionsScaleAndConcurrency object itself.
    • triggers

      Get the triggers property: Scale and concurrency settings for the function app triggers.
      Returns:
      the triggers value.
    • withTriggers

      Set the triggers property: Scale and concurrency settings for the function app triggers.
      Parameters:
      triggers - the triggers value to set.
      Returns:
      the FunctionsScaleAndConcurrency object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.