FunctionsScaleAndConcurrency Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. FunctionsScaleAndConcurrency
- com.
Implements
public final class FunctionsScaleAndConcurrency
implements JsonSerializable<FunctionsScaleAndConcurrency>
Scale and concurrency settings for the function app.
Constructor Summary
Constructor | Description |
---|---|
FunctionsScaleAndConcurrency() |
Creates an instance of Functions |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Functions |
alwaysReady()
Get the always |
static
Functions |
fromJson(JsonReader jsonReader)
Reads an instance of Functions |
Integer |
instanceMemoryMB()
Get the instance |
Integer |
maximumInstanceCount()
Get the maximum |
Json |
toJson(JsonWriter jsonWriter) |
Functions |
triggers()
Get the triggers property: Scale and concurrency settings for the function app triggers. |
void |
validate()
Validates the instance. |
Functions |
withAlwaysReady(List<FunctionsAlwaysReadyConfig> alwaysReady)
Set the always |
Functions |
withInstanceMemoryMB(Integer instanceMemoryMB)
Set the instance |
Functions |
withMaximumInstanceCount(Integer maximumInstanceCount)
Set the maximum |
Functions |
withTriggers(FunctionsScaleAndConcurrencyTriggers triggers)
Set the triggers property: Scale and concurrency settings for the function app triggers. |
Methods inherited from java.lang.Object
Constructor Details
FunctionsScaleAndConcurrency
public FunctionsScaleAndConcurrency()
Creates an instance of FunctionsScaleAndConcurrency class.
Method Details
alwaysReady
public List
Get the alwaysReady property: 'Always Ready' configuration for the function app.
Returns:
fromJson
public static FunctionsScaleAndConcurrency fromJson(JsonReader jsonReader)
Reads an instance of FunctionsScaleAndConcurrency from the JsonReader.
Parameters:
Returns:
Throws:
instanceMemoryMB
public Integer 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:
maximumInstanceCount
public Integer maximumInstanceCount()
Get the maximumInstanceCount property: The maximum number of instances for the function app.
Returns:
toJson
triggers
public FunctionsScaleAndConcurrencyTriggers triggers()
Get the triggers property: Scale and concurrency settings for the function app triggers.
Returns:
validate
public void validate()
Validates the instance.
withAlwaysReady
public FunctionsScaleAndConcurrency withAlwaysReady(List
Set the alwaysReady property: 'Always Ready' configuration for the function app.
Parameters:
Returns:
withInstanceMemoryMB
public FunctionsScaleAndConcurrency withInstanceMemoryMB(Integer 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:
Returns:
withMaximumInstanceCount
public FunctionsScaleAndConcurrency withMaximumInstanceCount(Integer maximumInstanceCount)
Set the maximumInstanceCount property: The maximum number of instances for the function app.
Parameters:
Returns:
withTriggers
public FunctionsScaleAndConcurrency withTriggers(FunctionsScaleAndConcurrencyTriggers triggers)
Set the triggers property: Scale and concurrency settings for the function app triggers.
Parameters:
Returns:
Applies to
Azure SDK for Java