-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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] backup restore restore-disks
: Add support for enabling Disk access settings for managed VM restores
#29508
base: dev
Are you sure you want to change the base?
Conversation
️✔️AzureCLI-FullTest
|
Hi @zubairabid, |
|
rule | cmd_name | rule_message | suggest_message |
---|---|---|---|
backup restore restore-disks | cmd backup restore restore-disks added parameter disk_access_option |
||
backup restore restore-disks | cmd backup restore restore-disks added parameter target_disk_access_id |
Backup |
Requesting a review for this release cycle (subject to merge validation). |
Please fix CI issues |
c.argument('disk_access_option', arg_type=get_enum_type(allowed_disk_access_options), help='Specifies the disk access option for target disks.') | ||
c.argument('target_disk_access_id', help='Specifies the target disk access ID when --disk-access-option is set to EnablePrivateAccessForAllDisks') |
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 use the first person voice in the help message
c.argument('disk_access_option', arg_type=get_enum_type(allowed_disk_access_options), help='Specifies the disk access option for target disks.') | |
c.argument('target_disk_access_id', help='Specifies the target disk access ID when --disk-access-option is set to EnablePrivateAccessForAllDisks') | |
c.argument('disk_access_option', arg_type=get_enum_type(allowed_disk_access_options), help='Specify the disk access option for target disks.') | |
c.argument('target_disk_access_id', help='Specify the target disk access ID when --disk-access-option is set to EnablePrivateAccessForAllDisks') |
backup restore restore-disks
: Add support for enabling Disk access settings for managed VM restores
@zubairabid Please add some test cases for these new parameters |
Please note that we are launching the release for this sprint this week. Please resolve all comments by tomorrow, otherwise the release of this PR will have to be postponed to the next sprint (on 10-08) |
Related command
az backup restore restore-disks
Description
Some managed VMs have disks with PE enabled (they have some Disk Access associated). We can now use Enhanced Policy to back them up. During restore, we have the option of allowing public access, specifying a new disk access, or specifying PE with the same disk access. We have added changes that allow for this.
Testing Guide
History Notes
[Backup] Added support for enabling Disk access settings for managed VM restores[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.