Skip to content

Conversation

IannGeorges
Copy link
Member

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

@Copilot Copilot AI review requested due to automatic review settings September 24, 2025 01:29
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the Azure Data Protection module to support Azure Data Lake Storage (ADLS) backup functionality and adds container renaming capabilities for alternate location item-level recovery. The changes also upgrade the API version from 2025-01-01 to 2025-07-01 throughout the module.

Key changes:

  • Adds ADLS Gen2 support as a new datasource type alongside existing blob storage backup
  • Introduces container renaming functionality (RenameTo parameter) for alternate location restores
  • Updates API version references throughout the codebase and documentation

Reviewed Changes

Copilot reviewed 121 out of 121 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
Az.DataProtection.psd1 Updates module dependencies and generated metadata
DataProtection.sln Updates project GUID reference
Enums.cs Adds AzureDataLakeStorage to supported datasource types
Various help files Updates API version references and adds ADLS support documentation
Test files Adds comprehensive ADLS backup/restore tests and container renaming validation
Manifest files Adds ADLS configuration and enables container renaming for blob storage
Custom cmdlets Updates type references and adds ADLS support throughout

$vault = Get-AzDataProtectionBackupVault -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName

$instance = Get-AzDataProtectionBackupInstance -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName | Where-Object { $_.Name -match $storageAcountName }
$instance = Get-AzDataProtectionBackupInstance -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName | Where-Object { $_.Name -match $storageAccountName }
Copy link
Preview

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

Variable name $storageAcountName is misspelled as $storageAccountName in the corrected line, but the original variable was consistently misspelled. This creates an inconsistency where the variable is defined as $storageAcountName but referenced as $storageAccountName.

Copilot uses AI. Check for mistakes.

### -IdentityType
This parameter is no longer in use and will be depricated
This parameter is no longer in use and will be deprecated
Copy link
Preview

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

Fixed spelling from 'depricated' to 'deprecated'.

Copilot uses AI. Check for mistakes.

### -IdentityType
This parameter is no longer in use and will be depricated
This parameter is no longer in use and will be deprecated
Copy link
Preview

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

Fixed spelling from 'depricated' to 'deprecated'.

Copilot uses AI. Check for mistakes.

### -IntervalType
Freuquency of the backup.
Frequency of the backup.
Copy link
Preview

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

Fixed spelling from 'Freuquency' to 'Frequency'.

Copilot uses AI. Check for mistakes.


### -BackupInstance
Backup Instance object to trigger original localtion restore.
Backup Instance object to trigger original location restore.
Copy link
Preview

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

Fixed spelling from 'original localtion' to 'original location'.

Copilot uses AI. Check for mistakes.

### -PolicyId
Policy Id to be assiciated to Datasource
Policy Id to be associated to Datasource
Copy link
Preview

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

Fixed spelling from 'assiciated' to 'associated' and 'Sanpshot' to 'Snapshot'.

Copilot uses AI. Check for mistakes.

### -SnapshotResourceGroupId
Sanpshot Resource Group
Snapshot Resource Group
Copy link
Preview

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

Fixed spelling from 'assiciated' to 'associated' and 'Sanpshot' to 'Snapshot'.

Copilot uses AI. Check for mistakes.

@isra-fel
Copy link
Member

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@VeryEarly VeryEarly self-assigned this Sep 25, 2025
Copy link
Collaborator

@VeryEarly VeryEarly left a comment

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants