ArmAppContainersModelFactory.ContainerAppCustomScaleRule 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 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.
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.