Redigera

Dela via


New-AzContainerAppScaleRuleAuthObject

Create an in-memory object for ScaleRuleAuth.

Syntax

New-AzContainerAppScaleRuleAuthObject
   [-SecretRef <String>]
   [-TriggerParameter <String>]
   [<CommonParameters>]

Description

Create an in-memory object for ScaleRuleAuth.

Examples

Example 1: Create a ScaleRuleAuth object for ScaleRule.

New-AzContainerAppScaleRuleAuthObject -SecretRef "redis-secret" -TriggerParameter "TriggerParameter"

SecretRef    TriggerParameter
---------    ----------------
redis-secret TriggerParameter

Create a ScaleRuleAuth object for ScaleRule.

Parameters

-SecretRef

Name of the secret from which to pull the auth params.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TriggerParameter

Trigger Parameter that uses the secret.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ScaleRuleAuth