Skip to content

Commit 8b67905

Browse files
author
SDKAuto
committed
CodeGen from PR 31689 in Azure/azure-rest-api-specs
Merge 589757c2b1e1df20b04655bd928874b5b5990605 into 7a3f210cf6924c6139e2493f5fd0625919af1f32
1 parent 19531d0 commit 8b67905

File tree

329 files changed

+1492
-7423
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+1492
-7423
lines changed

sdk/dataprotection/azure-resourcemanager-dataprotection/CHANGELOG.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
11
# Release History
22

3-
## 1.4.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2025-01-28)
4+
5+
- 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).
46

57
### Features Added
68

7-
### Breaking Changes
9+
* `models.AksVolumeTypes` was added
10+
11+
* `models.ValidateForModifyBackupRequest` was added
12+
13+
#### `models.BackupInstanceResource` was modified
814

9-
### Bugs Fixed
15+
* `validateForModifyBackup(models.ValidateForModifyBackupRequest,com.azure.core.util.Context)` was added
16+
* `validateForModifyBackup(models.ValidateForModifyBackupRequest)` was added
17+
18+
#### `models.KubernetesClusterBackupDatasourceParameters` was modified
19+
20+
* `includedVolumeTypes()` was added
21+
* `withIncludedVolumeTypes(java.util.List)` was added
22+
23+
#### `models.BackupInstances` was modified
1024

11-
### Other Changes
25+
* `validateForModifyBackup(java.lang.String,java.lang.String,java.lang.String,models.ValidateForModifyBackupRequest,com.azure.core.util.Context)` was added
26+
* `validateForModifyBackup(java.lang.String,java.lang.String,java.lang.String,models.ValidateForModifyBackupRequest)` was added
1227

1328
## 1.3.0 (2024-07-22)
1429

sdk/dataprotection/azure-resourcemanager-dataprotection/README.md

Lines changed: 20 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager DataProtection client library for Java.
44

5-
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).
5+
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).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-dataprotection</artifactId>
35-
<version>1.3.0</version>
35+
<version>1.4.0-beta.1</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -71,39 +71,24 @@ See [API design][design] for general introduction on design and key concepts on
7171
## Examples
7272

7373
```java
74-
resource = dataProtectionManager
75-
.backupVaults()
76-
.define(vaultName)
77-
.withRegion(REGION)
78-
.withExistingResourceGroup(resourceGroupName)
79-
.withProperties(
80-
new BackupVault()
81-
.withMonitoringSettings(
82-
new MonitoringSettings()
83-
.withAzureMonitorAlertSettings(
84-
new AzureMonitorAlertSettings()
85-
.withAlertsForAllJobFailures(AlertsState.ENABLED)))
86-
.withSecuritySettings(
87-
new SecuritySettings()
88-
.withSoftDeleteSettings(
89-
new SoftDeleteSettings()
90-
.withState(SoftDeleteState.ALWAYS_ON)
91-
.withRetentionDurationInDays(14.0D))
92-
.withImmutabilitySettings(
93-
new ImmutabilitySettings()
94-
.withState(ImmutabilityState.LOCKED)))
95-
.withStorageSettings(
96-
Collections.singletonList(
97-
new StorageSetting()
98-
.withDatastoreType(StorageSettingStoreTypes.VAULT_STORE)
99-
.withType(StorageSettingTypes.LOCALLY_REDUNDANT)))
100-
.withFeatureSettings(
101-
new FeatureSettings()
102-
.withCrossSubscriptionRestoreSettings(
103-
new CrossSubscriptionRestoreSettings()
104-
.withState(CrossSubscriptionRestoreState.ENABLED))))
105-
.withIdentity(new DppIdentityDetails().withType("systemAssigned"))
106-
.create();
74+
resource = dataProtectionManager.backupVaults()
75+
.define(vaultName)
76+
.withRegion(REGION)
77+
.withExistingResourceGroup(resourceGroupName)
78+
.withProperties(new BackupVault()
79+
.withMonitoringSettings(new MonitoringSettings().withAzureMonitorAlertSettings(
80+
new AzureMonitorAlertSettings().withAlertsForAllJobFailures(AlertsState.ENABLED)))
81+
.withSecuritySettings(new SecuritySettings()
82+
.withSoftDeleteSettings(new SoftDeleteSettings().withState(SoftDeleteState.ALWAYS_ON)
83+
.withRetentionDurationInDays(14.0D))
84+
.withImmutabilitySettings(new ImmutabilitySettings().withState(ImmutabilityState.LOCKED)))
85+
.withStorageSettings(Collections
86+
.singletonList(new StorageSetting().withDatastoreType(StorageSettingStoreTypes.VAULT_STORE)
87+
.withType(StorageSettingTypes.LOCALLY_REDUNDANT)))
88+
.withFeatureSettings(new FeatureSettings().withCrossSubscriptionRestoreSettings(
89+
new CrossSubscriptionRestoreSettings().withState(CrossSubscriptionRestoreState.ENABLED))))
90+
.withIdentity(new DppIdentityDetails().withType("systemAssigned"))
91+
.create();
10792
```
10893
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/dataprotection/azure-resourcemanager-dataprotection/SAMPLE.md)
10994

0 commit comments

Comments
 (0)