From 6858315002d4b2abac4fa33f7b3e13346afd66ec Mon Sep 17 00:00:00 2001 From: JunKai-v Date: Fri, 30 Jan 2026 12:19:33 +0800 Subject: [PATCH] DataProtection breaking change announcement --- .../DataProtection.Autorest/.gitignore | 2 -- .../Properties/AssemblyInfo.cs | 4 +-- .../DataProtection.Autorest/README.md | 7 +++++ .../New-AzDataProtectionResourceGuard.ps1 | 5 ++++ .../Update-AzDataProtectionResourceGuard.ps1 | 5 ++++ ...DataProtectionBackupInstanceProtection.ps1 | 5 ++++ ...d-AzDataProtectionBackupInstanceBackup.ps1 | 5 ++++ .../Platform/Job/Get-AzDataProtectionJob.ps1 | 5 ++++ ...tialize-AzDataProtectionRestoreRequest.ps1 | 5 ++++ ...-AzDataProtectionBackupInstanceRestore.ps1 | 5 ++++ ...-AzDataProtectionBackupInstanceRestore.ps1 | 5 ++++ .../Vault/New-AzDataProtectionBackupVault.ps1 | 5 ++++ .../Set-AzDataProtectionMSIPermission.ps1 | 5 ++++ .../Update-AzDataProtectionBackupVault.ps1 | 5 ++++ ...tectionPolicyRetentionRuleClientObject.ps1 | 5 ++++ ...-AzDataProtectionPolicyTagClientObject.ps1 | 5 ++++ ...ataProtectionPolicyTriggerClientObject.ps1 | 5 ++++ .../Get-AzDataProtectionPolicyTemplate.ps1 | 5 ++++ .../New-AzDataProtectionBackupPolicy.ps1 | 5 ++++ ...rotectionPolicyTagCriteriaClientObject.ps1 | 5 ++++ ...otectionRetentionLifeCycleClientObject.ps1 | 5 ++++ .../docs/Az.DataProtection.md | 2 +- .../generate-info.json | 2 +- src/DataProtection/DataProtection.sln | 28 +++++++++---------- .../DataProtection/Az.DataProtection.psd1 | 12 ++++---- ...t-AzDataProtectionPolicyTagClientObject.md | 2 +- ...ind-AzDataProtectionRestorableTimeRange.md | 2 +- .../help/Get-AzDataProtectionBackupVault.md | 2 +- .../New-AzDataProtectionBackupInstance.md | 6 ++-- .../help/New-AzDataProtectionBackupPolicy.md | 4 +-- ...ectionPolicyTriggerScheduleClientObject.md | 2 +- ...t-AzDataProtectionBackupInstanceRestore.md | 6 ++-- ...-AzDataProtectionBackupInstanceDeletion.md | 2 +- .../Update-AzDataProtectionBackupInstance.md | 2 +- .../Update-AzDataProtectionBackupVault.md | 4 +-- .../Update-AzDataProtectionResourceGuard.md | 2 +- 36 files changed, 138 insertions(+), 43 deletions(-) diff --git a/src/DataProtection/DataProtection.Autorest/.gitignore b/src/DataProtection/DataProtection.Autorest/.gitignore index ccbe8d018341..6ec158bd9768 100644 --- a/src/DataProtection/DataProtection.Autorest/.gitignore +++ b/src/DataProtection/DataProtection.Autorest/.gitignore @@ -5,8 +5,6 @@ generated internal exports tools -custom/*.psm1 -custom/autogen-model-cmdlets test/*-TestResults.xml license.txt /*.ps1 diff --git a/src/DataProtection/DataProtection.Autorest/Properties/AssemblyInfo.cs b/src/DataProtection/DataProtection.Autorest/Properties/AssemblyInfo.cs index baac4bc1b36e..b7101f1fe2a5 100644 --- a/src/DataProtection/DataProtection.Autorest/Properties/AssemblyInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/Properties/AssemblyInfo.cs @@ -20,7 +20,7 @@ [assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] [assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] [assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DataProtection")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("2.7.0")] -[assembly: System.Reflection.AssemblyVersionAttribute("2.7.0")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("2.8.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("2.8.0")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] diff --git a/src/DataProtection/DataProtection.Autorest/README.md b/src/DataProtection/DataProtection.Autorest/README.md index ccc15afae685..f2203f4655a2 100644 --- a/src/DataProtection/DataProtection.Autorest/README.md +++ b/src/DataProtection/DataProtection.Autorest/README.md @@ -480,6 +480,13 @@ directive: - from: source-file-csharp where: $ 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 diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1 index 3911a0abdb9d..a776c6860466 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1 @@ -5,6 +5,11 @@ function New-AzDataProtectionResourceGuard [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1 index 84b8043a19f9..896ad8076130 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1 @@ -5,6 +5,11 @@ function Update-AzDataProtectionResourceGuard [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Stop-AzDataProtectionBackupInstanceProtection.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Stop-AzDataProtectionBackupInstanceProtection.ps1 index 08fd757e297f..4ba85b3f4987 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Stop-AzDataProtectionBackupInstanceProtection.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Stop-AzDataProtectionBackupInstanceProtection.ps1 @@ -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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Suspend-AzDataProtectionBackupInstanceBackup.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Suspend-AzDataProtectionBackupInstanceBackup.ps1 index b41b10928192..df80ce2eaaca 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Suspend-AzDataProtectionBackupInstanceBackup.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Suspend-AzDataProtectionBackupInstanceBackup.ps1 @@ -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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1 index a3fdb19b1f60..45c85c0bb8d7 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1 @@ -3,6 +3,11 @@ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1 index cf35489f33aa..eb3fc2cad816 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1 @@ -3,6 +3,11 @@ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Start-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Start-AzDataProtectionBackupInstanceRestore.ps1 index ae896465c20f..025dea5a3dcd 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Start-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Start-AzDataProtectionBackupInstanceRestore.ps1 @@ -5,6 +5,11 @@ function Start-AzDataProtectionBackupInstanceRestore [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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 diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1 index 38db4b7be469..0c01b91f9daf 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1 @@ -5,6 +5,11 @@ function Test-AzDataProtectionBackupInstanceRestore [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1 index c7c10130def8..f94f02fea06f 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1 @@ -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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1 index 25d92336b368..79de9eac2102 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1 @@ -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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Update-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Update-AzDataProtectionBackupVault.ps1 index d083a6840da7..5f50f24058a6 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Update-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Update-AzDataProtectionBackupVault.ps1 @@ -3,6 +3,11 @@ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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.')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 index 2389fa0d4d78..b4b32396531f 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 @@ -4,6 +4,11 @@ function Edit-AzDataProtectionPolicyRetentionRuleClientObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1 index 73059e44979a..9471040939e5 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1 @@ -2,6 +2,11 @@ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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.')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 index 02ac4b5ed3a2..ee384eb5bb16 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 @@ -2,6 +2,11 @@ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + ***************************************************************************************************")] param ( [Parameter(ParameterSetName='ModifyBackupSchedule', Mandatory, HelpMessage='Backup Policy object.')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1 index 9fcfdb2f2fe3..34d8d5e38632 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1 @@ -4,6 +4,11 @@ function Get-AzDataProtectionPolicyTemplate { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1 index feff01baefae..c3a44dd7bff5 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1 @@ -4,6 +4,11 @@ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 index 97efb21c7b8a..8c89156b8792 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 @@ -2,6 +2,11 @@ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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 + * 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')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 index 05e2a5c8a1c9..75c62f672e76 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 @@ -2,6 +2,11 @@ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.ISourceLifeCycle')] [CmdletBinding(PositionalBinding=$false)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates new Lifecycle 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 + * 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='Source Datastore')] diff --git a/src/DataProtection/DataProtection.Autorest/docs/Az.DataProtection.md b/src/DataProtection/DataProtection.Autorest/docs/Az.DataProtection.md index 036db97a089f..b0729ed5df71 100644 --- a/src/DataProtection/DataProtection.Autorest/docs/Az.DataProtection.md +++ b/src/DataProtection/DataProtection.Autorest/docs/Az.DataProtection.md @@ -1,6 +1,6 @@ --- Module Name: Az.DataProtection -Module Guid: 02f749f0-7aca-44aa-a062-1efd4c24d60c +Module Guid: c43ba01e-db82-40e2-866c-0c78803d6d2c Download Help Link: https://learn.microsoft.com/powershell/module/az.dataprotection Help Version: 1.0.0.0 Locale: en-US diff --git a/src/DataProtection/DataProtection.Autorest/generate-info.json b/src/DataProtection/DataProtection.Autorest/generate-info.json index 4c9869eb33e4..dcb0446c59df 100644 --- a/src/DataProtection/DataProtection.Autorest/generate-info.json +++ b/src/DataProtection/DataProtection.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "9ab52009-3d73-4301-ac4e-fdaedc42928c" + "generate_Id": "8e9b98b6-d164-46e8-9fcc-8da954b632d1" } diff --git a/src/DataProtection/DataProtection.sln b/src/DataProtection/DataProtection.sln index 0b7b72a8dc2c..b77e1ca8be5a 100644 --- a/src/DataProtection/DataProtection.sln +++ b/src/DataProtection/DataProtection.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataProtection", "DataProte EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DataProtection.Autorest", "DataProtection.Autorest", "{F40C2F0C-1625-C7F2-86E6-E539334694A7}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DataProtection", "..\..\generated\DataProtection\DataProtection.Autorest\Az.DataProtection.csproj", "{7148D111-5D25-46E3-AF20-926BA226A9CC}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DataProtection", "..\..\generated\DataProtection\DataProtection.Autorest\Az.DataProtection.csproj", "{CE8B96D7-5111-4737-B6CD-7ECEC2915272}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {3710851E-1CE1-45F7-8E14-B07092F08E8D}.Release|x64.Build.0 = Release|Any CPU {3710851E-1CE1-45F7-8E14-B07092F08E8D}.Release|x86.ActiveCfg = Release|Any CPU {3710851E-1CE1-45F7-8E14-B07092F08E8D}.Release|x86.Build.0 = Release|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Debug|x64.ActiveCfg = Debug|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Debug|x64.Build.0 = Debug|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Debug|x86.ActiveCfg = Debug|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Debug|x86.Build.0 = Debug|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Release|Any CPU.Build.0 = Release|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Release|x64.ActiveCfg = Release|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Release|x64.Build.0 = Release|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Release|x86.ActiveCfg = Release|Any CPU - {7148D111-5D25-46E3-AF20-926BA226A9CC}.Release|x86.Build.0 = Release|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Debug|x64.ActiveCfg = Debug|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Debug|x64.Build.0 = Debug|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Debug|x86.ActiveCfg = Debug|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Debug|x86.Build.0 = Debug|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Release|Any CPU.Build.0 = Release|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Release|x64.ActiveCfg = Release|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Release|x64.Build.0 = Release|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Release|x86.ActiveCfg = Release|Any CPU + {CE8B96D7-5111-4737-B6CD-7ECEC2915272}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {E0972917-46F4-4579-8821-51710A92531C} = {EE974D4B-93C7-4914-A6C2-432E7B720B21} {51170684-9F74-4C7B-9B0E-B4922FCFA75C} = {EE974D4B-93C7-4914-A6C2-432E7B720B21} {FDC7380E-88A2-4EB2-BEFD-3CF2E6298F9D} = {EE974D4B-93C7-4914-A6C2-432E7B720B21} - {7148D111-5D25-46E3-AF20-926BA226A9CC} = {F40C2F0C-1625-C7F2-86E6-E539334694A7} + {CE8B96D7-5111-4737-B6CD-7ECEC2915272} = {F40C2F0C-1625-C7F2-86E6-E539334694A7} EndGlobalSection EndGlobal diff --git a/src/DataProtection/DataProtection/Az.DataProtection.psd1 b/src/DataProtection/DataProtection/Az.DataProtection.psd1 index 923e6f8971da..b9df7fcc8489 100644 --- a/src/DataProtection/DataProtection/Az.DataProtection.psd1 +++ b/src/DataProtection/DataProtection/Az.DataProtection.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 10/29/2025 +# Generated on: 30-Jan-26 # @{ @@ -51,16 +51,16 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.3.0'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.3.1'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'DataProtection.Autorest/bin/Az.DataProtection.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = 'DataProtection.Autorest/Az.DataProtection.format.ps1xml' @@ -146,7 +146,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','DataProtection' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'DataProtection' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -171,7 +171,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md index 174d5779b1d4..1b34f1949740 100644 --- a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md +++ b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md @@ -43,7 +43,7 @@ DatasourceType ObjectType This command adds a weekly tag to given backup policy -### Example 2: Remove Weekly tag from Backup Policy +### Example 2: Remove Weeky tag from Backup Policy ```powershell Edit-AzDataProtectionPolicyTagClientObject -Policy $pol -Name Weekly -RemoveRule ``` diff --git a/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md b/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md index d637017e1b82..39d45e411550 100644 --- a/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md +++ b/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md @@ -42,7 +42,7 @@ StartTime : 2021-03-25T14:27:31.0000000Z Set $startTime and $endTime. Fetch the backup instance. Fetch valid time ranges for Backup Instance $instance[0]. -Display RestorableTimeRange, note that this can be multiple discrete ranges. +Dispaly RestorableTimeRange, note that this can be multiple dicrete ranges. ## PARAMETERS diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md index e5eae23982e6..e30c2e63c94b 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md @@ -118,7 +118,7 @@ IdentityType : UserAssigned KeyUri : https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1 ``` -First command gets a specific vault by given vault name, subsequent three commands fetch the specified properties of encryption settings. +First command gets a specific vault by given vault name, subsequent three commands fetch the specity properites of encryption settings. ## PARAMETERS diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md index 7f2fba8358e0..2996c923e547 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md @@ -92,7 +92,7 @@ The fourth command backup configuration object needed for AzureKubernetesService The fifth command initializes the client object for backup instance. The sixth command assigns the necessary permissions for configure backup. -The seventh and eight command initializes custom tags and configure backup finally by creating a backup instance. +The sevnth and eight command initializes custom tags and configure backup finally by creating a backup instance. ### Example 4: Configure protection for AzureBlob with vault policy ```powershell @@ -106,7 +106,7 @@ $operationId = $operationResponse.Target.Split("/")[-1].Split("?")[0] While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $vault.Location -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").Status -eq "Inprogress"){ Start-Sleep -Seconds 10 } -$backupinstanceCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject +$backupnstanceCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject ``` ```output @@ -138,7 +138,7 @@ $operationId = $operationResponse.Target.Split("/")[-1].Split("?")[0] While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $vault.Location -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").Status -eq "Inprogress"){ Start-Sleep -Seconds 10 } -$backupinstanceCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject +$backupnstanceCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject ``` ```output diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md index 4c6d304c2e06..3fd42926d8a1 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md @@ -74,7 +74,7 @@ The fourth command updates the policy object with lifecycles created. The fifth, sixth commands create the custom schedule object for the backup policy, twice weekly starting from $schDates. The seventh command updates the policy object with custom schedule. The eighth, ninth, tenth commands update the Monthly retention rule with custom lifecycles. -The eleventh, twelfth commands create a tag criteria for Monthly policy. +The eleventh, twelth commands create a tag criteria for Monthly policy. Tag criteria needs to be added for each custom retention rule (automatically added for default retention rule). The last command creates the policy. @@ -190,7 +190,7 @@ operationalVaultedPolicyName Microsoft.DataProtection/backupVaults/backupP The first command gets the default vaulted policy template for AzureBlob. The second to fifteenth command defines and updates the Operational, vaulted weekly, monthly, yearly lifecycle and tagcriteria. -Next we define a trigger object with schedule time and timezone, set it to 2:30 AM West Europe standard time. +Next we define a trigger object with schedule time and timzone, set it to 2:30 AM West Europe standard time. The last command creates the hybrid AzureBlob policy. ### Example 6: Create policy for AzureDatabaseForPGFlexServer/AzureDatabaseForMySQL diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md index 480a60767c99..235ecd0f2900 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md @@ -45,7 +45,7 @@ New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $date -Inter R/2021-03-03T12:49:55+05:30/PT4H ``` -This command creates an hourly schedule for Azure Backup Rule. +This command creates an hourly scheudle for Azure Backup Rule. ## PARAMETERS diff --git a/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md index 768959946104..92d5ce128173 100644 --- a/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md @@ -203,13 +203,13 @@ $restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxx ``` The first, second commands fetch the instance and recovery point for the instance. -The third and fourth command initializes the target container id and target storage account ARM id. +The third and fourthcommand initializes the target container id and target storage account ARM id. The fifth command initializes the restore request object for AzureDatabaseForPGFlexServer restore. This example also works for datasource type AzureDatabaseForMySQL. The sixth command assigns the permissions to the backup vault and other permissions necessary for triggering the restore for AzureDatabaseForPGFlexServer. The last command triggers the restore for AzureDatabaseForPGFlexServer. -### Example 10: Trigger vaulted backup containers ItemLevelRestore with PrefixMatch for Azureblob. +### Example 10: Trigger vaulted backup conatiners ItemLevelRestore with PrefixMatch for Azureblob. ```powershell $instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where-Object { $_.Name -match "storageAcountName" } $rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name @@ -227,7 +227,7 @@ $restoreJobILR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xx The first, second commands fetch the instance and recovery point for the instance. The third command fetches the containers which are protected with vaulted policy. The fourth command initializes the prefix array for each container. -PrefixMatch is a hashtable where each key is the container name being restored and the value is a list of string prfixes for container names for Item level recovery. +PrefixMatch is a hashtable where each key is the conatiner name being restored and the value is a list of string prfixes for container names for Item level recovery. The fifth command initializes the target storage account Id. The sixth command initializes the restore request object for AzureBlob restore with parameters ContainersList, PrefixMatch. The seventh command triggers validate before restore. diff --git a/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md b/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md index 4ed320eea8db..af2d7fb20f3d 100644 --- a/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md +++ b/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md @@ -36,7 +36,7 @@ $softDeletedBI = Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupNam Undo-AzDataProtectionBackupInstanceDeletion -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -BackupInstanceName $softDeletedBI[0].Name ``` -The first command is used to fetch the backup instances which are in soft deleted for a give backup vault. +The first comamnd is used to fetch the backup instances which are in soft deleted for a give backup vault. The second command undeletes the backup instance to enable the protection again, revert the soft deleted state. ## PARAMETERS diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstance.md index 74a623610982..500bc8a08b2a 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstance.md @@ -47,7 +47,7 @@ First command fetch the backup instance which needs to be updated. Second command gets the backup policy with name vaulted-policy which need to be updated in Backup Instance. Third command fetches the list of vaulted containers which are currently backed up in the backup vault. Fourth command update the backup instance with new policy and new list of container (which is currently a subset of the existing backed up containers). -Fifth and sixth command shows the updated policy and containers list in the backup instance. +Fifth and sixth command shows the updated policy and containers list in the backu instance. ### Example 2: Update UAMI in Backup Instance ```powershell diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md index f06848f91e70..58d08c80baef 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md @@ -117,8 +117,8 @@ Name Location Type IdentityType vaultName southeastasia Microsoft.DataProtection/backupVaults UserAssigned ``` -This command is used to change CmkIdentityType from SystemAssigned to UserAssigned. -CmkIdentityId is a required parameter. +This command is used to change CmkIdentityType from SystemAssigned to UserAssgined. +CmkIdenityId is a required parameter. ### Example 6: Update vault to assign a User Assigned Managed Identity (UAMI) ```powershell diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md index 7e3e789adeb0..975f49335bf0 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md @@ -38,7 +38,7 @@ ETag Id ``` The first command is used to fetch the resource guard to be updated. -The second and third command is used to fetch the critical operations user want to update. +The second and third command is used to fecth the critical operations user want to update. The fourth command is used to exclude some critical operations from the resource guard