Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/DataProtection/DataProtection.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,14 @@ directive:
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IAzureBackupRecoveryPoint Property');
- from: source-file-csharp
where: $
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.INamespacedNameResource ResourceModifierReference', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.INamespacedNameResource ResourceModifierReference');
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.INamespacedNameResource ResourceModifierReference', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.INamespacedNameResource ResourceModifierReference');

- where:
verb: Backup|Edit|Find|Get|Initialize|New|Set|Start|Stop|Suspend|Sync|Test|Update
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
set:
preview-announcement:
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *\\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**************************************************************************************************"
```

## Alternate settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ function New-AzDataProtectionResourceGuard
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IResourceGuardResource')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates a resource guard under a resource group')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName="CreateResourceGuard", Mandatory=$false, HelpMessage='Subscription Id of the resource guard')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ function Update-AzDataProtectionResourceGuard
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IResourceGuardResource')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates a resource guard belonging to a resource group')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName="UpdateResourceGuardOperations", Mandatory=$false, HelpMessage='Subscription Id of the resource guard')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ function Stop-AzDataProtectionBackupInstanceProtection
[OutputType('System.Boolean')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('This operation will stop protection of a backup instance and data will be held forever')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName="Stop", Mandatory=$false, HelpMessage='Subscription Id of the backup vault')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ function Suspend-AzDataProtectionBackupInstanceBackup
[OutputType('System.Boolean')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[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')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName="Suspend", Mandatory=$false, HelpMessage='Subscription Id of the backup vault')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IAzureBackupJobResource')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Gets or lists jobs in a backup vault')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName="Get", Mandatory=$false, HelpMessage='Subscription Id of the vault')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IAzureBackupRestoreRequest')]
[CmdletBinding(PositionalBinding=$false, DefaultParameterSetName='AlternateLocationFullRecovery')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Initializes Restore Request object for triggering restore on a protected backup instance.')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName="OriginalLocationFullRecovery", Mandatory, HelpMessage='Datasource Type')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ function Start-AzDataProtectionBackupInstanceRestore
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IOperationJobExtendedInfo')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Triggers restore for a BackupInstance')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
# Trigger, TriggerExpanded
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ function Test-AzDataProtectionBackupInstanceRestore
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IOperationJobExtendedInfo')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Validates if Restore can be triggered for a DataSource')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName="ValidateRestore", Mandatory=$false, HelpMessage='Subscription Id of the backup vault')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
[OutputType('PSObject')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates or updates a BackupVault resource belonging to a resource group.')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(Mandatory=$false, HelpMessage='Subscription Id of the vault')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ function Set-AzDataProtectionMSIPermission {
[OutputType('System.Object')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact = 'High')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Grants required permissions to the backup vault and other resources for configure backup and restore scenarios')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName="SetPermissionsForBackup", Mandatory, HelpMessage='Backup instance request object which will be used to configure backup')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IBackupVaultResource')]
[CmdletBinding(DefaultParameterSetName="UpdateExpanded", PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates a BackupVault resource belonging to a resource group. For example updating tags for a resource.')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='The ID of the target subscription. The value must be an UUID.')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ function Edit-AzDataProtectionPolicyRetentionRuleClientObject {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IBackupPolicy')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Adds or removes Retention Rule to existing Policy')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName='AddRetention',Mandatory, HelpMessage='Backup Policy Object')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IBackupPolicy')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Adds or removes schedule tag in an existing backup policy.')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName='updateTag', Mandatory, HelpMessage='Backup Policy Object.')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IBackupPolicy')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates Backup schedule of an existing backup policy.')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
Comment on lines +6 to +8
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n

Copilot uses AI. Check for mistakes.
***************************************************************************************************")]

param (
[Parameter(ParameterSetName='ModifyBackupSchedule', Mandatory, HelpMessage='Backup Policy object.')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ function Get-AzDataProtectionPolicyTemplate {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IBackupPolicy')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Gets default policy template for a selected datasource type.')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(Mandatory, HelpMessage='Datasource Type')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IBaseBackupPolicyResource')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates a new backup policy in a given backup vault')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(Mandatory=$false, HelpMessage='Subscription Id')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250901.IScheduleBasedBackupCriteria')]
[CmdletBinding(PositionalBinding=$false)]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates a new criteria object')]
[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PreviewMessage("**********************************************************************************************`n
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PreviewMessage attribute contains incorrect information. The message states the breaking change will occur in "Az v16.0.0, to be released on May 2026", but the README.md directive (line 489) indicates it should be "Az v15.0.0, to be released on November 19th 2025". There is a version number mismatch and date mismatch between the cmdlet attribute and the AutoRest configuration.

Suggested change
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n

Copilot uses AI. Check for mistakes.
* At least one change applies to this cmdlet. *`n
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
***************************************************************************************************")]

param(
[Parameter(ParameterSetName='AbsoluteCriteria', Mandatory, HelpMessage='Absolute criteria')]
Expand Down
Loading
Loading