你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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