Skip to content

Commit a7cc686

Browse files
authored
[BC] DataProtection Breaking Change Announcement after <Added support for DPP vault soft delete feature> (#29125)
1 parent 3c889db commit a7cc686

36 files changed

Lines changed: 138 additions & 39 deletions

File tree

src/DataProtection/DataProtection.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DataProtection")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.8.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("2.8.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.9.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("2.9.0")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

src/DataProtection/DataProtection.Autorest/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,13 @@ directive:
697697
- from: source-file-csharp
698698
where: $
699699
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.INamespacedNameResource ResourceModifierReference', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.INamespacedNameResource ResourceModifierReference');
700+
701+
- where:
702+
verb: Backup|Edit|Find|Get|Initialize|New|Set|Start|Stop|Suspend|Sync|Test|Update
703+
subject: BackupInstance|BackupInstanceAdhoc|BackupInstanceBackup|BackupInstanceProtection|BackupInstanceReadiness|BackupInstanceRestore|BackupInstanceUpdate|BackupPolicy|BackupVault|Job|MSIPermission|Operation|OperationStatus|PolicyRetentionRuleClientObject|PolicyTagClientObject|PolicyTagCriteriaClientObject|PolicyTemplate|PolicyTriggerClientObject|ResourceGuard|ResourceGuardMapping|RestorableTimeRange|RestoreRequest|RetentionLifeCycleClientObject|SoftDeletedBackupInstance
704+
set:
705+
preview-announcement:
706+
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************"
700707
```
701708
702709
## Alternate settings

src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ function New-AzDataProtectionResourceGuard
55
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IResourceGuardResource')]
66
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
77
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates a resource guard under a resource group')]
8+
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
9+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
10+
* At least one change applies to this cmdlet. *`n
11+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
12+
***************************************************************************************************")]
813

914
param(
1015
[Parameter(ParameterSetName="CreateResourceGuard", Mandatory=$false, HelpMessage='Subscription Id of the resource guard')]

src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ function Update-AzDataProtectionResourceGuard
55
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IResourceGuardResource')]
66
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
77
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates a resource guard belonging to a resource group')]
8+
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
9+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
10+
* At least one change applies to this cmdlet. *`n
11+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
12+
***************************************************************************************************")]
813

914
param(
1015
[Parameter(ParameterSetName="UpdateResourceGuardOperations", Mandatory=$false, HelpMessage='Subscription Id of the resource guard')]

src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Stop-AzDataProtectionBackupInstanceProtection.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ function Stop-AzDataProtectionBackupInstanceProtection
55
[OutputType('System.Boolean')]
66
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
77
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('This operation will stop protection of a backup instance and data will be held forever')]
8+
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
9+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
10+
* At least one change applies to this cmdlet. *`n
11+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
12+
***************************************************************************************************")]
813

914
param(
1015
[Parameter(ParameterSetName="Stop", Mandatory=$false, HelpMessage='Subscription Id of the backup vault')]

src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Suspend-AzDataProtectionBackupInstanceBackup.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ function Suspend-AzDataProtectionBackupInstanceBackup
55
[OutputType('System.Boolean')]
66
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
77
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('This operation will stop backup for a backup instance and retains the backup data as per the policy except latest Recovery point, which will be retained forever')]
8+
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
9+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
10+
* At least one change applies to this cmdlet. *`n
11+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
12+
***************************************************************************************************")]
813

914
param(
1015
[Parameter(ParameterSetName="Suspend", Mandatory=$false, HelpMessage='Subscription Id of the backup vault')]

src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IAzureBackupJobResource')]
44
[CmdletBinding(PositionalBinding=$false)]
55
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Gets or lists jobs in a backup vault')]
6+
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
7+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
8+
* At least one change applies to this cmdlet. *`n
9+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
10+
***************************************************************************************************")]
611

712
param(
813
[Parameter(ParameterSetName="Get", Mandatory=$false, HelpMessage='Subscription Id of the vault')]

src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IAzureBackupRestoreRequest')]
44
[CmdletBinding(PositionalBinding=$false, DefaultParameterSetName='AlternateLocationFullRecovery')]
55
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Initializes Restore Request object for triggering restore on a protected backup instance.')]
6+
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
7+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
8+
* At least one change applies to this cmdlet. *`n
9+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
10+
***************************************************************************************************")]
611

712
param(
813
[Parameter(ParameterSetName="OriginalLocationFullRecovery", Mandatory, HelpMessage='Datasource Type')]

src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Start-AzDataProtectionBackupInstanceRestore.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ function Start-AzDataProtectionBackupInstanceRestore
55
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IOperationJobExtendedInfo')]
66
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
77
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Triggers restore for a BackupInstance')]
8+
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
9+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
10+
* At least one change applies to this cmdlet. *`n
11+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
12+
***************************************************************************************************")]
813

914
param(
1015
# Trigger, TriggerExpanded

src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ function Test-AzDataProtectionBackupInstanceRestore
55
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IOperationJobExtendedInfo')]
66
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
77
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Validates if Restore can be triggered for a DataSource')]
8+
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
9+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
10+
* At least one change applies to this cmdlet. *`n
11+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
12+
***************************************************************************************************")]
813

914
param(
1015
[Parameter(ParameterSetName="ValidateRestore", Mandatory=$false, HelpMessage='Subscription Id of the backup vault')]

0 commit comments

Comments
 (0)