Skip to content

Commit 9af1d2e

Browse files
author
SDKAuto
committed
CodeGen from PR 30296 in Azure/azure-rest-api-specs
Merge 9a5a2cc8df3e48e72ebfa65dbccff1b222a0de47 into 28a163a3b110ac1d7002449ee2d04553c725ec0d
1 parent 21e78f6 commit 9af1d2e

File tree

121 files changed

+1733
-2709
lines changed

Some content is hidden

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

121 files changed

+1733
-2709
lines changed

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

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

3-
## 1.2.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.1 (2025-03-11)
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+
* `deleteByIdWithResponse(java.lang.String,com.azure.core.util.Context)` was removed
13+
* `delete(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
14+
15+
#### `models.Volumes` was modified
16+
17+
* `listByVolumeGroup(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
18+
* `delete(java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,com.azure.core.util.Context)` was removed
19+
* `deleteByIdWithResponse(java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,com.azure.core.util.Context)` was removed
20+
21+
### Features Added
22+
23+
* `models.PolicyState` was added
24+
25+
* `models.AutoScaleProperties` was added
26+
27+
* `models.XMsAccessSoftDeletedResources` was added
28+
29+
* `models.DeleteRetentionPolicy` was added
30+
31+
* `models.AutoScalePolicyEnforcement` was added
32+
33+
* `models.DeleteType` was added
34+
35+
* `models.ScaleUpProperties` was added
36+
37+
* `models.ResourceProviders` was added
38+
39+
#### `models.ElasticSanUpdate` was modified
40+
41+
* `autoScaleProperties()` was added
42+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
43+
44+
#### `models.VolumeGroup$Update` was modified
45+
46+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
47+
48+
#### `models.VolumeGroups` was modified
49+
50+
* `listByElasticSan(java.lang.String,java.lang.String,models.XMsAccessSoftDeletedResources,com.azure.core.util.Context)` was added
51+
* `deleteByIdWithResponse(java.lang.String,models.DeleteType,com.azure.core.util.Context)` was added
52+
* `delete(java.lang.String,java.lang.String,java.lang.String,models.DeleteType,com.azure.core.util.Context)` was added
53+
54+
#### `models.ElasticSan` was modified
55+
56+
* `autoScaleProperties()` was added
57+
58+
#### `models.VolumeGroupUpdate` was modified
59+
60+
* `deleteRetentionPolicy()` was added
61+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
62+
63+
#### `models.Volumes` was modified
64+
65+
* `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
66+
* `listByVolumeGroup(java.lang.String,java.lang.String,java.lang.String,models.XMsAccessSoftDeletedResources,com.azure.core.util.Context)` was added
67+
* `deleteByIdWithResponse(java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,models.DeleteType,com.azure.core.util.Context)` was added
68+
69+
#### `ElasticSanManager` was modified
70+
71+
* `resourceProviders()` was added
72+
73+
#### `models.ElasticSan$Definition` was modified
74+
75+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
76+
77+
#### `models.ElasticSan$Update` was modified
78+
79+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
80+
81+
#### `models.VolumeGroup$Definition` was modified
82+
83+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
84+
85+
#### `models.VolumeGroup` was modified
1086

11-
### Other Changes
87+
* `deleteRetentionPolicy()` was added
1288

1389
## 1.2.0-beta.1 (2024-10-23)
1490

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)