Skip to content

Commit 078579c

Browse files
authored
[Containerapp] az containerapp job create: Fix message with --help (#8884)
1 parent 4af5b40 commit 078579c

15 files changed

Lines changed: 25153 additions & 29144 deletions

src/containerapp/HISTORY.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Release History
55
upcoming
66
++++++
77
* 'az containerapp session code-interpreter execute': Extend maximum supported value of `--timeout-in-seconds` from 60 to 220.
8+
* 'az containerapp job create': Fix message with `--help`
89

910
1.2.0b1
1011
++++++

src/containerapp/azext_containerapp/_help.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
- name: Create a container apps job with Trigger Type as Manual.
456456
text: |
457457
az containerapp job create -n MyContainerappsjob -g MyResourceGroup \\
458-
--environment MyContainerappEnv
458+
--environment MyContainerappEnv \\
459459
--trigger-type Manual \\
460460
--replica-timeout 5 \\
461461
--replica-retry-limit 2 \\
@@ -466,7 +466,7 @@
466466
- name: Create a container apps job with Trigger Type as Schedule.
467467
text: |
468468
az containerapp job create -n MyContainerappsjob -g MyResourceGroup \\
469-
--environment MyContainerappEnv
469+
--environment MyContainerappEnv \\
470470
--trigger-type Schedule \\
471471
--replica-timeout 5 \\
472472
--replica-retry-limit 2 \\
@@ -477,7 +477,7 @@
477477
- name: Create a container apps job with Trigger Type as Event.
478478
text: |
479479
az containerapp job create -n MyContainerappsjob -g MyResourceGroup \\
480-
--environment MyContainerappEnv
480+
--environment MyContainerappEnv \\
481481
--trigger-type Event \\
482482
--replica-timeout 5 \\
483483
--replica-retry-limit 2 \\
@@ -486,11 +486,11 @@
486486
--polling-interval 30 \\
487487
--min-executions 0 \\
488488
--max-executions 1 \\
489-
--scale-rule-name queueJob \\
489+
--scale-rule-name queue \\
490490
--scale-rule-type azure-queue \\
491491
--scale-rule-metadata "accountName=mystorageaccountname" \\
492492
"cloud=AzurePublicCloud" \\
493-
"queueLength": "5" "queueName": "foo" \\
493+
"queueLength=5" "queueName=foo" \\
494494
--scale-rule-auth "connection=my-connection-string-secret-name" \\
495495
--image imageName
496496
"""
@@ -1188,7 +1188,7 @@
11881188
- name: Create a container apps job with Trigger Type as Manual.
11891189
text: |
11901190
az containerapp job create -n MyContainerappsjob -g MyResourceGroup \\
1191-
--environment MyContainerappEnv
1191+
--environment MyContainerappEnv \\
11921192
--trigger-type Manual \\
11931193
--replica-timeout 5 \\
11941194
--replica-retry-limit 2 \\
@@ -1199,7 +1199,7 @@
11991199
- name: Create a container apps job with Trigger Type as Schedule.
12001200
text: |
12011201
az containerapp job create -n MyContainerappsjob -g MyResourceGroup \\
1202-
--environment MyContainerappEnv
1202+
--environment MyContainerappEnv \\
12031203
--trigger-type Schedule \\
12041204
--replica-timeout 5 \\
12051205
--replica-retry-limit 2 \\
@@ -1210,7 +1210,7 @@
12101210
- name: Create a container apps job with Trigger Type as Event.
12111211
text: |
12121212
az containerapp job create -n MyContainerappsjob -g MyResourceGroup \\
1213-
--environment MyContainerappEnv
1213+
--environment MyContainerappEnv \\
12141214
--trigger-type Event \\
12151215
--replica-timeout 5 \\
12161216
--replica-retry-limit 2 \\

src/containerapp/azext_containerapp/tests/latest/recordings/test_container_app_mount_secret_e2e.yaml

Lines changed: 629 additions & 857 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_container_app_mount_secret_update_e2e.yaml

Lines changed: 717 additions & 660 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_create_enable_workload_profiles_three_state_flag.yaml

Lines changed: 2626 additions & 3018 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_la_dynamic_json.yaml

Lines changed: 2068 additions & 2567 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_public_network_access.yaml

Lines changed: 3240 additions & 3575 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_gateway_for_spring_component.yaml

Lines changed: 1047 additions & 1086 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_java_component.yaml

Lines changed: 8299 additions & 8436 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_java_component_configurations.yaml

Lines changed: 1042 additions & 1938 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)