Skip to content

Commit 1b563cb

Browse files
author
SDKAuto
committed
CodeGen from PR 30296 in Azure/azure-rest-api-specs
Merge 618b9b6f6bd7f4764878340afe9fb2c64e9e9338 into 85dbdf68f1c3e1693bd94eff5e8a869f1a07ed78
1 parent c597902 commit 1b563cb

File tree

121 files changed

+1613
-2678
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

+1613
-2678
lines changed

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

Lines changed: 76 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,86 @@
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+
13+
#### `models.Volumes` was modified
14+
15+
* `delete(java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,com.azure.core.util.Context)` was removed
16+
* `deleteByIdWithResponse(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.PolicyState` was added
22+
23+
* `models.AutoScaleProperties` was added
24+
25+
* `models.XMsAccessSoftDeletedResources` was added
26+
27+
* `models.DeleteRetentionPolicy` was added
28+
29+
* `models.AutoScalePolicyEnforcement` was added
30+
31+
* `models.DeleteType` was added
32+
33+
* `models.ScaleUpProperties` was added
34+
35+
* `models.ResourceProviders` was added
36+
37+
#### `models.ElasticSanUpdate` was modified
38+
39+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
40+
* `autoScaleProperties()` was added
41+
42+
#### `models.VolumeGroup$Update` was modified
43+
44+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
45+
46+
#### `models.VolumeGroups` was modified
47+
48+
* `listByElasticSan(java.lang.String,java.lang.String,models.XMsAccessSoftDeletedResources,com.azure.core.util.Context)` was added
49+
50+
#### `models.ElasticSan` was modified
51+
52+
* `autoScaleProperties()` was added
53+
54+
#### `models.VolumeGroupUpdate` was modified
55+
56+
* `deleteRetentionPolicy()` was added
57+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
58+
59+
#### `models.Volumes` was modified
60+
61+
* `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
62+
* `deleteByIdWithResponse(java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,models.DeleteType,com.azure.core.util.Context)` was added
63+
* `listByVolumeGroup(java.lang.String,java.lang.String,java.lang.String,models.XMsAccessSoftDeletedResources,com.azure.core.util.Context)` was added
64+
65+
#### `ElasticSanManager` was modified
66+
67+
* `resourceProviders()` was added
68+
69+
#### `models.ElasticSan$Definition` was modified
70+
71+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
72+
73+
#### `models.ElasticSan$Update` was modified
74+
75+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
76+
77+
#### `models.VolumeGroup$Definition` was modified
78+
79+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
80+
81+
#### `models.VolumeGroup` was modified
1082

11-
### Other Changes
83+
* `deleteRetentionPolicy()` was added
1284

1385
## 1.2.0-beta.1 (2024-10-23)
1486

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)