Skip to content

Commit 0c4fd7f

Browse files
Updated Enable-AzRecoveryServicesBackupProtection by removing warning about ensuring Enhanced Policy for Trusted Launch VMs when configuring protection for Azure VMs . (#27284)
1 parent b05bbfb commit 0c4fd7f

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.resx

+1-1
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ Please contact Microsoft for further assistance.</value>
839839
<value>The parameter BackupSnapshotResourceGroupSuffix cannot be used without the BackupSnapshotResourceGroup parameter. Please provide the BackupSnapshotResourceGroup parameter or remove the BackupSnapshotResourceGroupSuffix parameter.</value>
840840
</data>
841841
<data name="TrustedLaunchDefaultWarning" xml:space="preserve">
842-
<value>Ignite (November) 2023 onwards Virtual Machine deployments using PS and CLI will default to Trusted Launch configuration. You need to ensure Policy Name used with this command is of type Enhanced Policy for Trusted Launch VMs. Non-Trusted Launch Virtual Machines will not be impacted by this change. To know more about default change and Trusted Launch, please visit https://aka.ms/TLaD.</value>
842+
<value>Starting in May 2025, Trusted Launch virtual machines can be protected with both standard and enhanced policies via PS and CLI</value>
843843
</data>
844844
<data name="UnbakedSnapshotRecoveryPoint" xml:space="preserve">
845845
<value>Snapshot recovery point time is less than 4 Hrs ago, please try later or with another recovery point</value>

src/RecoveryServices/RecoveryServices.Backup/Cmdlets/ProtectionPolicy/GetAzureRmRecoveryServicesBackupSchedulePolicyObject.cs

+2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818
using Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models;
1919
using Microsoft.Azure.Commands.RecoveryServices.Backup.Properties;
2020
using Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.ProviderModel;
21+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
2122

2223
namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets
2324
{
2425
/// <summary>
2526
/// Returns a schedule policy PS object which can be modified in the PS shell
2627
/// and fed to other cmdlets which accept it.
2728
/// </summary>
29+
[GenericBreakingChangeWithVersion("May 2025 onwards, this command will return a schedule policy object for Enhanced policy by default for AzureVM workload", "14.0.0", "8.0.0")]
2830
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RecoveryServicesBackupSchedulePolicyObject"),OutputType(typeof(SchedulePolicyBase))]
2931
public class GetAzureRmRecoveryServicesBackupSchedulePolicyObject : RecoveryServicesBackupCmdletBase
3032
{

src/RecoveryServices/RecoveryServices/ChangeLog.md

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Removed warning about ensuring Enhanced Policy for Trusted Launch VMs when configuring protection for Azure VMs.
22+
* Added warning "Starting in May 2025, Trusted Launch virtual machines can be protected with both standard and enhanced policies via PS and CLI" in Enable-AzRecoveryServicesBackupProtection.
23+
* Added breaking change announcement for Get-AzRecoveryServicesBackupSchedulePolicyObject that this command will return a Enhanced policy object by default for IaaSVM workload.
2124
* Added support for PremiumV2_LRS and UltraSSD_LRS target disk types for Azure to Azure replication.
2225
* Added logs to enable better debugging for Modify protection with MSSQL workload.
2326

0 commit comments

Comments
 (0)