Skip to content

Commit 776806b

Browse files
Add scale_rule_name to container app jobs scale definition
1 parent 044d77b commit 776806b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/containerapp/azext_containerapp/_params.py

+1
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ def load_arguments(self, _):
323323
c.argument('min_executions', type=int, help="Minimum number of job executions to run per polling interval.")
324324
c.argument('max_executions', type=int, help="Maximum number of job executions to run per polling interval.")
325325
c.argument('polling_interval', type=int, help="Interval to check each event source in seconds. Defaults to 30s.")
326+
c.argument('scale_rule_name', options_list=['--scale-rule-name', '--srn'], help="The name of the scale rule.")
326327
c.argument('scale_rule_type', options_list=['--scale-rule-type', '--srt'], help="The type of the scale rule.")
327328
c.argument('scale_rule_identity', options_list=['--scale-rule-identity', '--sri'], help='Resource ID of a managed identity to authenticate with Azure scaler resource(storage account/eventhub or else), or System to use a system-assigned identity.', is_preview=True)
328329

0 commit comments

Comments
 (0)