azure-cli-extensions
azure-cli-extensions copied to clipboard
[dataprotection] Support for vaulted blob backups
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
-
az dataprotection backup-instance initialize-backupconfig
: Added parameters--vaulted-backup-containers
to provide list of containers to backup -
az dataprotection backup-instance initialize-backupconfig
: Added parameters--include-all-containers
,--storage-account-name
,storage-account-resource-group
to backup all containers in a storage storage-account-resource-group -
az dataprotection backup-instance update
: New command, which takes--vaulted-blob-container-list
to which we pass the output ofinitialize-backupconfig
-
az dataprotection backup-instance update-policy
: Had a bug where policy update for a vaulted blob container would remove the backed up containers entirely. This was rewritten to fix that -
az dataprotection backup-instance restore initialize-for-item-recovery
: now takes--vaulted-blob-prefix-pattern
, a new prefix pattern for vaulted blobs restore
General Guidelines
- [x] Have you run
azdev style <YOUR_EXT>
locally? (pip install azdev
required) - [x] Have you run
python scripts/ci/test_index.py -q
locally? (pip install wheel==0.30.0
required) - [x] My extension version conforms to the Extension version schema
For new extensions:
- [ ] My extension description/summary conforms to the Extension Summary Guidelines.
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
.
Hi @zubairabid, Please write the description of changes which can be perceived by customers into HISTORY.rst. If you want to release a new extension version, please update the version in setup.py as well.
Hi @zubairabid, Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.
⚠️Azure CLI Extensions Breaking Change Test
⚠️dataprotection
rule cmd_name rule_message suggest_message ⚠️ 1006 - ParaAdd dataprotection backup-instance initialize-backupconfig cmd dataprotection backup-instance initialize-backupconfig
added parameterinclude_all_containers
⚠️ 1006 - ParaAdd dataprotection backup-instance initialize-backupconfig cmd dataprotection backup-instance initialize-backupconfig
added parameterstorage_account_name
⚠️ 1006 - ParaAdd dataprotection backup-instance initialize-backupconfig cmd dataprotection backup-instance initialize-backupconfig
added parameterstorage_account_resource_group
⚠️ 1006 - ParaAdd dataprotection backup-instance initialize-backupconfig cmd dataprotection backup-instance initialize-backupconfig
added parametervaulted_backup_containers
⚠️ 1006 - ParaAdd dataprotection backup-instance restore initialize-for-item-recovery cmd dataprotection backup-instance restore initialize-for-item-recovery
added parametervaulted_blob_prefix_pattern
⚠️ 1001 - CmdAdd dataprotection backup-instance update cmd dataprotection backup-instance update
added
dataprotection
:warning: Release Suggestions
Module: dataprotection
- Update version to
1.3.0
in setup.py
Notes
- Stable/preview tag is inherited from last release. If needed, please add
stable
/preview
label to modify it. - Major/minor/patch/pre increment of version number is calculated by pull request code changes automatically. If needed, please add
major
/minor
/patch
/pre
label to adjust it. - For more info about extension versioning, please refer to Extension version schema
@evelyn-ys Can you please review the PR?
[Release] Update index.json for extension [ dataprotection ] : https://dev.azure.com/azclitools/release/_build/results?buildId=155717&view=results