@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
@@ -22,7 +22,6 @@ export interface CustomCertificate extends ProxyResource {
22
22
  keyVaultSecretName: string;
23
23
  keyVaultSecretVersion?: string;
24
24
  readonly provisioningState?: ProvisioningState;
25
- readonly systemData?: SystemData;
26
25
  }
27
26
 
28
27
  // @public
@@ -36,7 +35,6 @@ export interface CustomDomain extends ProxyResource {
36
35
  customCertificate: ResourceReference;
37
36
  domainName: string;
38
37
  readonly provisioningState?: ProvisioningState;
39
- readonly systemData?: SystemData;
40
38
  }
41
39
 
42
40
  // @public
@@ -314,7 +312,6 @@ export interface PrivateEndpointConnection extends ProxyResource {
314
312
  privateEndpoint?: PrivateEndpoint;
315
313
  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
316
314
  readonly provisioningState?: ProvisioningState;
317
- readonly systemData?: SystemData;
318
315
  }
319
316
 
320
317
  // @public
@@ -359,10 +356,23 @@ export interface RegenerateKeyParameters {
359
356
  keyType?: KeyType_2;
360
357
  }
361
358
 
359
+ // @public
360
+ export interface Replica extends TrackedResource {
361
+ readonly provisioningState?: ProvisioningState;
362
+ sku?: ResourceSku;
363
+ }
364
+
365
+ // @public (undocumented)
366
+ export interface ReplicaList {
367
+ nextLink?: string;
368
+ value?: Replica[];
369
+ }
370
+
362
371
  // @public
363
372
  export interface Resource {
364
373
  readonly id?: string;
365
374
  readonly name?: string;
375
+ readonly systemData?: SystemData;
366
376
  readonly type?: string;
367
377
  }
368
378
 
@@ -433,7 +443,6 @@ export interface SharedPrivateLinkResource extends ProxyResource {
433
443
  readonly provisioningState?: ProvisioningState;
434
444
  requestMessage?: string;
435
445
  readonly status?: SharedPrivateLinkResourceStatus;
436
- readonly systemData?: SystemData;
437
446
  }
438
447
 
439
448
  // @public
@@ -453,8 +462,8 @@ export interface SignalR {
453
462
  beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: SignalRDeleteOptionalParams): Promise<void>;
454
463
  beginRegenerateKey(resourceGroupName: string, resourceName: string, parameters: RegenerateKeyParameters, options?: SignalRRegenerateKeyOptionalParams): Promise<SimplePollerLike<OperationState<SignalRRegenerateKeyResponse>, SignalRRegenerateKeyResponse>>;
455
464
  beginRegenerateKeyAndWait(resourceGroupName: string, resourceName: string, parameters: RegenerateKeyParameters, options?: SignalRRegenerateKeyOptionalParams): Promise<SignalRRegenerateKeyResponse>;
456
- beginRestart(resourceGroupName: string, resourceName: string, options?: SignalRRestartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
457
- beginRestartAndWait(resourceGroupName: string, resourceName: string, options?: SignalRRestartOptionalParams): Promise<void>;
465
+ beginRestart(resourceGroupName: string, resourceName: string, options?: SignalRRestartOptionalParams): Promise<SimplePollerLike<OperationState<SignalRRestartResponse>, SignalRRestartResponse>>;
466
+ beginRestartAndWait(resourceGroupName: string, resourceName: string, options?: SignalRRestartOptionalParams): Promise<SignalRRestartResponse>;
458
467
  beginUpdate(resourceGroupName: string, resourceName: string, parameters: SignalRResource, options?: SignalRUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SignalRUpdateResponse>, SignalRUpdateResponse>>;
459
468
  beginUpdateAndWait(resourceGroupName: string, resourceName: string, parameters: SignalRResource, options?: SignalRUpdateOptionalParams): Promise<SignalRUpdateResponse>;
460
469
  checkNameAvailability(location: string, parameters: NameAvailabilityParameters, options?: SignalRCheckNameAvailabilityOptionalParams): Promise<SignalRCheckNameAvailabilityResponse>;
@@ -462,6 +471,7 @@ export interface SignalR {
462
471
  listByResourceGroup(resourceGroupName: string, options?: SignalRListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SignalRResource>;
463
472
  listBySubscription(options?: SignalRListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SignalRResource>;
464
473
  listKeys(resourceGroupName: string, resourceName: string, options?: SignalRListKeysOptionalParams): Promise<SignalRListKeysResponse>;
474
+ listReplicaSkus(resourceGroupName: string, resourceName: string, replicaName: string, options?: SignalRListReplicaSkusOptionalParams): Promise<SignalRListReplicaSkusResponse>;
465
475
  listSkus(resourceGroupName: string, resourceName: string, options?: SignalRListSkusOptionalParams): Promise<SignalRListSkusResponse>;
466
476
  }
467
477
 
@@ -640,6 +650,13 @@ export interface SignalRListKeysOptionalParams extends coreClient.OperationOptio
640
650
  // @public
641
651
  export type SignalRListKeysResponse = SignalRKeys;
642
652
 
653
+ // @public
654
+ export interface SignalRListReplicaSkusOptionalParams extends coreClient.OperationOptions {
655
+ }
656
+
657
+ // @public
658
+ export type SignalRListReplicaSkusResponse = SkuList;
659
+
643
660
  // @public
644
661
  export interface SignalRListSkusOptionalParams extends coreClient.OperationOptions {
645
662
  }
@@ -667,6 +684,8 @@ export class SignalRManagementClient extends coreClient.ServiceClient {
667
684
  // (undocumented)
668
685
  signalRPrivateLinkResources: SignalRPrivateLinkResources;
669
686
  // (undocumented)
687
+ signalRReplicas: SignalRReplicas;
688
+ // (undocumented)
670
689
  signalRSharedPrivateLinkResources: SignalRSharedPrivateLinkResources;
671
690
  // (undocumented)
672
691
  subscriptionId: string;
@@ -750,6 +769,12 @@ export interface SignalRPrivateLinkResourcesListOptionalParams extends coreClien
750
769
  // @public
751
770
  export type SignalRPrivateLinkResourcesListResponse = PrivateLinkResourceList;
752
771
 
772
+ // @public
773
+ export interface SignalRRegenerateKeyHeaders {
774
+ // (undocumented)
775
+ location?: string;
776
+ }
777
+
753
778
  // @public
754
779
  export interface SignalRRegenerateKeyOptionalParams extends coreClient.OperationOptions {
755
780
  resumeFrom?: string;
@@ -759,6 +784,83 @@ export interface SignalRRegenerateKeyOptionalParams extends coreClient.Operation
759
784
  // @public
760
785
  export type SignalRRegenerateKeyResponse = SignalRKeys;
761
786
 
787
+ // @public
788
+ export interface SignalRReplicas {
789
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: SignalRReplicasCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SignalRReplicasCreateOrUpdateResponse>, SignalRReplicasCreateOrUpdateResponse>>;
790
+ beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: SignalRReplicasCreateOrUpdateOptionalParams): Promise<SignalRReplicasCreateOrUpdateResponse>;
791
+ beginRestart(resourceGroupName: string, resourceName: string, replicaName: string, options?: SignalRReplicasRestartOptionalParams): Promise<SimplePollerLike<OperationState<SignalRReplicasRestartResponse>, SignalRReplicasRestartResponse>>;
792
+ beginRestartAndWait(resourceGroupName: string, resourceName: string, replicaName: string, options?: SignalRReplicasRestartOptionalParams): Promise<SignalRReplicasRestartResponse>;
793
+ beginUpdate(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: SignalRReplicasUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SignalRReplicasUpdateResponse>, SignalRReplicasUpdateResponse>>;
794
+ beginUpdateAndWait(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: SignalRReplicasUpdateOptionalParams): Promise<SignalRReplicasUpdateResponse>;
795
+ delete(resourceGroupName: string, resourceName: string, replicaName: string, options?: SignalRReplicasDeleteOptionalParams): Promise<void>;
796
+ get(resourceGroupName: string, resourceName: string, replicaName: string, options?: SignalRReplicasGetOptionalParams): Promise<SignalRReplicasGetResponse>;
797
+ list(resourceGroupName: string, resourceName: string, options?: SignalRReplicasListOptionalParams): PagedAsyncIterableIterator<Replica>;
798
+ }
799
+
800
+ // @public
801
+ export interface SignalRReplicasCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
802
+ resumeFrom?: string;
803
+ updateIntervalInMs?: number;
804
+ }
805
+
806
+ // @public
807
+ export type SignalRReplicasCreateOrUpdateResponse = Replica;
808
+
809
+ // @public
810
+ export interface SignalRReplicasDeleteOptionalParams extends coreClient.OperationOptions {
811
+ }
812
+
813
+ // @public
814
+ export interface SignalRReplicasGetOptionalParams extends coreClient.OperationOptions {
815
+ }
816
+
817
+ // @public
818
+ export type SignalRReplicasGetResponse = Replica;
819
+
820
+ // @public
821
+ export interface SignalRReplicasListNextOptionalParams extends coreClient.OperationOptions {
822
+ }
823
+
824
+ // @public
825
+ export type SignalRReplicasListNextResponse = ReplicaList;
826
+
827
+ // @public
828
+ export interface SignalRReplicasListOptionalParams extends coreClient.OperationOptions {
829
+ }
830
+
831
+ // @public
832
+ export type SignalRReplicasListResponse = ReplicaList;
833
+
834
+ // @public
835
+ export interface SignalRReplicasRestartHeaders {
836
+ // (undocumented)
837
+ location?: string;
838
+ }
839
+
840
+ // @public
841
+ export interface SignalRReplicasRestartOptionalParams extends coreClient.OperationOptions {
842
+ resumeFrom?: string;
843
+ updateIntervalInMs?: number;
844
+ }
845
+
846
+ // @public
847
+ export type SignalRReplicasRestartResponse = SignalRReplicasRestartHeaders;
848
+
849
+ // @public
850
+ export interface SignalRReplicasUpdateHeaders {
851
+ // (undocumented)
852
+ location?: string;
853
+ }
854
+
855
+ // @public
856
+ export interface SignalRReplicasUpdateOptionalParams extends coreClient.OperationOptions {
857
+ resumeFrom?: string;
858
+ updateIntervalInMs?: number;
859
+ }
860
+
861
+ // @public
862
+ export type SignalRReplicasUpdateResponse = Replica;
863
+
762
864
  // @public
763
865
  export type SignalRRequestType = string;
764
866
 
@@ -784,7 +886,6 @@ export interface SignalRResource extends TrackedResource {
784
886
  readonly serverPort?: number;
785
887
  readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
786
888
  sku?: ResourceSku;
787
- readonly systemData?: SystemData;
788
889
  tls?: SignalRTlsSettings;
789
890
  upstream?: ServerlessUpstreamSettings;
790
891
  readonly version?: string;
@@ -796,12 +897,21 @@ export interface SignalRResourceList {
796
897
  value?: SignalRResource[];
797
898
  }
798
899
 
900
+ // @public
901
+ export interface SignalRRestartHeaders {
902
+ // (undocumented)
903
+ location?: string;
904
+ }
905
+
799
906
  // @public
800
907
  export interface SignalRRestartOptionalParams extends coreClient.OperationOptions {
801
908
  resumeFrom?: string;
802
909
  updateIntervalInMs?: number;
803
910
  }
804
911
 
912
+ // @public
913
+ export type SignalRRestartResponse = SignalRRestartHeaders;
914
+
805
915
  // @public
806
916
  export interface SignalRSharedPrivateLinkResources {
807
917
  beginCreateOrUpdate(sharedPrivateLinkResourceName: string, resourceGroupName: string, resourceName: string, parameters: SharedPrivateLinkResource, options?: SignalRSharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse>, SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse>>;
@@ -856,6 +966,12 @@ export interface SignalRTlsSettings {
856
966
  clientCertEnabled?: boolean;
857
967
  }
858
968
 
969
+ // @public
970
+ export interface SignalRUpdateHeaders {
971
+ // (undocumented)
972
+ location?: string;
973
+ }
974
+
859
975
  // @public
860
976
  export interface SignalRUpdateOptionalParams extends coreClient.OperationOptions {
861
977
  resumeFrom?: string;
@@ -920,7 +1036,7 @@ export interface SystemData {
920
1036
 
921
1037
  // @public
922
1038
  export interface TrackedResource extends Resource {
923
- location?: string;
1039
+ location: string;
924
1040
  tags?: {
925
1041
  [propertyName: string]: string;
926
1042
  };
@@ -154,7 +154,7 @@ export interface ErrorAdditionalInfo {
154
154
 
155
155
  /** Data POST-ed to the nameAvailability action */
156
156
  export interface NameAvailabilityParameters {
157
- /** The resource type. Can be "Microsoft.SignalRService/SignalR" or "Microsoft.SignalRService/webPubSub" */
157
+ /** The resource type. Can be "Microsoft.SignalRService/SignalR", "Microsoft.SignalRService/WebPubSub", "Microsoft.SignalRService/SignalR/replicas" or "Microsoft.SignalRService/WebPubSub/replicas" */
158
158
  type: string;
159
159
  /** The resource name to validate. e.g."my-resource-name" */
160
160
  name: string;
@@ -249,22 +249,6 @@ export interface ResourceSku {
249
249
  capacity?: number;
250
250
  }
251
251
 
252
- /** Metadata pertaining to creation and last modification of the resource. */
253
- export interface SystemData {
254
- /** The identity that created the resource. */
255
- createdBy?: string;
256
- /** The type of identity that created the resource. */
257
- createdByType?: CreatedByType;
258
- /** The timestamp of resource creation (UTC). */
259
- createdAt?: Date;
260
- /** The identity that last modified the resource. */
261
- lastModifiedBy?: string;
262
- /** The type of identity that last modified the resource. */
263
- lastModifiedByType?: CreatedByType;
264
- /** The timestamp of resource last modification (UTC) */
265
- lastModifiedAt?: Date;
266
- }
267
-
268
252
  /** Private endpoint */
269
253
  export interface PrivateEndpoint {
270
254
  /** Full qualified Id of the private endpoint */
@@ -281,28 +265,49 @@ export interface PrivateLinkServiceConnectionState {
281
265
  actionsRequired?: string;
282
266
  }
283
267
 
284
- /** The core properties of ARM resources. */
268
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
285
269
  export interface Resource {
286
270
  /**
287
- * Fully qualified resource Id for the resource.
271
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
288
272
  * NOTE: This property will not be serialized. It can only be populated by the server.
289
273
  */
290
274
  readonly id?: string;
291
275
  /**
292
- * The name of the resource.
276
+ * The name of the resource
293
277
  * NOTE: This property will not be serialized. It can only be populated by the server.
294
278
  */
295
279
  readonly name?: string;
296
280
  /**
297
- * The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
281
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
298
282
  * NOTE: This property will not be serialized. It can only be populated by the server.
299
283
  */
300
284
  readonly type?: string;
285
+ /**
286
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
287
+ * NOTE: This property will not be serialized. It can only be populated by the server.
288
+ */
289
+ readonly systemData?: SystemData;
290
+ }
291
+
292
+ /** Metadata pertaining to creation and last modification of the resource. */
293
+ export interface SystemData {
294
+ /** The identity that created the resource. */
295
+ createdBy?: string;
296
+ /** The type of identity that created the resource. */
297
+ createdByType?: CreatedByType;
298
+ /** The timestamp of resource creation (UTC). */
299
+ createdAt?: Date;
300
+ /** The identity that last modified the resource. */
301
+ lastModifiedBy?: string;
302
+ /** The type of identity that last modified the resource. */
303
+ lastModifiedByType?: CreatedByType;
304
+ /** The timestamp of resource last modification (UTC) */
305
+ lastModifiedAt?: Date;
301
306
  }
302
307
 
303
308
  /** TLS settings for the resource */
304
309
  export interface SignalRTlsSettings {
305
- /** Request client certificate during TLS handshake if enabled */
310
+ /** Request client certificate during TLS handshake if enabled. Not supported for free tier. Any input will be ignored for free tier. */
306
311
  clientCertEnabled?: boolean;
307
312
  }
308
313
 
@@ -593,11 +598,13 @@ export interface RegenerateKeyParameters {
593
598
  keyType?: KeyType;
594
599
  }
595
600
 
596
- /** A list of shared private link resources */
597
- export interface SharedPrivateLinkResourceList {
598
- /** The list of the shared private link resources */
599
- value?: SharedPrivateLinkResource[];
600
- /** Request URL that can be used to query next page of private endpoint connections. Returned when the total number of requested private endpoint connections exceed maximum page size. */
601
+ export interface ReplicaList {
602
+ /** List of the replica */
603
+ value?: Replica[];
604
+ /**
605
+ * The URL the client should use to fetch the next page (per server side paging).
606
+ * It's null for now, added for future use.
607
+ */
601
608
  nextLink?: string;
602
609
  }
603
610
 
@@ -664,15 +671,23 @@ export interface SkuCapacity {
664
671
  readonly scaleType?: ScaleType;
665
672
  }
666
673
 
667
- /** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */
674
+ /** A list of shared private link resources */
675
+ export interface SharedPrivateLinkResourceList {
676
+ /** The list of the shared private link resources */
677
+ value?: SharedPrivateLinkResource[];
678
+ /** Request URL that can be used to query next page of private endpoint connections. Returned when the total number of requested private endpoint connections exceed maximum page size. */
679
+ nextLink?: string;
680
+ }
681
+
682
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
668
683
  export interface ProxyResource extends Resource {}
669
684
 
670
- /** The resource model definition for a ARM tracked top level resource. */
685
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
671
686
  export interface TrackedResource extends Resource {
672
- /** The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. */
673
- location?: string;
674
- /** Tags of the service which is a list of key value pairs that describe the resource. */
687
+ /** Resource tags. */
675
688
  tags?: { [propertyName: string]: string };
689
+ /** The geo-location where the resource lives */
690
+ location: string;
676
691
  }
677
692
 
678
693
  /** ACL for a private endpoint */
@@ -683,11 +698,6 @@ export interface PrivateEndpointACL extends NetworkACL {
683
698
 
684
699
  /** A private endpoint connection to an azure resource */
685
700
  export interface PrivateEndpointConnection extends ProxyResource {
686
- /**
687
- * Metadata pertaining to creation and last modification of the resource.
688
- * NOTE: This property will not be serialized. It can only be populated by the server.
689
- */
690
- readonly systemData?: SystemData;
691
701
  /**
692
702
  * Provisioning state of the resource.
693
703
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -706,11 +716,6 @@ export interface PrivateEndpointConnection extends ProxyResource {
706
716
 
707
717
  /** Describes a Shared Private Link Resource */
708
718
  export interface SharedPrivateLinkResource extends ProxyResource {
709
- /**
710
- * Metadata pertaining to creation and last modification of the resource.
711
- * NOTE: This property will not be serialized. It can only be populated by the server.
712
- */
713
- readonly systemData?: SystemData;
714
719
  /** The group id from the provider of resource the shared private link resource is for */
715
720
  groupId?: string;
716
721
  /** The resource id of the resource the shared private link resource is for */
@@ -731,11 +736,6 @@ export interface SharedPrivateLinkResource extends ProxyResource {
731
736
 
732
737
  /** A custom certificate. */
733
738
  export interface CustomCertificate extends ProxyResource {
734
- /**
735
- * Metadata pertaining to creation and last modification of the resource.
736
- * NOTE: This property will not be serialized. It can only be populated by the server.
737
- */
738
- readonly systemData?: SystemData;
739
739
  /**
740
740
  * Provisioning state of the resource.
741
741
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -751,11 +751,6 @@ export interface CustomCertificate extends ProxyResource {
751
751
 
752
752
  /** A custom domain */
753
753
  export interface CustomDomain extends ProxyResource {
754
- /**
755
- * Metadata pertaining to creation and last modification of the resource.
756
- * NOTE: This property will not be serialized. It can only be populated by the server.
757
- */
758
- readonly systemData?: SystemData;
759
754
  /**
760
755
  * Provisioning state of the resource.
761
756
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -783,15 +778,10 @@ export interface PrivateLinkResource extends ProxyResource {
783
778
  export interface SignalRResource extends TrackedResource {
784
779
  /** The billing information of the resource. */
785
780
  sku?: ResourceSku;
786
- /** The kind of the service, it can be SignalR or RawWebSockets */
781
+ /** The kind of the service */
787
782
  kind?: ServiceKind;
788
783
  /** A class represent managed identities used for request and response */
789
784
  identity?: ManagedIdentity;
790
- /**
791
- * Metadata pertaining to creation and last modification of the resource.
792
- * NOTE: This property will not be serialized. It can only be populated by the server.
793
- */
794
- readonly systemData?: SystemData;
795
785
  /**
796
786
  * Provisioning state of the resource.
797
787
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -880,6 +870,42 @@ export interface SignalRResource extends TrackedResource {
880
870
  disableAadAuth?: boolean;
881
871
  }
882
872
 
873
+ /** A class represent a replica resource. */
874
+ export interface Replica extends TrackedResource {
875
+ /** The billing information of the resource. */
876
+ sku?: ResourceSku;
877
+ /**
878
+ * Provisioning state of the resource.
879
+ * NOTE: This property will not be serialized. It can only be populated by the server.
880
+ */
881
+ readonly provisioningState?: ProvisioningState;
882
+ }
883
+
884
+ /** Defines headers for SignalR_update operation. */
885
+ export interface SignalRUpdateHeaders {
886
+ location?: string;
887
+ }
888
+
889
+ /** Defines headers for SignalR_regenerateKey operation. */
890
+ export interface SignalRRegenerateKeyHeaders {
891
+ location?: string;
892
+ }
893
+
894
+ /** Defines headers for SignalR_restart operation. */
895
+ export interface SignalRRestartHeaders {
896
+ location?: string;
897
+ }
898
+
899
+ /** Defines headers for SignalRReplicas_update operation. */
900
+ export interface SignalRReplicasUpdateHeaders {
901
+ location?: string;
902
+ }
903
+
904
+ /** Defines headers for SignalRReplicas_restart operation. */
905
+ export interface SignalRReplicasRestartHeaders {
906
+ location?: string;
907
+ }
908
+
883
909
  /** Known values of {@link SignalRSkuTier} that the service accepts. */
884
910
  export enum KnownSignalRSkuTier {
885
911
  /** Free */
@@ -943,30 +969,6 @@ export enum KnownProvisioningState {
943
969
  */
944
970
  export type ProvisioningState = string;
945
971
 
946
- /** Known values of {@link CreatedByType} that the service accepts. */
947
- export enum KnownCreatedByType {
948
- /** User */
949
- User = "User",
950
- /** Application */
951
- Application = "Application",
952
- /** ManagedIdentity */
953
- ManagedIdentity = "ManagedIdentity",
954
- /** Key */
955
- Key = "Key"
956
- }
957
-
958
- /**
959
- * Defines values for CreatedByType. \
960
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
961
- * this enum contains the known values that the service supports.
962
- * ### Known values supported by the service
963
- * **User** \
964
- * **Application** \
965
- * **ManagedIdentity** \
966
- * **Key**
967
- */
968
- export type CreatedByType = string;
969
-
970
972
  /** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */
971
973
  export enum KnownPrivateLinkServiceConnectionStatus {
972
974
  /** Pending */
@@ -991,6 +993,30 @@ export enum KnownPrivateLinkServiceConnectionStatus {
991
993
  */
992
994
  export type PrivateLinkServiceConnectionStatus = string;
993
995
 
996
+ /** Known values of {@link CreatedByType} that the service accepts. */
997
+ export enum KnownCreatedByType {
998
+ /** User */
999
+ User = "User",
1000
+ /** Application */
1001
+ Application = "Application",
1002
+ /** ManagedIdentity */
1003
+ ManagedIdentity = "ManagedIdentity",
1004
+ /** Key */
1005
+ Key = "Key"
1006
+ }
1007
+
1008
+ /**
1009
+ * Defines values for CreatedByType. \
1010
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1011
+ * this enum contains the known values that the service supports.
1012
+ * ### Known values supported by the service
1013
+ * **User** \
1014
+ * **Application** \
1015
+ * **ManagedIdentity** \
1016
+ * **Key**
1017
+ */
1018
+ export type CreatedByType = string;
1019
+
994
1020
  /** Known values of {@link SharedPrivateLinkResourceStatus} that the service accepts. */
995
1021
  export enum KnownSharedPrivateLinkResourceStatus {
996
1022
  /** Pending */
@@ -1276,6 +1302,13 @@ export interface SignalRRegenerateKeyOptionalParams
1276
1302
  /** Contains response data for the regenerateKey operation. */
1277
1303
  export type SignalRRegenerateKeyResponse = SignalRKeys;
1278
1304
 
1305
+ /** Optional parameters. */
1306
+ export interface SignalRListReplicaSkusOptionalParams
1307
+ extends coreClient.OperationOptions {}
1308
+
1309
+ /** Contains response data for the listReplicaSkus operation. */
1310
+ export type SignalRListReplicaSkusResponse = SkuList;
1311
+
1279
1312
  /** Optional parameters. */
1280
1313
  export interface SignalRRestartOptionalParams
1281
1314
  extends coreClient.OperationOptions {
@@ -1285,6 +1318,9 @@ export interface SignalRRestartOptionalParams
1285
1318
  resumeFrom?: string;
1286
1319
  }
1287
1320
 
1321
+ /** Contains response data for the restart operation. */
1322
+ export type SignalRRestartResponse = SignalRRestartHeaders;
1323
+
1288
1324
  /** Optional parameters. */
1289
1325
  export interface SignalRListSkusOptionalParams
1290
1326
  extends coreClient.OperationOptions {}
@@ -1449,6 +1485,67 @@ export interface SignalRPrivateLinkResourcesListNextOptionalParams
1449
1485
  /** Contains response data for the listNext operation. */
1450
1486
  export type SignalRPrivateLinkResourcesListNextResponse = PrivateLinkResourceList;
1451
1487
 
1488
+ /** Optional parameters. */
1489
+ export interface SignalRReplicasListOptionalParams
1490
+ extends coreClient.OperationOptions {}
1491
+
1492
+ /** Contains response data for the list operation. */
1493
+ export type SignalRReplicasListResponse = ReplicaList;
1494
+
1495
+ /** Optional parameters. */
1496
+ export interface SignalRReplicasGetOptionalParams
1497
+ extends coreClient.OperationOptions {}
1498
+
1499
+ /** Contains response data for the get operation. */
1500
+ export type SignalRReplicasGetResponse = Replica;
1501
+
1502
+ /** Optional parameters. */
1503
+ export interface SignalRReplicasCreateOrUpdateOptionalParams
1504
+ extends coreClient.OperationOptions {
1505
+ /** Delay to wait until next poll, in milliseconds. */
1506
+ updateIntervalInMs?: number;
1507
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1508
+ resumeFrom?: string;
1509
+ }
1510
+
1511
+ /** Contains response data for the createOrUpdate operation. */
1512
+ export type SignalRReplicasCreateOrUpdateResponse = Replica;
1513
+
1514
+ /** Optional parameters. */
1515
+ export interface SignalRReplicasDeleteOptionalParams
1516
+ extends coreClient.OperationOptions {}
1517
+
1518
+ /** Optional parameters. */
1519
+ export interface SignalRReplicasUpdateOptionalParams
1520
+ extends coreClient.OperationOptions {
1521
+ /** Delay to wait until next poll, in milliseconds. */
1522
+ updateIntervalInMs?: number;
1523
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1524
+ resumeFrom?: string;
1525
+ }
1526
+
1527
+ /** Contains response data for the update operation. */
1528
+ export type SignalRReplicasUpdateResponse = Replica;
1529
+
1530
+ /** Optional parameters. */
1531
+ export interface SignalRReplicasRestartOptionalParams
1532
+ extends coreClient.OperationOptions {
1533
+ /** Delay to wait until next poll, in milliseconds. */
1534
+ updateIntervalInMs?: number;
1535
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1536
+ resumeFrom?: string;
1537
+ }
1538
+
1539
+ /** Contains response data for the restart operation. */
1540
+ export type SignalRReplicasRestartResponse = SignalRReplicasRestartHeaders;
1541
+
1542
+ /** Optional parameters. */
1543
+ export interface SignalRReplicasListNextOptionalParams
1544
+ extends coreClient.OperationOptions {}
1545
+
1546
+ /** Contains response data for the listNext operation. */
1547
+ export type SignalRReplicasListNextResponse = ReplicaList;
1548
+
1452
1549
  /** Optional parameters. */
1453
1550
  export interface SignalRSharedPrivateLinkResourcesListOptionalParams
1454
1551
  extends coreClient.OperationOptions {}