-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[dataprotection] Add support for Cross Region Restore for Backup Vaults #7282
Conversation
Also code cleanup.
…on mapping as fallback in case of poorly populated fields from service.
❌Azure CLI Extensions Breaking Change Test
|
Hi @zubairabid, |
dataprotection |
Please fix CI issues |
@yonzhan all CI issues have been fixed, could you please re-run the pipeline so the Cred scan passes this time? |
@yonzhan @evelyn-ys can you please review and merge the PR? |
src/dataprotection/setup.py
Outdated
@@ -10,7 +10,7 @@ | |||
from setuptools import setup, find_packages | |||
|
|||
# HISTORY.rst entry. | |||
VERSION = '0.11.2' | |||
VERSION = '0.12.0' |
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.
Please check the version to follow https://github.com/Azure/azure-cli/blob/release/doc/extensions/versioning_guidelines.md#versioning-practice
[Release] Update index.json for extension [ dataprotection ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=138895&view=results |
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az dataprotection backup-vault create
: New parameter--cross-region-restore-state/--crr-state
that can be set to Enabled/Disabled.az dataprotection backup-vault update
: New parameter--cross-region-restore-state/--crr-state
that can be set to Enabled/Disabled.az dataprotection backup-vault list-from-resourcegraph
: New command to fetch Backup Vault details from Azure Resource Graph.az dataprotection recovery-point list
: New parameter--use-secondary-region
to be used when listing from the secondary region.az dataprotection backup-instance validate-for-restore
: New parameter--use-secondary-region
to be used when restoring to the secondary region.az dataprotection backup-instance restore trigger
: New parameter--use-secondary-region
to be used when restoring to the secondary region.az dataprotection backup-job list
: New parameter--use-secondary-region
which can be used in disaster scenario when primary region is down.az dataprotection backup-job show
: New parameter--use-secondary-region
which can be used in disaster scenario when primary region is down.General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally? (pip install wheel==0.30.0
required)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.json
automatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json
.