Skip to content

Commit df09b4f

Browse files
author
SDKAuto
committed
CodeGen from PR 32748 in Azure/azure-rest-api-specs
Merge 79402ed5eaf1848b68bcec01b1d00427400e0a1a into ee2dc46b6abc4ad917c2941be6b1db6d49081e0a
1 parent 4985e98 commit df09b4f

File tree

93 files changed

+2093
-4671
lines changed

Some content is hidden

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

93 files changed

+2093
-4671
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.3 (Unreleased)
3+
## 1.0.0-beta.1 (2025-04-21)
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+
* `listByVolumeGroup(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
17+
* `delete(java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,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
1061

11-
### Other Changes
62+
* `deleteRetentionPolicy()` was added
63+
* `withDeleteRetentionPolicy(models.DeleteRetentionPolicy)` was added
64+
65+
#### `models.Volumes` was modified
66+
67+
* `preRestore(java.lang.String,java.lang.String,java.lang.String,models.DiskSnapshotList,com.azure.core.util.Context)` was added
68+
* `listByVolumeGroup(java.lang.String,java.lang.String,java.lang.String,models.XMsAccessSoftDeletedResources,com.azure.core.util.Context)` was added
69+
* `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
70+
* `preRestore(java.lang.String,java.lang.String,java.lang.String,models.DiskSnapshotList)` was added
71+
* `preBackup(java.lang.String,java.lang.String,java.lang.String,models.VolumeNameList,com.azure.core.util.Context)` was added
72+
* `preBackup(java.lang.String,java.lang.String,java.lang.String,models.VolumeNameList)` was added
73+
* `deleteByIdWithResponse(java.lang.String,models.XMsDeleteSnapshots,models.XMsForceDelete,models.DeleteType,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
92+
93+
* `deleteRetentionPolicy()` was added
1294

1395
## 1.2.0-beta.2 (2025-04-18)
1496

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/src/main/java/com/azure/resourcemanager/elasticsan/ElasticSanManager.java

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,22 @@
5858
public final class ElasticSanManager {
5959
private Operations operations;
6060

61-
private Skus skus;
62-
6361
private ElasticSans elasticSans;
6462

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

7165
private PrivateEndpointConnections privateEndpointConnections;
7266

7367
private PrivateLinkResources privateLinkResources;
7468

69+
private VolumeGroups volumeGroups;
70+
71+
private Volumes volumes;
72+
7573
private VolumeSnapshots volumeSnapshots;
7674

75+
private ResourceProviders resourceProviders;
76+
7777
private final ElasticSanManagement clientObject;
7878

7979
private ElasticSanManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -301,18 +301,6 @@ public Operations operations() {
301301
return operations;
302302
}
303303

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-
316304
/**
317305
* Gets the resource collection API of ElasticSans. It manages ElasticSan.
318306
*
@@ -326,39 +314,15 @@ public ElasticSans elasticSans() {
326314
}
327315

328316
/**
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.
317+
* Gets the resource collection API of Skus.
354318
*
355-
* @return Resource collection API of ResourceProviders.
319+
* @return Resource collection API of Skus.
356320
*/
357-
public ResourceProviders resourceProviders() {
358-
if (this.resourceProviders == null) {
359-
this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
321+
public Skus skus() {
322+
if (this.skus == null) {
323+
this.skus = new SkusImpl(clientObject.getSkus(), this);
360324
}
361-
return resourceProviders;
325+
return skus;
362326
}
363327

364328
/**
@@ -386,6 +350,30 @@ public PrivateLinkResources privateLinkResources() {
386350
return privateLinkResources;
387351
}
388352

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

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

sdk/elasticsan/azure-resourcemanager-elasticsan/src/main/java/com/azure/resourcemanager/elasticsan/fluent/ElasticSanManagement.java

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ public interface ElasticSanManagement {
5353
*/
5454
OperationsClient getOperations();
5555

56-
/**
57-
* Gets the SkusClient object to access its operations.
58-
*
59-
* @return the SkusClient object.
60-
*/
61-
SkusClient getSkus();
62-
6356
/**
6457
* Gets the ElasticSansClient object to access its operations.
6558
*
@@ -68,44 +61,51 @@ public interface ElasticSanManagement {
6861
ElasticSansClient getElasticSans();
6962

7063
/**
71-
* Gets the VolumeGroupsClient object to access its operations.
64+
* Gets the SkusClient object to access its operations.
7265
*
73-
* @return the VolumeGroupsClient object.
66+
* @return the SkusClient object.
7467
*/
75-
VolumeGroupsClient getVolumeGroups();
68+
SkusClient getSkus();
7669

7770
/**
78-
* Gets the VolumesClient object to access its operations.
71+
* Gets the PrivateEndpointConnectionsClient object to access its operations.
7972
*
80-
* @return the VolumesClient object.
73+
* @return the PrivateEndpointConnectionsClient object.
8174
*/
82-
VolumesClient getVolumes();
75+
PrivateEndpointConnectionsClient getPrivateEndpointConnections();
8376

8477
/**
85-
* Gets the ResourceProvidersClient object to access its operations.
78+
* Gets the PrivateLinkResourcesClient object to access its operations.
8679
*
87-
* @return the ResourceProvidersClient object.
80+
* @return the PrivateLinkResourcesClient object.
8881
*/
89-
ResourceProvidersClient getResourceProviders();
82+
PrivateLinkResourcesClient getPrivateLinkResources();
9083

9184
/**
92-
* Gets the PrivateEndpointConnectionsClient object to access its operations.
85+
* Gets the VolumeGroupsClient object to access its operations.
9386
*
94-
* @return the PrivateEndpointConnectionsClient object.
87+
* @return the VolumeGroupsClient object.
9588
*/
96-
PrivateEndpointConnectionsClient getPrivateEndpointConnections();
89+
VolumeGroupsClient getVolumeGroups();
9790

9891
/**
99-
* Gets the PrivateLinkResourcesClient object to access its operations.
92+
* Gets the VolumesClient object to access its operations.
10093
*
101-
* @return the PrivateLinkResourcesClient object.
94+
* @return the VolumesClient object.
10295
*/
103-
PrivateLinkResourcesClient getPrivateLinkResources();
96+
VolumesClient getVolumes();
10497

10598
/**
10699
* Gets the VolumeSnapshotsClient object to access its operations.
107100
*
108101
* @return the VolumeSnapshotsClient object.
109102
*/
110103
VolumeSnapshotsClient getVolumeSnapshots();
104+
105+
/**
106+
* Gets the ResourceProvidersClient object to access its operations.
107+
*
108+
* @return the ResourceProvidersClient object.
109+
*/
110+
ResourceProvidersClient getResourceProviders();
111111
}

0 commit comments

Comments
 (0)