New-AzContainerAppScaleRuleObject
Create an in-memory object for ScaleRule.
Syntax
New-AzContainerAppScaleRuleObject
[-AzureQueueAuth <IScaleRuleAuth[]>]
[-AzureQueueLength <Int32>]
[-AzureQueueName <String>]
[-CustomAuth <IScaleRuleAuth[]>]
[-CustomMetadata <ICustomScaleRuleMetadata>]
[-CustomType <String>]
[-HttpAuth <IScaleRuleAuth[]>]
[-HttpMetadata <IHttpScaleRuleMetadata>]
[-Name <String>]
[-TcpAuth <IScaleRuleAuth[]>]
[-TcpMetadata <ITcpScaleRuleMetadata>]
[<CommonParameters>]
Description
Create an in-memory object for ScaleRule.
Examples
Example 1: Create an in-memory object for ScaleRule.
New-AzContainerAppScaleRuleObject -Name "httpscalingrule" -CustomType "http" -AzureQueueLength 30 -AzureQueueName azps-containerapp
Name
----
httpscalingrule
Create an in-memory object for ScaleRule.
Parameters
-AzureQueueAuth
Authentication secrets for the queue scale rule.
Type: | IScaleRuleAuth[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AzureQueueLength
Queue length.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AzureQueueName
Queue name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomAuth
Authentication secrets for the custom scale rule.
Type: | IScaleRuleAuth[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomMetadata
Metadata properties to describe custom scale rule.
Type: | ICustomScaleRuleMetadata |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomType
Type of the custom scale rule eg: azure-servicebus, redis etc.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HttpAuth
Authentication secrets for the custom scale rule.
Type: | IScaleRuleAuth[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HttpMetadata
Metadata properties to describe http scale rule.
Type: | IHttpScaleRuleMetadata |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Scale Rule Name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TcpAuth
Authentication secrets for the tcp scale rule.
Type: | IScaleRuleAuth[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TcpMetadata
Metadata properties to describe tcp scale rule.
Type: | ITcpScaleRuleMetadata |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.