ArmAppContainersModelFactory.ContainerAppCustomScaleRule Method

Definition

Container App container Custom scaling rule.

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

Parameters

customScaleRuleType
String

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

metadata
IDictionary<String,String>

Metadata properties to describe custom scale rule.

auth
IEnumerable<ContainerAppScaleRuleAuth>

Authentication secrets for the custom scale rule.

identity
String

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

Returns

A new ContainerAppCustomScaleRule instance for mocking.

Applies to