New-AzContainerAppScaleRuleAuthObject
Create an in-memory object for ScaleRuleAuth.
Syntax
Default (Default)
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TriggerParameter
Trigger Parameter that uses the secret.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.