{Network} az network private-endpoint dns-zone-group add: --name should be required#32303
{Network} az network private-endpoint dns-zone-group add: --name should be required#32303
az network private-endpoint dns-zone-group add: --name should be required#32303Conversation
️✔️AzureCLI-FullTest
|
|
Hi @necusjz, |
❌AzureCLI-BreakingChangeTest
Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:
|
There was a problem hiding this comment.
Pull Request Overview
This PR makes the --name parameter required for the az network private-endpoint dns-zone-group add command to align with backend requirements. This is a breaking change that addresses an IcM incident by removing the code that previously made the parameter optional.
- Removes the line that set
nameas not required in the dns-zone-group add command - Aligns the CLI behavior with backend API requirements
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
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>
|
# Conflicts: # src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml
9a78e08 to
8b34265
Compare
Related command
Description
from the IcM,
--nameshould be required, aligh with the backend.the defect introduced by #25770 2+ years ago.
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.