ArmAppContainersModelFactory.ContainerAppScale Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Container App scaling configurations.
public static Azure.ResourceManager.AppContainers.Models.ContainerAppScale ContainerAppScale(int? minReplicas = default, int? maxReplicas = default, int? cooldownPeriod = default, int? pollingInterval = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppScaleRule> rules = default);
static member ContainerAppScale : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppScaleRule> -> Azure.ResourceManager.AppContainers.Models.ContainerAppScale
Public Shared Function ContainerAppScale (Optional minReplicas As Nullable(Of Integer) = Nothing, Optional maxReplicas As Nullable(Of Integer) = Nothing, Optional cooldownPeriod As Nullable(Of Integer) = Nothing, Optional pollingInterval As Nullable(Of Integer) = Nothing, Optional rules As IEnumerable(Of ContainerAppScaleRule) = Nothing) As ContainerAppScale
Parameters
Optional. Maximum number of container replicas. Defaults to 10 if not set.
- rules
- IEnumerable<ContainerAppScaleRule>
Scaling rules.
Returns
A new ContainerAppScale instance for mocking.