Skip to content

Commit 797ec62

Browse files
author
SDKAuto
committed
CodeGen from PR 34078 in Azure/azure-rest-api-specs
Merge ad8f1721b088f966554278cb1a9ec87e5d9d4ca5 into 37a849b656ecfb33424822b9f245aebff2ae994f
1 parent 193adf3 commit 797ec62

File tree

126 files changed

+5172
-6206
lines changed

Some content is hidden

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

126 files changed

+5172
-6206
lines changed

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

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

3-
## 1.2.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.1 (2025-05-12)
44

5-
### Features Added
5+
- Azure Resource Manager ElasticSan client library for Java. This package contains Microsoft Azure SDK for ElasticSan Management SDK. (missing-service-description) Add service description. 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.PrivateLinkResourceListResult` was modified
10+
11+
* `java.lang.String nextLink()` -> `java.lang.String nextLink()`
12+
* `java.util.List value()` -> `java.util.List value()`
13+
* `innerModel()` was removed
14+
15+
#### `models.VolumeGroups` was modified
16+
17+
* `listByElasticSan(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
18+
19+
#### `models.Volumes` was modified
20+
21+
* `delete(java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,com.azure.core.util.Context)` was removed
22+
* `deleteByIdWithResponse(java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,com.azure.core.util.Context)` was removed
23+
* `listByVolumeGroup(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
24+
25+
#### `models.PrivateLinkResources` was modified
26+
27+
* `models.PrivateLinkResourceListResult listByElasticSan(java.lang.String,java.lang.String)` -> `com.azure.core.http.rest.PagedIterable listByElasticSan(java.lang.String,java.lang.String)`
28+
* `listByElasticSanWithResponse(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
29+
30+
#### `models.PrivateLinkResource` was modified
31+
32+
* `validate()` was removed
33+
* `withRequiredZoneNames(java.util.List)` was removed
34+
* `java.util.List requiredMembers()` -> `java.util.List requiredMembers()`
35+
* `java.lang.String type()` -> `java.lang.String type()`
36+
* `com.azure.core.management.SystemData systemData()` -> `com.azure.core.management.SystemData systemData()`
37+
* `java.lang.String groupId()` -> `java.lang.String groupId()`
38+
* `java.util.List requiredZoneNames()` -> `java.util.List requiredZoneNames()`
39+
* `fromJson(com.azure.json.JsonReader)` was removed
40+
* `java.lang.String id()` -> `java.lang.String id()`
41+
* `java.lang.String name()` -> `java.lang.String name()`
42+
* `toJson(com.azure.json.JsonWriter)` was removed
43+
44+
### Features Added
45+
46+
* `models.PreValidationResponse` was added
47+
48+
* `models.PolicyState` was added
49+
50+
* `models.AutoScaleProperties` was added
51+
52+
* `models.XMsAccessSoftDeletedResources` was added
53+
54+
* `models.DiskSnapshotList` was added
55+
56+
* `models.VolumeNameList` was added
57+
58+
* `models.DeleteRetentionPolicy` was added
59+
60+
* `models.AutoScalePolicyEnforcement` was added
61+
62+
* `models.DeleteType` was added
63+
64+
* `models.ScaleUpProperties` was added
65+
66+
* `models.ResourceProviders` was added
67+
68+
#### `models.PrivateLinkResourceListResult` was modified
69+
70+
* `toJson(com.azure.json.JsonWriter)` was added
71+
* `withNextLink(java.lang.String)` was added
72+
* `validate()` was added
73+
* `withValue(java.util.List)` was added
74+
* `fromJson(com.azure.json.JsonReader)` was added
75+
76+
#### `models.ElasticSanUpdate` was modified
77+
78+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
79+
* `autoScaleProperties()` was added
80+
81+
#### `models.SnapshotList` was modified
82+
83+
* `withNextLink(java.lang.String)` was added
84+
85+
#### `models.VolumeGroup$Update` was modified
86+
87+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
88+
89+
#### `models.VolumeGroups` was modified
90+
91+
* `listByElasticSan(java.lang.String,java.lang.String,models.XMsAccessSoftDeletedResources,com.azure.core.util.Context)` was added
92+
93+
#### `models.ElasticSan` was modified
94+
95+
* `autoScaleProperties()` was added
96+
97+
#### `models.SkuInformationList` was modified
98+
99+
* `withNextLink(java.lang.String)` was added
100+
101+
#### `models.VolumeGroupUpdate` was modified
102+
103+
* `deleteRetentionPolicy()` was added
104+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
105+
106+
#### `models.VolumeList` was modified
107+
108+
* `withNextLink(java.lang.String)` was added
109+
110+
#### `models.ElasticSanList` was modified
111+
112+
* `withNextLink(java.lang.String)` was added
113+
114+
#### `models.Volumes` was modified
115+
116+
* `preRestore(java.lang.String,java.lang.String,java.lang.String,models.DiskSnapshotList,com.azure.core.util.Context)` was added
117+
* `preRestore(java.lang.String,java.lang.String,java.lang.String,models.DiskSnapshotList)` was added
118+
* `preBackup(java.lang.String,java.lang.String,java.lang.String,models.VolumeNameList,com.azure.core.util.Context)` was added
119+
* `preBackup(java.lang.String,java.lang.String,java.lang.String,models.VolumeNameList)` was added
120+
* `deleteByIdWithResponse(java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,models.DeleteType,com.azure.core.util.Context)` was added
121+
* `listByVolumeGroup(java.lang.String,java.lang.String,java.lang.String,models.XMsAccessSoftDeletedResources,com.azure.core.util.Context)` was added
122+
* `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
123+
124+
#### `ElasticSanManager` was modified
125+
126+
* `resourceProviders()` was added
127+
128+
#### `models.PrivateLinkResources` was modified
129+
130+
* `listByElasticSan(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
131+
132+
#### `models.PrivateLinkResource` was modified
133+
134+
* `innerModel()` was added
135+
136+
#### `models.Volume$Definition` was modified
137+
138+
* `withStorageTarget(models.IscsiTargetInfo)` was added
139+
140+
#### `models.ElasticSan$Definition` was modified
141+
142+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
143+
144+
#### `models.ElasticSan$Update` was modified
145+
146+
* `withAutoScaleProperties(models.AutoScaleProperties)` was added
147+
148+
#### `models.VolumeGroup$Definition` was modified
149+
150+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
151+
152+
#### `models.VolumeGroupList` was modified
153+
154+
* `withNextLink(java.lang.String)` was added
155+
156+
#### `models.VolumeGroup` was modified
157+
158+
* `deleteRetentionPolicy()` was added
159+
160+
#### `models.PrivateEndpointConnectionListResult` was modified
10161

11-
### Other Changes
162+
* `withNextLink(java.lang.String)` was added
12163

13164
## 1.2.0-beta.2 (2025-04-18)
14165

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

Lines changed: 2 additions & 2 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-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).
5+
This package contains Microsoft Azure SDK for ElasticSan Management SDK. (missing-service-description) Add service description. 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

@@ -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-elasticsan</artifactId>
35-
<version>1.2.0-beta.2</version>
35+
<version>1.2.0-beta.3</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ public final class PrivateLinkResourcesListByElasticSanSamples {
986986
public static void privateLinkResourcesListByElasticSanMinimumSetGen(
987987
com.azure.resourcemanager.elasticsan.ElasticSanManager manager) {
988988
manager.privateLinkResources()
989-
.listByElasticSanWithResponse("resourcegroupname", "elasticsanname", com.azure.core.util.Context.NONE);
989+
.listByElasticSan("resourcegroupname", "elasticsanname", com.azure.core.util.Context.NONE);
990990
}
991991

992992
/*
@@ -1002,7 +1002,7 @@ public final class PrivateLinkResourcesListByElasticSanSamples {
10021002
public static void privateLinkResourcesListByElasticSanMaximumSetGen(
10031003
com.azure.resourcemanager.elasticsan.ElasticSanManager manager) {
10041004
manager.privateLinkResources()
1005-
.listByElasticSanWithResponse("resourcegroupname", "elasticsanname", com.azure.core.util.Context.NONE);
1005+
.listByElasticSan("resourcegroupname", "elasticsanname", com.azure.core.util.Context.NONE);
10061006
}
10071007
}
10081008
```

sdk/elasticsan/azure-resourcemanager-elasticsan/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for ElasticSan Management</name>
21-
<description>This package contains Microsoft Azure SDK for ElasticSan Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2024-07-01-preview.</description>
21+
<description>This package contains Microsoft Azure SDK for ElasticSan Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. (missing-service-description) Add service description. Package tag package-2024-07-01-preview.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>

sdk/elasticsan/azure-resourcemanager-elasticsan/src/main/java/com/azure/resourcemanager/elasticsan/ElasticSanManager.java

Lines changed: 50 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -54,26 +54,27 @@
5454

5555
/**
5656
* Entry point to ElasticSanManager.
57+
* (missing-service-description) Add service description.
5758
*/
5859
public final class ElasticSanManager {
5960
private Operations operations;
6061

61-
private Skus skus;
62-
6362
private ElasticSans elasticSans;
6463

65-
private VolumeGroups volumeGroups;
66-
67-
private Volumes volumes;
68-
69-
private ResourceProviders resourceProviders;
64+
private Skus skus;
7065

7166
private PrivateEndpointConnections privateEndpointConnections;
7267

7368
private PrivateLinkResources privateLinkResources;
7469

70+
private VolumeGroups volumeGroups;
71+
72+
private Volumes volumes;
73+
7574
private VolumeSnapshots volumeSnapshots;
7675

76+
private ResourceProviders resourceProviders;
77+
7778
private final ElasticSanManagement clientObject;
7879

7980
private ElasticSanManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -301,18 +302,6 @@ public Operations operations() {
301302
return operations;
302303
}
303304

304-
/**
305-
* Gets the resource collection API of Skus.
306-
*
307-
* @return Resource collection API of Skus.
308-
*/
309-
public Skus skus() {
310-
if (this.skus == null) {
311-
this.skus = new SkusImpl(clientObject.getSkus(), this);
312-
}
313-
return skus;
314-
}
315-
316305
/**
317306
* Gets the resource collection API of ElasticSans. It manages ElasticSan.
318307
*
@@ -326,39 +315,15 @@ public ElasticSans elasticSans() {
326315
}
327316

328317
/**
329-
* Gets the resource collection API of VolumeGroups. It manages VolumeGroup.
330-
*
331-
* @return Resource collection API of VolumeGroups.
332-
*/
333-
public VolumeGroups volumeGroups() {
334-
if (this.volumeGroups == null) {
335-
this.volumeGroups = new VolumeGroupsImpl(clientObject.getVolumeGroups(), this);
336-
}
337-
return volumeGroups;
338-
}
339-
340-
/**
341-
* Gets the resource collection API of Volumes. It manages Volume.
342-
*
343-
* @return Resource collection API of Volumes.
344-
*/
345-
public Volumes volumes() {
346-
if (this.volumes == null) {
347-
this.volumes = new VolumesImpl(clientObject.getVolumes(), this);
348-
}
349-
return volumes;
350-
}
351-
352-
/**
353-
* Gets the resource collection API of ResourceProviders.
318+
* Gets the resource collection API of Skus.
354319
*
355-
* @return Resource collection API of ResourceProviders.
320+
* @return Resource collection API of Skus.
356321
*/
357-
public ResourceProviders resourceProviders() {
358-
if (this.resourceProviders == null) {
359-
this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
322+
public Skus skus() {
323+
if (this.skus == null) {
324+
this.skus = new SkusImpl(clientObject.getSkus(), this);
360325
}
361-
return resourceProviders;
326+
return skus;
362327
}
363328

364329
/**
@@ -386,6 +351,30 @@ public PrivateLinkResources privateLinkResources() {
386351
return privateLinkResources;
387352
}
388353

354+
/**
355+
* Gets the resource collection API of VolumeGroups. It manages VolumeGroup.
356+
*
357+
* @return Resource collection API of VolumeGroups.
358+
*/
359+
public VolumeGroups volumeGroups() {
360+
if (this.volumeGroups == null) {
361+
this.volumeGroups = new VolumeGroupsImpl(clientObject.getVolumeGroups(), this);
362+
}
363+
return volumeGroups;
364+
}
365+
366+
/**
367+
* Gets the resource collection API of Volumes. It manages Volume.
368+
*
369+
* @return Resource collection API of Volumes.
370+
*/
371+
public Volumes volumes() {
372+
if (this.volumes == null) {
373+
this.volumes = new VolumesImpl(clientObject.getVolumes(), this);
374+
}
375+
return volumes;
376+
}
377+
389378
/**
390379
* Gets the resource collection API of VolumeSnapshots. It manages Snapshot.
391380
*
@@ -398,6 +387,18 @@ public VolumeSnapshots volumeSnapshots() {
398387
return volumeSnapshots;
399388
}
400389

390+
/**
391+
* Gets the resource collection API of ResourceProviders.
392+
*
393+
* @return Resource collection API of ResourceProviders.
394+
*/
395+
public ResourceProviders resourceProviders() {
396+
if (this.resourceProviders == null) {
397+
this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
398+
}
399+
return resourceProviders;
400+
}
401+
401402
/**
402403
* Gets wrapped service client ElasticSanManagement providing direct access to the underlying auto-generated API
403404
* implementation, based on Azure REST API.

0 commit comments

Comments
 (0)