ArmAppContainersModelFactory.ContainerAppScale Method

Definition

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

minReplicas
Nullable<Int32>

Optional. Minimum number of container replicas.

maxReplicas
Nullable<Int32>

Optional. Maximum number of container replicas. Defaults to 10 if not set.

cooldownPeriod
Nullable<Int32>

Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.

pollingInterval
Nullable<Int32>

Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.

rules
IEnumerable<ContainerAppScaleRule>

Scaling rules.

Returns

A new ContainerAppScale instance for mocking.

Applies to