Skip to content

Added support for DPP vault soft delete feature#29064

Merged
vidai-msft merged 5 commits intoAzure:mainfrom
MabOneSdk:hiaga/dppvsd
Jan 27, 2026
Merged

Added support for DPP vault soft delete feature#29064
vidai-msft merged 5 commits intoAzure:mainfrom
MabOneSdk:hiaga/dppvsd

Conversation

@hiaga
Copy link
Copy Markdown
Member

@hiaga hiaga commented Jan 15, 2026

Description

Added support for DPP vault soft delete feature

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 AI review requested due to automatic review settings January 15, 2026 14:13
@azure-client-tools-bot-prd
Copy link
Copy Markdown

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

Copy link
Copy Markdown
Contributor

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 pull request adds support for the DPP (Data Protection Platform) vault soft delete feature by upgrading the API version from 2025-02-01 to 2025-09-01 and introducing three new cmdlets for managing soft-deleted backup vaults.

Changes:

  • Upgraded API version from 2025-02-01 to 2025-09-01 across all DataProtection cmdlets
  • Added three new cmdlets: Get-AzDataProtectionSoftDeletedBackupVault, Undo-AzDataProtectionVaultDeletion, and Search-AzDataProtectionSoftDeletedVaultBackupInstanceInAzGraph
  • Updated help documentation, examples, and test files for the new functionality
  • Modified existing tests to reflect soft delete behavior changes

Reviewed changes

Copilot reviewed 157 out of 168 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Az.DataProtection.psd1 Updated module metadata, Az.Accounts dependency, and exported functions list
ChangeLog.md Missing entry for the upcoming release documenting vault soft delete feature
Help/*.md Updated API version references from 2025-02-01 to 2025-09-01 in output types
Undo-AzDataProtectionVaultDeletion.md New comprehensive help documentation for vault undeletion cmdlet
Get-AzDataProtectionSoftDeletedBackupVault.md New help documentation for retrieving soft-deleted vaults
Search-AzDataProtectionSoftDeletedVaultBackupInstanceInAzGraph.md New help for searching soft-deleted backup instances
Test files Added new test files and updated existing tests for soft delete scenarios
Examples/*.md Added example documentation for new cmdlets
DataProtection.sln Updated project GUID reference
utils.ps1 Updated test environment configuration with new subscription IDs and resource details

@isra-fel
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@hiaga hiaga added this to the Az 15.3.0 (02/03/2026) milestone Jan 17, 2026
Copy link
Copy Markdown
Contributor

@vidai-msft vidai-msft left a comment

Choose a reason for hiding this comment

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

Is it possible to add test cases for Get-AzDataProtectionSoftDeletedBackupVault and Search-AzDataProtectionSoftDeletedVaultBackupInstanceInAzGraph?

@vidai-msft
Copy link
Copy Markdown
Contributor

@hiaga Please also fix the CI issues.

@vidai-msft vidai-msft removed their assignment Jan 20, 2026
@github-actions
Copy link
Copy Markdown

This PR was labeled "needs-revision" because it has unresolved review comments or CI failures.
Please resolve all open review comments and make sure all CI checks are green. Refer to our guide to troubleshoot common CI failures.

@hiaga
Copy link
Copy Markdown
Member Author

hiaga commented Jan 23, 2026

Is it possible to add test cases for Get-AzDataProtectionSoftDeletedBackupVault and Search-AzDataProtectionSoftDeletedVaultBackupInstanceInAzGraph?

have added as part of test case for Undo-AzDataProtectionVaultDeletion cmdlet

@isra-fel
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@vidai-msft
Copy link
Copy Markdown
Contributor

vidai-msft commented Jan 24, 2026

@hiaga Please fix the CI failure before code complete (Jan 27) if you are planning to release in this sprint.

Copilot AI review requested due to automatic review settings January 26, 2026 10:51
Copy link
Copy Markdown
Contributor

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

Copilot reviewed 157 out of 168 changed files in this pull request and generated no new comments.

@isra-fel
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@hiaga
Copy link
Copy Markdown
Member Author

hiaga commented Jan 26, 2026

@hiaga Please fix the CI failure before code complete (Jan 27) if you are planning to release in this sprint.

Hi @vidai-msft , @isra-fel I've re-recorded all tests and resolved CI failures. Please review! we need to get this merged in the current sprint.

Not sure why Test Linux, test macOS are failing

@vidai-msft
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@vidai-msft
Copy link
Copy Markdown
Contributor

@hiaga The problem is Get-TimeZone is only available on Windows platform. Please update the test case.

@hiaga
Copy link
Copy Markdown
Member Author

hiaga commented Jan 27, 2026

@hiaga The problem is Get-TimeZone is only available on Windows platform. Please update the test case.

Hi @vidai-msft updated the test case

@isra-fel
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Copy Markdown
Contributor

@vidai-msft vidai-msft left a comment

Choose a reason for hiding this comment

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

LGTM

@vidai-msft vidai-msft merged commit 985755a into Azure:main Jan 27, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants