New-AzContainerAppJobScaleRuleObject
Create an in-memory object for JobScaleRule.
Syntax
New-AzContainerAppJobScaleRuleObject
[-Auth <IScaleRuleAuth[]>]
[-Metadata <IAny>]
[-Name <String>]
[-Type <String>]
[<CommonParameters>]
Description
Create an in-memory object for JobScaleRule.
Examples
Example 1: Create an in-memory object for JobScaleRule.
$scaleRuleAuth = New-AzContainerAppScaleRuleAuthObject -SecretRef "redis-secret" -TriggerParameter "TriggerParameter"
New-AzContainerAppJobScaleRuleObject -Auth $scaleRuleAuth -Name azps-job-scale -Type azure-servicebus
Name
----
azps-job-scale
Create an in-memory object for JobScaleRule.
Parameters
-Auth
Authentication secrets for the scale rule. To construct, see NOTES section for AUTH properties and create a hash table.
Type: | IScaleRuleAuth[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Metadata
Metadata properties to describe the scale rule.
Type: | IAny |
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 |
-Type
Type of the scale rule eg: azure-servicebus, redis etc.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for