@azure/arm-signalr 5.2.1-alpha.20230918.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 (159) 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
  159. package/types/tsdoc-metadata.json +1 -1
@@ -48,8 +48,7 @@ export class SignalRSharedPrivateLinkResourcesImpl
48
48
 
49
49
  /**
50
50
  * List shared private link resources
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 SignalRSharedPrivateLinkResourcesImpl
125
124
 
126
125
  /**
127
126
  * List shared private link resources
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
  */
@@ -144,8 +142,7 @@ export class SignalRSharedPrivateLinkResourcesImpl
144
142
  /**
145
143
  * Get the specified shared private link resource
146
144
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
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.
145
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
149
146
  * @param resourceName The name of the resource.
150
147
  * @param options The options parameters.
151
148
  */
@@ -169,8 +166,7 @@ export class SignalRSharedPrivateLinkResourcesImpl
169
166
  /**
170
167
  * Create or update a shared private link resource
171
168
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
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 resourceGroupName The name of the resource group. The name is case insensitive.
174
170
  * @param resourceName The name of the resource.
175
171
  * @param parameters The shared private link resource
176
172
  * @param options The options parameters.
@@ -242,7 +238,8 @@ export class SignalRSharedPrivateLinkResourcesImpl
242
238
  OperationState<SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse>
243
239
  >(lro, {
244
240
  restoreFrom: options?.resumeFrom,
245
- intervalInMs: options?.updateIntervalInMs
241
+ intervalInMs: options?.updateIntervalInMs,
242
+ resourceLocationConfig: "azure-async-operation"
246
243
  });
247
244
  await poller.poll();
248
245
  return poller;
@@ -251,8 +248,7 @@ export class SignalRSharedPrivateLinkResourcesImpl
251
248
  /**
252
249
  * Create or update a shared private link resource
253
250
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
254
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
255
- * this value from the Azure Resource Manager API or the portal.
251
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
256
252
  * @param resourceName The name of the resource.
257
253
  * @param parameters The shared private link resource
258
254
  * @param options The options parameters.
@@ -277,8 +273,7 @@ export class SignalRSharedPrivateLinkResourcesImpl
277
273
  /**
278
274
  * Delete the specified shared private link resource
279
275
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
280
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
281
- * this value from the Azure Resource Manager API or the portal.
276
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
282
277
  * @param resourceName The name of the resource.
283
278
  * @param options The options parameters.
284
279
  */
@@ -349,8 +344,7 @@ export class SignalRSharedPrivateLinkResourcesImpl
349
344
  /**
350
345
  * Delete the specified shared private link resource
351
346
  * @param sharedPrivateLinkResourceName The name of the shared private link 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.
347
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
354
348
  * @param resourceName The name of the resource.
355
349
  * @param options The options parameters.
356
350
  */
@@ -371,8 +365,7 @@ export class SignalRSharedPrivateLinkResourcesImpl
371
365
 
372
366
  /**
373
367
  * ListNext
374
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
375
- * this value from the Azure Resource Manager API or the portal.
368
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
376
369
  * @param resourceName The name of the resource.
377
370
  * @param nextLink The nextLink from the previous successful call to the List method.
378
371
  * @param options The options parameters.
@@ -458,7 +451,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
458
451
  bodyMapper: Mappers.ErrorResponse
459
452
  }
460
453
  },
461
- requestBody: Parameters.parameters6,
454
+ requestBody: Parameters.parameters7,
462
455
  queryParameters: [Parameters.apiVersion],
463
456
  urlParameters: [
464
457
  Parameters.$host,
@@ -13,4 +13,5 @@ export * from "./signalRCustomCertificates";
13
13
  export * from "./signalRCustomDomains";
14
14
  export * from "./signalRPrivateEndpointConnections";
15
15
  export * from "./signalRPrivateLinkResources";
16
+ export * from "./signalRReplicas";
16
17
  export * from "./signalRSharedPrivateLinkResources";
@@ -27,7 +27,10 @@ import {
27
27
  RegenerateKeyParameters,
28
28
  SignalRRegenerateKeyOptionalParams,
29
29
  SignalRRegenerateKeyResponse,
30
+ SignalRListReplicaSkusOptionalParams,
31
+ SignalRListReplicaSkusResponse,
30
32
  SignalRRestartOptionalParams,
33
+ SignalRRestartResponse,
31
34
  SignalRListSkusOptionalParams,
32
35
  SignalRListSkusResponse
33
36
  } from "../models";
@@ -44,8 +47,7 @@ export interface SignalR {
44
47
  ): PagedAsyncIterableIterator<SignalRResource>;
45
48
  /**
46
49
  * Handles requests to list all resources in a resource group.
47
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
48
- * 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.
49
51
  * @param options The options parameters.
50
52
  */
51
53
  listByResourceGroup(
@@ -65,8 +67,7 @@ export interface SignalR {
65
67
  ): Promise<SignalRCheckNameAvailabilityResponse>;
66
68
  /**
67
69
  * Get the resource and its properties.
68
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
69
- * this value from the Azure Resource Manager API or the portal.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
70
71
  * @param resourceName The name of the resource.
71
72
  * @param options The options parameters.
72
73
  */
@@ -77,8 +78,7 @@ export interface SignalR {
77
78
  ): Promise<SignalRGetResponse>;
78
79
  /**
79
80
  * Create or update a resource.
80
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
81
- * this value from the Azure Resource Manager API or the portal.
81
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
82
82
  * @param resourceName The name of the resource.
83
83
  * @param parameters Parameters for the create or update operation
84
84
  * @param options The options parameters.
@@ -96,8 +96,7 @@ export interface SignalR {
96
96
  >;
97
97
  /**
98
98
  * Create or update a resource.
99
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
100
- * this value from the Azure Resource Manager API or the portal.
99
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
101
100
  * @param resourceName The name of the resource.
102
101
  * @param parameters Parameters for the create or update operation
103
102
  * @param options The options parameters.
@@ -110,8 +109,7 @@ export interface SignalR {
110
109
  ): Promise<SignalRCreateOrUpdateResponse>;
111
110
  /**
112
111
  * Operation to delete a resource.
113
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
114
- * this value from the Azure Resource Manager API or the portal.
112
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
115
113
  * @param resourceName The name of the resource.
116
114
  * @param options The options parameters.
117
115
  */
@@ -122,8 +120,7 @@ export interface SignalR {
122
120
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
123
121
  /**
124
122
  * Operation to delete a resource.
125
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
126
- * this value from the Azure Resource Manager API or the portal.
123
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
127
124
  * @param resourceName The name of the resource.
128
125
  * @param options The options parameters.
129
126
  */
@@ -134,8 +131,7 @@ export interface SignalR {
134
131
  ): Promise<void>;
135
132
  /**
136
133
  * Operation to update an exiting resource.
137
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
138
- * this value from the Azure Resource Manager API or the portal.
134
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
139
135
  * @param resourceName The name of the resource.
140
136
  * @param parameters Parameters for the update operation
141
137
  * @param options The options parameters.
@@ -153,8 +149,7 @@ export interface SignalR {
153
149
  >;
154
150
  /**
155
151
  * Operation to update an exiting resource.
156
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
157
- * this value from the Azure Resource Manager API or the portal.
152
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
158
153
  * @param resourceName The name of the resource.
159
154
  * @param parameters Parameters for the update operation
160
155
  * @param options The options parameters.
@@ -167,8 +162,7 @@ export interface SignalR {
167
162
  ): Promise<SignalRUpdateResponse>;
168
163
  /**
169
164
  * Get the access keys of the resource.
170
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
171
- * this value from the Azure Resource Manager API or the portal.
165
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
172
166
  * @param resourceName The name of the resource.
173
167
  * @param options The options parameters.
174
168
  */
@@ -180,8 +174,7 @@ export interface SignalR {
180
174
  /**
181
175
  * Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the
182
176
  * same time.
183
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
184
- * this value from the Azure Resource Manager API or the portal.
177
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
185
178
  * @param resourceName The name of the resource.
186
179
  * @param parameters Parameter that describes the Regenerate Key Operation.
187
180
  * @param options The options parameters.
@@ -200,8 +193,7 @@ export interface SignalR {
200
193
  /**
201
194
  * Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the
202
195
  * same time.
203
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
204
- * this value from the Azure Resource Manager API or the portal.
196
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
205
197
  * @param resourceName The name of the resource.
206
198
  * @param parameters Parameter that describes the Regenerate Key Operation.
207
199
  * @param options The options parameters.
@@ -212,10 +204,22 @@ export interface SignalR {
212
204
  parameters: RegenerateKeyParameters,
213
205
  options?: SignalRRegenerateKeyOptionalParams
214
206
  ): Promise<SignalRRegenerateKeyResponse>;
207
+ /**
208
+ * List all available skus of the replica resource.
209
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
210
+ * @param resourceName The name of the resource.
211
+ * @param replicaName The name of the replica.
212
+ * @param options The options parameters.
213
+ */
214
+ listReplicaSkus(
215
+ resourceGroupName: string,
216
+ resourceName: string,
217
+ replicaName: string,
218
+ options?: SignalRListReplicaSkusOptionalParams
219
+ ): Promise<SignalRListReplicaSkusResponse>;
215
220
  /**
216
221
  * Operation to restart a resource.
217
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
218
- * this value from the Azure Resource Manager API or the portal.
222
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
219
223
  * @param resourceName The name of the resource.
220
224
  * @param options The options parameters.
221
225
  */
@@ -223,11 +227,15 @@ export interface SignalR {
223
227
  resourceGroupName: string,
224
228
  resourceName: string,
225
229
  options?: SignalRRestartOptionalParams
226
- ): Promise<SimplePollerLike<OperationState<void>, void>>;
230
+ ): Promise<
231
+ SimplePollerLike<
232
+ OperationState<SignalRRestartResponse>,
233
+ SignalRRestartResponse
234
+ >
235
+ >;
227
236
  /**
228
237
  * Operation to restart a resource.
229
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
230
- * 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.
231
239
  * @param resourceName The name of the resource.
232
240
  * @param options The options parameters.
233
241
  */
@@ -235,11 +243,10 @@ export interface SignalR {
235
243
  resourceGroupName: string,
236
244
  resourceName: string,
237
245
  options?: SignalRRestartOptionalParams
238
- ): Promise<void>;
246
+ ): Promise<SignalRRestartResponse>;
239
247
  /**
240
248
  * List all available skus of the resource.
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.
249
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
243
250
  * @param resourceName The name of the resource.
244
251
  * @param options The options parameters.
245
252
  */
@@ -23,8 +23,7 @@ import {
23
23
  export interface SignalRCustomCertificates {
24
24
  /**
25
25
  * List all custom certificates.
26
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
27
- * this value from the Azure Resource Manager API or the portal.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
27
  * @param resourceName The name of the resource.
29
28
  * @param options The options parameters.
30
29
  */
@@ -35,8 +34,7 @@ export interface SignalRCustomCertificates {
35
34
  ): PagedAsyncIterableIterator<CustomCertificate>;
36
35
  /**
37
36
  * Get a custom certificate.
38
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
39
- * this value from the Azure Resource Manager API or the portal.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
38
  * @param resourceName The name of the resource.
41
39
  * @param certificateName Custom certificate name
42
40
  * @param options The options parameters.
@@ -49,8 +47,7 @@ export interface SignalRCustomCertificates {
49
47
  ): Promise<SignalRCustomCertificatesGetResponse>;
50
48
  /**
51
49
  * Create or update a custom certificate.
52
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
53
- * 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.
54
51
  * @param resourceName The name of the resource.
55
52
  * @param certificateName Custom certificate name
56
53
  * @param parameters A custom certificate.
@@ -70,8 +67,7 @@ export interface SignalRCustomCertificates {
70
67
  >;
71
68
  /**
72
69
  * Create or update a custom certificate.
73
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
74
- * this value from the Azure Resource Manager API or the portal.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
71
  * @param resourceName The name of the resource.
76
72
  * @param certificateName Custom certificate name
77
73
  * @param parameters A custom certificate.
@@ -86,8 +82,7 @@ export interface SignalRCustomCertificates {
86
82
  ): Promise<SignalRCustomCertificatesCreateOrUpdateResponse>;
87
83
  /**
88
84
  * Delete a custom certificate.
89
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
90
- * this value from the Azure Resource Manager API or the portal.
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
86
  * @param resourceName The name of the resource.
92
87
  * @param certificateName Custom certificate name
93
88
  * @param options The options parameters.
@@ -23,8 +23,7 @@ import {
23
23
  export interface SignalRCustomDomains {
24
24
  /**
25
25
  * List all custom domains.
26
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
27
- * this value from the Azure Resource Manager API or the portal.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
27
  * @param resourceName The name of the resource.
29
28
  * @param options The options parameters.
30
29
  */
@@ -35,8 +34,7 @@ export interface SignalRCustomDomains {
35
34
  ): PagedAsyncIterableIterator<CustomDomain>;
36
35
  /**
37
36
  * Get a custom domain.
38
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
39
- * this value from the Azure Resource Manager API or the portal.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
38
  * @param resourceName The name of the resource.
41
39
  * @param name Custom domain name.
42
40
  * @param options The options parameters.
@@ -49,8 +47,7 @@ export interface SignalRCustomDomains {
49
47
  ): Promise<SignalRCustomDomainsGetResponse>;
50
48
  /**
51
49
  * Create or update a custom domain.
52
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
53
- * 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.
54
51
  * @param resourceName The name of the resource.
55
52
  * @param name Custom domain name.
56
53
  * @param parameters A custom domain
@@ -70,8 +67,7 @@ export interface SignalRCustomDomains {
70
67
  >;
71
68
  /**
72
69
  * Create or update a custom domain.
73
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
74
- * this value from the Azure Resource Manager API or the portal.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
71
  * @param resourceName The name of the resource.
76
72
  * @param name Custom domain name.
77
73
  * @param parameters A custom domain
@@ -86,8 +82,7 @@ export interface SignalRCustomDomains {
86
82
  ): Promise<SignalRCustomDomainsCreateOrUpdateResponse>;
87
83
  /**
88
84
  * Delete a custom domain.
89
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
90
- * this value from the Azure Resource Manager API or the portal.
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
86
  * @param resourceName The name of the resource.
92
87
  * @param name Custom domain name.
93
88
  * @param options The options parameters.
@@ -100,8 +95,7 @@ export interface SignalRCustomDomains {
100
95
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
101
96
  /**
102
97
  * Delete a custom domain.
103
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
104
- * this value from the Azure Resource Manager API or the portal.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
105
99
  * @param resourceName The name of the resource.
106
100
  * @param name Custom domain name.
107
101
  * @param options The options parameters.
@@ -23,8 +23,7 @@ import {
23
23
  export interface SignalRPrivateEndpointConnections {
24
24
  /**
25
25
  * List private endpoint connections
26
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
27
- * this value from the Azure Resource Manager API or the portal.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
27
  * @param resourceName The name of the resource.
29
28
  * @param options The options parameters.
30
29
  */
@@ -35,9 +34,9 @@ export interface SignalRPrivateEndpointConnections {
35
34
  ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
36
35
  /**
37
36
  * Get the specified private endpoint connection
38
- * @param privateEndpointConnectionName The name of the private endpoint connection
39
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
40
- * this value from the Azure Resource Manager API or the portal.
37
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
38
+ * Azure resource.
39
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
40
  * @param resourceName The name of the resource.
42
41
  * @param options The options parameters.
43
42
  */
@@ -49,9 +48,9 @@ export interface SignalRPrivateEndpointConnections {
49
48
  ): Promise<SignalRPrivateEndpointConnectionsGetResponse>;
50
49
  /**
51
50
  * Update the state of specified private endpoint connection
52
- * @param privateEndpointConnectionName The name of the private endpoint connection
53
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
54
- * this value from the Azure Resource Manager API or the portal.
51
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
52
+ * Azure resource.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
55
54
  * @param resourceName The name of the resource.
56
55
  * @param parameters The resource of private endpoint and its properties
57
56
  * @param options The options parameters.
@@ -65,9 +64,9 @@ export interface SignalRPrivateEndpointConnections {
65
64
  ): Promise<SignalRPrivateEndpointConnectionsUpdateResponse>;
66
65
  /**
67
66
  * Delete the specified private endpoint connection
68
- * @param privateEndpointConnectionName The name of the private endpoint connection
69
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
70
- * this value from the Azure Resource Manager API or the portal.
67
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
68
+ * Azure resource.
69
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
70
  * @param resourceName The name of the resource.
72
71
  * @param options The options parameters.
73
72
  */
@@ -79,9 +78,9 @@ export interface SignalRPrivateEndpointConnections {
79
78
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
80
79
  /**
81
80
  * Delete the specified private endpoint connection
82
- * @param privateEndpointConnectionName The name of the private endpoint connection
83
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
84
- * this value from the Azure Resource Manager API or the portal.
81
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
82
+ * Azure resource.
83
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
85
84
  * @param resourceName The name of the resource.
86
85
  * @param options The options parameters.
87
86
  */
@@ -17,8 +17,7 @@ import {
17
17
  export interface SignalRPrivateLinkResources {
18
18
  /**
19
19
  * Get the private link resources that need to be created for a resource.
20
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
21
- * this value from the Azure Resource Manager API or the portal.
20
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
22
21
  * @param resourceName The name of the resource.
23
22
  * @param options The options parameters.
24
23
  */
@@ -0,0 +1,166 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ Replica,
13
+ SignalRReplicasListOptionalParams,
14
+ SignalRReplicasGetOptionalParams,
15
+ SignalRReplicasGetResponse,
16
+ SignalRReplicasCreateOrUpdateOptionalParams,
17
+ SignalRReplicasCreateOrUpdateResponse,
18
+ SignalRReplicasDeleteOptionalParams,
19
+ SignalRReplicasUpdateOptionalParams,
20
+ SignalRReplicasUpdateResponse,
21
+ SignalRReplicasRestartOptionalParams,
22
+ SignalRReplicasRestartResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a SignalRReplicas. */
27
+ export interface SignalRReplicas {
28
+ /**
29
+ * List all replicas belong to this resource
30
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
+ * @param resourceName The name of the resource.
32
+ * @param options The options parameters.
33
+ */
34
+ list(
35
+ resourceGroupName: string,
36
+ resourceName: string,
37
+ options?: SignalRReplicasListOptionalParams
38
+ ): PagedAsyncIterableIterator<Replica>;
39
+ /**
40
+ * Get the replica and its properties.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param resourceName The name of the resource.
43
+ * @param replicaName The name of the replica.
44
+ * @param options The options parameters.
45
+ */
46
+ get(
47
+ resourceGroupName: string,
48
+ resourceName: string,
49
+ replicaName: string,
50
+ options?: SignalRReplicasGetOptionalParams
51
+ ): Promise<SignalRReplicasGetResponse>;
52
+ /**
53
+ * Create or update a replica.
54
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
55
+ * @param resourceName The name of the resource.
56
+ * @param replicaName The name of the replica.
57
+ * @param parameters Parameters for the create or update operation
58
+ * @param options The options parameters.
59
+ */
60
+ beginCreateOrUpdate(
61
+ resourceGroupName: string,
62
+ resourceName: string,
63
+ replicaName: string,
64
+ parameters: Replica,
65
+ options?: SignalRReplicasCreateOrUpdateOptionalParams
66
+ ): Promise<
67
+ SimplePollerLike<
68
+ OperationState<SignalRReplicasCreateOrUpdateResponse>,
69
+ SignalRReplicasCreateOrUpdateResponse
70
+ >
71
+ >;
72
+ /**
73
+ * Create or update a replica.
74
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
+ * @param resourceName The name of the resource.
76
+ * @param replicaName The name of the replica.
77
+ * @param parameters Parameters for the create or update operation
78
+ * @param options The options parameters.
79
+ */
80
+ beginCreateOrUpdateAndWait(
81
+ resourceGroupName: string,
82
+ resourceName: string,
83
+ replicaName: string,
84
+ parameters: Replica,
85
+ options?: SignalRReplicasCreateOrUpdateOptionalParams
86
+ ): Promise<SignalRReplicasCreateOrUpdateResponse>;
87
+ /**
88
+ * Operation to delete a replica.
89
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
+ * @param resourceName The name of the resource.
91
+ * @param replicaName The name of the replica.
92
+ * @param options The options parameters.
93
+ */
94
+ delete(
95
+ resourceGroupName: string,
96
+ resourceName: string,
97
+ replicaName: string,
98
+ options?: SignalRReplicasDeleteOptionalParams
99
+ ): Promise<void>;
100
+ /**
101
+ * Operation to update an exiting replica.
102
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
+ * @param resourceName The name of the resource.
104
+ * @param replicaName The name of the replica.
105
+ * @param parameters Parameters for the update operation
106
+ * @param options The options parameters.
107
+ */
108
+ beginUpdate(
109
+ resourceGroupName: string,
110
+ resourceName: string,
111
+ replicaName: string,
112
+ parameters: Replica,
113
+ options?: SignalRReplicasUpdateOptionalParams
114
+ ): Promise<
115
+ SimplePollerLike<
116
+ OperationState<SignalRReplicasUpdateResponse>,
117
+ SignalRReplicasUpdateResponse
118
+ >
119
+ >;
120
+ /**
121
+ * Operation to update an exiting replica.
122
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
123
+ * @param resourceName The name of the resource.
124
+ * @param replicaName The name of the replica.
125
+ * @param parameters Parameters for the update operation
126
+ * @param options The options parameters.
127
+ */
128
+ beginUpdateAndWait(
129
+ resourceGroupName: string,
130
+ resourceName: string,
131
+ replicaName: string,
132
+ parameters: Replica,
133
+ options?: SignalRReplicasUpdateOptionalParams
134
+ ): Promise<SignalRReplicasUpdateResponse>;
135
+ /**
136
+ * Operation to restart a replica.
137
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
138
+ * @param resourceName The name of the resource.
139
+ * @param replicaName The name of the replica.
140
+ * @param options The options parameters.
141
+ */
142
+ beginRestart(
143
+ resourceGroupName: string,
144
+ resourceName: string,
145
+ replicaName: string,
146
+ options?: SignalRReplicasRestartOptionalParams
147
+ ): Promise<
148
+ SimplePollerLike<
149
+ OperationState<SignalRReplicasRestartResponse>,
150
+ SignalRReplicasRestartResponse
151
+ >
152
+ >;
153
+ /**
154
+ * Operation to restart a replica.
155
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
156
+ * @param resourceName The name of the resource.
157
+ * @param replicaName The name of the replica.
158
+ * @param options The options parameters.
159
+ */
160
+ beginRestartAndWait(
161
+ resourceGroupName: string,
162
+ resourceName: string,
163
+ replicaName: string,
164
+ options?: SignalRReplicasRestartOptionalParams
165
+ ): Promise<SignalRReplicasRestartResponse>;
166
+ }