restartAsync(
+ String resourceGroupName, String resourceName, String replicaName, Context context) {
+ return beginRestartAsync(resourceGroupName, resourceName, replicaName, context)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Operation to restart a replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceName The name of the resource.
+ * @param replicaName The name of the replica.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void restart(String resourceGroupName, String resourceName, String replicaName) {
+ restartAsync(resourceGroupName, resourceName, replicaName).block();
+ }
+
+ /**
+ * Operation to restart a replica.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceName The name of the resource.
+ * @param replicaName The name of the replica.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void restart(String resourceGroupName, String resourceName, String replicaName, Context context) {
+ restartAsync(resourceGroupName, resourceName, replicaName, context).block();
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items
+ * The nextLink parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listNextSinglePageAsync(String nextLink) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items
+ * The nextLink parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listNextSinglePageAsync(String nextLink, Context context) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listNext(nextLink, this.client.getEndpoint(), accept, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRReplicasImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRReplicasImpl.java
new file mode 100644
index 000000000000..d67130303805
--- /dev/null
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRReplicasImpl.java
@@ -0,0 +1,196 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.signalr.implementation;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.SimpleResponse;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.signalr.fluent.SignalRReplicasClient;
+import com.azure.resourcemanager.signalr.fluent.models.ReplicaInner;
+import com.azure.resourcemanager.signalr.models.Replica;
+import com.azure.resourcemanager.signalr.models.SignalRReplicas;
+
+public final class SignalRReplicasImpl implements SignalRReplicas {
+ private static final ClientLogger LOGGER = new ClientLogger(SignalRReplicasImpl.class);
+
+ private final SignalRReplicasClient innerClient;
+
+ private final com.azure.resourcemanager.signalr.SignalRManager serviceManager;
+
+ public SignalRReplicasImpl(
+ SignalRReplicasClient innerClient, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public PagedIterable list(String resourceGroupName, String resourceName) {
+ PagedIterable inner = this.serviceClient().list(resourceGroupName, resourceName);
+ return Utils.mapPage(inner, inner1 -> new ReplicaImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable list(String resourceGroupName, String resourceName, Context context) {
+ PagedIterable inner = this.serviceClient().list(resourceGroupName, resourceName, context);
+ return Utils.mapPage(inner, inner1 -> new ReplicaImpl(inner1, this.manager()));
+ }
+
+ public Response getWithResponse(
+ String resourceGroupName, String resourceName, String replicaName, Context context) {
+ Response inner =
+ this.serviceClient().getWithResponse(resourceGroupName, resourceName, replicaName, context);
+ if (inner != null) {
+ return new SimpleResponse<>(
+ inner.getRequest(),
+ inner.getStatusCode(),
+ inner.getHeaders(),
+ new ReplicaImpl(inner.getValue(), this.manager()));
+ } else {
+ return null;
+ }
+ }
+
+ public Replica get(String resourceGroupName, String resourceName, String replicaName) {
+ ReplicaInner inner = this.serviceClient().get(resourceGroupName, resourceName, replicaName);
+ if (inner != null) {
+ return new ReplicaImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public Response deleteWithResponse(
+ String resourceGroupName, String resourceName, String replicaName, Context context) {
+ return this.serviceClient().deleteWithResponse(resourceGroupName, resourceName, replicaName, context);
+ }
+
+ public void delete(String resourceGroupName, String resourceName, String replicaName) {
+ this.serviceClient().delete(resourceGroupName, resourceName, replicaName);
+ }
+
+ public void restart(String resourceGroupName, String resourceName, String replicaName) {
+ this.serviceClient().restart(resourceGroupName, resourceName, replicaName);
+ }
+
+ public void restart(String resourceGroupName, String resourceName, String replicaName, Context context) {
+ this.serviceClient().restart(resourceGroupName, resourceName, replicaName, context);
+ }
+
+ public Replica getById(String id) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String resourceName = Utils.getValueFromIdByName(id, "signalR");
+ if (resourceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'signalR'.", id)));
+ }
+ String replicaName = Utils.getValueFromIdByName(id, "replicas");
+ if (replicaName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'replicas'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, resourceName, replicaName, Context.NONE).getValue();
+ }
+
+ public Response getByIdWithResponse(String id, Context context) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String resourceName = Utils.getValueFromIdByName(id, "signalR");
+ if (resourceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'signalR'.", id)));
+ }
+ String replicaName = Utils.getValueFromIdByName(id, "replicas");
+ if (replicaName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'replicas'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, resourceName, replicaName, context);
+ }
+
+ public void deleteById(String id) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String resourceName = Utils.getValueFromIdByName(id, "signalR");
+ if (resourceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'signalR'.", id)));
+ }
+ String replicaName = Utils.getValueFromIdByName(id, "replicas");
+ if (replicaName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'replicas'.", id)));
+ }
+ this.deleteWithResponse(resourceGroupName, resourceName, replicaName, Context.NONE);
+ }
+
+ public Response deleteByIdWithResponse(String id, Context context) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String resourceName = Utils.getValueFromIdByName(id, "signalR");
+ if (resourceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'signalR'.", id)));
+ }
+ String replicaName = Utils.getValueFromIdByName(id, "replicas");
+ if (replicaName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'replicas'.", id)));
+ }
+ return this.deleteWithResponse(resourceGroupName, resourceName, replicaName, context);
+ }
+
+ private SignalRReplicasClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.signalr.SignalRManager manager() {
+ return this.serviceManager;
+ }
+
+ public ReplicaImpl define(String name) {
+ return new ReplicaImpl(name, this.manager());
+ }
+}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRSharedPrivateLinkResourcesClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRSharedPrivateLinkResourcesClientImpl.java
index 549fe1301e89..01dda9936c60 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRSharedPrivateLinkResourcesClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRSharedPrivateLinkResourcesClientImpl.java
@@ -144,8 +144,7 @@ Mono> listNext(
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -203,8 +202,7 @@ private Mono> listSinglePageAsync(
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -260,8 +258,7 @@ private Mono> listSinglePageAsync(
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -277,8 +274,7 @@ private PagedFlux listAsync(String resourceGroup
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -297,8 +293,7 @@ private PagedFlux listAsync(
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -313,8 +308,7 @@ public PagedIterable list(String resourceGroupNa
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -332,8 +326,7 @@ public PagedIterable list(
* Get the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -390,8 +383,7 @@ private Mono> getWithResponseAsync(
* Get the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -446,8 +438,7 @@ private Mono> getWithResponseAsync(
* Get the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -465,8 +456,7 @@ private Mono getAsync(
* Get the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -484,8 +474,7 @@ public Response getWithResponse(
* Get the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -502,8 +491,7 @@ public SharedPrivateLinkResourceInner get(
* Create or update a shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -570,8 +558,7 @@ private Mono>> createOrUpdateWithResponseAsync(
* Create or update a shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -637,8 +624,7 @@ private Mono>> createOrUpdateWithResponseAsync(
* Create or update a shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -669,8 +655,7 @@ private Mono>> createOrUpdateWithResponseAsync(
* Create or update a shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -705,8 +690,7 @@ private Mono>> createOrUpdateWithResponseAsync(
* Create or update a shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -729,8 +713,7 @@ public SyncPoller, SharedPrivateLinkR
* Create or update a shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -756,8 +739,7 @@ public SyncPoller, SharedPrivateLinkR
* Create or update a shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -780,8 +762,7 @@ private Mono createOrUpdateAsync(
* Create or update a shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -807,8 +788,7 @@ private Mono createOrUpdateAsync(
* Create or update a shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -829,8 +809,7 @@ public SharedPrivateLinkResourceInner createOrUpdate(
* Create or update a shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -854,8 +833,7 @@ public SharedPrivateLinkResourceInner createOrUpdate(
* Delete the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -911,8 +889,7 @@ private Mono>> deleteWithResponseAsync(
* Delete the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -966,8 +943,7 @@ private Mono>> deleteWithResponseAsync(
* Delete the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -989,8 +965,7 @@ private PollerFlux, Void> beginDeleteAsync(
* Delete the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1013,8 +988,7 @@ private PollerFlux, Void> beginDeleteAsync(
* Delete the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1031,8 +1005,7 @@ public SyncPoller, Void> beginDelete(
* Delete the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1052,8 +1025,7 @@ public SyncPoller, Void> beginDelete(
* Delete the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1072,8 +1044,7 @@ private Mono deleteAsync(
* Delete the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1093,8 +1064,7 @@ private Mono deleteAsync(
* Delete the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1109,8 +1079,7 @@ public void delete(String sharedPrivateLinkResourceName, String resourceGroupNam
* Delete the specified shared private link resource.
*
* @param sharedPrivateLinkResourceName The name of the shared private link resource.
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRsClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRsClientImpl.java
index 2c95e54ae1e1..e9f73611411f 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRsClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRsClientImpl.java
@@ -183,7 +183,7 @@ Mono> listKeys(
@Headers({"Content-Type: application/json"})
@Post(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/regenerateKey")
- @ExpectedResponses({202})
+ @ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> regenerateKey(
@HostParam("$host") String endpoint,
@@ -541,8 +541,7 @@ public PagedIterable list(Context context) {
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -594,8 +593,7 @@ private Mono> listByResourceGroupSinglePageA
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -646,8 +644,7 @@ private Mono> listByResourceGroupSinglePageA
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -664,8 +661,7 @@ private PagedFlux listByResourceGroupAsync(String resource
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -683,8 +679,7 @@ private PagedFlux listByResourceGroupAsync(String resource
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -699,8 +694,7 @@ public PagedIterable listByResourceGroup(String resourceGr
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -716,8 +710,7 @@ public PagedIterable listByResourceGroup(String resourceGr
/**
* Get the resource and its properties.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -765,8 +758,7 @@ private Mono> getByResourceGroupWithResponseAsync
/**
* Get the resource and its properties.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -812,8 +804,7 @@ private Mono> getByResourceGroupWithResponseAsync
/**
* Get the resource and its properties.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -829,8 +820,7 @@ private Mono getByResourceGroupAsync(String resourceGroupN
/**
* Get the resource and its properties.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -847,8 +837,7 @@ public Response getByResourceGroupWithResponse(
/**
* Get the resource and its properties.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -863,8 +852,7 @@ public SignalRResourceInner getByResourceGroup(String resourceGroupName, String
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -919,8 +907,7 @@ private Mono>> createOrUpdateWithResponseAsync(
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @param context The context to associate with this operation.
@@ -973,8 +960,7 @@ private Mono>> createOrUpdateWithResponseAsync(
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1000,8 +986,7 @@ private PollerFlux, SignalRResourceInner> begin
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @param context The context to associate with this operation.
@@ -1025,8 +1010,7 @@ private PollerFlux, SignalRResourceInner> begin
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1043,8 +1027,7 @@ public SyncPoller, SignalRResourceInner> beginC
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @param context The context to associate with this operation.
@@ -1062,8 +1045,7 @@ public SyncPoller, SignalRResourceInner> beginC
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
- * from the Azure Resource Manager API or the portal.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1082,8 +1064,7 @@ private Mono