Skip to content

Commit 0c5ca7a

Browse files
author
SDKAuto
committed
CodeGen from PR 34078 in Azure/azure-rest-api-specs
Merge 6791f4df5a895e93f3a9f173aed426761f84558b into 8a61513cdfbd4d218cfc121633f742db629b5af5
1 parent 1e89c13 commit 0c5ca7a

File tree

125 files changed

+3144
-5300
lines changed

Some content is hidden

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

125 files changed

+3144
-5300
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.2.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.1 (2025-04-23)
4+
5+
- Azure Resource Manager ElasticSan client library for Java. This package contains Microsoft Azure SDK for ElasticSan Management SDK. // FIXME: (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).
46

57
### Features Added
68

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. // FIXME: (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. // FIXME: (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+
* // FIXME: (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.

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
}

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

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,34 @@ public interface ElasticSansClient {
6565
@ServiceMethod(returns = ReturnType.COLLECTION)
6666
PagedIterable<ElasticSanInner> listByResourceGroup(String resourceGroupName, Context context);
6767

68+
/**
69+
* Get a ElasticSan.
70+
*
71+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
72+
* @param elasticSanName The name of the ElasticSan.
73+
* @param context The context to associate with this operation.
74+
* @throws IllegalArgumentException thrown if parameters fail the validation.
75+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
76+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
77+
* @return a ElasticSan along with {@link Response}.
78+
*/
79+
@ServiceMethod(returns = ReturnType.SINGLE)
80+
Response<ElasticSanInner> getByResourceGroupWithResponse(String resourceGroupName, String elasticSanName,
81+
Context context);
82+
83+
/**
84+
* Get a ElasticSan.
85+
*
86+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
87+
* @param elasticSanName The name of the ElasticSan.
88+
* @throws IllegalArgumentException thrown if parameters fail the validation.
89+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
90+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
91+
* @return a ElasticSan.
92+
*/
93+
@ServiceMethod(returns = ReturnType.SINGLE)
94+
ElasticSanInner getByResourceGroup(String resourceGroupName, String elasticSanName);
95+
6896
/**
6997
* Create ElasticSan.
7098
*
@@ -238,32 +266,4 @@ ElasticSanInner update(String resourceGroupName, String elasticSanName, ElasticS
238266
*/
239267
@ServiceMethod(returns = ReturnType.SINGLE)
240268
void delete(String resourceGroupName, String elasticSanName, Context context);
241-
242-
/**
243-
* Get a ElasticSan.
244-
*
245-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
246-
* @param elasticSanName The name of the ElasticSan.
247-
* @param context The context to associate with this operation.
248-
* @throws IllegalArgumentException thrown if parameters fail the validation.
249-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
250-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
251-
* @return a ElasticSan along with {@link Response}.
252-
*/
253-
@ServiceMethod(returns = ReturnType.SINGLE)
254-
Response<ElasticSanInner> getByResourceGroupWithResponse(String resourceGroupName, String elasticSanName,
255-
Context context);
256-
257-
/**
258-
* Get a ElasticSan.
259-
*
260-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
261-
* @param elasticSanName The name of the ElasticSan.
262-
* @throws IllegalArgumentException thrown if parameters fail the validation.
263-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
264-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
265-
* @return a ElasticSan.
266-
*/
267-
@ServiceMethod(returns = ReturnType.SINGLE)
268-
ElasticSanInner getByResourceGroup(String resourceGroupName, String elasticSanName);
269269
}

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,25 @@
1515
*/
1616
public interface OperationsClient {
1717
/**
18-
* Gets a list of ElasticSan operations.
18+
* List the operations for the provider.
1919
*
2020
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
2121
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
22-
* @return a list of ElasticSan operations as paginated response with {@link PagedIterable}.
22+
* @return a list of REST API operations supported by an Azure Resource Provider as paginated response with
23+
* {@link PagedIterable}.
2324
*/
2425
@ServiceMethod(returns = ReturnType.COLLECTION)
2526
PagedIterable<OperationInner> list();
2627

2728
/**
28-
* Gets a list of ElasticSan operations.
29+
* List the operations for the provider.
2930
*
3031
* @param context The context to associate with this operation.
3132
* @throws IllegalArgumentException thrown if parameters fail the validation.
3233
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
3334
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
34-
* @return a list of ElasticSan operations as paginated response with {@link PagedIterable}.
35+
* @return a list of REST API operations supported by an Azure Resource Provider as paginated response with
36+
* {@link PagedIterable}.
3537
*/
3638
@ServiceMethod(returns = ReturnType.COLLECTION)
3739
PagedIterable<OperationInner> list(Context context);

0 commit comments

Comments
 (0)