Class FunctionsScaleAndConcurrency
java.lang.Object
com.azure.resourcemanager.appservice.models.FunctionsScaleAndConcurrency
Scale and concurrency settings for the function app.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FunctionsScaleAndConcurrency class. -
Method Summary
Modifier and TypeMethodDescriptionGet the alwaysReady property: 'Always Ready' configuration for the function app.Get the instanceMemoryMB property: Set the amount of memory allocated to each instance of the function app in MB.Get the maximumInstanceCount property: The maximum number of instances for the function app.triggers()Get the triggers property: Scale and concurrency settings for the function app triggers.voidvalidate()Validates the instance.withAlwaysReady(List<FunctionsAlwaysReadyConfig> alwaysReady) Set the alwaysReady property: 'Always Ready' configuration for the function app.withInstanceMemoryMB(Float instanceMemoryMB) Set the instanceMemoryMB property: Set the amount of memory allocated to each instance of the function app in MB.withMaximumInstanceCount(Float maximumInstanceCount) Set the maximumInstanceCount property: The maximum number of instances for the function app.Set the triggers property: Scale and concurrency settings for the function app triggers.
-
Constructor Details
-
FunctionsScaleAndConcurrency
public FunctionsScaleAndConcurrency()Creates an instance of FunctionsScaleAndConcurrency class.
-
-
Method Details
-
alwaysReady
Get the alwaysReady property: 'Always Ready' configuration for the function app.- Returns:
- the alwaysReady value.
-
withAlwaysReady
Set the alwaysReady property: 'Always Ready' configuration for the function app.- Parameters:
alwaysReady- the alwaysReady value to set.- Returns:
- the FunctionsScaleAndConcurrency object itself.
-
maximumInstanceCount
Get the maximumInstanceCount property: The maximum number of instances for the function app.- Returns:
- the maximumInstanceCount value.
-
withMaximumInstanceCount
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
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
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.
-