|
53 | 53 | --scale-rule-type azure-queue \\ |
54 | 54 | --scale-rule-metadata "accountName=mystorageaccountname" \\ |
55 | 55 | "cloud=AzurePublicCloud" \\ |
56 | | - "queueLength": "5" "queueName": "foo" \\ |
| 56 | + "queueLength=5" "queueName=foo" \\ |
57 | 57 | --scale-rule-auth "connection=my-connection-string-secret-name" |
58 | 58 | - name: Create a container app with secrets and mounts them in a volume. |
59 | 59 | text: | |
|
611 | 611 | - name: Create a container apps job with Trigger Type as Manual. |
612 | 612 | text: | |
613 | 613 | az containerapp job create -n MyContainerappsjob -g MyResourceGroup \\ |
| 614 | + --environment MyContainerappEnv \\ |
614 | 615 | --trigger-type Manual \\ |
615 | 616 | --replica-timeout 5 \\ |
616 | 617 | --replica-retry-limit 2 \\ |
|
621 | 622 | - name: Create a container apps job with Trigger Type as Schedule. |
622 | 623 | text: | |
623 | 624 | az containerapp job create -n MyContainerappsjob -g MyResourceGroup \\ |
| 625 | + --environment MyContainerappEnv \\ |
624 | 626 | --trigger-type Schedule \\ |
625 | 627 | --replica-timeout 5 \\ |
626 | 628 | --replica-retry-limit 2 \\ |
|
631 | 633 | - name: Create a container apps job with Trigger Type as Event. |
632 | 634 | text: | |
633 | 635 | az containerapp job create -n MyContainerappsjob -g MyResourceGroup \\ |
| 636 | + --environment MyContainerappEnv \\ |
634 | 637 | --trigger-type Event \\ |
635 | 638 | --replica-timeout 5 \\ |
636 | 639 | --replica-retry-limit 2 \\ |
|
639 | 642 | --polling-interval 30 \\ |
640 | 643 | --min-executions 0 \\ |
641 | 644 | --max-executions 1 \\ |
642 | | - --scale-rule-name queueJob \\ |
| 645 | + --scale-rule-name queue \\ |
643 | 646 | --scale-rule-type azure-queue \\ |
644 | 647 | --scale-rule-metadata "accountName=mystorageaccountname" \\ |
645 | 648 | "cloud=AzurePublicCloud" \\ |
646 | | - "queueLength": "5" "queueName": "foo" \\ |
| 649 | + "queueLength=5" "queueName=foo" \\ |
647 | 650 | --scale-rule-auth "connection=my-connection-string-secret-name" \\ |
648 | 651 | --image imageName |
649 | 652 | """ |
|
0 commit comments