Class FunctionsAlwaysReadyConfig
java.lang.Object
com.azure.resourcemanager.appservice.models.FunctionsAlwaysReadyConfig
Sets the number of 'Always Ready' instances for a function group or a specific function.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FunctionsAlwaysReadyConfig class. -
Method Summary
Modifier and TypeMethodDescriptionGet the instanceCount property: Sets the number of 'Always Ready' instances for a given function group or a specific function.name()Get the name property: Either a function group or a function name is required.voidvalidate()Validates the instance.withInstanceCount(Float instanceCount) Set the instanceCount property: Sets the number of 'Always Ready' instances for a given function group or a specific function.Set the name property: Either a function group or a function name is required.
-
Constructor Details
-
FunctionsAlwaysReadyConfig
public FunctionsAlwaysReadyConfig()Creates an instance of FunctionsAlwaysReadyConfig class.
-
-
Method Details
-
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:
- the name value.
-
withName
Set the name property: Either a function group or a function name is required. For additional information see https://aka.ms/flexconsumption/alwaysready.- Parameters:
name- the name value to set.- Returns:
- the FunctionsAlwaysReadyConfig object itself.
-
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:
- the instanceCount value.
-
withInstanceCount
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:
instanceCount- the instanceCount value to set.- Returns:
- the FunctionsAlwaysReadyConfig object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-