ArmAppContainersModelFactory.ContainerAppJobScaleRule Method

Definition

Scaling rule.

public static Azure.ResourceManager.AppContainers.Models.ContainerAppJobScaleRule ContainerAppJobScaleRule(string name = default, string jobScaleRuleType = default, BinaryData metadata = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppScaleRuleAuth> auth = default, string identity = default);
static member ContainerAppJobScaleRule : string * string * BinaryData * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppScaleRuleAuth> * string -> Azure.ResourceManager.AppContainers.Models.ContainerAppJobScaleRule
Public Shared Function ContainerAppJobScaleRule (Optional name As String = Nothing, Optional jobScaleRuleType As String = Nothing, Optional metadata As BinaryData = Nothing, Optional auth As IEnumerable(Of ContainerAppScaleRuleAuth) = Nothing, Optional identity As String = Nothing) As ContainerAppJobScaleRule

Parameters

name
String

Scale Rule Name.

jobScaleRuleType
String

Type of the scale rule eg: azure-servicebus, redis etc.

metadata
BinaryData

Metadata properties to describe the scale rule.

auth
IEnumerable<ContainerAppScaleRuleAuth>

Authentication secrets for the scale rule.

identity
String

The resource ID of a user-assigned managed identity that is assigned to the job, or 'system' for system-assigned identity.

Returns

A new ContainerAppJobScaleRule instance for mocking.

Applies to