-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Backup] az backup restore restore-disks: Support NoZone as a valid target zone for --target-zone parameter
#30720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backup] az backup restore restore-disks: Support NoZone as a valid target zone for --target-zone parameter
#30720
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @SourabhSomnathGholap, |
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| backup restore restore-disks | cmd backup restore restore-disks update parameter target_zone: updated property choices from ['1', '2', '3'] to ['1', '2', '3', 'NoZone'] |
|
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>
|
zubairabid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just have some clarifying questions otherwise.
src/azure-cli/azure/cli/command_modules/backup/tests/latest/test_backup_commands.py
Show resolved
Hide resolved
az backup restore restore-disks: Support NoZone as a valid target zone for --target-zone parameter
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
… target zone for `--target-zone` parameter (Azure#30720)
Related command
'az backup restore restore-disks'
Description
In this PR I have added NoZone as a valid target-zone in 'az backup restore restore-disks'. Earlier valid target zones were 1,2 and 3.
Additionally, I have made code changes to support cross-zonal restore from snapshot and vault standard RP.
Testing Guide
History Notes
This 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.