Interface FunctionApp.DefinitionStages.WithScaleRulesOrDockerContainerImage
- All Superinterfaces:
FunctionApp.DefinitionStages.WithDockerContainerImage
- All Known Subinterfaces:
FunctionApp.Definition,FunctionApp.DefinitionStages.WithCreate
- Enclosing interface:
- FunctionApp.DefinitionStages
public static interface FunctionApp.DefinitionStages.WithScaleRulesOrDockerContainerImage
extends FunctionApp.DefinitionStages.WithDockerContainerImage
A function app definition allowing scale rules to be specified for Function Apps hosted on Azure Container Apps.
-
Method Summary
Modifier and TypeMethodDescriptionwithMaxReplicas(int maxReplicas) Specifies the maximum replica count.withMinReplicas(int minReplicas) Specifies the minimum replica count.Methods inherited from interface com.azure.resourcemanager.appservice.models.FunctionApp.DefinitionStages.WithDockerContainerImage
withBuiltInImage, withPrivateDockerHubImage, withPrivateRegistryImage, withPublicDockerHubImage
-
Method Details
-
withMaxReplicas
Specifies the maximum replica count.- Parameters:
maxReplicas- maximum replica count- Returns:
- the next stage of the definition
-
withMinReplicas
Specifies the minimum replica count.- Parameters:
minReplicas- minimum replica count- Returns:
- the next stage of the definition
-