diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 4f23cc8b24d2b..e1c8e7ebff562 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -335,7 +335,7 @@ com.azure.resourcemanager:azure-resourcemanager-consumption;1.0.0-beta.4;1.0.0
com.azure.resourcemanager:azure-resourcemanager-commerce;1.0.0-beta.2;1.0.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-billing;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-batchai;1.0.0-beta.1;1.0.0-beta.2
-com.azure.resourcemanager:azure-resourcemanager-signalr;1.0.0-beta.9;1.0.0-beta.10
+com.azure.resourcemanager:azure-resourcemanager-signalr;1.0.0-beta.9;1.0.0
com.azure.resourcemanager:azure-resourcemanager-cognitiveservices;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-customerinsights;1.0.0-beta.3;1.0.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-databox;1.0.0;1.1.0-beta.1
diff --git a/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md b/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md
index 6f287955e2686..c42b34a9b62b6 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md
+++ b/sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md
@@ -1,15 +1,13 @@
# Release History
-## 1.0.0-beta.10 (Unreleased)
+## 1.0.0 (2024-12-24)
-### Features Added
-
-### Breaking Changes
-
-### Bugs Fixed
+- 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-2023-02-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Other Changes
+- Release for Azure Resource Manager SignalR client library for Java.
+
## 1.0.0-beta.9 (2024-10-31)
- 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-2023-08-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
diff --git a/sdk/signalr/azure-resourcemanager-signalr/README.md b/sdk/signalr/azure-resourcemanager-signalr/README.md
index cf9d1762fd428..cb0bb2247bcbd 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/README.md
+++ b/sdk/signalr/azure-resourcemanager-signalr/README.md
@@ -2,7 +2,7 @@
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-2023-08-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2023-02-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-signalr
- 1.0.0-beta.9
+ 1.0.0
```
[//]: # ({x-version-update-end})
diff --git a/sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md b/sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md
index 929f838dc47d8..b736199f2b045 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md
+++ b/sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md
@@ -14,7 +14,6 @@
- [List](#signalr_list)
- [ListByResourceGroup](#signalr_listbyresourcegroup)
- [ListKeys](#signalr_listkeys)
-- [ListReplicaSkus](#signalr_listreplicaskus)
- [ListSkus](#signalr_listskus)
- [RegenerateKey](#signalr_regeneratekey)
- [Restart](#signalr_restart)
@@ -45,15 +44,6 @@
- [List](#signalrprivatelinkresources_list)
-## SignalRReplicas
-
-- [CreateOrUpdate](#signalrreplicas_createorupdate)
-- [Delete](#signalrreplicas_delete)
-- [Get](#signalrreplicas_get)
-- [List](#signalrreplicas_list)
-- [Restart](#signalrreplicas_restart)
-- [Update](#signalrreplicas_update)
-
## SignalRSharedPrivateLinkResources
- [CreateOrUpdate](#signalrsharedprivatelinkresources_createorupdate)
@@ -73,8 +63,7 @@
public final class OperationsListSamples {
/*
* x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * Operations_List.json
+ * specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/Operations_List.json
*/
/**
* Sample code: Operations_List.
@@ -97,8 +86,7 @@ import com.azure.resourcemanager.signalr.models.NameAvailabilityParameters;
*/
public final class SignalRCheckNameAvailabilitySamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalR_CheckNameAvailability.json
*/
/**
@@ -151,8 +139,8 @@ import java.util.Map;
public final class SignalRCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalR_CreateOrUpdate.json
+ * specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/SignalR_CreateOrUpdate
+ * .json
*/
/**
* Sample code: SignalR_CreateOrUpdate.
@@ -228,8 +216,7 @@ public final class SignalRCreateOrUpdateSamples {
public final class SignalRDeleteSamples {
/*
* x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalR_Delete.json
+ * specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/SignalR_Delete.json
*/
/**
* Sample code: SignalR_Delete.
@@ -251,8 +238,7 @@ public final class SignalRDeleteSamples {
public final class SignalRGetByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/SignalR_Get.
- * json
+ * specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/SignalR_Get.json
*/
/**
* Sample code: SignalR_Get.
@@ -274,8 +260,7 @@ public final class SignalRGetByResourceGroupSamples {
*/
public final class SignalRListSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalR_ListBySubscription.json
*/
/**
@@ -297,8 +282,7 @@ public final class SignalRListSamples {
*/
public final class SignalRListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalR_ListByResourceGroup.json
*/
/**
@@ -321,8 +305,7 @@ public final class SignalRListByResourceGroupSamples {
public final class SignalRListKeysSamples {
/*
* x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalR_ListKeys.json
+ * specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/SignalR_ListKeys.json
*/
/**
* Sample code: SignalR_ListKeys.
@@ -336,31 +319,6 @@ public final class SignalRListKeysSamples {
}
```
-### SignalR_ListReplicaSkus
-
-```java
-/**
- * Samples for SignalR ListReplicaSkus.
- */
-public final class SignalRListReplicaSkusSamples {
- /*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalR_ListReplicaSkus.json
- */
- /**
- * Sample code: SignalR_ListReplicaSkus.
- *
- * @param manager Entry point to SignalRManager.
- */
- public static void signalRListReplicaSkus(com.azure.resourcemanager.signalr.SignalRManager manager) {
- manager.signalRs()
- .listReplicaSkusWithResponse("myResourceGroup", "mySignalRService", "mySignalRService-eastus",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
### SignalR_ListSkus
```java
@@ -370,8 +328,7 @@ public final class SignalRListReplicaSkusSamples {
public final class SignalRListSkusSamples {
/*
* x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalR_ListSkus.json
+ * specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/SignalR_ListSkus.json
*/
/**
* Sample code: SignalR_ListSkus.
@@ -397,8 +354,8 @@ import com.azure.resourcemanager.signalr.models.RegenerateKeyParameters;
public final class SignalRRegenerateKeySamples {
/*
* x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalR_RegenerateKey.json
+ * specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/SignalR_RegenerateKey.
+ * json
*/
/**
* Sample code: SignalR_RegenerateKey.
@@ -422,8 +379,7 @@ public final class SignalRRegenerateKeySamples {
public final class SignalRRestartSamples {
/*
* x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalR_Restart.json
+ * specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/SignalR_Restart.json
*/
/**
* Sample code: SignalR_Restart.
@@ -471,8 +427,7 @@ import java.util.Map;
public final class SignalRUpdateSamples {
/*
* x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalR_Update.json
+ * specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/SignalR_Update.json
*/
/**
* Sample code: SignalR_Update.
@@ -546,8 +501,7 @@ public final class SignalRUpdateSamples {
*/
public final class SignalRCustomCertificatesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRCustomCertificates_CreateOrUpdate.json
*/
/**
@@ -576,8 +530,7 @@ public final class SignalRCustomCertificatesCreateOrUpdateSamples {
*/
public final class SignalRCustomCertificatesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRCustomCertificates_Delete.json
*/
/**
@@ -600,8 +553,7 @@ public final class SignalRCustomCertificatesDeleteSamples {
*/
public final class SignalRCustomCertificatesGetSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRCustomCertificates_Get.json
*/
/**
@@ -624,8 +576,7 @@ public final class SignalRCustomCertificatesGetSamples {
*/
public final class SignalRCustomCertificatesListSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRCustomCertificates_List.json
*/
/**
@@ -650,8 +601,7 @@ import com.azure.resourcemanager.signalr.models.ResourceReference;
*/
public final class SignalRCustomDomainsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRCustomDomains_CreateOrUpdate.json
*/
/**
@@ -679,8 +629,7 @@ public final class SignalRCustomDomainsCreateOrUpdateSamples {
*/
public final class SignalRCustomDomainsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRCustomDomains_Delete.json
*/
/**
@@ -703,8 +652,7 @@ public final class SignalRCustomDomainsDeleteSamples {
*/
public final class SignalRCustomDomainsGetSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRCustomDomains_Get.json
*/
/**
@@ -727,8 +675,7 @@ public final class SignalRCustomDomainsGetSamples {
*/
public final class SignalRCustomDomainsListSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRCustomDomains_List.json
*/
/**
@@ -750,8 +697,7 @@ public final class SignalRCustomDomainsListSamples {
*/
public final class SignalRPrivateEndpointConnectionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRPrivateEndpointConnections_Delete.json
*/
/**
@@ -776,8 +722,7 @@ public final class SignalRPrivateEndpointConnectionsDeleteSamples {
*/
public final class SignalRPrivateEndpointConnectionsGetSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRPrivateEndpointConnections_Get.json
*/
/**
@@ -801,8 +746,7 @@ public final class SignalRPrivateEndpointConnectionsGetSamples {
*/
public final class SignalRPrivateEndpointConnectionsListSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRPrivateEndpointConnections_List.json
*/
/**
@@ -830,8 +774,7 @@ import com.azure.resourcemanager.signalr.models.PrivateLinkServiceConnectionStat
*/
public final class SignalRPrivateEndpointConnectionsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRPrivateEndpointConnections_Update.json
*/
/**
@@ -844,7 +787,8 @@ public final class SignalRPrivateEndpointConnectionsUpdateSamples {
manager.signalRPrivateEndpointConnections()
.updateWithResponse("mysignalrservice.1fa229cd-bf3f-47f0-8c49-afb36723997e", "myResourceGroup",
"mySignalRService",
- new PrivateEndpointConnectionInner().withPrivateEndpoint(new PrivateEndpoint())
+ new PrivateEndpointConnectionInner().withPrivateEndpoint(new PrivateEndpoint().withId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"))
.withPrivateLinkServiceConnectionState(
new PrivateLinkServiceConnectionState().withStatus(PrivateLinkServiceConnectionStatus.APPROVED)
.withActionsRequired("None")),
@@ -861,8 +805,7 @@ public final class SignalRPrivateEndpointConnectionsUpdateSamples {
*/
public final class SignalRPrivateLinkResourcesListSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRPrivateLinkResources_List.json
*/
/**
@@ -877,200 +820,6 @@ public final class SignalRPrivateLinkResourcesListSamples {
}
```
-### SignalRReplicas_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.signalr.models.ResourceSku;
-import com.azure.resourcemanager.signalr.models.SignalRSkuTier;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Samples for SignalRReplicas CreateOrUpdate.
- */
-public final class SignalRReplicasCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalRReplicas_CreateOrUpdate.json
- */
- /**
- * Sample code: SignalRReplicas_CreateOrUpdate.
- *
- * @param manager Entry point to SignalRManager.
- */
- public static void signalRReplicasCreateOrUpdate(com.azure.resourcemanager.signalr.SignalRManager manager) {
- manager.signalRReplicas()
- .define("mySignalRService-eastus")
- .withRegion("eastus")
- .withExistingSignalR("myResourceGroup", "mySignalRService")
- .withTags(mapOf("key1", "fakeTokenPlaceholder"))
- .withSku(new ResourceSku().withName("Premium_P1").withTier(SignalRSkuTier.PREMIUM).withCapacity(1))
- .withResourceStopped("false")
- .create();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
-### SignalRReplicas_Delete
-
-```java
-/**
- * Samples for SignalRReplicas Delete.
- */
-public final class SignalRReplicasDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalRReplicas_Delete.json
- */
- /**
- * Sample code: SignalRReplicas_Delete.
- *
- * @param manager Entry point to SignalRManager.
- */
- public static void signalRReplicasDelete(com.azure.resourcemanager.signalr.SignalRManager manager) {
- manager.signalRReplicas()
- .deleteWithResponse("myResourceGroup", "mySignalRService", "mySignalRService-eastus",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SignalRReplicas_Get
-
-```java
-/**
- * Samples for SignalRReplicas Get.
- */
-public final class SignalRReplicasGetSamples {
- /*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalRReplicas_Get.json
- */
- /**
- * Sample code: SignalRReplicas_Get.
- *
- * @param manager Entry point to SignalRManager.
- */
- public static void signalRReplicasGet(com.azure.resourcemanager.signalr.SignalRManager manager) {
- manager.signalRReplicas()
- .getWithResponse("myResourceGroup", "mySignalRService", "mySignalRService-eastus",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SignalRReplicas_List
-
-```java
-/**
- * Samples for SignalRReplicas List.
- */
-public final class SignalRReplicasListSamples {
- /*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalRReplicas_List.json
- */
- /**
- * Sample code: SignalRReplicas_List.
- *
- * @param manager Entry point to SignalRManager.
- */
- public static void signalRReplicasList(com.azure.resourcemanager.signalr.SignalRManager manager) {
- manager.signalRReplicas().list("myResourceGroup", "mySignalRService", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SignalRReplicas_Restart
-
-```java
-/**
- * Samples for SignalRReplicas Restart.
- */
-public final class SignalRReplicasRestartSamples {
- /*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalRReplicas_Restart.json
- */
- /**
- * Sample code: SignalRReplicas_Restart.
- *
- * @param manager Entry point to SignalRManager.
- */
- public static void signalRReplicasRestart(com.azure.resourcemanager.signalr.SignalRManager manager) {
- manager.signalRReplicas()
- .restart("myResourceGroup", "mySignalRService", "mySignalRService-eastus",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SignalRReplicas_Update
-
-```java
-import com.azure.resourcemanager.signalr.models.Replica;
-import com.azure.resourcemanager.signalr.models.ResourceSku;
-import com.azure.resourcemanager.signalr.models.SignalRSkuTier;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Samples for SignalRReplicas Update.
- */
-public final class SignalRReplicasUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
- * SignalRReplicas_Update.json
- */
- /**
- * Sample code: SignalRReplicas_Update.
- *
- * @param manager Entry point to SignalRManager.
- */
- public static void signalRReplicasUpdate(com.azure.resourcemanager.signalr.SignalRManager manager) {
- Replica resource = manager.signalRReplicas()
- .getWithResponse("myResourceGroup", "mySignalRService", "mySignalRService-eastus",
- com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withTags(mapOf("key1", "fakeTokenPlaceholder"))
- .withSku(new ResourceSku().withName("Premium_P1").withTier(SignalRSkuTier.PREMIUM).withCapacity(1))
- .withResourceStopped("false")
- .apply();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
### SignalRSharedPrivateLinkResources_CreateOrUpdate
```java
@@ -1079,8 +828,7 @@ public final class SignalRReplicasUpdateSamples {
*/
public final class SignalRSharedPrivateLinkResourcesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRSharedPrivateLinkResources_CreateOrUpdate.json
*/
/**
@@ -1110,8 +858,7 @@ public final class SignalRSharedPrivateLinkResourcesCreateOrUpdateSamples {
*/
public final class SignalRSharedPrivateLinkResourcesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRSharedPrivateLinkResources_Delete.json
*/
/**
@@ -1135,8 +882,7 @@ public final class SignalRSharedPrivateLinkResourcesDeleteSamples {
*/
public final class SignalRSharedPrivateLinkResourcesGetSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRSharedPrivateLinkResources_Get.json
*/
/**
@@ -1159,8 +905,7 @@ public final class SignalRSharedPrivateLinkResourcesGetSamples {
*/
public final class SignalRSharedPrivateLinkResourcesListSamples {
/*
- * x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/
+ * x-ms-original-file: specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/
* SignalRSharedPrivateLinkResources_List.json
*/
/**
@@ -1184,8 +929,7 @@ public final class SignalRSharedPrivateLinkResourcesListSamples {
public final class UsagesListSamples {
/*
* x-ms-original-file:
- * specification/signalr/resource-manager/Microsoft.SignalRService/preview/2023-08-01-preview/examples/Usages_List.
- * json
+ * specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/Usages_List.json
*/
/**
* Sample code: Usages_List.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/pom.xml b/sdk/signalr/azure-resourcemanager-signalr/pom.xml
index b9730fcb488d0..ef06a586e7c14 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/pom.xml
+++ b/sdk/signalr/azure-resourcemanager-signalr/pom.xml
@@ -14,11 +14,11 @@
com.azure.resourcemanager
azure-resourcemanager-signalr
- 1.0.0-beta.10
+ 1.0.0
jar
Microsoft Azure SDK for SignalR Management
- 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-2023-08-01-preview.
+ 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-2023-02-01.
https://github.com/Azure/azure-sdk-for-java
@@ -45,7 +45,6 @@
UTF-8
0
0
- true
false
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java
index ec0540cd4b90d..8a4692c220b84 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java
@@ -11,6 +11,7 @@
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
+import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpPipelinePolicy;
@@ -19,7 +20,6 @@
import com.azure.core.http.policy.RetryOptions;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
-import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
@@ -30,7 +30,6 @@
import com.azure.resourcemanager.signalr.implementation.SignalRManagementClientBuilder;
import com.azure.resourcemanager.signalr.implementation.SignalRPrivateEndpointConnectionsImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRPrivateLinkResourcesImpl;
-import com.azure.resourcemanager.signalr.implementation.SignalRReplicasImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRSharedPrivateLinkResourcesImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRsImpl;
import com.azure.resourcemanager.signalr.implementation.UsagesImpl;
@@ -39,7 +38,6 @@
import com.azure.resourcemanager.signalr.models.SignalRCustomDomains;
import com.azure.resourcemanager.signalr.models.SignalRPrivateEndpointConnections;
import com.azure.resourcemanager.signalr.models.SignalRPrivateLinkResources;
-import com.azure.resourcemanager.signalr.models.SignalRReplicas;
import com.azure.resourcemanager.signalr.models.SignalRSharedPrivateLinkResources;
import com.azure.resourcemanager.signalr.models.SignalRs;
import com.azure.resourcemanager.signalr.models.Usages;
@@ -69,8 +67,6 @@ public final class SignalRManager {
private SignalRPrivateLinkResources signalRPrivateLinkResources;
- private SignalRReplicas signalRReplicas;
-
private SignalRSharedPrivateLinkResources signalRSharedPrivateLinkResources;
private final SignalRManagementClient clientObject;
@@ -237,7 +233,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
.append("-")
.append("com.azure.resourcemanager.signalr")
.append("/")
- .append("1.0.0-beta.9");
+ .append("1.0.0");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
@@ -270,7 +266,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
- policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
+ policies.add(new BearerTokenAuthenticationPolicy(credential, scopes.toArray(new String[0])));
policies.addAll(this.policies.stream()
.filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
.collect(Collectors.toList()));
@@ -370,18 +366,6 @@ public SignalRPrivateLinkResources signalRPrivateLinkResources() {
return signalRPrivateLinkResources;
}
- /**
- * Gets the resource collection API of SignalRReplicas. It manages Replica.
- *
- * @return Resource collection API of SignalRReplicas.
- */
- public SignalRReplicas signalRReplicas() {
- if (this.signalRReplicas == null) {
- this.signalRReplicas = new SignalRReplicasImpl(clientObject.getSignalRReplicas(), this);
- }
- return signalRReplicas;
- }
-
/**
* Gets the resource collection API of SignalRSharedPrivateLinkResources. It manages SharedPrivateLinkResource.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java
index ae1ac11fcb5dc..ac01c594fa0c9 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java
@@ -20,7 +20,8 @@ public interface SignalRCustomCertificatesClient {
/**
* List all custom certificates.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -33,7 +34,8 @@ public interface SignalRCustomCertificatesClient {
/**
* List all custom certificates.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -47,7 +49,8 @@ public interface SignalRCustomCertificatesClient {
/**
* Get a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param context The context to associate with this operation.
@@ -63,7 +66,8 @@ Response getWithResponse(String resourceGroupName, Strin
/**
* Get a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -77,7 +81,8 @@ Response getWithResponse(String resourceGroupName, Strin
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -93,7 +98,8 @@ SyncPoller, CustomCertificateInner> beginCrea
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -110,7 +116,8 @@ SyncPoller, CustomCertificateInner> beginCrea
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -126,7 +133,8 @@ CustomCertificateInner createOrUpdate(String resourceGroupName, String resourceN
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -143,7 +151,8 @@ CustomCertificateInner createOrUpdate(String resourceGroupName, String resourceN
/**
* Delete a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param context The context to associate with this operation.
@@ -159,7 +168,8 @@ Response deleteWithResponse(String resourceGroupName, String resourceName,
/**
* Delete a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java
index 2d8290e4986ef..6d475653bf08c 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java
@@ -20,7 +20,8 @@ public interface SignalRCustomDomainsClient {
/**
* List all custom domains.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -33,7 +34,8 @@ public interface SignalRCustomDomainsClient {
/**
* List all custom domains.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -47,7 +49,8 @@ public interface SignalRCustomDomainsClient {
/**
* Get a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
@@ -63,7 +66,8 @@ Response getWithResponse(String resourceGroupName, String res
/**
* Get a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -77,7 +81,8 @@ Response getWithResponse(String resourceGroupName, String res
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -93,7 +98,8 @@ SyncPoller, CustomDomainInner> beginCreateOrUpdate
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -110,7 +116,8 @@ SyncPoller, CustomDomainInner> beginCreateOrUpdate
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -126,7 +133,8 @@ CustomDomainInner createOrUpdate(String resourceGroupName, String resourceName,
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -143,7 +151,8 @@ CustomDomainInner createOrUpdate(String resourceGroupName, String resourceName,
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -157,7 +166,8 @@ CustomDomainInner createOrUpdate(String resourceGroupName, String resourceName,
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
@@ -173,7 +183,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -186,7 +197,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRManagementClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRManagementClient.java
index 8a6c11749883b..041d2787b3d93 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRManagementClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRManagementClient.java
@@ -12,7 +12,8 @@
*/
public interface SignalRManagementClient {
/**
- * Gets The ID of the target subscription. The value must be an UUID.
+ * Gets Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms
+ * part of the URI for every service call.
*
* @return the subscriptionId value.
*/
@@ -95,13 +96,6 @@ public interface SignalRManagementClient {
*/
SignalRPrivateLinkResourcesClient getSignalRPrivateLinkResources();
- /**
- * Gets the SignalRReplicasClient object to access its operations.
- *
- * @return the SignalRReplicasClient object.
- */
- SignalRReplicasClient getSignalRReplicas();
-
/**
* Gets the SignalRSharedPrivateLinkResourcesClient object to access its operations.
*
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java
index dc0f9b29f50d1..a5c8a6a0f6a27 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateEndpointConnectionsClient.java
@@ -20,7 +20,8 @@ public interface SignalRPrivateEndpointConnectionsClient {
/**
* List private endpoint connections.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -33,7 +34,8 @@ public interface SignalRPrivateEndpointConnectionsClient {
/**
* List private endpoint connections.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -47,9 +49,9 @@ public interface SignalRPrivateEndpointConnectionsClient {
/**
* Get the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -64,9 +66,9 @@ Response getWithResponse(String privateEndpointC
/**
* Get the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -80,9 +82,9 @@ PrivateEndpointConnectionInner get(String privateEndpointConnectionName, String
/**
* Update the state of specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
* @param context The context to associate with this operation.
@@ -98,9 +100,9 @@ Response updateWithResponse(String privateEndpoi
/**
* Update the state of specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -115,9 +117,9 @@ PrivateEndpointConnectionInner update(String privateEndpointConnectionName, Stri
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -131,9 +133,9 @@ SyncPoller, Void> beginDelete(String privateEndpointConnectionN
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -148,9 +150,9 @@ SyncPoller, Void> beginDelete(String privateEndpointConnectionN
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -162,9 +164,9 @@ SyncPoller, Void> beginDelete(String privateEndpointConnectionN
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 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/fluent/SignalRPrivateLinkResourcesClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateLinkResourcesClient.java
index 91e329a2b9aad..7778517baf5ca 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateLinkResourcesClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRPrivateLinkResourcesClient.java
@@ -17,7 +17,8 @@ public interface SignalRPrivateLinkResourcesClient {
/**
* Get the private link resources that need to be created for a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -31,7 +32,8 @@ public interface SignalRPrivateLinkResourcesClient {
/**
* Get the private link resources that need to be created for a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 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/fluent/SignalRReplicasClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRReplicasClient.java
deleted file mode 100644
index b50bb4ebb9988..0000000000000
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRReplicasClient.java
+++ /dev/null
@@ -1,293 +0,0 @@
-// 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.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.signalr.fluent.models.ReplicaInner;
-
-/**
- * An instance of this class provides access to all the operations defined in SignalRReplicasClient.
- */
-public interface SignalRReplicasClient {
- /**
- * List all replicas belong to this resource.
- *
- * @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 com.azure.core.management.exception.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 paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String resourceName);
-
- /**
- * List all replicas belong to this resource.
- *
- * @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.
- * @throws com.azure.core.management.exception.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 paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String resourceName, Context context);
-
- /**
- * Get the replica and its properties.
- *
- * @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 com.azure.core.management.exception.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 replica and its properties along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String resourceName, String replicaName,
- Context context);
-
- /**
- * Get the replica and its properties.
- *
- * @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 com.azure.core.management.exception.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 replica and its properties.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ReplicaInner get(String resourceGroupName, String resourceName, String replicaName);
-
- /**
- * Create or update 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 parameters Parameters for the create or update operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 {@link SyncPoller} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ReplicaInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String replicaName, ReplicaInner parameters);
-
- /**
- * Create or update 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 parameters Parameters for the create or update operation.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 {@link SyncPoller} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ReplicaInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String replicaName, ReplicaInner parameters, Context context);
-
- /**
- * Create or update 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 parameters Parameters for the create or update operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ReplicaInner createOrUpdate(String resourceGroupName, String resourceName, String replicaName,
- ReplicaInner parameters);
-
- /**
- * Create or update 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 parameters Parameters for the create or update operation.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ReplicaInner createOrUpdate(String resourceGroupName, String resourceName, String replicaName,
- ReplicaInner parameters, Context context);
-
- /**
- * Operation to delete 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 com.azure.core.management.exception.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 {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String resourceName, String replicaName,
- Context context);
-
- /**
- * Operation to delete 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 com.azure.core.management.exception.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)
- void delete(String resourceGroupName, String resourceName, String replicaName);
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 {@link SyncPoller} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ReplicaInner> beginUpdate(String resourceGroupName, String resourceName,
- String replicaName, ReplicaInner parameters);
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update operation.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 {@link SyncPoller} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ReplicaInner> beginUpdate(String resourceGroupName, String resourceName,
- String replicaName, ReplicaInner parameters, Context context);
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ReplicaInner update(String resourceGroupName, String resourceName, String replicaName, ReplicaInner parameters);
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update operation.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ReplicaInner update(String resourceGroupName, String resourceName, String replicaName, ReplicaInner parameters,
- Context context);
-
- /**
- * 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 com.azure.core.management.exception.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 {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRestart(String resourceGroupName, String resourceName, String replicaName);
-
- /**
- * 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 com.azure.core.management.exception.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 {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRestart(String resourceGroupName, String resourceName, String replicaName,
- Context context);
-
- /**
- * 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 com.azure.core.management.exception.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)
- void restart(String resourceGroupName, String resourceName, String replicaName);
-
- /**
- * 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 com.azure.core.management.exception.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)
- void restart(String resourceGroupName, String resourceName, String replicaName, Context context);
-}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java
index 56b4e49efbb15..e58c4b8bd5532 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRSharedPrivateLinkResourcesClient.java
@@ -20,7 +20,8 @@ public interface SignalRSharedPrivateLinkResourcesClient {
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -33,7 +34,8 @@ public interface SignalRSharedPrivateLinkResourcesClient {
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -48,7 +50,8 @@ public interface SignalRSharedPrivateLinkResourcesClient {
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -64,7 +67,8 @@ Response getWithResponse(String sharedPrivateLin
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -79,7 +83,8 @@ SharedPrivateLinkResourceInner get(String sharedPrivateLinkResourceName, String
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -96,7 +101,8 @@ SyncPoller, SharedPrivateLinkResource
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -114,7 +120,8 @@ SyncPoller, SharedPrivateLinkResource
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -130,7 +137,8 @@ SharedPrivateLinkResourceInner createOrUpdate(String sharedPrivateLinkResourceNa
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -147,7 +155,8 @@ SharedPrivateLinkResourceInner createOrUpdate(String sharedPrivateLinkResourceNa
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -162,7 +171,8 @@ SyncPoller, Void> beginDelete(String sharedPrivateLinkResourceN
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -178,7 +188,8 @@ SyncPoller, Void> beginDelete(String sharedPrivateLinkResourceN
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -191,7 +202,8 @@ SyncPoller, Void> beginDelete(String sharedPrivateLinkResourceN
* 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. The name is case insensitive.
+ * @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 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/fluent/SignalRsClient.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java
index ead92a1b8c071..2f3ad72a2c724 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRsClient.java
@@ -77,7 +77,8 @@ Response checkNameAvailabilityWithResponse(String locatio
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -90,7 +91,8 @@ Response checkNameAvailabilityWithResponse(String locatio
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -104,7 +106,8 @@ Response checkNameAvailabilityWithResponse(String locatio
/**
* Get the resource and its properties.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -119,7 +122,8 @@ Response getByResourceGroupWithResponse(String resourceGro
/**
* Get the resource and its properties.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -132,7 +136,8 @@ Response getByResourceGroupWithResponse(String resourceGro
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -147,7 +152,8 @@ SyncPoller, SignalRResourceInner> beginCreateOr
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @param context The context to associate with this operation.
@@ -163,7 +169,8 @@ SyncPoller, SignalRResourceInner> beginCreateOr
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -177,7 +184,8 @@ SyncPoller, SignalRResourceInner> beginCreateOr
/**
* Create or update a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameters for the create or update operation.
* @param context The context to associate with this operation.
@@ -193,7 +201,8 @@ SignalRResourceInner createOrUpdate(String resourceGroupName, String resourceNam
/**
* Operation to delete a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -206,7 +215,8 @@ SignalRResourceInner createOrUpdate(String resourceGroupName, String resourceNam
/**
* Operation to delete a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -220,7 +230,8 @@ SignalRResourceInner createOrUpdate(String resourceGroupName, String resourceNam
/**
* Operation to delete a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -232,7 +243,8 @@ SignalRResourceInner createOrUpdate(String resourceGroupName, String resourceNam
/**
* Operation to delete a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -245,7 +257,8 @@ SignalRResourceInner createOrUpdate(String resourceGroupName, String resourceNam
/**
* Operation to update an exiting resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameters for the update operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -260,7 +273,8 @@ SyncPoller, SignalRResourceInner> beginUpdate(S
/**
* Operation to update an exiting resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameters for the update operation.
* @param context The context to associate with this operation.
@@ -276,7 +290,8 @@ SyncPoller, SignalRResourceInner> beginUpdate(S
/**
* Operation to update an exiting resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameters for the update operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -290,7 +305,8 @@ SyncPoller, SignalRResourceInner> beginUpdate(S
/**
* Operation to update an exiting resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameters for the update operation.
* @param context The context to associate with this operation.
@@ -306,7 +322,8 @@ SignalRResourceInner update(String resourceGroupName, String resourceName, Signa
/**
* Get the access keys of the resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -320,7 +337,8 @@ SignalRResourceInner update(String resourceGroupName, String resourceName, Signa
/**
* Get the access keys of the resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -333,7 +351,8 @@ SignalRResourceInner update(String resourceGroupName, String resourceName, Signa
/**
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameter that describes the Regenerate Key Operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -348,7 +367,8 @@ SyncPoller, SignalRKeysInner> beginRegenerateKey(St
/**
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameter that describes the Regenerate Key Operation.
* @param context The context to associate with this operation.
@@ -364,7 +384,8 @@ SyncPoller, SignalRKeysInner> beginRegenerateKey(St
/**
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameter that describes the Regenerate Key Operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -378,7 +399,8 @@ SyncPoller, SignalRKeysInner> beginRegenerateKey(St
/**
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters Parameter that describes the Regenerate Key Operation.
* @param context The context to associate with this operation.
@@ -391,40 +413,11 @@ SyncPoller, SignalRKeysInner> beginRegenerateKey(St
SignalRKeysInner regenerateKey(String resourceGroupName, String resourceName, RegenerateKeyParameters parameters,
Context context);
- /**
- * List all available skus of the replica resource.
- *
- * @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 com.azure.core.management.exception.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 list skus operation response along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listReplicaSkusWithResponse(String resourceGroupName, String resourceName,
- String replicaName, Context context);
-
- /**
- * List all available skus of the replica resource.
- *
- * @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 com.azure.core.management.exception.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 list skus operation response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SkuListInner listReplicaSkus(String resourceGroupName, String resourceName, String replicaName);
-
/**
* Operation to restart a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -437,7 +430,8 @@ Response listReplicaSkusWithResponse(String resourceGroupName, Str
/**
* Operation to restart a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -451,7 +445,8 @@ Response listReplicaSkusWithResponse(String resourceGroupName, Str
/**
* Operation to restart a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -463,7 +458,8 @@ Response listReplicaSkusWithResponse(String resourceGroupName, Str
/**
* Operation to restart a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -476,7 +472,8 @@ Response listReplicaSkusWithResponse(String resourceGroupName, Str
/**
* List all available skus of the resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -490,7 +487,8 @@ Response listReplicaSkusWithResponse(String resourceGroupName, Str
/**
* List all available skus of the resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java
index 934567f4df83e..e4779f3bfa638 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomCertificateInner.java
@@ -20,14 +20,14 @@
@Fluent
public final class CustomCertificateInner extends ProxyResource {
/*
- * Custom certificate properties.
+ * Metadata pertaining to creation and last modification of the resource.
*/
- private CustomCertificateProperties innerProperties = new CustomCertificateProperties();
+ private SystemData systemData;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ * Custom certificate properties.
*/
- private SystemData systemData;
+ private CustomCertificateProperties innerProperties = new CustomCertificateProperties();
/*
* The type of the resource.
@@ -51,21 +51,21 @@ public CustomCertificateInner() {
}
/**
- * Get the innerProperties property: Custom certificate properties.
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
*
- * @return the innerProperties value.
+ * @return the systemData value.
*/
- private CustomCertificateProperties innerProperties() {
- return this.innerProperties;
+ public SystemData systemData() {
+ return this.systemData;
}
/**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ * Get the innerProperties property: Custom certificate properties.
*
- * @return the systemData value.
+ * @return the innerProperties value.
*/
- public SystemData systemData() {
- return this.systemData;
+ private CustomCertificateProperties innerProperties() {
+ return this.innerProperties;
}
/**
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java
index 04ed024318117..b915b710d4fb4 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/CustomDomainInner.java
@@ -21,14 +21,14 @@
@Fluent
public final class CustomDomainInner extends ProxyResource {
/*
- * Properties of a custom domain.
+ * Metadata pertaining to creation and last modification of the resource.
*/
- private CustomDomainProperties innerProperties = new CustomDomainProperties();
+ private SystemData systemData;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ * Properties of a custom domain.
*/
- private SystemData systemData;
+ private CustomDomainProperties innerProperties = new CustomDomainProperties();
/*
* The type of the resource.
@@ -52,21 +52,21 @@ public CustomDomainInner() {
}
/**
- * Get the innerProperties property: Properties of a custom domain.
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
*
- * @return the innerProperties value.
+ * @return the systemData value.
*/
- private CustomDomainProperties innerProperties() {
- return this.innerProperties;
+ public SystemData systemData() {
+ return this.systemData;
}
/**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ * Get the innerProperties property: Properties of a custom domain.
*
- * @return the systemData value.
+ * @return the innerProperties value.
*/
- public SystemData systemData() {
- return this.systemData;
+ private CustomDomainProperties innerProperties() {
+ return this.innerProperties;
}
/**
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java
index aafe4b7aa9704..610843f3b8f8d 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateEndpointConnectionInner.java
@@ -22,14 +22,14 @@
@Fluent
public final class PrivateEndpointConnectionInner extends ProxyResource {
/*
- * Private endpoint connection properties
+ * Metadata pertaining to creation and last modification of the resource.
*/
- private PrivateEndpointConnectionProperties innerProperties;
+ private SystemData systemData;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ * Private endpoint connection properties
*/
- private SystemData systemData;
+ private PrivateEndpointConnectionProperties innerProperties;
/*
* The type of the resource.
@@ -53,21 +53,21 @@ public PrivateEndpointConnectionInner() {
}
/**
- * Get the innerProperties property: Private endpoint connection properties.
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
*
- * @return the innerProperties value.
+ * @return the systemData value.
*/
- private PrivateEndpointConnectionProperties innerProperties() {
- return this.innerProperties;
+ public SystemData systemData() {
+ return this.systemData;
}
/**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ * Get the innerProperties property: Private endpoint connection properties.
*
- * @return the systemData value.
+ * @return the innerProperties value.
*/
- public SystemData systemData() {
- return this.systemData;
+ private PrivateEndpointConnectionProperties innerProperties() {
+ return this.innerProperties;
}
/**
@@ -209,11 +209,11 @@ public static PrivateEndpointConnectionInner fromJson(JsonReader jsonReader) thr
deserializedPrivateEndpointConnectionInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedPrivateEndpointConnectionInner.type = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionInner.systemData = SystemData.fromJson(reader);
} else if ("properties".equals(fieldName)) {
deserializedPrivateEndpointConnectionInner.innerProperties
= PrivateEndpointConnectionProperties.fromJson(reader);
- } else if ("systemData".equals(fieldName)) {
- deserializedPrivateEndpointConnectionInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java
index 2d28e86a4855f..9fb400fb93fd0 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/PrivateLinkResourceInner.java
@@ -6,7 +6,6 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -24,11 +23,6 @@ public final class PrivateLinkResourceInner extends ProxyResource {
*/
private PrivateLinkResourceProperties innerProperties;
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- private SystemData systemData;
-
/*
* The type of the resource.
*/
@@ -59,15 +53,6 @@ private PrivateLinkResourceProperties innerProperties() {
return this.innerProperties;
}
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
/**
* Get the type property: The type of the resource.
*
@@ -239,8 +224,6 @@ public static PrivateLinkResourceInner fromJson(JsonReader jsonReader) throws IO
} else if ("properties".equals(fieldName)) {
deserializedPrivateLinkResourceInner.innerProperties
= PrivateLinkResourceProperties.fromJson(reader);
- } else if ("systemData".equals(fieldName)) {
- deserializedPrivateLinkResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaInner.java
deleted file mode 100644
index 6a7a739b65e19..0000000000000
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaInner.java
+++ /dev/null
@@ -1,276 +0,0 @@
-// 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.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
-import com.azure.core.management.SystemData;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.signalr.models.ProvisioningState;
-import com.azure.resourcemanager.signalr.models.ResourceSku;
-import java.io.IOException;
-import java.util.Map;
-
-/**
- * A class represent a replica resource.
- */
-@Fluent
-public final class ReplicaInner extends Resource {
- /*
- * The billing information of the resource.
- */
- private ResourceSku sku;
-
- /*
- * The properties property.
- */
- private ReplicaProperties innerProperties;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- private SystemData systemData;
-
- /*
- * The type of the resource.
- */
- private String type;
-
- /*
- * The name of the resource.
- */
- private String name;
-
- /*
- * Fully qualified resource Id for the resource.
- */
- private String id;
-
- /**
- * Creates an instance of ReplicaInner class.
- */
- public ReplicaInner() {
- }
-
- /**
- * Get the sku property: The billing information of the resource.
- *
- * @return the sku value.
- */
- public ResourceSku sku() {
- return this.sku;
- }
-
- /**
- * Set the sku property: The billing information of the resource.
- *
- * @param sku the sku value to set.
- * @return the ReplicaInner object itself.
- */
- public ReplicaInner withSku(ResourceSku sku) {
- this.sku = sku;
- return this;
- }
-
- /**
- * Get the innerProperties property: The properties property.
- *
- * @return the innerProperties value.
- */
- private ReplicaProperties innerProperties() {
- return this.innerProperties;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /**
- * Get the type property: The type of the resource.
- *
- * @return the type value.
- */
- @Override
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: The name of the resource.
- *
- * @return the name value.
- */
- @Override
- public String name() {
- return this.name;
- }
-
- /**
- * Get the id property: Fully qualified resource Id for the resource.
- *
- * @return the id value.
- */
- @Override
- public String id() {
- return this.id;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public ReplicaInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public ReplicaInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Get the provisioningState property: Provisioning state of the resource.
- *
- * @return the provisioningState value.
- */
- public ProvisioningState provisioningState() {
- return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
- }
-
- /**
- * Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
- * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
- * affected.
- *
- * @return the regionEndpointEnabled value.
- */
- public String regionEndpointEnabled() {
- return this.innerProperties() == null ? null : this.innerProperties().regionEndpointEnabled();
- }
-
- /**
- * Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
- * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
- * affected.
- *
- * @param regionEndpointEnabled the regionEndpointEnabled value to set.
- * @return the ReplicaInner object itself.
- */
- public ReplicaInner withRegionEndpointEnabled(String regionEndpointEnabled) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ReplicaProperties();
- }
- this.innerProperties().withRegionEndpointEnabled(regionEndpointEnabled);
- return this;
- }
-
- /**
- * Get the resourceStopped property: Stop or start the resource. Default to "false".
- * When it's true, the data plane of the resource is shutdown.
- * When it's false, the data plane of the resource is started.
- *
- * @return the resourceStopped value.
- */
- public String resourceStopped() {
- return this.innerProperties() == null ? null : this.innerProperties().resourceStopped();
- }
-
- /**
- * Set the resourceStopped property: Stop or start the resource. Default to "false".
- * When it's true, the data plane of the resource is shutdown.
- * When it's false, the data plane of the resource is started.
- *
- * @param resourceStopped the resourceStopped value to set.
- * @return the ReplicaInner object itself.
- */
- public ReplicaInner withResourceStopped(String resourceStopped) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ReplicaProperties();
- }
- this.innerProperties().withResourceStopped(resourceStopped);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (sku() != null) {
- sku().validate();
- }
- if (innerProperties() != null) {
- innerProperties().validate();
- }
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
- jsonWriter.writeJsonField("sku", this.sku);
- jsonWriter.writeJsonField("properties", this.innerProperties);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of ReplicaInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of ReplicaInner if the JsonReader was pointing to an instance of it, or null if it was
- * pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the ReplicaInner.
- */
- public static ReplicaInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- ReplicaInner deserializedReplicaInner = new ReplicaInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("id".equals(fieldName)) {
- deserializedReplicaInner.id = reader.getString();
- } else if ("name".equals(fieldName)) {
- deserializedReplicaInner.name = reader.getString();
- } else if ("type".equals(fieldName)) {
- deserializedReplicaInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedReplicaInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedReplicaInner.withTags(tags);
- } else if ("sku".equals(fieldName)) {
- deserializedReplicaInner.sku = ResourceSku.fromJson(reader);
- } else if ("properties".equals(fieldName)) {
- deserializedReplicaInner.innerProperties = ReplicaProperties.fromJson(reader);
- } else if ("systemData".equals(fieldName)) {
- deserializedReplicaInner.systemData = SystemData.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedReplicaInner;
- });
- }
-}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaProperties.java
deleted file mode 100644
index b287ba15ca2e2..0000000000000
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/ReplicaProperties.java
+++ /dev/null
@@ -1,150 +0,0 @@
-// 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.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonSerializable;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.signalr.models.ProvisioningState;
-import java.io.IOException;
-
-/**
- * The ReplicaProperties model.
- */
-@Fluent
-public final class ReplicaProperties implements JsonSerializable {
- /*
- * Provisioning state of the resource.
- */
- private ProvisioningState provisioningState;
-
- /*
- * Enable or disable the regional endpoint. Default to "Enabled".
- * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
- * affected.
- */
- private String regionEndpointEnabled;
-
- /*
- * Stop or start the resource. Default to "false".
- * When it's true, the data plane of the resource is shutdown.
- * When it's false, the data plane of the resource is started.
- */
- private String resourceStopped;
-
- /**
- * Creates an instance of ReplicaProperties class.
- */
- public ReplicaProperties() {
- }
-
- /**
- * Get the provisioningState property: Provisioning state of the resource.
- *
- * @return the provisioningState value.
- */
- public ProvisioningState provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Get the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
- * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
- * affected.
- *
- * @return the regionEndpointEnabled value.
- */
- public String regionEndpointEnabled() {
- return this.regionEndpointEnabled;
- }
-
- /**
- * Set the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled".
- * When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be
- * affected.
- *
- * @param regionEndpointEnabled the regionEndpointEnabled value to set.
- * @return the ReplicaProperties object itself.
- */
- public ReplicaProperties withRegionEndpointEnabled(String regionEndpointEnabled) {
- this.regionEndpointEnabled = regionEndpointEnabled;
- return this;
- }
-
- /**
- * Get the resourceStopped property: Stop or start the resource. Default to "false".
- * When it's true, the data plane of the resource is shutdown.
- * When it's false, the data plane of the resource is started.
- *
- * @return the resourceStopped value.
- */
- public String resourceStopped() {
- return this.resourceStopped;
- }
-
- /**
- * Set the resourceStopped property: Stop or start the resource. Default to "false".
- * When it's true, the data plane of the resource is shutdown.
- * When it's false, the data plane of the resource is started.
- *
- * @param resourceStopped the resourceStopped value to set.
- * @return the ReplicaProperties object itself.
- */
- public ReplicaProperties withResourceStopped(String resourceStopped) {
- this.resourceStopped = resourceStopped;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeStringField("regionEndpointEnabled", this.regionEndpointEnabled);
- jsonWriter.writeStringField("resourceStopped", this.resourceStopped);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of ReplicaProperties from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of ReplicaProperties if the JsonReader was pointing to an instance of it, or null if it was
- * pointing to JSON null.
- * @throws IOException If an error occurs while reading the ReplicaProperties.
- */
- public static ReplicaProperties fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- ReplicaProperties deserializedReplicaProperties = new ReplicaProperties();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("provisioningState".equals(fieldName)) {
- deserializedReplicaProperties.provisioningState = ProvisioningState.fromString(reader.getString());
- } else if ("regionEndpointEnabled".equals(fieldName)) {
- deserializedReplicaProperties.regionEndpointEnabled = reader.getString();
- } else if ("resourceStopped".equals(fieldName)) {
- deserializedReplicaProperties.resourceStopped = reader.getString();
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedReplicaProperties;
- });
- }
-}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java
index bc3ba8964dca3..67f911e9c5b69 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SharedPrivateLinkResourceInner.java
@@ -20,14 +20,14 @@
@Fluent
public final class SharedPrivateLinkResourceInner extends ProxyResource {
/*
- * Describes the properties of an existing Shared Private Link Resource
+ * Metadata pertaining to creation and last modification of the resource.
*/
- private SharedPrivateLinkResourceProperties innerProperties;
+ private SystemData systemData;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ * Describes the properties of an existing Shared Private Link Resource
*/
- private SystemData systemData;
+ private SharedPrivateLinkResourceProperties innerProperties;
/*
* The type of the resource.
@@ -51,21 +51,21 @@ public SharedPrivateLinkResourceInner() {
}
/**
- * Get the innerProperties property: Describes the properties of an existing Shared Private Link Resource.
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
*
- * @return the innerProperties value.
+ * @return the systemData value.
*/
- private SharedPrivateLinkResourceProperties innerProperties() {
- return this.innerProperties;
+ public SystemData systemData() {
+ return this.systemData;
}
/**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ * Get the innerProperties property: Describes the properties of an existing Shared Private Link Resource.
*
- * @return the systemData value.
+ * @return the innerProperties value.
*/
- public SystemData systemData() {
- return this.systemData;
+ private SharedPrivateLinkResourceProperties innerProperties() {
+ return this.innerProperties;
}
/**
@@ -229,11 +229,11 @@ public static SharedPrivateLinkResourceInner fromJson(JsonReader jsonReader) thr
deserializedSharedPrivateLinkResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedSharedPrivateLinkResourceInner.type = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedSharedPrivateLinkResourceInner.systemData = SystemData.fromJson(reader);
} else if ("properties".equals(fieldName)) {
deserializedSharedPrivateLinkResourceInner.innerProperties
= SharedPrivateLinkResourceProperties.fromJson(reader);
- } else if ("systemData".equals(fieldName)) {
- deserializedSharedPrivateLinkResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java
index 283ac614290bd..0d2e04aba81be 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/models/SignalRProperties.java
@@ -137,21 +137,6 @@ public final class SignalRProperties implements JsonSerializable tags() {
- Map inner = this.innerModel().tags();
- if (inner != null) {
- return Collections.unmodifiableMap(inner);
- } else {
- return Collections.emptyMap();
- }
- }
-
- public ResourceSku sku() {
- return this.innerModel().sku();
- }
-
- public SystemData systemData() {
- return this.innerModel().systemData();
- }
-
- public ProvisioningState provisioningState() {
- return this.innerModel().provisioningState();
- }
-
- public String regionEndpointEnabled() {
- return this.innerModel().regionEndpointEnabled();
- }
-
- public String resourceStopped() {
- return this.innerModel().resourceStopped();
- }
-
- public Region region() {
- return Region.fromName(this.regionName());
- }
-
- public String regionName() {
- return this.location();
- }
-
- public String resourceGroupName() {
- return resourceGroupName;
- }
-
- public ReplicaInner innerModel() {
- return this.innerObject;
- }
-
- private com.azure.resourcemanager.signalr.SignalRManager manager() {
- return this.serviceManager;
- }
-
- private String resourceGroupName;
-
- private String resourceName;
-
- private String replicaName;
-
- public ReplicaImpl withExistingSignalR(String resourceGroupName, String resourceName) {
- this.resourceGroupName = resourceGroupName;
- this.resourceName = resourceName;
- return this;
- }
-
- public Replica create() {
- this.innerObject = serviceManager.serviceClient()
- .getSignalRReplicas()
- .createOrUpdate(resourceGroupName, resourceName, replicaName, this.innerModel(), Context.NONE);
- return this;
- }
-
- public Replica create(Context context) {
- this.innerObject = serviceManager.serviceClient()
- .getSignalRReplicas()
- .createOrUpdate(resourceGroupName, resourceName, replicaName, this.innerModel(), context);
- return this;
- }
-
- ReplicaImpl(String name, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
- this.innerObject = new ReplicaInner();
- this.serviceManager = serviceManager;
- this.replicaName = name;
- }
-
- public ReplicaImpl update() {
- return this;
- }
-
- public Replica apply() {
- this.innerObject = serviceManager.serviceClient()
- .getSignalRReplicas()
- .update(resourceGroupName, resourceName, replicaName, this.innerModel(), Context.NONE);
- return this;
- }
-
- public Replica apply(Context context) {
- this.innerObject = serviceManager.serviceClient()
- .getSignalRReplicas()
- .update(resourceGroupName, resourceName, replicaName, this.innerModel(), context);
- return this;
- }
-
- ReplicaImpl(ReplicaInner innerObject, com.azure.resourcemanager.signalr.SignalRManager serviceManager) {
- this.innerObject = innerObject;
- this.serviceManager = serviceManager;
- this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
- this.resourceName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "signalR");
- this.replicaName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "replicas");
- }
-
- public Replica refresh() {
- this.innerObject = serviceManager.serviceClient()
- .getSignalRReplicas()
- .getWithResponse(resourceGroupName, resourceName, replicaName, Context.NONE)
- .getValue();
- return this;
- }
-
- public Replica refresh(Context context) {
- this.innerObject = serviceManager.serviceClient()
- .getSignalRReplicas()
- .getWithResponse(resourceGroupName, resourceName, replicaName, context)
- .getValue();
- return this;
- }
-
- public void restart() {
- serviceManager.signalRReplicas().restart(resourceGroupName, resourceName, replicaName);
- }
-
- public void restart(Context context) {
- serviceManager.signalRReplicas().restart(resourceGroupName, resourceName, replicaName, context);
- }
-
- public ReplicaImpl withRegion(Region location) {
- this.innerModel().withLocation(location.toString());
- return this;
- }
-
- public ReplicaImpl withRegion(String location) {
- this.innerModel().withLocation(location);
- return this;
- }
-
- public ReplicaImpl withTags(Map tags) {
- this.innerModel().withTags(tags);
- return this;
- }
-
- public ReplicaImpl withSku(ResourceSku sku) {
- this.innerModel().withSku(sku);
- return this;
- }
-
- public ReplicaImpl withRegionEndpointEnabled(String regionEndpointEnabled) {
- this.innerModel().withRegionEndpointEnabled(regionEndpointEnabled);
- return this;
- }
-
- public ReplicaImpl withResourceStopped(String resourceStopped) {
- this.innerModel().withResourceStopped(resourceStopped);
- return this;
- }
-}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java
index f8db41f8b1ff2..868419f3d0b8a 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomCertificatesClientImpl.java
@@ -121,7 +121,8 @@ Mono> listNext(@PathParam(value = "nextLink", en
/**
* List all custom certificates.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -158,7 +159,8 @@ private Mono> listSinglePageAsync(String r
/**
* List all custom certificates.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -196,7 +198,8 @@ private Mono> listSinglePageAsync(String r
/**
* List all custom certificates.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -212,7 +215,8 @@ private PagedFlux listAsync(String resourceGroupName, St
/**
* List all custom certificates.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -230,7 +234,8 @@ private PagedFlux listAsync(String resourceGroupName, St
/**
* List all custom certificates.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -245,7 +250,8 @@ public PagedIterable list(String resourceGroupName, Stri
/**
* List all custom certificates.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -261,7 +267,8 @@ public PagedIterable list(String resourceGroupName, Stri
/**
* Get a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -301,7 +308,8 @@ private Mono> getWithResponseAsync(String resou
/**
* Get a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param context The context to associate with this operation.
@@ -341,7 +349,8 @@ private Mono> getWithResponseAsync(String resou
/**
* Get a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -359,7 +368,8 @@ private Mono getAsync(String resourceGroupName, String r
/**
* Get a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param context The context to associate with this operation.
@@ -377,7 +387,8 @@ public Response getWithResponse(String resourceGroupName
/**
* Get a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -393,7 +404,8 @@ public CustomCertificateInner get(String resourceGroupName, String resourceName,
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -440,7 +452,8 @@ private Mono>> createOrUpdateWithResponseAsync(String
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -486,7 +499,8 @@ private Mono>> createOrUpdateWithResponseAsync(String
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -508,7 +522,8 @@ private PollerFlux, CustomCertificateInner> b
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -532,7 +547,8 @@ private PollerFlux, CustomCertificateInner> b
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -551,7 +567,8 @@ public SyncPoller, CustomCertificateInner> be
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -572,7 +589,8 @@ public SyncPoller, CustomCertificateInner> be
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -591,7 +609,8 @@ private Mono createOrUpdateAsync(String resourceGroupNam
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -611,7 +630,8 @@ private Mono createOrUpdateAsync(String resourceGroupNam
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -629,7 +649,8 @@ public CustomCertificateInner createOrUpdate(String resourceGroupName, String re
/**
* Create or update a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters The parameters parameter.
@@ -648,7 +669,8 @@ public CustomCertificateInner createOrUpdate(String resourceGroupName, String re
/**
* Delete a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -688,7 +710,8 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S
/**
* Delete a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param context The context to associate with this operation.
@@ -728,7 +751,8 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S
/**
* Delete a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -745,7 +769,8 @@ private Mono deleteAsync(String resourceGroupName, String resourceName, St
/**
* Delete a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param context The context to associate with this operation.
@@ -763,7 +788,8 @@ public Response deleteWithResponse(String resourceGroupName, String resour
/**
* Delete a custom certificate.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsClientImpl.java
index e8562ab833e3f..568ee8f838f24 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRCustomDomainsClientImpl.java
@@ -121,7 +121,8 @@ Mono> listNext(@PathParam(value = "nextLink", encoded
/**
* List all custom domains.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -157,7 +158,8 @@ private Mono> listSinglePageAsync(String resour
/**
* List all custom domains.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -195,7 +197,8 @@ private Mono> listSinglePageAsync(String resour
/**
* List all custom domains.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -211,7 +214,8 @@ private PagedFlux listAsync(String resourceGroupName, String
/**
* List all custom domains.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -228,7 +232,8 @@ private PagedFlux listAsync(String resourceGroupName, String
/**
* List all custom domains.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -243,7 +248,8 @@ public PagedIterable list(String resourceGroupName, String re
/**
* List all custom domains.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -259,7 +265,8 @@ public PagedIterable list(String resourceGroupName, String re
/**
* Get a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -298,7 +305,8 @@ private Mono> getWithResponseAsync(String resourceGr
/**
* Get a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
@@ -337,7 +345,8 @@ private Mono> getWithResponseAsync(String resourceGr
/**
* Get a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -354,7 +363,8 @@ private Mono getAsync(String resourceGroupName, String resour
/**
* Get a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
@@ -372,7 +382,8 @@ public Response getWithResponse(String resourceGroupName, Str
/**
* Get a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -388,7 +399,8 @@ public CustomDomainInner get(String resourceGroupName, String resourceName, Stri
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -433,7 +445,8 @@ private Mono>> createOrUpdateWithResponseAsync(String
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -478,7 +491,8 @@ private Mono>> createOrUpdateWithResponseAsync(String
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -499,7 +513,8 @@ private PollerFlux, CustomDomainInner> beginCreate
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -522,7 +537,8 @@ private PollerFlux, CustomDomainInner> beginCreate
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -540,7 +556,8 @@ public SyncPoller, CustomDomainInner> beginCreateO
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -560,7 +577,8 @@ public SyncPoller, CustomDomainInner> beginCreateO
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -579,7 +597,8 @@ private Mono createOrUpdateAsync(String resourceGroupName, St
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -599,7 +618,8 @@ private Mono createOrUpdateAsync(String resourceGroupName, St
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -617,7 +637,8 @@ public CustomDomainInner createOrUpdate(String resourceGroupName, String resourc
/**
* Create or update a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters The parameters parameter.
@@ -636,7 +657,8 @@ public CustomDomainInner createOrUpdate(String resourceGroupName, String resourc
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -675,7 +697,8 @@ private Mono>> deleteWithResponseAsync(String resource
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
@@ -714,7 +737,8 @@ private Mono>> deleteWithResponseAsync(String resource
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -733,7 +757,8 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
@@ -754,7 +779,8 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -770,7 +796,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName,
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
@@ -788,7 +815,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName,
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -805,7 +833,8 @@ private Mono deleteAsync(String resourceGroupName, String resourceName, St
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
@@ -823,7 +852,8 @@ private Mono deleteAsync(String resourceGroupName, String resourceName, St
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -838,7 +868,8 @@ public void delete(String resourceGroupName, String resourceName, String name) {
/**
* Delete a custom domain.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientBuilder.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientBuilder.java
index 87dcd6a5c8469..31f23fda13900 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientBuilder.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientBuilder.java
@@ -20,12 +20,14 @@
@ServiceClientBuilder(serviceClients = { SignalRManagementClientImpl.class })
public final class SignalRManagementClientBuilder {
/*
- * The ID of the target subscription. The value must be an UUID.
+ * Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of
+ * the URI for every service call.
*/
private String subscriptionId;
/**
- * Sets The ID of the target subscription. The value must be an UUID.
+ * Sets Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms
+ * part of the URI for every service call.
*
* @param subscriptionId the subscriptionId value.
* @return the SignalRManagementClientBuilder.
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientImpl.java
index f6fdc9ff56135..134f238797276 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRManagementClientImpl.java
@@ -29,7 +29,6 @@
import com.azure.resourcemanager.signalr.fluent.SignalRManagementClient;
import com.azure.resourcemanager.signalr.fluent.SignalRPrivateEndpointConnectionsClient;
import com.azure.resourcemanager.signalr.fluent.SignalRPrivateLinkResourcesClient;
-import com.azure.resourcemanager.signalr.fluent.SignalRReplicasClient;
import com.azure.resourcemanager.signalr.fluent.SignalRSharedPrivateLinkResourcesClient;
import com.azure.resourcemanager.signalr.fluent.SignalRsClient;
import com.azure.resourcemanager.signalr.fluent.UsagesClient;
@@ -48,12 +47,14 @@
@ServiceClient(builder = SignalRManagementClientBuilder.class)
public final class SignalRManagementClientImpl implements SignalRManagementClient {
/**
- * The ID of the target subscription. The value must be an UUID.
+ * Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of
+ * the URI for every service call.
*/
private final String subscriptionId;
/**
- * Gets The ID of the target subscription. The value must be an UUID.
+ * Gets Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms
+ * part of the URI for every service call.
*
* @return the subscriptionId value.
*/
@@ -229,20 +230,6 @@ public SignalRPrivateLinkResourcesClient getSignalRPrivateLinkResources() {
return this.signalRPrivateLinkResources;
}
- /**
- * The SignalRReplicasClient object to access its operations.
- */
- private final SignalRReplicasClient signalRReplicas;
-
- /**
- * Gets the SignalRReplicasClient object to access its operations.
- *
- * @return the SignalRReplicasClient object.
- */
- public SignalRReplicasClient getSignalRReplicas() {
- return this.signalRReplicas;
- }
-
/**
* The SignalRSharedPrivateLinkResourcesClient object to access its operations.
*/
@@ -264,7 +251,8 @@ public SignalRSharedPrivateLinkResourcesClient getSignalRSharedPrivateLinkResour
* @param serializerAdapter The serializer to serialize an object into a string.
* @param defaultPollInterval The default poll interval for long-running operation.
* @param environment The Azure environment.
- * @param subscriptionId The ID of the target subscription. The value must be an UUID.
+ * @param subscriptionId Gets subscription Id which uniquely identify the Microsoft Azure subscription. The
+ * subscription ID forms part of the URI for every service call.
* @param endpoint server parameter.
*/
SignalRManagementClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializerAdapter,
@@ -274,7 +262,7 @@ public SignalRSharedPrivateLinkResourcesClient getSignalRSharedPrivateLinkResour
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.apiVersion = "2023-08-01-preview";
+ this.apiVersion = "2023-02-01";
this.operations = new OperationsClientImpl(this);
this.signalRs = new SignalRsClientImpl(this);
this.usages = new UsagesClientImpl(this);
@@ -282,7 +270,6 @@ public SignalRSharedPrivateLinkResourcesClient getSignalRSharedPrivateLinkResour
this.signalRCustomDomains = new SignalRCustomDomainsClientImpl(this);
this.signalRPrivateEndpointConnections = new SignalRPrivateEndpointConnectionsClientImpl(this);
this.signalRPrivateLinkResources = new SignalRPrivateLinkResourcesClientImpl(this);
- this.signalRReplicas = new SignalRReplicasClientImpl(this);
this.signalRSharedPrivateLinkResources = new SignalRSharedPrivateLinkResourcesClientImpl(this);
}
diff --git a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateEndpointConnectionsClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateEndpointConnectionsClientImpl.java
index 0f2d19a946998..367da3ccdbe36 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateEndpointConnectionsClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateEndpointConnectionsClientImpl.java
@@ -122,7 +122,8 @@ Mono> listNext(
/**
* List private endpoint connections.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -160,7 +161,8 @@ private Mono> listSinglePageAsync(
/**
* List private endpoint connections.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -199,7 +201,8 @@ private Mono> listSinglePageAsync(
/**
* List private endpoint connections.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -215,7 +218,8 @@ private PagedFlux listAsync(String resourceGroup
/**
* List private endpoint connections.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -233,7 +237,8 @@ private PagedFlux listAsync(String resourceGroup
/**
* List private endpoint connections.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -248,7 +253,8 @@ public PagedIterable list(String resourceGroupNa
/**
* List private endpoint connections.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -265,9 +271,9 @@ public PagedIterable list(String resourceGroupNa
/**
* Get the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -308,9 +314,9 @@ private Mono> getWithResponseAsync(Stri
/**
* Get the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -350,9 +356,9 @@ private Mono> getWithResponseAsync(Stri
/**
* Get the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -369,9 +375,9 @@ private Mono getAsync(String privateEndpointConn
/**
* Get the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -388,9 +394,9 @@ public Response getWithResponse(String privateEn
/**
* Get the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -406,9 +412,9 @@ public PrivateEndpointConnectionInner get(String privateEndpointConnectionName,
/**
* Update the state of specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -455,9 +461,9 @@ private Mono> updateWithResponseAsync(S
/**
* Update the state of specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
* @param context The context to associate with this operation.
@@ -503,9 +509,9 @@ private Mono> updateWithResponseAsync(S
/**
* Update the state of specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -523,9 +529,9 @@ private Mono updateAsync(String privateEndpointC
/**
* Update the state of specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
* @param context The context to associate with this operation.
@@ -544,9 +550,9 @@ public Response updateWithResponse(String privat
/**
* Update the state of specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param parameters The resource of private endpoint and its properties.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -564,9 +570,9 @@ public PrivateEndpointConnectionInner update(String privateEndpointConnectionNam
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -606,9 +612,9 @@ private Mono>> deleteWithResponseAsync(String privateE
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -647,9 +653,9 @@ private Mono>> deleteWithResponseAsync(String privateE
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -668,9 +674,9 @@ private PollerFlux, Void> beginDeleteAsync(String privateEndpoi
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -691,9 +697,9 @@ private PollerFlux, Void> beginDeleteAsync(String privateEndpoi
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -709,9 +715,9 @@ public SyncPoller, Void> beginDelete(String privateEndpointConn
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -729,9 +735,9 @@ public SyncPoller, Void> beginDelete(String privateEndpointConn
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -748,9 +754,9 @@ private Mono deleteAsync(String privateEndpointConnectionName, String reso
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -768,9 +774,9 @@ private Mono deleteAsync(String privateEndpointConnectionName, String reso
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -784,9 +790,9 @@ public void delete(String privateEndpointConnectionName, String resourceGroupNam
/**
* Delete the specified private endpoint connection.
*
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the Azure
- * resource.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 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/SignalRPrivateLinkResourcesClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateLinkResourcesClientImpl.java
index 12b4c88b277c7..05e7413a68080 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateLinkResourcesClientImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRPrivateLinkResourcesClientImpl.java
@@ -82,7 +82,8 @@ Mono> listNext(@PathParam(value = "nextLink",
/**
* Get the private link resources that need to be created for a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -120,7 +121,8 @@ private Mono> listSinglePageAsync(String
/**
* Get the private link resources that need to be created for a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -159,7 +161,8 @@ private Mono> listSinglePageAsync(String
/**
* Get the private link resources that need to be created for a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -176,7 +179,8 @@ private PagedFlux listAsync(String resourceGroupName,
/**
* Get the private link resources that need to be created for a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -195,7 +199,8 @@ private PagedFlux listAsync(String resourceGroupName,
/**
* Get the private link resources that need to be created for a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -211,7 +216,8 @@ public PagedIterable list(String resourceGroupName, St
/**
* Get the private link resources that need to be created for a resource.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 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/SignalRReplicasClientImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRReplicasClientImpl.java
deleted file mode 100644
index 55241089ea503..0000000000000
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRReplicasClientImpl.java
+++ /dev/null
@@ -1,1308 +0,0 @@
-// 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.annotation.BodyParam;
-import com.azure.core.annotation.Delete;
-import com.azure.core.annotation.ExpectedResponses;
-import com.azure.core.annotation.Get;
-import com.azure.core.annotation.HeaderParam;
-import com.azure.core.annotation.Headers;
-import com.azure.core.annotation.Host;
-import com.azure.core.annotation.HostParam;
-import com.azure.core.annotation.Patch;
-import com.azure.core.annotation.PathParam;
-import com.azure.core.annotation.Post;
-import com.azure.core.annotation.Put;
-import com.azure.core.annotation.QueryParam;
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceInterface;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.annotation.UnexpectedResponseExceptionType;
-import com.azure.core.http.rest.PagedFlux;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.PagedResponse;
-import com.azure.core.http.rest.PagedResponseBase;
-import com.azure.core.http.rest.Response;
-import com.azure.core.http.rest.RestProxy;
-import com.azure.core.management.exception.ManagementException;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.FluxUtil;
-import com.azure.core.util.polling.PollerFlux;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.signalr.fluent.SignalRReplicasClient;
-import com.azure.resourcemanager.signalr.fluent.models.ReplicaInner;
-import com.azure.resourcemanager.signalr.models.ReplicaList;
-import java.nio.ByteBuffer;
-import reactor.core.publisher.Flux;
-import reactor.core.publisher.Mono;
-
-/**
- * An instance of this class provides access to all the operations defined in SignalRReplicasClient.
- */
-public final class SignalRReplicasClientImpl implements SignalRReplicasClient {
- /**
- * The proxy service used to perform REST calls.
- */
- private final SignalRReplicasService service;
-
- /**
- * The service client containing this operation class.
- */
- private final SignalRManagementClientImpl client;
-
- /**
- * Initializes an instance of SignalRReplicasClientImpl.
- *
- * @param client the instance of the service client containing this operation class.
- */
- SignalRReplicasClientImpl(SignalRManagementClientImpl client) {
- this.service
- = RestProxy.create(SignalRReplicasService.class, client.getHttpPipeline(), client.getSerializerAdapter());
- this.client = client;
- }
-
- /**
- * The interface defining all the services for SignalRManagementClientSignalRReplicas to be used by the proxy
- * service to perform REST calls.
- */
- @Host("{$host}")
- @ServiceInterface(name = "SignalRManagementCli")
- public interface SignalRReplicasService {
- @Headers({ "Content-Type: application/json" })
- @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas")
- @ExpectedResponses({ 200 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono> list(@HostParam("$host") String endpoint,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
- @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context);
-
- @Headers({ "Content-Type: application/json" })
- @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}")
- @ExpectedResponses({ 200 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono> get(@HostParam("$host") String endpoint,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
- @PathParam("replicaName") String replicaName, @QueryParam("api-version") String apiVersion,
- @HeaderParam("Accept") String accept, Context context);
-
- @Headers({ "Content-Type: application/json" })
- @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}")
- @ExpectedResponses({ 200, 201 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono>> createOrUpdate(@HostParam("$host") String endpoint,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
- @PathParam("replicaName") String replicaName, @QueryParam("api-version") String apiVersion,
- @BodyParam("application/json") ReplicaInner parameters, @HeaderParam("Accept") String accept,
- Context context);
-
- @Headers({ "Content-Type: application/json" })
- @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}")
- @ExpectedResponses({ 200, 204 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono> delete(@HostParam("$host") String endpoint,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
- @PathParam("replicaName") String replicaName, @QueryParam("api-version") String apiVersion,
- @HeaderParam("Accept") String accept, Context context);
-
- @Headers({ "Content-Type: application/json" })
- @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}")
- @ExpectedResponses({ 200, 202 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono>> update(@HostParam("$host") String endpoint,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
- @PathParam("replicaName") String replicaName, @QueryParam("api-version") String apiVersion,
- @BodyParam("application/json") ReplicaInner parameters, @HeaderParam("Accept") String accept,
- Context context);
-
- @Headers({ "Content-Type: application/json" })
- @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/restart")
- @ExpectedResponses({ 202, 204 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono>> restart(@HostParam("$host") String endpoint,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
- @PathParam("replicaName") String replicaName, @QueryParam("api-version") String apiVersion,
- @HeaderParam("Accept") String accept, Context context);
-
- @Headers({ "Content-Type: application/json" })
- @Get("{nextLink}")
- @ExpectedResponses({ 200 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink,
- @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context);
- }
-
- /**
- * List all replicas belong to this resource.
- *
- * @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.
- * @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> listSinglePageAsync(String resourceGroupName, String resourceName) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(),
- resourceGroupName, resourceName, this.client.getApiVersion(), 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()));
- }
-
- /**
- * List all replicas belong to this resource.
- *
- * @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.
- * @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> listSinglePageAsync(String resourceGroupName, String resourceName,
- Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service
- .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, resourceName,
- this.client.getApiVersion(), accept, context)
- .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
- res.getValue().value(), res.getValue().nextLink(), null));
- }
-
- /**
- * List all replicas belong to this resource.
- *
- * @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.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the paginated response with {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync(String resourceGroupName, String resourceName) {
- return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, resourceName),
- nextLink -> listNextSinglePageAsync(nextLink));
- }
-
- /**
- * List all replicas belong to this resource.
- *
- * @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.
- * @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 paginated response with {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync(String resourceGroupName, String resourceName, Context context) {
- return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, resourceName, context),
- nextLink -> listNextSinglePageAsync(nextLink, context));
- }
-
- /**
- * List all replicas belong to this resource.
- *
- * @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.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable list(String resourceGroupName, String resourceName) {
- return new PagedIterable<>(listAsync(resourceGroupName, resourceName));
- }
-
- /**
- * List all replicas belong to this resource.
- *
- * @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.
- * @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 paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable list(String resourceGroupName, String resourceName, Context context) {
- return new PagedIterable<>(listAsync(resourceGroupName, resourceName, context));
- }
-
- /**
- * Get the replica and its properties.
- *
- * @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.
- * @return the replica and its properties along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(String resourceGroupName, String resourceName,
- String replicaName) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- if (replicaName == null) {
- return Mono.error(new IllegalArgumentException("Parameter replicaName is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(),
- resourceGroupName, resourceName, replicaName, this.client.getApiVersion(), accept, context))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Get the replica and its properties.
- *
- * @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.
- * @return the replica and its properties along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(String resourceGroupName, String resourceName,
- String replicaName, Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- if (replicaName == null) {
- return Mono.error(new IllegalArgumentException("Parameter replicaName is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, resourceName,
- replicaName, this.client.getApiVersion(), accept, context);
- }
-
- /**
- * Get the replica and its properties.
- *
- * @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.
- * @return the replica and its properties on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono getAsync(String resourceGroupName, String resourceName, String replicaName) {
- return getWithResponseAsync(resourceGroupName, resourceName, replicaName)
- .flatMap(res -> Mono.justOrEmpty(res.getValue()));
- }
-
- /**
- * Get the replica and its properties.
- *
- * @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.
- * @return the replica and its properties along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(String resourceGroupName, String resourceName, String replicaName,
- Context context) {
- return getWithResponseAsync(resourceGroupName, resourceName, replicaName, context).block();
- }
-
- /**
- * Get the replica and its properties.
- *
- * @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.
- * @return the replica and its properties.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public ReplicaInner get(String resourceGroupName, String resourceName, String replicaName) {
- return getWithResponse(resourceGroupName, resourceName, replicaName, Context.NONE).getValue();
- }
-
- /**
- * Create or update 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 parameters Parameters for the create or update 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 a class represent a replica resource along with {@link Response} on successful completion of
- * {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
- String resourceName, String replicaName, ReplicaInner parameters) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- if (replicaName == null) {
- return Mono.error(new IllegalArgumentException("Parameter replicaName is required and cannot be null."));
- }
- if (parameters == null) {
- return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null."));
- } else {
- parameters.validate();
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(),
- resourceGroupName, resourceName, replicaName, this.client.getApiVersion(), parameters, accept, context))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Create or update 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 parameters Parameters for the create or update operation.
- * @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 a class represent a replica resource along with {@link Response} on successful completion of
- * {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
- String resourceName, String replicaName, ReplicaInner parameters, Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- if (replicaName == null) {
- return Mono.error(new IllegalArgumentException("Parameter replicaName is required and cannot be null."));
- }
- if (parameters == null) {
- return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null."));
- } else {
- parameters.validate();
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName,
- resourceName, replicaName, this.client.getApiVersion(), parameters, accept, context);
- }
-
- /**
- * Create or update 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 parameters Parameters for the create or update 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 {@link PollerFlux} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, ReplicaInner> beginCreateOrUpdateAsync(String resourceGroupName,
- String resourceName, String replicaName, ReplicaInner parameters) {
- Mono>> mono
- = createOrUpdateWithResponseAsync(resourceGroupName, resourceName, replicaName, parameters);
- return this.client.getLroResult(mono, this.client.getHttpPipeline(),
- ReplicaInner.class, ReplicaInner.class, this.client.getContext());
- }
-
- /**
- * Create or update 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 parameters Parameters for the create or update operation.
- * @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 {@link PollerFlux} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, ReplicaInner> beginCreateOrUpdateAsync(String resourceGroupName,
- String resourceName, String replicaName, ReplicaInner parameters, Context context) {
- context = this.client.mergeContext(context);
- Mono>> mono
- = createOrUpdateWithResponseAsync(resourceGroupName, resourceName, replicaName, parameters, context);
- return this.client.getLroResult(mono, this.client.getHttpPipeline(),
- ReplicaInner.class, ReplicaInner.class, context);
- }
-
- /**
- * Create or update 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 parameters Parameters for the create or update 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 {@link SyncPoller} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, ReplicaInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String replicaName, ReplicaInner parameters) {
- return this.beginCreateOrUpdateAsync(resourceGroupName, resourceName, replicaName, parameters).getSyncPoller();
- }
-
- /**
- * Create or update 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 parameters Parameters for the create or update operation.
- * @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 {@link SyncPoller} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, ReplicaInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String replicaName, ReplicaInner parameters, Context context) {
- return this.beginCreateOrUpdateAsync(resourceGroupName, resourceName, replicaName, parameters, context)
- .getSyncPoller();
- }
-
- /**
- * Create or update 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 parameters Parameters for the create or update 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 a class represent a replica resource on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono createOrUpdateAsync(String resourceGroupName, String resourceName, String replicaName,
- ReplicaInner parameters) {
- return beginCreateOrUpdateAsync(resourceGroupName, resourceName, replicaName, parameters).last()
- .flatMap(this.client::getLroFinalResultOrError);
- }
-
- /**
- * Create or update 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 parameters Parameters for the create or update operation.
- * @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 a class represent a replica resource on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono createOrUpdateAsync(String resourceGroupName, String resourceName, String replicaName,
- ReplicaInner parameters, Context context) {
- return beginCreateOrUpdateAsync(resourceGroupName, resourceName, replicaName, parameters, context).last()
- .flatMap(this.client::getLroFinalResultOrError);
- }
-
- /**
- * Create or update 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 parameters Parameters for the create or update 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 a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public ReplicaInner createOrUpdate(String resourceGroupName, String resourceName, String replicaName,
- ReplicaInner parameters) {
- return createOrUpdateAsync(resourceGroupName, resourceName, replicaName, parameters).block();
- }
-
- /**
- * Create or update 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 parameters Parameters for the create or update operation.
- * @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 a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public ReplicaInner createOrUpdate(String resourceGroupName, String resourceName, String replicaName,
- ReplicaInner parameters, Context context) {
- return createOrUpdateAsync(resourceGroupName, resourceName, replicaName, parameters, context).block();
- }
-
- /**
- * Operation to delete 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.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> deleteWithResponseAsync(String resourceGroupName, String resourceName,
- String replicaName) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- if (replicaName == null) {
- return Mono.error(new IllegalArgumentException("Parameter replicaName is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(),
- resourceGroupName, resourceName, replicaName, this.client.getApiVersion(), accept, context))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Operation to delete 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.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> deleteWithResponseAsync(String resourceGroupName, String resourceName,
- String replicaName, Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- if (replicaName == null) {
- return Mono.error(new IllegalArgumentException("Parameter replicaName is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName,
- resourceName, replicaName, this.client.getApiVersion(), accept, context);
- }
-
- /**
- * Operation to delete 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.
- * @return A {@link Mono} that completes when a successful response is received.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono deleteAsync(String resourceGroupName, String resourceName, String replicaName) {
- return deleteWithResponseAsync(resourceGroupName, resourceName, replicaName).flatMap(ignored -> Mono.empty());
- }
-
- /**
- * Operation to delete 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.
- * @return the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response deleteWithResponse(String resourceGroupName, String resourceName, String replicaName,
- Context context) {
- return deleteWithResponseAsync(resourceGroupName, resourceName, replicaName, context).block();
- }
-
- /**
- * Operation to delete 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 delete(String resourceGroupName, String resourceName, String replicaName) {
- deleteWithResponse(resourceGroupName, resourceName, replicaName, Context.NONE);
- }
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update 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 a class represent a replica resource along with {@link Response} on successful completion of
- * {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> updateWithResponseAsync(String resourceGroupName, String resourceName,
- String replicaName, ReplicaInner parameters) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- if (replicaName == null) {
- return Mono.error(new IllegalArgumentException("Parameter replicaName is required and cannot be null."));
- }
- if (parameters == null) {
- return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null."));
- } else {
- parameters.validate();
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(context -> service.update(this.client.getEndpoint(), this.client.getSubscriptionId(),
- resourceGroupName, resourceName, replicaName, this.client.getApiVersion(), parameters, accept, context))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update operation.
- * @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 a class represent a replica resource along with {@link Response} on successful completion of
- * {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> updateWithResponseAsync(String resourceGroupName, String resourceName,
- String replicaName, ReplicaInner parameters, Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- if (replicaName == null) {
- return Mono.error(new IllegalArgumentException("Parameter replicaName is required and cannot be null."));
- }
- if (parameters == null) {
- return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null."));
- } else {
- parameters.validate();
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service.update(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName,
- resourceName, replicaName, this.client.getApiVersion(), parameters, accept, context);
- }
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update 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 {@link PollerFlux} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, ReplicaInner> beginUpdateAsync(String resourceGroupName,
- String resourceName, String replicaName, ReplicaInner parameters) {
- Mono>> mono
- = updateWithResponseAsync(resourceGroupName, resourceName, replicaName, parameters);
- return this.client.getLroResult(mono, this.client.getHttpPipeline(),
- ReplicaInner.class, ReplicaInner.class, this.client.getContext());
- }
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update operation.
- * @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 {@link PollerFlux} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, ReplicaInner> beginUpdateAsync(String resourceGroupName,
- String resourceName, String replicaName, ReplicaInner parameters, Context context) {
- context = this.client.mergeContext(context);
- Mono>> mono
- = updateWithResponseAsync(resourceGroupName, resourceName, replicaName, parameters, context);
- return this.client.getLroResult(mono, this.client.getHttpPipeline(),
- ReplicaInner.class, ReplicaInner.class, context);
- }
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update 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 {@link SyncPoller} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, ReplicaInner> beginUpdate(String resourceGroupName, String resourceName,
- String replicaName, ReplicaInner parameters) {
- return this.beginUpdateAsync(resourceGroupName, resourceName, replicaName, parameters).getSyncPoller();
- }
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update operation.
- * @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 {@link SyncPoller} for polling of a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, ReplicaInner> beginUpdate(String resourceGroupName, String resourceName,
- String replicaName, ReplicaInner parameters, Context context) {
- return this.beginUpdateAsync(resourceGroupName, resourceName, replicaName, parameters, context).getSyncPoller();
- }
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update 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 a class represent a replica resource on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono updateAsync(String resourceGroupName, String resourceName, String replicaName,
- ReplicaInner parameters) {
- return beginUpdateAsync(resourceGroupName, resourceName, replicaName, parameters).last()
- .flatMap(this.client::getLroFinalResultOrError);
- }
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update operation.
- * @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 a class represent a replica resource on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono updateAsync(String resourceGroupName, String resourceName, String replicaName,
- ReplicaInner parameters, Context context) {
- return beginUpdateAsync(resourceGroupName, resourceName, replicaName, parameters, context).last()
- .flatMap(this.client::getLroFinalResultOrError);
- }
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update 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 a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public ReplicaInner update(String resourceGroupName, String resourceName, String replicaName,
- ReplicaInner parameters) {
- return updateAsync(resourceGroupName, resourceName, replicaName, parameters).block();
- }
-
- /**
- * Operation to update an exiting 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 parameters Parameters for the update operation.
- * @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 a class represent a replica resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public ReplicaInner update(String resourceGroupName, String resourceName, String replicaName,
- ReplicaInner parameters, Context context) {
- return updateAsync(resourceGroupName, resourceName, replicaName, parameters, context).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.
- * @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 {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> restartWithResponseAsync(String resourceGroupName, String resourceName,
- String replicaName) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- if (replicaName == null) {
- return Mono.error(new IllegalArgumentException("Parameter replicaName is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(context -> service.restart(this.client.getEndpoint(), this.client.getSubscriptionId(),
- resourceGroupName, resourceName, replicaName, this.client.getApiVersion(), accept, context))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * 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.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> restartWithResponseAsync(String resourceGroupName, String resourceName,
- String replicaName, Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (resourceName == null) {
- return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
- }
- if (replicaName == null) {
- return Mono.error(new IllegalArgumentException("Parameter replicaName is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service.restart(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName,
- resourceName, replicaName, this.client.getApiVersion(), accept, context);
- }
-
- /**
- * 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.
- * @return the {@link PollerFlux} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, Void> beginRestartAsync(String resourceGroupName, String resourceName,
- String replicaName) {
- Mono>> mono = restartWithResponseAsync(resourceGroupName, resourceName, replicaName);
- return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
- this.client.getContext());
- }
-
- /**
- * 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.
- * @return the {@link PollerFlux} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, Void> beginRestartAsync(String resourceGroupName, String resourceName,
- String replicaName, Context context) {
- context = this.client.mergeContext(context);
- Mono>> mono
- = restartWithResponseAsync(resourceGroupName, resourceName, replicaName, context);
- return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
- context);
- }
-
- /**
- * 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.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, Void> beginRestart(String resourceGroupName, String resourceName,
- String replicaName) {
- return this.beginRestartAsync(resourceGroupName, resourceName, replicaName).getSyncPoller();
- }
-
- /**
- * 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.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, Void> beginRestart(String resourceGroupName, String resourceName,
- String replicaName, Context context) {
- return this.beginRestartAsync(resourceGroupName, resourceName, replicaName, context).getSyncPoller();
- }
-
- /**
- * 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.
- * @return A {@link Mono} that completes when a successful response is received.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono restartAsync(String resourceGroupName, String resourceName, String replicaName) {
- return beginRestartAsync(resourceGroupName, resourceName, replicaName).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.
- * @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 A {@link Mono} that completes when a successful response is received.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono 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.
- * @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.
- * @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
deleted file mode 100644
index 94009cbd6660f..0000000000000
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRReplicasImpl.java
+++ /dev/null
@@ -1,165 +0,0 @@
-// 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 ResourceManagerUtils.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 ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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 = ResourceManagerUtils.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/SignalRResourceImpl.java b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRResourceImpl.java
index c702776b383ea..81dfefd29d253 100644
--- a/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRResourceImpl.java
+++ b/sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/implementation/SignalRResourceImpl.java
@@ -178,14 +178,6 @@ public Boolean disableAadAuth() {
return this.innerModel().disableAadAuth();
}
- public String regionEndpointEnabled() {
- return this.innerModel().regionEndpointEnabled();
- }
-
- public String resourceStopped() {
- return this.innerModel().resourceStopped();
- }
-
public Region region() {
return Region.fromName(this.regionName());
}
@@ -385,14 +377,4 @@ public SignalRResourceImpl withDisableAadAuth(Boolean disableAadAuth) {
this.innerModel().withDisableAadAuth(disableAadAuth);
return this;
}
-
- public SignalRResourceImpl withRegionEndpointEnabled(String regionEndpointEnabled) {
- this.innerModel().withRegionEndpointEnabled(regionEndpointEnabled);
- return this;
- }
-
- public SignalRResourceImpl withResourceStopped(String resourceStopped) {
- this.innerModel().withResourceStopped(resourceStopped);
- return this;
- }
}
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 432005c52abf1..b468a7f04a46b 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
@@ -122,7 +122,8 @@ Mono> listNext(
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -160,7 +161,8 @@ private Mono> listSinglePageAsync(
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -199,7 +201,8 @@ private Mono> listSinglePageAsync(
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -215,7 +218,8 @@ private PagedFlux listAsync(String resourceGroup
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -233,7 +237,8 @@ private PagedFlux listAsync(String resourceGroup
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -248,7 +253,8 @@ public PagedIterable list(String resourceGroupNa
/**
* List shared private link resources.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -266,7 +272,8 @@ public PagedIterable list(String resourceGroupNa
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -308,7 +315,8 @@ private Mono> getWithResponseAsync(Stri
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -349,7 +357,8 @@ private Mono> getWithResponseAsync(Stri
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -367,7 +376,8 @@ private Mono getAsync(String sharedPrivateLinkRe
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -385,7 +395,8 @@ public Response getWithResponse(String sharedPri
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -402,7 +413,8 @@ public SharedPrivateLinkResourceInner get(String sharedPrivateLinkResourceName,
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -450,7 +462,8 @@ private Mono>> createOrUpdateWithResponseAsync(String
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -498,7 +511,8 @@ private Mono>> createOrUpdateWithResponseAsync(String
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -521,7 +535,8 @@ private Mono>> createOrUpdateWithResponseAsync(String
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -546,7 +561,8 @@ private Mono>> createOrUpdateWithResponseAsync(String
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -566,7 +582,8 @@ 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -589,7 +606,8 @@ 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -609,7 +627,8 @@ private Mono createOrUpdateAsync(String sharedPr
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -629,7 +648,8 @@ private Mono createOrUpdateAsync(String sharedPr
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -647,7 +667,8 @@ public SharedPrivateLinkResourceInner createOrUpdate(String sharedPrivateLinkRes
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param parameters The shared private link resource.
* @param context The context to associate with this operation.
@@ -667,7 +688,8 @@ public SharedPrivateLinkResourceInner createOrUpdate(String sharedPrivateLinkRes
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -708,7 +730,8 @@ private Mono>> deleteWithResponseAsync(String sharedPr
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -748,7 +771,8 @@ private Mono>> deleteWithResponseAsync(String sharedPr
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -768,7 +792,8 @@ private PollerFlux, Void> beginDeleteAsync(String sharedPrivate
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -790,7 +815,8 @@ private PollerFlux, Void> beginDeleteAsync(String sharedPrivate
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -807,7 +833,8 @@ public SyncPoller, Void> beginDelete(String sharedPrivateLinkRe
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -826,7 +853,8 @@ public SyncPoller, Void> beginDelete(String sharedPrivateLinkRe
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -844,7 +872,8 @@ private Mono deleteAsync(String sharedPrivateLinkResourceName, String reso
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -863,7 +892,8 @@ private Mono deleteAsync(String sharedPrivateLinkResourceName, String reso
* 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. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -878,7 +908,8 @@ 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. The name is case insensitive.
+ * @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 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 10bfd1d2353bb..697bc434db624 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
@@ -152,7 +152,7 @@ Mono> listKeys(@HostParam("$host") String endpoint,
@Headers({ "Content-Type: application/json" })
@Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/regenerateKey")
- @ExpectedResponses({ 200, 202 })
+ @ExpectedResponses({ 202 })
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> regenerateKey(@HostParam("$host") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@@ -160,16 +160,6 @@ Mono>> regenerateKey(@HostParam("$host") String endpoi
@BodyParam("application/json") RegenerateKeyParameters parameters, @HeaderParam("Accept") String accept,
Context context);
- @Headers({ "Content-Type: application/json" })
- @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/skus")
- @ExpectedResponses({ 200 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono> listReplicaSkus(@HostParam("$host") String endpoint,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
- @PathParam("replicaName") String replicaName, @QueryParam("api-version") String apiVersion,
- @HeaderParam("Accept") String accept, Context context);
-
@Headers({ "Content-Type: application/json" })
@Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/restart")
@ExpectedResponses({ 202, 204 })
@@ -445,7 +435,8 @@ public PagedIterable list(Context context) {
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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.
* @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.
@@ -478,7 +469,8 @@ private Mono> listByResourceGroupSinglePageA
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 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.
@@ -513,7 +505,8 @@ private Mono> listByResourceGroupSinglePageA
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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.
* @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.
@@ -529,7 +522,8 @@ private PagedFlux listByResourceGroupAsync(String resource
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 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.
@@ -546,7 +540,8 @@ private PagedFlux listByResourceGroupAsync(String resource
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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.
* @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.
@@ -561,7 +556,8 @@ public PagedIterable listByResourceGroup(String resourceGr
/**
* Handles requests to list all resources in a resource group.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 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.
@@ -577,7 +573,8 @@ public PagedIterable listByResourceGroup(String resourceGr
/**
* Get the resource and its properties.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -612,7 +609,8 @@ private Mono