ArmAppContainersModelFactory.ContainerAppJobScale Method

Definition

Scaling configurations for event driven jobs.

public static Azure.ResourceManager.AppContainers.Models.ContainerAppJobScale ContainerAppJobScale(int? pollingIntervalInSeconds = default, int? minExecutions = default, int? maxExecutions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppJobScaleRule> rules = default);
static member ContainerAppJobScale : Nullable<int> * Nullable<int> * Nullable<int> * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppJobScaleRule> -> Azure.ResourceManager.AppContainers.Models.ContainerAppJobScale
Public Shared Function ContainerAppJobScale (Optional pollingIntervalInSeconds As Nullable(Of Integer) = Nothing, Optional minExecutions As Nullable(Of Integer) = Nothing, Optional maxExecutions As Nullable(Of Integer) = Nothing, Optional rules As IEnumerable(Of ContainerAppJobScaleRule) = Nothing) As ContainerAppJobScale

Parameters

pollingIntervalInSeconds
Nullable<Int32>

Interval to check each event source in seconds. Defaults to 30s.

minExecutions
Nullable<Int32>

Minimum number of job executions that are created for a trigger, default 0.

maxExecutions
Nullable<Int32>

Maximum number of job executions that are created for a trigger, default 100.

rules
IEnumerable<ContainerAppJobScaleRule>

Scaling rules.

Returns

A new ContainerAppJobScale instance for mocking.

Applies to