Skip to content

Commit ac7f62f

Browse files
author
SDKAuto
committed
CodeGen from PR 30296 in Azure/azure-rest-api-specs
Merge 115069d2f85f81c78c8104fdcf1f74929ab1b717 into 8eb3f7a4f66d408152c32b9d647e59147172d533
1 parent 656cfa9 commit ac7f62f

File tree

128 files changed

+2939
-2677
lines changed

Some content is hidden

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

128 files changed

+2939
-2677
lines changed

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

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

3-
## 1.2.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.1 (2025-04-01)
44

5-
### Features Added
5+
- Azure Resource Manager ElasticSan client library for Java. This package contains Microsoft Azure SDK for ElasticSan Management SDK. Package tag package-2024-07-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
### Breaking Changes
88

9-
### Bugs Fixed
9+
#### `models.VolumeGroups` was modified
10+
11+
* `listByElasticSan(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
12+
13+
#### `models.Volumes` was modified
14+
15+
* `deleteByIdWithResponse(java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,com.azure.core.util.Context)` was removed
16+
* `delete(java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,com.azure.core.util.Context)` was removed
17+
* `listByVolumeGroup(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
18+
19+
### Features Added
20+
21+
* `models.PreValidationResponse` was added
22+
23+
* `models.PolicyState` was added
24+
25+
* `models.AutoScaleProperties` was added
26+
27+
* `models.XMsAccessSoftDeletedResources` was added
28+
29+
* `models.DiskSnapshotList` was added
30+
31+
* `models.VolumeNameList` was added
32+
33+
* `models.DeleteRetentionPolicy` was added
34+
35+
* `models.AutoScalePolicyEnforcement` was added
36+
37+
* `models.DeleteType` was added
38+
39+
* `models.ScaleUpProperties` was added
40+
41+
* `models.ResourceProviders` was added
42+
43+
#### `models.ElasticSanUpdate` was modified
44+
45+
* `autoScaleProperties()` was added
46+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
47+
48+
#### `models.VolumeGroup$Update` was modified
49+
50+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
51+
52+
#### `models.VolumeGroups` was modified
53+
54+
* `listByElasticSan(java.lang.String,java.lang.String,models.XMsAccessSoftDeletedResources,com.azure.core.util.Context)` was added
55+
56+
#### `models.ElasticSan` was modified
57+
58+
* `autoScaleProperties()` was added
59+
60+
#### `models.VolumeGroupUpdate` was modified
61+
62+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
63+
* `deleteRetentionPolicy()` was added
64+
65+
#### `models.Volumes` was modified
66+
67+
* `preRestore(java.lang.String,java.lang.String,java.lang.String,models.DiskSnapshotList)` was added
68+
* `deleteByIdWithResponse(java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,models.DeleteType,com.azure.core.util.Context)` was added
69+
* `preBackup(java.lang.String,java.lang.String,java.lang.String,models.VolumeNameList)` was added
70+
* `delete(java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,models.DeleteType,com.azure.core.util.Context)` was added
71+
* `listByVolumeGroup(java.lang.String,java.lang.String,java.lang.String,models.XMsAccessSoftDeletedResources,com.azure.core.util.Context)` was added
72+
* `preRestore(java.lang.String,java.lang.String,java.lang.String,models.DiskSnapshotList,com.azure.core.util.Context)` was added
73+
* `preBackup(java.lang.String,java.lang.String,java.lang.String,models.VolumeNameList,com.azure.core.util.Context)` was added
74+
75+
#### `ElasticSanManager` was modified
76+
77+
* `resourceProviders()` was added
78+
79+
#### `models.ElasticSan$Definition` was modified
80+
81+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
82+
83+
#### `models.ElasticSan$Update` was modified
84+
85+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
86+
87+
#### `models.VolumeGroup$Definition` was modified
88+
89+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
90+
91+
#### `models.VolumeGroup` was modified
1092

11-
### Other Changes
93+
* `deleteRetentionPolicy()` was added
1294

1395
## 1.2.0-beta.1 (2024-10-23)
1496

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

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

33
Azure Resource Manager ElasticSan client library for Java.
44

5-
This package contains Microsoft Azure SDK for ElasticSan Management SDK. Package tag package-preview-2024-06. 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 ElasticSan Management SDK. Package tag package-2024-07-01-preview. 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

@@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
5252
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5353

5454
```java
55-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
55+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5656
TokenCredential credential = new DefaultAzureCredentialBuilder()
5757
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
5858
.build();
5959
ElasticSanManager manager = ElasticSanManager
6060
.authenticate(credential, profile);
6161
```
6262

63-
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
63+
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
6464

6565
See [Authentication][authenticate] for more options.
6666

@@ -110,5 +110,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
110110
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
111111
[coc]: https://opensource.microsoft.com/codeofconduct/
112112
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
113-
114-

0 commit comments

Comments
 (0)