Azure / Azure/azure-powershell

[Feature]: New-AzRecoveryServicesBackupProtectionPolicy should support creation of Enhanced VM backup policies.

Open
#24,605 3 comments 0 reactions 0 assignees View on GitHub
act-observability-squad customer-reported feature-request Recovery Services Backup Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description of the new feature

New-AzRecoveryServicesBackupProtectionPolicy only currently supports creation of "Standard" VM backup policies. Enhanced Backups have been in public release for roughly six months, and while the get- cmdlets have been updated to support them, the new- cmdlets have not. This prevents creation of new enhanced policies via Azure PowerShell.

This issue is also present in Azure CLI. However, in Azure CLI you can provide a JSON file that specifies enhanced backup information as a workaround.

### Proposed implementation details (optional)

Update flags to support Enhanced backup policy options.

Contributor guide

Open the contributing guide

Research direction

Start with the New-AzRecoveryServicesBackupProtectionPolicy cmdlet and compare its supported options with the get- cmdlets that already handle Enhanced VM backup policies. Verify how Azure PowerShell represents Enhanced backup information and identify the existing creation tests, if any. Done means the cmdlet can create Enhanced VM backup policies with flags rather than requiring a JSON workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, powershell
Domain
cli, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.