@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.
- package/CHANGELOG.md +74 -52
- package/README.md +1 -1
- package/dist/index.js +1064 -436
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/signalRCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/signalRCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesGetSample.js +1 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesListSample.js +1 -1
- package/dist-esm/samples-dev/signalRCustomDomainsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/signalRCustomDomainsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/signalRCustomDomainsGetSample.js +1 -1
- package/dist-esm/samples-dev/signalRCustomDomainsListSample.js +1 -1
- package/dist-esm/samples-dev/signalRDeleteSample.js +1 -1
- package/dist-esm/samples-dev/signalRGetSample.js +1 -1
- package/dist-esm/samples-dev/signalRListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/signalRListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/signalRListKeysSample.js +1 -1
- package/dist-esm/samples-dev/signalRListReplicaSkusSample.d.ts +2 -0
- package/dist-esm/samples-dev/signalRListReplicaSkusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRListReplicaSkusSample.js +40 -0
- package/dist-esm/samples-dev/signalRListReplicaSkusSample.js.map +1 -0
- package/dist-esm/samples-dev/signalRListSkusSample.js +1 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdateSample.js +2 -4
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/signalRPrivateLinkResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/signalRRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.js +45 -0
- package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/signalRReplicasDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasDeleteSample.js +40 -0
- package/dist-esm/samples-dev/signalRReplicasDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/signalRReplicasGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasGetSample.js +40 -0
- package/dist-esm/samples-dev/signalRReplicasGetSample.js.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasListSample.d.ts +2 -0
- package/dist-esm/samples-dev/signalRReplicasListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasListSample.js +60 -0
- package/dist-esm/samples-dev/signalRReplicasListSample.js.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasRestartSample.d.ts +2 -0
- package/dist-esm/samples-dev/signalRReplicasRestartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasRestartSample.js +40 -0
- package/dist-esm/samples-dev/signalRReplicasRestartSample.js.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/signalRReplicasUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRReplicasUpdateSample.js +45 -0
- package/dist-esm/samples-dev/signalRReplicasUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/signalRRestartSample.js +1 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/signalRUpdateSample.js +1 -1
- package/dist-esm/samples-dev/usagesListSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +150 -79
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +12 -12
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +9 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +181 -88
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +3 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +32 -4
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/signalR.d.ts +27 -35
- package/dist-esm/src/operations/signalR.d.ts.map +1 -1
- package/dist-esm/src/operations/signalR.js +66 -40
- package/dist-esm/src/operations/signalR.js.map +1 -1
- package/dist-esm/src/operations/signalRCustomCertificates.d.ts +7 -14
- package/dist-esm/src/operations/signalRCustomCertificates.d.ts.map +1 -1
- package/dist-esm/src/operations/signalRCustomCertificates.js +9 -15
- package/dist-esm/src/operations/signalRCustomCertificates.js.map +1 -1
- package/dist-esm/src/operations/signalRCustomDomains.d.ts +8 -16
- package/dist-esm/src/operations/signalRCustomDomains.d.ts.map +1 -1
- package/dist-esm/src/operations/signalRCustomDomains.js +10 -17
- package/dist-esm/src/operations/signalRCustomDomains.js.map +1 -1
- package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts +15 -18
- package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/signalRPrivateEndpointConnections.js +15 -18
- package/dist-esm/src/operations/signalRPrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts +3 -6
- package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/signalRPrivateLinkResources.js +3 -6
- package/dist-esm/src/operations/signalRPrivateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/signalRReplicas.d.ts +107 -0
- package/dist-esm/src/operations/signalRReplicas.d.ts.map +1 -0
- package/dist-esm/src/operations/signalRReplicas.js +507 -0
- package/dist-esm/src/operations/signalRReplicas.js.map +1 -0
- package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts +8 -16
- package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js +11 -18
- package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/signalR.d.ts +25 -31
- package/dist-esm/src/operationsInterfaces/signalR.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/signalRCustomCertificates.d.ts +5 -10
- package/dist-esm/src/operationsInterfaces/signalRCustomCertificates.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/signalRCustomDomains.d.ts +6 -12
- package/dist-esm/src/operationsInterfaces/signalRCustomDomains.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts +13 -14
- package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.d.ts +1 -2
- package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/signalRReplicas.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/signalRReplicas.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/signalRReplicas.js +9 -0
- package/dist-esm/src/operationsInterfaces/signalRReplicas.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts +6 -12
- package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/signalRManagementClient.d.ts +3 -3
- package/dist-esm/src/signalRManagementClient.d.ts.map +1 -1
- package/dist-esm/src/signalRManagementClient.js +5 -5
- package/dist-esm/src/signalRManagementClient.js.map +1 -1
- package/dist-esm/test/signalr_examples.spec.js +1 -1
- package/dist-esm/test/signalr_examples.spec.js.map +1 -1
- package/package.json +6 -6
- package/review/arm-signalr.api.md +124 -8
- package/src/models/index.ts +179 -82
- package/src/models/mappers.ts +189 -90
- package/src/models/parameters.ts +34 -3
- package/src/operations/index.ts +1 -0
- package/src/operations/signalR.ts +91 -44
- package/src/operations/signalRCustomCertificates.ts +9 -15
- package/src/operations/signalRCustomDomains.ts +10 -17
- package/src/operations/signalRPrivateEndpointConnections.ts +15 -18
- package/src/operations/signalRPrivateLinkResources.ts +3 -6
- package/src/operations/signalRReplicas.ts +702 -0
- package/src/operations/signalRSharedPrivateLinkResources.ts +11 -18
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/signalR.ts +37 -30
- package/src/operationsInterfaces/signalRCustomCertificates.ts +5 -10
- package/src/operationsInterfaces/signalRCustomDomains.ts +6 -12
- package/src/operationsInterfaces/signalRPrivateEndpointConnections.ts +13 -14
- package/src/operationsInterfaces/signalRPrivateLinkResources.ts +1 -2
- package/src/operationsInterfaces/signalRReplicas.ts +166 -0
- package/src/operationsInterfaces/signalRSharedPrivateLinkResources.ts +6 -12
- package/src/signalRManagementClient.ts +7 -4
- 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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: "
|
|
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
|
|
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
|
|
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<
|
|
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<
|
|
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<
|
|
722
|
+
const poller = await createHttpPoller<
|
|
723
|
+
SignalRRestartResponse,
|
|
724
|
+
OperationState<SignalRRestartResponse>
|
|
725
|
+
>(lro, {
|
|
707
726
|
restoreFrom: options?.resumeFrom,
|
|
708
727
|
intervalInMs: options?.updateIntervalInMs,
|
|
709
|
-
resourceLocationConfig: "
|
|
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
|
|
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<
|
|
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
|
|
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
|
|
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
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
148
|
-
*
|
|
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
|
-
*
|
|
173
|
-
*
|
|
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
|
-
*
|
|
201
|
-
*
|
|
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
|
-
*
|
|
273
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|