FunctionsAlwaysReadyConfig Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. FunctionsAlwaysReadyConfig
- com.
Implements
public final class FunctionsAlwaysReadyConfig
implements JsonSerializable<FunctionsAlwaysReadyConfig>
Sets the number of 'Always Ready' instances for a function group or a specific function.
Constructor Summary
Constructor | Description |
---|---|
FunctionsAlwaysReadyConfig() |
Creates an instance of Functions |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Functions |
fromJson(JsonReader jsonReader)
Reads an instance of Functions |
Integer |
instanceCount()
Get the instance |
String |
name()
Get the name property: Either a function group or a function name is required. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Functions |
withInstanceCount(Integer instanceCount)
Set the instance |
Functions |
withName(String name)
Set the name property: Either a function group or a function name is required. |
Methods inherited from java.lang.Object
Constructor Details
FunctionsAlwaysReadyConfig
public FunctionsAlwaysReadyConfig()
Creates an instance of FunctionsAlwaysReadyConfig class.
Method Details
fromJson
public static FunctionsAlwaysReadyConfig fromJson(JsonReader jsonReader)
Reads an instance of FunctionsAlwaysReadyConfig from the JsonReader.
Parameters:
Returns:
Throws:
instanceCount
public Integer instanceCount()
Get the instanceCount property: Sets the number of 'Always Ready' instances for a given function group or a specific function. For additional information see https://aka.ms/flexconsumption/alwaysready.
Returns:
name
public String name()
Get the name property: Either a function group or a function name is required. For additional information see https://aka.ms/flexconsumption/alwaysready.
Returns:
toJson
validate
public void validate()
Validates the instance.
withInstanceCount
public FunctionsAlwaysReadyConfig withInstanceCount(Integer instanceCount)
Set the instanceCount property: Sets the number of 'Always Ready' instances for a given function group or a specific function. For additional information see https://aka.ms/flexconsumption/alwaysready.
Parameters:
Returns:
withName
public FunctionsAlwaysReadyConfig withName(String name)
Set the name property: Either a function group or a function name is required. For additional information see https://aka.ms/flexconsumption/alwaysready.
Parameters:
Returns:
Applies to
Azure SDK for Java