Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -1,14 +1,40 @@
# Release History

## 1.6.0-beta.1 (Unreleased)
## 1.6.0-beta.1 (2026-04-01)
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

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

The top CHANGELOG entry is marked with a release date (2026-04-01). For an unreleased SDK generation PR, this section should remain "(Unreleased)" until the package is actually released, to match the repo’s management library CHANGELOG convention (e.g., sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md keeps the latest version as "(Unreleased)").

Suggested change
## 1.6.0-beta.1 (2026-04-01)
## 1.6.0-beta.1 (Unreleased)

Copilot uses AI. Check for mistakes.

- Azure Resource Manager Data Protection client library for Java. This package contains Microsoft Azure SDK for Data Protection Management SDK. Open API 2.0 Specs for Azure Data Protection service. Package api-version 2026-03-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

### Breaking Changes
* `models.DeletedBackupVault` was added

* `models.BlobBackupRuleMode` was added

* `models.DeletedBackupVaultResource` was added
Comment on lines 7 to +13
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

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

The 1.6.0-beta.1 section no longer includes the standard empty subsections (Breaking Changes / Bugs Fixed / Other Changes). Most management library CHANGELOGs keep these headings under the current Unreleased version to preserve a consistent structure for release notes tooling and reviews.

Copilot uses AI. Check for mistakes.

* `models.DeletedBackupVaults` was added

* `models.BlobBackupRuleBasedAutoProtectionSettings` was added

* `models.BlobBackupPatternType` was added

* `models.BlobBackupAutoProtectionSettings` was added

### Bugs Fixed
* `models.AdlsBlobBackupDatasourceParametersForAutoProtection` was added

* `models.BlobBackupAutoProtectionRule` was added

* `models.ResourceDeletionInfo` was added

* `models.BlobBackupDatasourceParametersForAutoProtection` was added

#### `models.BackupVaultResource$Definition` was modified

* `withXMsDeletedVaultId(java.lang.String)` was added

#### `DataProtectionManager` was modified

### Other Changes
* `deletedBackupVaults()` was added

## 1.5.0 (2025-10-13)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Data Protection client library for Java.

This package contains Microsoft Azure SDK for Data Protection Management SDK. Open API 2.0 Specs for Azure Data Protection service. Package api-version 2025-07-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for Data Protection Management SDK. Open API 2.0 Specs for Azure Data Protection service. Package api-version 2026-03-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-dataprotection</artifactId>
<version>1.5.0</version>
<version>1.6.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
395 changes: 309 additions & 86 deletions sdk/dataprotection/azure-resourcemanager-dataprotection/SAMPLE.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.azure</groupId>
Expand All @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Data Protection Management</name>
<description>This package contains Microsoft Azure SDK for Data Protection Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure Data Protection service. Package api-version 2025-07-01.</description>
<description>This package contains Microsoft Azure SDK for Data Protection Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure Data Protection service. Package api-version 2026-03-01.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import com.azure.resourcemanager.dataprotection.implementation.DataProtectionOperationsImpl;
import com.azure.resourcemanager.dataprotection.implementation.DataProtectionsImpl;
import com.azure.resourcemanager.dataprotection.implementation.DeletedBackupInstancesImpl;
import com.azure.resourcemanager.dataprotection.implementation.DeletedBackupVaultsImpl;
import com.azure.resourcemanager.dataprotection.implementation.DppResourceGuardProxiesImpl;
import com.azure.resourcemanager.dataprotection.implementation.ExportJobsImpl;
import com.azure.resourcemanager.dataprotection.implementation.ExportJobsOperationResultsImpl;
Expand All @@ -56,6 +57,7 @@
import com.azure.resourcemanager.dataprotection.models.DataProtectionOperations;
import com.azure.resourcemanager.dataprotection.models.DataProtections;
import com.azure.resourcemanager.dataprotection.models.DeletedBackupInstances;
import com.azure.resourcemanager.dataprotection.models.DeletedBackupVaults;
import com.azure.resourcemanager.dataprotection.models.DppResourceGuardProxies;
import com.azure.resourcemanager.dataprotection.models.ExportJobs;
import com.azure.resourcemanager.dataprotection.models.ExportJobsOperationResults;
Expand Down Expand Up @@ -89,6 +91,8 @@ public final class DataProtectionManager {

private BackupVaultOperationResults backupVaultOperationResults;

private DeletedBackupVaults deletedBackupVaults;

private ResourceGuards resourceGuards;

private BackupVaults backupVaults;
Expand Down Expand Up @@ -380,6 +384,18 @@ public BackupVaultOperationResults backupVaultOperationResults() {
return backupVaultOperationResults;
}

/**
* Gets the resource collection API of DeletedBackupVaults.
*
* @return Resource collection API of DeletedBackupVaults.
*/
public DeletedBackupVaults deletedBackupVaults() {
if (this.deletedBackupVaults == null) {
this.deletedBackupVaults = new DeletedBackupVaultsImpl(clientObject.getDeletedBackupVaults(), this);
}
return deletedBackupVaults;
}

/**
* Gets the resource collection API of ResourceGuards. It manages ResourceGuardResource.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Response<BackupVaultResourceInner> getByResourceGroupWithResponse(String resourc
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the BackupVaultResource.
* @param parameters Request body for operation.
* @param xMsDeletedVaultId The ID of the deleted backup vault to restore from during undelete flow.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
Expand All @@ -77,7 +78,8 @@ Response<BackupVaultResourceInner> getByResourceGroupWithResponse(String resourc
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<BackupVaultResourceInner>, BackupVaultResourceInner> beginCreateOrUpdate(
String resourceGroupName, String vaultName, BackupVaultResourceInner parameters, Context context);
String resourceGroupName, String vaultName, BackupVaultResourceInner parameters, String xMsDeletedVaultId,
Context context);

/**
* Creates or updates a BackupVault resource belonging to a resource group.
Expand All @@ -100,6 +102,7 @@ BackupVaultResourceInner createOrUpdate(String resourceGroupName, String vaultNa
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the BackupVaultResource.
* @param parameters Request body for operation.
* @param xMsDeletedVaultId The ID of the deleted backup vault to restore from during undelete flow.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
Expand All @@ -108,7 +111,7 @@ BackupVaultResourceInner createOrUpdate(String resourceGroupName, String vaultNa
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BackupVaultResourceInner createOrUpdate(String resourceGroupName, String vaultName,
BackupVaultResourceInner parameters, Context context);
BackupVaultResourceInner parameters, String xMsDeletedVaultId, Context context);

/**
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ public interface DataProtectionManagementClient {
*/
BackupVaultOperationResultsClient getBackupVaultOperationResults();

/**
* Gets the DeletedBackupVaultsClient object to access its operations.
*
* @return the DeletedBackupVaultsClient object.
*/
DeletedBackupVaultsClient getDeletedBackupVaults();

/**
* Gets the ResourceGuardsClient object to access its operations.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public interface DataProtectionsClient {
/**
* Validates if a feature is supported.
*
* @param location The location name.
* @param location The name of the Azure region.
* @param parameters The request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -33,7 +33,7 @@ Response<FeatureValidationResponseBaseInner> checkFeatureSupportWithResponse(Str
/**
* Validates if a feature is supported.
*
* @param location The location name.
* @param location The name of the Azure region.
* @param parameters The request body.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package com.azure.resourcemanager.dataprotection.fluent;

import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.dataprotection.fluent.models.DeletedBackupVaultResourceInner;

/**
* An instance of this class provides access to all the operations defined in DeletedBackupVaultsClient.
*/
public interface DeletedBackupVaultsClient {
/**
* Gets a deleted backup vault.
*
* @param location The name of the Azure region.
* @param deletedVaultName The name of the DeletedBackupVaultResource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a deleted backup vault along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<DeletedBackupVaultResourceInner> getWithResponse(String location, String deletedVaultName,
Context context);

/**
* Gets a deleted backup vault.
*
* @param location The name of the Azure region.
* @param deletedVaultName The name of the DeletedBackupVaultResource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a deleted backup vault.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DeletedBackupVaultResourceInner get(String location, String deletedVaultName);

/**
* Lists deleted backup vaults by location.
*
* @param location The name of the Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a DeletedBackupVaultResource list operation as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<DeletedBackupVaultResourceInner> listByLocation(String location);

/**
* Lists deleted backup vaults by location.
*
* @param location The name of the Azure region.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a DeletedBackupVaultResource list operation as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<DeletedBackupVaultResourceInner> listByLocation(String location, Context context);
}
Loading