[Containerapp] az containerapp job create: Fix issues for help message#31682
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @Greedygre, |
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull Request Overview
Fixes and enhances the az containerapp job create help examples to correct metadata syntax and include the required --environment parameter.
- Updated
--scale-rule-metadataexamples to usekey=valuesyntax instead of JSON-style strings. - Added the
--environmentflag to all job create examples (Manual, Schedule, Event). - Corrected the sample
--scale-rule-namevalue for consistency.
Comments suppressed due to low confidence (1)
src/azure-cli/azure/cli/command_modules/containerapp/_help.py:645
- [nitpick] The example uses
--scale-rule-name queue, which may be too generic. Consider using a more descriptive name (e.g.,queue_job) to clearly convey its purpose and remain consistent with other examples.
--scale-rule-name queue \\
az containerapp job create: Fix message with --helpaz containerapp job create: Fix issues for help message
Related command
Description
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.