Skip to content

Commit 947eaef

Browse files
author
SDKAuto
committed
CodeGen from PR 20272 in Azure/azure-rest-api-specs
Merge 9b32b3312335c2a1a8c90c9c9368da3aaf6b9115 into 74c62048320aaafe43367357804a575196e186d0
1 parent 6253460 commit 947eaef

File tree

139 files changed

+1087
-646
lines changed

Some content is hidden

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

139 files changed

+1087
-646
lines changed

sdk/signalr/azure-resourcemanager-signalr/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.0.0-beta.5 (Unreleased)
3+
## 1.0.0-beta.1 (2022-10-19)
4+
5+
- Azure Resource Manager SignalR client library for Java. This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2022-08-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/signalr/azure-resourcemanager-signalr/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 SignalR client library for Java.
44

5-
This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2022-02-01. 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 SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2022-08-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-signalr</artifactId>
35-
<version>1.0.0-beta.4</version>
35+
<version>1.0.0-beta.5</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 34 additions & 30 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<packaging>jar</packaging>
1414

1515
<name>Microsoft Azure SDK for SignalR Management</name>
16-
<description>This package contains Microsoft Azure SDK for SignalR Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure SignalR Service. Package tag package-2022-02-01.</description>
16+
<description>This package contains Microsoft Azure SDK for SignalR Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure SignalR Service. Package tag package-2022-08-01-preview.</description>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java

Lines changed: 41 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
231231
.append("-")
232232
.append("com.azure.resourcemanager.signalr")
233233
.append("/")
234-
.append("1.0.0-beta.4");
234+
.append("1.0.0-beta.1");
235235
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
236236
userAgentBuilder
237237
.append(" (")
@@ -288,31 +288,47 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
288288
}
289289
}
290290

291-
/** @return Resource collection API of Operations. */
291+
/**
292+
* Gets the resource collection API of Operations.
293+
*
294+
* @return Resource collection API of Operations.
295+
*/
292296
public Operations operations() {
293297
if (this.operations == null) {
294298
this.operations = new OperationsImpl(clientObject.getOperations(), this);
295299
}
296300
return operations;
297301
}
298302

299-
/** @return Resource collection API of SignalRs. */
303+
/**
304+
* Gets the resource collection API of SignalRs. It manages SignalRResource.
305+
*
306+
* @return Resource collection API of SignalRs.
307+
*/
300308
public SignalRs signalRs() {
301309
if (this.signalRs == null) {
302310
this.signalRs = new SignalRsImpl(clientObject.getSignalRs(), this);
303311
}
304312
return signalRs;
305313
}
306314

307-
/** @return Resource collection API of Usages. */
315+
/**
316+
* Gets the resource collection API of Usages.
317+
*
318+
* @return Resource collection API of Usages.
319+
*/
308320
public Usages usages() {
309321
if (this.usages == null) {
310322
this.usages = new UsagesImpl(clientObject.getUsages(), this);
311323
}
312324
return usages;
313325
}
314326

315-
/** @return Resource collection API of SignalRCustomCertificates. */
327+
/**
328+
* Gets the resource collection API of SignalRCustomCertificates. It manages CustomCertificate.
329+
*
330+
* @return Resource collection API of SignalRCustomCertificates.
331+
*/
316332
public SignalRCustomCertificates signalRCustomCertificates() {
317333
if (this.signalRCustomCertificates == null) {
318334
this.signalRCustomCertificates =
@@ -321,15 +337,23 @@ public SignalRCustomCertificates signalRCustomCertificates() {
321337
return signalRCustomCertificates;
322338
}
323339

324-
/** @return Resource collection API of SignalRCustomDomains. */
340+
/**
341+
* Gets the resource collection API of SignalRCustomDomains. It manages CustomDomain.
342+
*
343+
* @return Resource collection API of SignalRCustomDomains.
344+
*/
325345
public SignalRCustomDomains signalRCustomDomains() {
326346
if (this.signalRCustomDomains == null) {
327347
this.signalRCustomDomains = new SignalRCustomDomainsImpl(clientObject.getSignalRCustomDomains(), this);
328348
}
329349
return signalRCustomDomains;
330350
}
331351

332-
/** @return Resource collection API of SignalRPrivateEndpointConnections. */
352+
/**
353+
* Gets the resource collection API of SignalRPrivateEndpointConnections.
354+
*
355+
* @return Resource collection API of SignalRPrivateEndpointConnections.
356+
*/
333357
public SignalRPrivateEndpointConnections signalRPrivateEndpointConnections() {
334358
if (this.signalRPrivateEndpointConnections == null) {
335359
this.signalRPrivateEndpointConnections =
@@ -338,7 +362,11 @@ public SignalRPrivateEndpointConnections signalRPrivateEndpointConnections() {
338362
return signalRPrivateEndpointConnections;
339363
}
340364

341-
/** @return Resource collection API of SignalRPrivateLinkResources. */
365+
/**
366+
* Gets the resource collection API of SignalRPrivateLinkResources.
367+
*
368+
* @return Resource collection API of SignalRPrivateLinkResources.
369+
*/
342370
public SignalRPrivateLinkResources signalRPrivateLinkResources() {
343371
if (this.signalRPrivateLinkResources == null) {
344372
this.signalRPrivateLinkResources =
@@ -347,7 +375,11 @@ public SignalRPrivateLinkResources signalRPrivateLinkResources() {
347375
return signalRPrivateLinkResources;
348376
}
349377

350-
/** @return Resource collection API of SignalRSharedPrivateLinkResources. */
378+
/**
379+
* Gets the resource collection API of SignalRSharedPrivateLinkResources. It manages SharedPrivateLinkResource.
380+
*
381+
* @return Resource collection API of SignalRSharedPrivateLinkResources.
382+
*/
351383
public SignalRSharedPrivateLinkResources signalRSharedPrivateLinkResources() {
352384
if (this.signalRSharedPrivateLinkResources == null) {
353385
this.signalRSharedPrivateLinkResources =

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,15 @@ public interface SignalRCustomCertificatesClient {
5151
* from the Azure Resource Manager API or the portal.
5252
* @param resourceName The name of the resource.
5353
* @param certificateName Custom certificate name.
54+
* @param context The context to associate with this operation.
5455
* @throws IllegalArgumentException thrown if parameters fail the validation.
5556
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
5657
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
57-
* @return a custom certificate.
58+
* @return a custom certificate along with {@link Response}.
5859
*/
5960
@ServiceMethod(returns = ReturnType.SINGLE)
60-
CustomCertificateInner get(String resourceGroupName, String resourceName, String certificateName);
61+
Response<CustomCertificateInner> getWithResponse(
62+
String resourceGroupName, String resourceName, String certificateName, Context context);
6163

6264
/**
6365
* Get a custom certificate.
@@ -66,15 +68,13 @@ public interface SignalRCustomCertificatesClient {
6668
* from the Azure Resource Manager API or the portal.
6769
* @param resourceName The name of the resource.
6870
* @param certificateName Custom certificate name.
69-
* @param context The context to associate with this operation.
7071
* @throws IllegalArgumentException thrown if parameters fail the validation.
7172
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
7273
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
73-
* @return a custom certificate along with {@link Response}.
74+
* @return a custom certificate.
7475
*/
7576
@ServiceMethod(returns = ReturnType.SINGLE)
76-
Response<CustomCertificateInner> getWithResponse(
77-
String resourceGroupName, String resourceName, String certificateName, Context context);
77+
CustomCertificateInner get(String resourceGroupName, String resourceName, String certificateName);
7878

7979
/**
8080
* Create or update a custom certificate.
@@ -161,12 +161,15 @@ CustomCertificateInner createOrUpdate(
161161
* from the Azure Resource Manager API or the portal.
162162
* @param resourceName The name of the resource.
163163
* @param certificateName Custom certificate name.
164+
* @param context The context to associate with this operation.
164165
* @throws IllegalArgumentException thrown if parameters fail the validation.
165166
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
166167
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
168+
* @return the {@link Response}.
167169
*/
168170
@ServiceMethod(returns = ReturnType.SINGLE)
169-
void delete(String resourceGroupName, String resourceName, String certificateName);
171+
Response<Void> deleteWithResponse(
172+
String resourceGroupName, String resourceName, String certificateName, Context context);
170173

171174
/**
172175
* Delete a custom certificate.
@@ -175,13 +178,10 @@ CustomCertificateInner createOrUpdate(
175178
* from the Azure Resource Manager API or the portal.
176179
* @param resourceName The name of the resource.
177180
* @param certificateName Custom certificate name.
178-
* @param context The context to associate with this operation.
179181
* @throws IllegalArgumentException thrown if parameters fail the validation.
180182
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
181183
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
182-
* @return the {@link Response}.
183184
*/
184185
@ServiceMethod(returns = ReturnType.SINGLE)
185-
Response<Void> deleteWithResponse(
186-
String resourceGroupName, String resourceName, String certificateName, Context context);
186+
void delete(String resourceGroupName, String resourceName, String certificateName);
187187
}

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,15 @@ public interface SignalRCustomDomainsClient {
5151
* from the Azure Resource Manager API or the portal.
5252
* @param resourceName The name of the resource.
5353
* @param name Custom domain name.
54+
* @param context The context to associate with this operation.
5455
* @throws IllegalArgumentException thrown if parameters fail the validation.
5556
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
5657
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
57-
* @return a custom domain.
58+
* @return a custom domain along with {@link Response}.
5859
*/
5960
@ServiceMethod(returns = ReturnType.SINGLE)
60-
CustomDomainInner get(String resourceGroupName, String resourceName, String name);
61+
Response<CustomDomainInner> getWithResponse(
62+
String resourceGroupName, String resourceName, String name, Context context);
6163

6264
/**
6365
* Get a custom domain.
@@ -66,15 +68,13 @@ public interface SignalRCustomDomainsClient {
6668
* from the Azure Resource Manager API or the portal.
6769
* @param resourceName The name of the resource.
6870
* @param name Custom domain name.
69-
* @param context The context to associate with this operation.
7071
* @throws IllegalArgumentException thrown if parameters fail the validation.
7172
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
7273
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
73-
* @return a custom domain along with {@link Response}.
74+
* @return a custom domain.
7475
*/
7576
@ServiceMethod(returns = ReturnType.SINGLE)
76-
Response<CustomDomainInner> getWithResponse(
77-
String resourceGroupName, String resourceName, String name, Context context);
77+
CustomDomainInner get(String resourceGroupName, String resourceName, String name);
7878

7979
/**
8080
* Create or update a custom domain.

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,15 @@ public interface SignalRPrivateEndpointConnectionsClient {
5353
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
5454
* from the Azure Resource Manager API or the portal.
5555
* @param resourceName The name of the resource.
56+
* @param context The context to associate with this operation.
5657
* @throws IllegalArgumentException thrown if parameters fail the validation.
5758
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
5859
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
59-
* @return the specified private endpoint connection.
60+
* @return the specified private endpoint connection along with {@link Response}.
6061
*/
6162
@ServiceMethod(returns = ReturnType.SINGLE)
62-
PrivateEndpointConnectionInner get(
63-
String privateEndpointConnectionName, String resourceGroupName, String resourceName);
63+
Response<PrivateEndpointConnectionInner> getWithResponse(
64+
String privateEndpointConnectionName, String resourceGroupName, String resourceName, Context context);
6465

6566
/**
6667
* Get the specified private endpoint connection.
@@ -69,15 +70,14 @@ PrivateEndpointConnectionInner get(
6970
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
7071
* from the Azure Resource Manager API or the portal.
7172
* @param resourceName The name of the resource.
72-
* @param context The context to associate with this operation.
7373
* @throws IllegalArgumentException thrown if parameters fail the validation.
7474
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
7575
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
76-
* @return the specified private endpoint connection along with {@link Response}.
76+
* @return the specified private endpoint connection.
7777
*/
7878
@ServiceMethod(returns = ReturnType.SINGLE)
79-
Response<PrivateEndpointConnectionInner> getWithResponse(
80-
String privateEndpointConnectionName, String resourceGroupName, String resourceName, Context context);
79+
PrivateEndpointConnectionInner get(
80+
String privateEndpointConnectionName, String resourceGroupName, String resourceName);
8181

8282
/**
8383
* Update the state of specified private endpoint connection.
@@ -87,17 +87,19 @@ Response<PrivateEndpointConnectionInner> getWithResponse(
8787
* from the Azure Resource Manager API or the portal.
8888
* @param resourceName The name of the resource.
8989
* @param parameters The resource of private endpoint and its properties.
90+
* @param context The context to associate with this operation.
9091
* @throws IllegalArgumentException thrown if parameters fail the validation.
9192
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
9293
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
93-
* @return a private endpoint connection to an azure resource.
94+
* @return a private endpoint connection to an azure resource along with {@link Response}.
9495
*/
9596
@ServiceMethod(returns = ReturnType.SINGLE)
96-
PrivateEndpointConnectionInner update(
97+
Response<PrivateEndpointConnectionInner> updateWithResponse(
9798
String privateEndpointConnectionName,
9899
String resourceGroupName,
99100
String resourceName,
100-
PrivateEndpointConnectionInner parameters);
101+
PrivateEndpointConnectionInner parameters,
102+
Context context);
101103

102104
/**
103105
* Update the state of specified private endpoint connection.
@@ -107,19 +109,17 @@ PrivateEndpointConnectionInner update(
107109
* from the Azure Resource Manager API or the portal.
108110
* @param resourceName The name of the resource.
109111
* @param parameters The resource of private endpoint and its properties.
110-
* @param context The context to associate with this operation.
111112
* @throws IllegalArgumentException thrown if parameters fail the validation.
112113
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
113114
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
114-
* @return a private endpoint connection to an azure resource along with {@link Response}.
115+
* @return a private endpoint connection to an azure resource.
115116
*/
116117
@ServiceMethod(returns = ReturnType.SINGLE)
117-
Response<PrivateEndpointConnectionInner> updateWithResponse(
118+
PrivateEndpointConnectionInner update(
118119
String privateEndpointConnectionName,
119120
String resourceGroupName,
120121
String resourceName,
121-
PrivateEndpointConnectionInner parameters,
122-
Context context);
122+
PrivateEndpointConnectionInner parameters);
123123

124124
/**
125125
* Delete the specified private endpoint connection.

0 commit comments

Comments
 (0)