FunctionApp.UpdateStages.WithManagedEnvironmentScaleRules Interface
public static interface FunctionApp.UpdateStages.WithManagedEnvironmentScaleRules
A function app update allowing scale rules to be set if hosted on Azure Container Apps environment.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withMaxReplicas(int maxReplicas)
Specifies the maximum replica count. |
abstract Update |
withMinReplicas(int minReplicas)
Specifies the minimum replica count. |
Method Details
withMaxReplicas
public abstract FunctionApp.Update withMaxReplicas(int maxReplicas)
Specifies the maximum replica count.
Parameters:
maxReplicas
- maximum replica count
Returns:
the next stage of the function app update
withMinReplicas
public abstract FunctionApp.Update withMinReplicas(int minReplicas)
Specifies the minimum replica count.
Parameters:
minReplicas
- minimum replica count
Returns:
the next stage of the definition
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java