ArmAppContainersModelFactory.ContainerAppScaleRule 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 scaling rule.
public static Azure.ResourceManager.AppContainers.Models.ContainerAppScaleRule ContainerAppScaleRule(string name = default, Azure.ResourceManager.AppContainers.Models.ContainerAppQueueScaleRule azureQueue = default, Azure.ResourceManager.AppContainers.Models.ContainerAppCustomScaleRule custom = default, Azure.ResourceManager.AppContainers.Models.ContainerAppHttpScaleRule http = default, Azure.ResourceManager.AppContainers.Models.ContainerAppTcpScaleRule tcp = default);
static member ContainerAppScaleRule : string * Azure.ResourceManager.AppContainers.Models.ContainerAppQueueScaleRule * Azure.ResourceManager.AppContainers.Models.ContainerAppCustomScaleRule * Azure.ResourceManager.AppContainers.Models.ContainerAppHttpScaleRule * Azure.ResourceManager.AppContainers.Models.ContainerAppTcpScaleRule -> Azure.ResourceManager.AppContainers.Models.ContainerAppScaleRule
Public Shared Function ContainerAppScaleRule (Optional name As String = Nothing, Optional azureQueue As ContainerAppQueueScaleRule = Nothing, Optional custom As ContainerAppCustomScaleRule = Nothing, Optional http As ContainerAppHttpScaleRule = Nothing, Optional tcp As ContainerAppTcpScaleRule = Nothing) As ContainerAppScaleRule
Parameters
- name
- String
Scale Rule Name.
- azureQueue
- ContainerAppQueueScaleRule
Azure Queue based scaling.
- custom
- ContainerAppCustomScaleRule
Custom scale rule.
HTTP requests based scaling.
Tcp requests based scaling.
Returns
A new ContainerAppScaleRule instance for mocking.