@azure/arm-signalr 5.2.1-alpha.20230824.1 → 6.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/CHANGELOG.md +74 -52
  2. package/README.md +1 -1
  3. package/dist/index.js +1064 -436
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  8. package/dist-esm/samples-dev/signalRCheckNameAvailabilitySample.js +1 -1
  9. package/dist-esm/samples-dev/signalRCreateOrUpdateSample.js +1 -1
  10. package/dist-esm/samples-dev/signalRCustomCertificatesCreateOrUpdateSample.js +1 -1
  11. package/dist-esm/samples-dev/signalRCustomCertificatesDeleteSample.js +1 -1
  12. package/dist-esm/samples-dev/signalRCustomCertificatesGetSample.js +1 -1
  13. package/dist-esm/samples-dev/signalRCustomCertificatesListSample.js +1 -1
  14. package/dist-esm/samples-dev/signalRCustomDomainsCreateOrUpdateSample.js +1 -1
  15. package/dist-esm/samples-dev/signalRCustomDomainsDeleteSample.js +1 -1
  16. package/dist-esm/samples-dev/signalRCustomDomainsGetSample.js +1 -1
  17. package/dist-esm/samples-dev/signalRCustomDomainsListSample.js +1 -1
  18. package/dist-esm/samples-dev/signalRDeleteSample.js +1 -1
  19. package/dist-esm/samples-dev/signalRGetSample.js +1 -1
  20. package/dist-esm/samples-dev/signalRListByResourceGroupSample.js +1 -1
  21. package/dist-esm/samples-dev/signalRListBySubscriptionSample.js +1 -1
  22. package/dist-esm/samples-dev/signalRListKeysSample.js +1 -1
  23. package/dist-esm/samples-dev/signalRListReplicaSkusSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/signalRListReplicaSkusSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/signalRListReplicaSkusSample.js +40 -0
  26. package/dist-esm/samples-dev/signalRListReplicaSkusSample.js.map +1 -0
  27. package/dist-esm/samples-dev/signalRListSkusSample.js +1 -1
  28. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDeleteSample.js +1 -1
  29. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGetSample.js +1 -1
  30. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsListSample.js +1 -1
  31. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdateSample.js +2 -4
  32. package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdateSample.js.map +1 -1
  33. package/dist-esm/samples-dev/signalRPrivateLinkResourcesListSample.js +1 -1
  34. package/dist-esm/samples-dev/signalRRegenerateKeySample.js +1 -1
  35. package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.js +45 -0
  38. package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.js.map +1 -0
  39. package/dist-esm/samples-dev/signalRReplicasDeleteSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/signalRReplicasDeleteSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/signalRReplicasDeleteSample.js +40 -0
  42. package/dist-esm/samples-dev/signalRReplicasDeleteSample.js.map +1 -0
  43. package/dist-esm/samples-dev/signalRReplicasGetSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/signalRReplicasGetSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/signalRReplicasGetSample.js +40 -0
  46. package/dist-esm/samples-dev/signalRReplicasGetSample.js.map +1 -0
  47. package/dist-esm/samples-dev/signalRReplicasListSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/signalRReplicasListSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/signalRReplicasListSample.js +60 -0
  50. package/dist-esm/samples-dev/signalRReplicasListSample.js.map +1 -0
  51. package/dist-esm/samples-dev/signalRReplicasRestartSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/signalRReplicasRestartSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/signalRReplicasRestartSample.js +40 -0
  54. package/dist-esm/samples-dev/signalRReplicasRestartSample.js.map +1 -0
  55. package/dist-esm/samples-dev/signalRReplicasUpdateSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/signalRReplicasUpdateSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/signalRReplicasUpdateSample.js +45 -0
  58. package/dist-esm/samples-dev/signalRReplicasUpdateSample.js.map +1 -0
  59. package/dist-esm/samples-dev/signalRRestartSample.js +1 -1
  60. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdateSample.js +1 -1
  61. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDeleteSample.js +1 -1
  62. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGetSample.js +1 -1
  63. package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesListSample.js +1 -1
  64. package/dist-esm/samples-dev/signalRUpdateSample.js +1 -1
  65. package/dist-esm/samples-dev/usagesListSample.js +1 -1
  66. package/dist-esm/src/models/index.d.ts +150 -79
  67. package/dist-esm/src/models/index.d.ts.map +1 -1
  68. package/dist-esm/src/models/index.js +12 -12
  69. package/dist-esm/src/models/index.js.map +1 -1
  70. package/dist-esm/src/models/mappers.d.ts +9 -2
  71. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  72. package/dist-esm/src/models/mappers.js +181 -88
  73. package/dist-esm/src/models/mappers.js.map +1 -1
  74. package/dist-esm/src/models/parameters.d.ts +3 -1
  75. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  76. package/dist-esm/src/models/parameters.js +32 -4
  77. package/dist-esm/src/models/parameters.js.map +1 -1
  78. package/dist-esm/src/operations/index.d.ts +1 -0
  79. package/dist-esm/src/operations/index.d.ts.map +1 -1
  80. package/dist-esm/src/operations/index.js +1 -0
  81. package/dist-esm/src/operations/index.js.map +1 -1
  82. package/dist-esm/src/operations/signalR.d.ts +27 -35
  83. package/dist-esm/src/operations/signalR.d.ts.map +1 -1
  84. package/dist-esm/src/operations/signalR.js +66 -40
  85. package/dist-esm/src/operations/signalR.js.map +1 -1
  86. package/dist-esm/src/operations/signalRCustomCertificates.d.ts +7 -14
  87. package/dist-esm/src/operations/signalRCustomCertificates.d.ts.map +1 -1
  88. package/dist-esm/src/operations/signalRCustomCertificates.js +9 -15
  89. package/dist-esm/src/operations/signalRCustomCertificates.js.map +1 -1
  90. package/dist-esm/src/operations/signalRCustomDomains.d.ts +8 -16
  91. package/dist-esm/src/operations/signalRCustomDomains.d.ts.map +1 -1
  92. package/dist-esm/src/operations/signalRCustomDomains.js +10 -17
  93. package/dist-esm/src/operations/signalRCustomDomains.js.map +1 -1
  94. package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts +15 -18
  95. package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts.map +1 -1
  96. package/dist-esm/src/operations/signalRPrivateEndpointConnections.js +15 -18
  97. package/dist-esm/src/operations/signalRPrivateEndpointConnections.js.map +1 -1
  98. package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts +3 -6
  99. package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts.map +1 -1
  100. package/dist-esm/src/operations/signalRPrivateLinkResources.js +3 -6
  101. package/dist-esm/src/operations/signalRPrivateLinkResources.js.map +1 -1
  102. package/dist-esm/src/operations/signalRReplicas.d.ts +107 -0
  103. package/dist-esm/src/operations/signalRReplicas.d.ts.map +1 -0
  104. package/dist-esm/src/operations/signalRReplicas.js +507 -0
  105. package/dist-esm/src/operations/signalRReplicas.js.map +1 -0
  106. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts +8 -16
  107. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts.map +1 -1
  108. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js +11 -18
  109. package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js.map +1 -1
  110. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  111. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  112. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  113. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  114. package/dist-esm/src/operationsInterfaces/signalR.d.ts +25 -31
  115. package/dist-esm/src/operationsInterfaces/signalR.d.ts.map +1 -1
  116. package/dist-esm/src/operationsInterfaces/signalRCustomCertificates.d.ts +5 -10
  117. package/dist-esm/src/operationsInterfaces/signalRCustomCertificates.d.ts.map +1 -1
  118. package/dist-esm/src/operationsInterfaces/signalRCustomDomains.d.ts +6 -12
  119. package/dist-esm/src/operationsInterfaces/signalRCustomDomains.d.ts.map +1 -1
  120. package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts +13 -14
  121. package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts.map +1 -1
  122. package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.d.ts +1 -2
  123. package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.d.ts.map +1 -1
  124. package/dist-esm/src/operationsInterfaces/signalRReplicas.d.ts +82 -0
  125. package/dist-esm/src/operationsInterfaces/signalRReplicas.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/signalRReplicas.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/signalRReplicas.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts +6 -12
  129. package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts.map +1 -1
  130. package/dist-esm/src/signalRManagementClient.d.ts +3 -3
  131. package/dist-esm/src/signalRManagementClient.d.ts.map +1 -1
  132. package/dist-esm/src/signalRManagementClient.js +5 -5
  133. package/dist-esm/src/signalRManagementClient.js.map +1 -1
  134. package/dist-esm/test/signalr_examples.spec.js +1 -1
  135. package/dist-esm/test/signalr_examples.spec.js.map +1 -1
  136. package/package.json +6 -6
  137. package/review/arm-signalr.api.md +124 -8
  138. package/src/models/index.ts +179 -82
  139. package/src/models/mappers.ts +189 -90
  140. package/src/models/parameters.ts +34 -3
  141. package/src/operations/index.ts +1 -0
  142. package/src/operations/signalR.ts +91 -44
  143. package/src/operations/signalRCustomCertificates.ts +9 -15
  144. package/src/operations/signalRCustomDomains.ts +10 -17
  145. package/src/operations/signalRPrivateEndpointConnections.ts +15 -18
  146. package/src/operations/signalRPrivateLinkResources.ts +3 -6
  147. package/src/operations/signalRReplicas.ts +702 -0
  148. package/src/operations/signalRSharedPrivateLinkResources.ts +11 -18
  149. package/src/operationsInterfaces/index.ts +1 -0
  150. package/src/operationsInterfaces/signalR.ts +37 -30
  151. package/src/operationsInterfaces/signalRCustomCertificates.ts +5 -10
  152. package/src/operationsInterfaces/signalRCustomDomains.ts +6 -12
  153. package/src/operationsInterfaces/signalRPrivateEndpointConnections.ts +13 -14
  154. package/src/operationsInterfaces/signalRPrivateLinkResources.ts +1 -2
  155. package/src/operationsInterfaces/signalRReplicas.ts +166 -0
  156. package/src/operationsInterfaces/signalRSharedPrivateLinkResources.ts +6 -12
  157. package/src/signalRManagementClient.ts +7 -4
  158. package/types/arm-signalr.d.ts +267 -119
@@ -42,7 +42,10 @@ import {
42
42
  RegenerateKeyParameters,
43
43
  SignalRRegenerateKeyOptionalParams,
44
44
  SignalRRegenerateKeyResponse,
45
+ SignalRListReplicaSkusOptionalParams,
46
+ SignalRListReplicaSkusResponse,
45
47
  SignalRRestartOptionalParams,
48
+ SignalRRestartResponse,
46
49
  SignalRListSkusOptionalParams,
47
50
  SignalRListSkusResponse,
48
51
  SignalRListBySubscriptionNextResponse,
@@ -118,8 +121,7 @@ export class SignalRImpl implements SignalR {
118
121
 
119
122
  /**
120
123
  * Handles requests to list all resources in a resource group.
121
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
122
- * this value from the Azure Resource Manager API or the portal.
124
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
123
125
  * @param options The options parameters.
124
126
  */
125
127
  public listByResourceGroup(
@@ -218,8 +220,7 @@ export class SignalRImpl implements SignalR {
218
220
 
219
221
  /**
220
222
  * Handles requests to list all resources in a resource group.
221
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
222
- * this value from the Azure Resource Manager API or the portal.
223
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
223
224
  * @param options The options parameters.
224
225
  */
225
226
  private _listByResourceGroup(
@@ -234,8 +235,7 @@ export class SignalRImpl implements SignalR {
234
235
 
235
236
  /**
236
237
  * Get the resource and its properties.
237
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
238
- * this value from the Azure Resource Manager API or the portal.
238
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
239
239
  * @param resourceName The name of the resource.
240
240
  * @param options The options parameters.
241
241
  */
@@ -252,8 +252,7 @@ export class SignalRImpl implements SignalR {
252
252
 
253
253
  /**
254
254
  * Create or update a resource.
255
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
256
- * this value from the Azure Resource Manager API or the portal.
255
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
257
256
  * @param resourceName The name of the resource.
258
257
  * @param parameters Parameters for the create or update operation
259
258
  * @param options The options parameters.
@@ -318,7 +317,8 @@ export class SignalRImpl implements SignalR {
318
317
  OperationState<SignalRCreateOrUpdateResponse>
319
318
  >(lro, {
320
319
  restoreFrom: options?.resumeFrom,
321
- intervalInMs: options?.updateIntervalInMs
320
+ intervalInMs: options?.updateIntervalInMs,
321
+ resourceLocationConfig: "azure-async-operation"
322
322
  });
323
323
  await poller.poll();
324
324
  return poller;
@@ -326,8 +326,7 @@ export class SignalRImpl implements SignalR {
326
326
 
327
327
  /**
328
328
  * Create or update a resource.
329
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
330
- * this value from the Azure Resource Manager API or the portal.
329
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
331
330
  * @param resourceName The name of the resource.
332
331
  * @param parameters Parameters for the create or update operation
333
332
  * @param options The options parameters.
@@ -349,8 +348,7 @@ export class SignalRImpl implements SignalR {
349
348
 
350
349
  /**
351
350
  * Operation to delete a resource.
352
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
353
- * this value from the Azure Resource Manager API or the portal.
351
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
354
352
  * @param resourceName The name of the resource.
355
353
  * @param options The options parameters.
356
354
  */
@@ -414,8 +412,7 @@ export class SignalRImpl implements SignalR {
414
412
 
415
413
  /**
416
414
  * Operation to delete a resource.
417
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
418
- * this value from the Azure Resource Manager API or the portal.
415
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
419
416
  * @param resourceName The name of the resource.
420
417
  * @param options The options parameters.
421
418
  */
@@ -434,8 +431,7 @@ export class SignalRImpl implements SignalR {
434
431
 
435
432
  /**
436
433
  * Operation to update an exiting resource.
437
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
438
- * this value from the Azure Resource Manager API or the portal.
434
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
439
435
  * @param resourceName The name of the resource.
440
436
  * @param parameters Parameters for the update operation
441
437
  * @param options The options parameters.
@@ -500,7 +496,8 @@ export class SignalRImpl implements SignalR {
500
496
  OperationState<SignalRUpdateResponse>
501
497
  >(lro, {
502
498
  restoreFrom: options?.resumeFrom,
503
- intervalInMs: options?.updateIntervalInMs
499
+ intervalInMs: options?.updateIntervalInMs,
500
+ resourceLocationConfig: "location"
504
501
  });
505
502
  await poller.poll();
506
503
  return poller;
@@ -508,8 +505,7 @@ export class SignalRImpl implements SignalR {
508
505
 
509
506
  /**
510
507
  * Operation to update an exiting resource.
511
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
512
- * this value from the Azure Resource Manager API or the portal.
508
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
513
509
  * @param resourceName The name of the resource.
514
510
  * @param parameters Parameters for the update operation
515
511
  * @param options The options parameters.
@@ -531,8 +527,7 @@ export class SignalRImpl implements SignalR {
531
527
 
532
528
  /**
533
529
  * Get the access keys of the resource.
534
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
535
- * this value from the Azure Resource Manager API or the portal.
530
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
536
531
  * @param resourceName The name of the resource.
537
532
  * @param options The options parameters.
538
533
  */
@@ -550,8 +545,7 @@ export class SignalRImpl implements SignalR {
550
545
  /**
551
546
  * Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the
552
547
  * same time.
553
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
554
- * this value from the Azure Resource Manager API or the portal.
548
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
555
549
  * @param resourceName The name of the resource.
556
550
  * @param parameters Parameter that describes the Regenerate Key Operation.
557
551
  * @param options The options parameters.
@@ -617,7 +611,7 @@ export class SignalRImpl implements SignalR {
617
611
  >(lro, {
618
612
  restoreFrom: options?.resumeFrom,
619
613
  intervalInMs: options?.updateIntervalInMs,
620
- resourceLocationConfig: "azure-async-operation"
614
+ resourceLocationConfig: "location"
621
615
  });
622
616
  await poller.poll();
623
617
  return poller;
@@ -626,8 +620,7 @@ export class SignalRImpl implements SignalR {
626
620
  /**
627
621
  * Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the
628
622
  * same time.
629
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
630
- * this value from the Azure Resource Manager API or the portal.
623
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
631
624
  * @param resourceName The name of the resource.
632
625
  * @param parameters Parameter that describes the Regenerate Key Operation.
633
626
  * @param options The options parameters.
@@ -647,10 +640,28 @@ export class SignalRImpl implements SignalR {
647
640
  return poller.pollUntilDone();
648
641
  }
649
642
 
643
+ /**
644
+ * List all available skus of the replica resource.
645
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
646
+ * @param resourceName The name of the resource.
647
+ * @param replicaName The name of the replica.
648
+ * @param options The options parameters.
649
+ */
650
+ listReplicaSkus(
651
+ resourceGroupName: string,
652
+ resourceName: string,
653
+ replicaName: string,
654
+ options?: SignalRListReplicaSkusOptionalParams
655
+ ): Promise<SignalRListReplicaSkusResponse> {
656
+ return this.client.sendOperationRequest(
657
+ { resourceGroupName, resourceName, replicaName, options },
658
+ listReplicaSkusOperationSpec
659
+ );
660
+ }
661
+
650
662
  /**
651
663
  * Operation to restart a resource.
652
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
653
- * this value from the Azure Resource Manager API or the portal.
664
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
654
665
  * @param resourceName The name of the resource.
655
666
  * @param options The options parameters.
656
667
  */
@@ -658,11 +669,16 @@ export class SignalRImpl implements SignalR {
658
669
  resourceGroupName: string,
659
670
  resourceName: string,
660
671
  options?: SignalRRestartOptionalParams
661
- ): Promise<SimplePollerLike<OperationState<void>, void>> {
672
+ ): Promise<
673
+ SimplePollerLike<
674
+ OperationState<SignalRRestartResponse>,
675
+ SignalRRestartResponse
676
+ >
677
+ > {
662
678
  const directSendOperation = async (
663
679
  args: coreClient.OperationArguments,
664
680
  spec: coreClient.OperationSpec
665
- ): Promise<void> => {
681
+ ): Promise<SignalRRestartResponse> => {
666
682
  return this.client.sendOperationRequest(args, spec);
667
683
  };
668
684
  const sendOperationFn = async (
@@ -703,10 +719,13 @@ export class SignalRImpl implements SignalR {
703
719
  args: { resourceGroupName, resourceName, options },
704
720
  spec: restartOperationSpec
705
721
  });
706
- const poller = await createHttpPoller<void, OperationState<void>>(lro, {
722
+ const poller = await createHttpPoller<
723
+ SignalRRestartResponse,
724
+ OperationState<SignalRRestartResponse>
725
+ >(lro, {
707
726
  restoreFrom: options?.resumeFrom,
708
727
  intervalInMs: options?.updateIntervalInMs,
709
- resourceLocationConfig: "azure-async-operation"
728
+ resourceLocationConfig: "location"
710
729
  });
711
730
  await poller.poll();
712
731
  return poller;
@@ -714,8 +733,7 @@ export class SignalRImpl implements SignalR {
714
733
 
715
734
  /**
716
735
  * Operation to restart a resource.
717
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
718
- * this value from the Azure Resource Manager API or the portal.
736
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
719
737
  * @param resourceName The name of the resource.
720
738
  * @param options The options parameters.
721
739
  */
@@ -723,7 +741,7 @@ export class SignalRImpl implements SignalR {
723
741
  resourceGroupName: string,
724
742
  resourceName: string,
725
743
  options?: SignalRRestartOptionalParams
726
- ): Promise<void> {
744
+ ): Promise<SignalRRestartResponse> {
727
745
  const poller = await this.beginRestart(
728
746
  resourceGroupName,
729
747
  resourceName,
@@ -734,8 +752,7 @@ export class SignalRImpl implements SignalR {
734
752
 
735
753
  /**
736
754
  * List all available skus of the resource.
737
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
738
- * this value from the Azure Resource Manager API or the portal.
755
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
739
756
  * @param resourceName The name of the resource.
740
757
  * @param options The options parameters.
741
758
  */
@@ -767,8 +784,7 @@ export class SignalRImpl implements SignalR {
767
784
 
768
785
  /**
769
786
  * ListByResourceGroupNext
770
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
771
- * this value from the Azure Resource Manager API or the portal.
787
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
772
788
  * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
773
789
  * @param options The options parameters.
774
790
  */
@@ -1013,15 +1029,46 @@ const regenerateKeyOperationSpec: coreClient.OperationSpec = {
1013
1029
  mediaType: "json",
1014
1030
  serializer
1015
1031
  };
1032
+ const listReplicaSkusOperationSpec: coreClient.OperationSpec = {
1033
+ path:
1034
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/skus",
1035
+ httpMethod: "GET",
1036
+ responses: {
1037
+ 200: {
1038
+ bodyMapper: Mappers.SkuList
1039
+ },
1040
+ default: {
1041
+ bodyMapper: Mappers.ErrorResponse
1042
+ }
1043
+ },
1044
+ queryParameters: [Parameters.apiVersion],
1045
+ urlParameters: [
1046
+ Parameters.$host,
1047
+ Parameters.subscriptionId,
1048
+ Parameters.resourceGroupName,
1049
+ Parameters.resourceName,
1050
+ Parameters.replicaName
1051
+ ],
1052
+ headerParameters: [Parameters.accept],
1053
+ serializer
1054
+ };
1016
1055
  const restartOperationSpec: coreClient.OperationSpec = {
1017
1056
  path:
1018
1057
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/restart",
1019
1058
  httpMethod: "POST",
1020
1059
  responses: {
1021
- 200: {},
1022
- 201: {},
1023
- 202: {},
1024
- 204: {},
1060
+ 200: {
1061
+ headersMapper: Mappers.SignalRRestartHeaders
1062
+ },
1063
+ 201: {
1064
+ headersMapper: Mappers.SignalRRestartHeaders
1065
+ },
1066
+ 202: {
1067
+ headersMapper: Mappers.SignalRRestartHeaders
1068
+ },
1069
+ 204: {
1070
+ headersMapper: Mappers.SignalRRestartHeaders
1071
+ },
1025
1072
  default: {
1026
1073
  bodyMapper: Mappers.ErrorResponse
1027
1074
  }
@@ -48,8 +48,7 @@ export class SignalRCustomCertificatesImpl
48
48
 
49
49
  /**
50
50
  * List all custom certificates.
51
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
52
- * this value from the Azure Resource Manager API or the portal.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
52
  * @param resourceName The name of the resource.
54
53
  * @param options The options parameters.
55
54
  */
@@ -125,8 +124,7 @@ export class SignalRCustomCertificatesImpl
125
124
 
126
125
  /**
127
126
  * List all custom certificates.
128
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
129
- * this value from the Azure Resource Manager API or the portal.
127
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
130
128
  * @param resourceName The name of the resource.
131
129
  * @param options The options parameters.
132
130
  */
@@ -143,8 +141,7 @@ export class SignalRCustomCertificatesImpl
143
141
 
144
142
  /**
145
143
  * Get a custom certificate.
146
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
147
- * this value from the Azure Resource Manager API or the portal.
144
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
148
145
  * @param resourceName The name of the resource.
149
146
  * @param certificateName Custom certificate name
150
147
  * @param options The options parameters.
@@ -163,8 +160,7 @@ export class SignalRCustomCertificatesImpl
163
160
 
164
161
  /**
165
162
  * Create or update a custom certificate.
166
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
167
- * this value from the Azure Resource Manager API or the portal.
163
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
168
164
  * @param resourceName The name of the resource.
169
165
  * @param certificateName Custom certificate name
170
166
  * @param parameters A custom certificate.
@@ -237,7 +233,8 @@ export class SignalRCustomCertificatesImpl
237
233
  OperationState<SignalRCustomCertificatesCreateOrUpdateResponse>
238
234
  >(lro, {
239
235
  restoreFrom: options?.resumeFrom,
240
- intervalInMs: options?.updateIntervalInMs
236
+ intervalInMs: options?.updateIntervalInMs,
237
+ resourceLocationConfig: "azure-async-operation"
241
238
  });
242
239
  await poller.poll();
243
240
  return poller;
@@ -245,8 +242,7 @@ export class SignalRCustomCertificatesImpl
245
242
 
246
243
  /**
247
244
  * Create or update a custom certificate.
248
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
249
- * this value from the Azure Resource Manager API or the portal.
245
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
250
246
  * @param resourceName The name of the resource.
251
247
  * @param certificateName Custom certificate name
252
248
  * @param parameters A custom certificate.
@@ -271,8 +267,7 @@ export class SignalRCustomCertificatesImpl
271
267
 
272
268
  /**
273
269
  * Delete a custom certificate.
274
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
275
- * this value from the Azure Resource Manager API or the portal.
270
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
276
271
  * @param resourceName The name of the resource.
277
272
  * @param certificateName Custom certificate name
278
273
  * @param options The options parameters.
@@ -291,8 +286,7 @@ export class SignalRCustomCertificatesImpl
291
286
 
292
287
  /**
293
288
  * ListNext
294
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
295
- * this value from the Azure Resource Manager API or the portal.
289
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
296
290
  * @param resourceName The name of the resource.
297
291
  * @param nextLink The nextLink from the previous successful call to the List method.
298
292
  * @param options The options parameters.
@@ -47,8 +47,7 @@ export class SignalRCustomDomainsImpl implements SignalRCustomDomains {
47
47
 
48
48
  /**
49
49
  * List all custom domains.
50
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
51
- * this value from the Azure Resource Manager API or the portal.
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
51
  * @param resourceName The name of the resource.
53
52
  * @param options The options parameters.
54
53
  */
@@ -124,8 +123,7 @@ export class SignalRCustomDomainsImpl implements SignalRCustomDomains {
124
123
 
125
124
  /**
126
125
  * List all custom domains.
127
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
128
- * this value from the Azure Resource Manager API or the portal.
126
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
129
127
  * @param resourceName The name of the resource.
130
128
  * @param options The options parameters.
131
129
  */
@@ -142,8 +140,7 @@ export class SignalRCustomDomainsImpl implements SignalRCustomDomains {
142
140
 
143
141
  /**
144
142
  * Get a custom domain.
145
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
146
- * this value from the Azure Resource Manager API or the portal.
143
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
147
144
  * @param resourceName The name of the resource.
148
145
  * @param name Custom domain name.
149
146
  * @param options The options parameters.
@@ -162,8 +159,7 @@ export class SignalRCustomDomainsImpl implements SignalRCustomDomains {
162
159
 
163
160
  /**
164
161
  * Create or update a custom domain.
165
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
166
- * this value from the Azure Resource Manager API or the portal.
162
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
167
163
  * @param resourceName The name of the resource.
168
164
  * @param name Custom domain name.
169
165
  * @param parameters A custom domain
@@ -230,7 +226,8 @@ export class SignalRCustomDomainsImpl implements SignalRCustomDomains {
230
226
  OperationState<SignalRCustomDomainsCreateOrUpdateResponse>
231
227
  >(lro, {
232
228
  restoreFrom: options?.resumeFrom,
233
- intervalInMs: options?.updateIntervalInMs
229
+ intervalInMs: options?.updateIntervalInMs,
230
+ resourceLocationConfig: "azure-async-operation"
234
231
  });
235
232
  await poller.poll();
236
233
  return poller;
@@ -238,8 +235,7 @@ export class SignalRCustomDomainsImpl implements SignalRCustomDomains {
238
235
 
239
236
  /**
240
237
  * Create or update a custom domain.
241
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
242
- * this value from the Azure Resource Manager API or the portal.
238
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
243
239
  * @param resourceName The name of the resource.
244
240
  * @param name Custom domain name.
245
241
  * @param parameters A custom domain
@@ -264,8 +260,7 @@ export class SignalRCustomDomainsImpl implements SignalRCustomDomains {
264
260
 
265
261
  /**
266
262
  * Delete a custom domain.
267
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
268
- * this value from the Azure Resource Manager API or the portal.
263
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
269
264
  * @param resourceName The name of the resource.
270
265
  * @param name Custom domain name.
271
266
  * @param options The options parameters.
@@ -331,8 +326,7 @@ export class SignalRCustomDomainsImpl implements SignalRCustomDomains {
331
326
 
332
327
  /**
333
328
  * Delete a custom domain.
334
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
335
- * this value from the Azure Resource Manager API or the portal.
329
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
336
330
  * @param resourceName The name of the resource.
337
331
  * @param name Custom domain name.
338
332
  * @param options The options parameters.
@@ -354,8 +348,7 @@ export class SignalRCustomDomainsImpl implements SignalRCustomDomains {
354
348
 
355
349
  /**
356
350
  * ListNext
357
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
358
- * this value from the Azure Resource Manager API or the portal.
351
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
359
352
  * @param resourceName The name of the resource.
360
353
  * @param nextLink The nextLink from the previous successful call to the List method.
361
354
  * @param options The options parameters.
@@ -48,8 +48,7 @@ export class SignalRPrivateEndpointConnectionsImpl
48
48
 
49
49
  /**
50
50
  * List private endpoint connections
51
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
52
- * this value from the Azure Resource Manager API or the portal.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
52
  * @param resourceName The name of the resource.
54
53
  * @param options The options parameters.
55
54
  */
@@ -125,8 +124,7 @@ export class SignalRPrivateEndpointConnectionsImpl
125
124
 
126
125
  /**
127
126
  * List private endpoint connections
128
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
129
- * this value from the Azure Resource Manager API or the portal.
127
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
130
128
  * @param resourceName The name of the resource.
131
129
  * @param options The options parameters.
132
130
  */
@@ -143,9 +141,9 @@ export class SignalRPrivateEndpointConnectionsImpl
143
141
 
144
142
  /**
145
143
  * Get the specified private endpoint connection
146
- * @param privateEndpointConnectionName The name of the private endpoint connection
147
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
148
- * this value from the Azure Resource Manager API or the portal.
144
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
145
+ * Azure resource.
146
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
149
147
  * @param resourceName The name of the resource.
150
148
  * @param options The options parameters.
151
149
  */
@@ -168,9 +166,9 @@ export class SignalRPrivateEndpointConnectionsImpl
168
166
 
169
167
  /**
170
168
  * Update the state of specified private endpoint connection
171
- * @param privateEndpointConnectionName The name of the private endpoint connection
172
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
173
- * this value from the Azure Resource Manager API or the portal.
169
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
170
+ * Azure resource.
171
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
174
172
  * @param resourceName The name of the resource.
175
173
  * @param parameters The resource of private endpoint and its properties
176
174
  * @param options The options parameters.
@@ -196,9 +194,9 @@ export class SignalRPrivateEndpointConnectionsImpl
196
194
 
197
195
  /**
198
196
  * Delete the specified private endpoint connection
199
- * @param privateEndpointConnectionName The name of the private endpoint connection
200
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
201
- * this value from the Azure Resource Manager API or the portal.
197
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
198
+ * Azure resource.
199
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
202
200
  * @param resourceName The name of the resource.
203
201
  * @param options The options parameters.
204
202
  */
@@ -268,9 +266,9 @@ export class SignalRPrivateEndpointConnectionsImpl
268
266
 
269
267
  /**
270
268
  * Delete the specified private endpoint connection
271
- * @param privateEndpointConnectionName The name of the private endpoint connection
272
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
273
- * this value from the Azure Resource Manager API or the portal.
269
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
270
+ * Azure resource.
271
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
274
272
  * @param resourceName The name of the resource.
275
273
  * @param options The options parameters.
276
274
  */
@@ -291,8 +289,7 @@ export class SignalRPrivateEndpointConnectionsImpl
291
289
 
292
290
  /**
293
291
  * ListNext
294
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
295
- * this value from the Azure Resource Manager API or the portal.
292
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
296
293
  * @param resourceName The name of the resource.
297
294
  * @param nextLink The nextLink from the previous successful call to the List method.
298
295
  * @param options The options parameters.
@@ -37,8 +37,7 @@ export class SignalRPrivateLinkResourcesImpl
37
37
 
38
38
  /**
39
39
  * Get the private link resources that need to be created for a resource.
40
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
41
- * this value from the Azure Resource Manager API or the portal.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
41
  * @param resourceName The name of the resource.
43
42
  * @param options The options parameters.
44
43
  */
@@ -114,8 +113,7 @@ export class SignalRPrivateLinkResourcesImpl
114
113
 
115
114
  /**
116
115
  * Get the private link resources that need to be created for a resource.
117
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
118
- * this value from the Azure Resource Manager API or the portal.
116
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
119
117
  * @param resourceName The name of the resource.
120
118
  * @param options The options parameters.
121
119
  */
@@ -132,8 +130,7 @@ export class SignalRPrivateLinkResourcesImpl
132
130
 
133
131
  /**
134
132
  * ListNext
135
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
136
- * this value from the Azure Resource Manager API or the portal.
133
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
137
134
  * @param resourceName The name of the resource.
138
135
  * @param nextLink The nextLink from the previous successful call to the List method.
139
136
  * @param options The options parameters.