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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
# Release History

## 1.4.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2025-01-28)

- Azure Resource Manager DataProtection client library for Java. This package contains Microsoft Azure SDK for DataProtection Management SDK. Open API 2.0 Specs for Azure Data Protection service. Package tag package-2025-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.AksVolumeTypes` was added

* `models.ValidateForModifyBackupRequest` was added

#### `models.BackupInstanceResource` was modified

### Bugs Fixed
* `validateForModifyBackup(models.ValidateForModifyBackupRequest,com.azure.core.util.Context)` was added
* `validateForModifyBackup(models.ValidateForModifyBackupRequest)` was added

#### `models.KubernetesClusterBackupDatasourceParameters` was modified

* `includedVolumeTypes()` was added
* `withIncludedVolumeTypes(java.util.List)` was added

#### `models.BackupInstances` was modified

### Other Changes
* `validateForModifyBackup(java.lang.String,java.lang.String,java.lang.String,models.ValidateForModifyBackupRequest,com.azure.core.util.Context)` was added
* `validateForModifyBackup(java.lang.String,java.lang.String,java.lang.String,models.ValidateForModifyBackupRequest)` was added

## 1.3.0 (2024-07-22)

Expand Down
55 changes: 20 additions & 35 deletions sdk/dataprotection/azure-resourcemanager-dataprotection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager DataProtection client library for Java.

This package contains Microsoft Azure SDK for DataProtection Management SDK. Open API 2.0 Specs for Azure Data Protection service. Package tag package-2024-04. 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 DataProtection Management SDK. Open API 2.0 Specs for Azure Data Protection service. Package tag package-2025-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.3.0</version>
<version>1.4.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -71,39 +71,24 @@ See [API design][design] for general introduction on design and key concepts on
## Examples

```java
resource = dataProtectionManager
.backupVaults()
.define(vaultName)
.withRegion(REGION)
.withExistingResourceGroup(resourceGroupName)
.withProperties(
new BackupVault()
.withMonitoringSettings(
new MonitoringSettings()
.withAzureMonitorAlertSettings(
new AzureMonitorAlertSettings()
.withAlertsForAllJobFailures(AlertsState.ENABLED)))
.withSecuritySettings(
new SecuritySettings()
.withSoftDeleteSettings(
new SoftDeleteSettings()
.withState(SoftDeleteState.ALWAYS_ON)
.withRetentionDurationInDays(14.0D))
.withImmutabilitySettings(
new ImmutabilitySettings()
.withState(ImmutabilityState.LOCKED)))
.withStorageSettings(
Collections.singletonList(
new StorageSetting()
.withDatastoreType(StorageSettingStoreTypes.VAULT_STORE)
.withType(StorageSettingTypes.LOCALLY_REDUNDANT)))
.withFeatureSettings(
new FeatureSettings()
.withCrossSubscriptionRestoreSettings(
new CrossSubscriptionRestoreSettings()
.withState(CrossSubscriptionRestoreState.ENABLED))))
.withIdentity(new DppIdentityDetails().withType("systemAssigned"))
.create();
resource = dataProtectionManager.backupVaults()
.define(vaultName)
.withRegion(REGION)
.withExistingResourceGroup(resourceGroupName)
.withProperties(new BackupVault()
.withMonitoringSettings(new MonitoringSettings().withAzureMonitorAlertSettings(
new AzureMonitorAlertSettings().withAlertsForAllJobFailures(AlertsState.ENABLED)))
.withSecuritySettings(new SecuritySettings()
.withSoftDeleteSettings(new SoftDeleteSettings().withState(SoftDeleteState.ALWAYS_ON)
.withRetentionDurationInDays(14.0D))
.withImmutabilitySettings(new ImmutabilitySettings().withState(ImmutabilityState.LOCKED)))
.withStorageSettings(Collections
.singletonList(new StorageSetting().withDatastoreType(StorageSettingStoreTypes.VAULT_STORE)
.withType(StorageSettingTypes.LOCALLY_REDUNDANT)))
.withFeatureSettings(new FeatureSettings().withCrossSubscriptionRestoreSettings(
new CrossSubscriptionRestoreSettings().withState(CrossSubscriptionRestoreState.ENABLED))))
.withIdentity(new DppIdentityDetails().withType("systemAssigned"))
.create();
```
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/dataprotection/azure-resourcemanager-dataprotection/SAMPLE.md)

Expand Down
Loading
Loading