@azure/arm-webpubsub 1.1.1-alpha.20230718.1 → 2.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 (173) hide show
  1. package/CHANGELOG.md +43 -8
  2. package/README.md +1 -1
  3. package/dist/index.js +1025 -397
  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/usagesListSample.js +1 -1
  9. package/dist-esm/samples-dev/webPubSubCheckNameAvailabilitySample.js +1 -1
  10. package/dist-esm/samples-dev/webPubSubCreateOrUpdateSample.js +2 -1
  11. package/dist-esm/samples-dev/webPubSubCreateOrUpdateSample.js.map +1 -1
  12. package/dist-esm/samples-dev/webPubSubCustomCertificatesCreateOrUpdateSample.js +1 -1
  13. package/dist-esm/samples-dev/webPubSubCustomCertificatesDeleteSample.js +1 -1
  14. package/dist-esm/samples-dev/webPubSubCustomCertificatesGetSample.js +1 -1
  15. package/dist-esm/samples-dev/webPubSubCustomCertificatesListSample.js +1 -1
  16. package/dist-esm/samples-dev/webPubSubCustomDomainsCreateOrUpdateSample.js +1 -1
  17. package/dist-esm/samples-dev/webPubSubCustomDomainsDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/webPubSubCustomDomainsGetSample.js +1 -1
  19. package/dist-esm/samples-dev/webPubSubCustomDomainsListSample.js +1 -1
  20. package/dist-esm/samples-dev/webPubSubDeleteSample.js +1 -1
  21. package/dist-esm/samples-dev/webPubSubGetSample.js +1 -1
  22. package/dist-esm/samples-dev/webPubSubHubsCreateOrUpdateSample.js +1 -1
  23. package/dist-esm/samples-dev/webPubSubHubsDeleteSample.js +1 -1
  24. package/dist-esm/samples-dev/webPubSubHubsGetSample.js +1 -1
  25. package/dist-esm/samples-dev/webPubSubHubsListSample.js +1 -1
  26. package/dist-esm/samples-dev/webPubSubListByResourceGroupSample.js +1 -1
  27. package/dist-esm/samples-dev/webPubSubListBySubscriptionSample.js +1 -1
  28. package/dist-esm/samples-dev/webPubSubListKeysSample.js +1 -1
  29. package/dist-esm/samples-dev/webPubSubListReplicaSkusSample.d.ts +2 -0
  30. package/dist-esm/samples-dev/webPubSubListReplicaSkusSample.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/webPubSubListReplicaSkusSample.js +40 -0
  32. package/dist-esm/samples-dev/webPubSubListReplicaSkusSample.js.map +1 -0
  33. package/dist-esm/samples-dev/webPubSubListSkusSample.js +1 -1
  34. package/dist-esm/samples-dev/webPubSubPrivateEndpointConnectionsDeleteSample.js +1 -1
  35. package/dist-esm/samples-dev/webPubSubPrivateEndpointConnectionsGetSample.js +1 -1
  36. package/dist-esm/samples-dev/webPubSubPrivateEndpointConnectionsListSample.js +1 -1
  37. package/dist-esm/samples-dev/webPubSubPrivateEndpointConnectionsUpdateSample.js +2 -4
  38. package/dist-esm/samples-dev/webPubSubPrivateEndpointConnectionsUpdateSample.js.map +1 -1
  39. package/dist-esm/samples-dev/webPubSubPrivateLinkResourcesListSample.js +1 -1
  40. package/dist-esm/samples-dev/webPubSubRegenerateKeySample.js +1 -1
  41. package/dist-esm/samples-dev/webPubSubReplicasCreateOrUpdateSample.d.ts +2 -0
  42. package/dist-esm/samples-dev/webPubSubReplicasCreateOrUpdateSample.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/webPubSubReplicasCreateOrUpdateSample.js +45 -0
  44. package/dist-esm/samples-dev/webPubSubReplicasCreateOrUpdateSample.js.map +1 -0
  45. package/dist-esm/samples-dev/webPubSubReplicasDeleteSample.d.ts +2 -0
  46. package/dist-esm/samples-dev/webPubSubReplicasDeleteSample.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/webPubSubReplicasDeleteSample.js +40 -0
  48. package/dist-esm/samples-dev/webPubSubReplicasDeleteSample.js.map +1 -0
  49. package/dist-esm/samples-dev/webPubSubReplicasGetSample.d.ts +2 -0
  50. package/dist-esm/samples-dev/webPubSubReplicasGetSample.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/webPubSubReplicasGetSample.js +40 -0
  52. package/dist-esm/samples-dev/webPubSubReplicasGetSample.js.map +1 -0
  53. package/dist-esm/samples-dev/webPubSubReplicasListSample.d.ts +2 -0
  54. package/dist-esm/samples-dev/webPubSubReplicasListSample.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/webPubSubReplicasListSample.js +60 -0
  56. package/dist-esm/samples-dev/webPubSubReplicasListSample.js.map +1 -0
  57. package/dist-esm/samples-dev/webPubSubReplicasRestartSample.d.ts +2 -0
  58. package/dist-esm/samples-dev/webPubSubReplicasRestartSample.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/webPubSubReplicasRestartSample.js +40 -0
  60. package/dist-esm/samples-dev/webPubSubReplicasRestartSample.js.map +1 -0
  61. package/dist-esm/samples-dev/webPubSubReplicasUpdateSample.d.ts +2 -0
  62. package/dist-esm/samples-dev/webPubSubReplicasUpdateSample.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/webPubSubReplicasUpdateSample.js +45 -0
  64. package/dist-esm/samples-dev/webPubSubReplicasUpdateSample.js.map +1 -0
  65. package/dist-esm/samples-dev/webPubSubRestartSample.js +1 -1
  66. package/dist-esm/samples-dev/webPubSubSharedPrivateLinkResourcesCreateOrUpdateSample.js +1 -1
  67. package/dist-esm/samples-dev/webPubSubSharedPrivateLinkResourcesDeleteSample.js +1 -1
  68. package/dist-esm/samples-dev/webPubSubSharedPrivateLinkResourcesGetSample.js +1 -1
  69. package/dist-esm/samples-dev/webPubSubSharedPrivateLinkResourcesListSample.js +1 -1
  70. package/dist-esm/samples-dev/webPubSubUpdateSample.js +2 -1
  71. package/dist-esm/samples-dev/webPubSubUpdateSample.js.map +1 -1
  72. package/dist-esm/src/models/index.d.ts +167 -83
  73. package/dist-esm/src/models/index.d.ts.map +1 -1
  74. package/dist-esm/src/models/index.js +20 -12
  75. package/dist-esm/src/models/index.js.map +1 -1
  76. package/dist-esm/src/models/mappers.d.ts +9 -2
  77. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  78. package/dist-esm/src/models/mappers.js +187 -95
  79. package/dist-esm/src/models/mappers.js.map +1 -1
  80. package/dist-esm/src/models/parameters.d.ts +3 -1
  81. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  82. package/dist-esm/src/models/parameters.js +32 -4
  83. package/dist-esm/src/models/parameters.js.map +1 -1
  84. package/dist-esm/src/operations/index.d.ts +1 -0
  85. package/dist-esm/src/operations/index.d.ts.map +1 -1
  86. package/dist-esm/src/operations/index.js +1 -0
  87. package/dist-esm/src/operations/index.js.map +1 -1
  88. package/dist-esm/src/operations/webPubSub.d.ts +27 -35
  89. package/dist-esm/src/operations/webPubSub.d.ts.map +1 -1
  90. package/dist-esm/src/operations/webPubSub.js +66 -40
  91. package/dist-esm/src/operations/webPubSub.js.map +1 -1
  92. package/dist-esm/src/operations/webPubSubCustomCertificates.d.ts +7 -14
  93. package/dist-esm/src/operations/webPubSubCustomCertificates.d.ts.map +1 -1
  94. package/dist-esm/src/operations/webPubSubCustomCertificates.js +9 -15
  95. package/dist-esm/src/operations/webPubSubCustomCertificates.js.map +1 -1
  96. package/dist-esm/src/operations/webPubSubCustomDomains.d.ts +8 -16
  97. package/dist-esm/src/operations/webPubSubCustomDomains.d.ts.map +1 -1
  98. package/dist-esm/src/operations/webPubSubCustomDomains.js +10 -17
  99. package/dist-esm/src/operations/webPubSubCustomDomains.js.map +1 -1
  100. package/dist-esm/src/operations/webPubSubHubs.d.ts +8 -16
  101. package/dist-esm/src/operations/webPubSubHubs.d.ts.map +1 -1
  102. package/dist-esm/src/operations/webPubSubHubs.js +10 -17
  103. package/dist-esm/src/operations/webPubSubHubs.js.map +1 -1
  104. package/dist-esm/src/operations/webPubSubPrivateEndpointConnections.d.ts +15 -18
  105. package/dist-esm/src/operations/webPubSubPrivateEndpointConnections.d.ts.map +1 -1
  106. package/dist-esm/src/operations/webPubSubPrivateEndpointConnections.js +15 -18
  107. package/dist-esm/src/operations/webPubSubPrivateEndpointConnections.js.map +1 -1
  108. package/dist-esm/src/operations/webPubSubPrivateLinkResources.d.ts +3 -6
  109. package/dist-esm/src/operations/webPubSubPrivateLinkResources.d.ts.map +1 -1
  110. package/dist-esm/src/operations/webPubSubPrivateLinkResources.js +3 -6
  111. package/dist-esm/src/operations/webPubSubPrivateLinkResources.js.map +1 -1
  112. package/dist-esm/src/operations/webPubSubReplicas.d.ts +107 -0
  113. package/dist-esm/src/operations/webPubSubReplicas.d.ts.map +1 -0
  114. package/dist-esm/src/operations/webPubSubReplicas.js +507 -0
  115. package/dist-esm/src/operations/webPubSubReplicas.js.map +1 -0
  116. package/dist-esm/src/operations/webPubSubSharedPrivateLinkResources.d.ts +8 -16
  117. package/dist-esm/src/operations/webPubSubSharedPrivateLinkResources.d.ts.map +1 -1
  118. package/dist-esm/src/operations/webPubSubSharedPrivateLinkResources.js +11 -18
  119. package/dist-esm/src/operations/webPubSubSharedPrivateLinkResources.js.map +1 -1
  120. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  121. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  122. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  123. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  124. package/dist-esm/src/operationsInterfaces/webPubSub.d.ts +25 -31
  125. package/dist-esm/src/operationsInterfaces/webPubSub.d.ts.map +1 -1
  126. package/dist-esm/src/operationsInterfaces/webPubSubCustomCertificates.d.ts +5 -10
  127. package/dist-esm/src/operationsInterfaces/webPubSubCustomCertificates.d.ts.map +1 -1
  128. package/dist-esm/src/operationsInterfaces/webPubSubCustomDomains.d.ts +6 -12
  129. package/dist-esm/src/operationsInterfaces/webPubSubCustomDomains.d.ts.map +1 -1
  130. package/dist-esm/src/operationsInterfaces/webPubSubHubs.d.ts +6 -12
  131. package/dist-esm/src/operationsInterfaces/webPubSubHubs.d.ts.map +1 -1
  132. package/dist-esm/src/operationsInterfaces/webPubSubPrivateEndpointConnections.d.ts +13 -14
  133. package/dist-esm/src/operationsInterfaces/webPubSubPrivateEndpointConnections.d.ts.map +1 -1
  134. package/dist-esm/src/operationsInterfaces/webPubSubPrivateLinkResources.d.ts +1 -2
  135. package/dist-esm/src/operationsInterfaces/webPubSubPrivateLinkResources.d.ts.map +1 -1
  136. package/dist-esm/src/operationsInterfaces/webPubSubReplicas.d.ts +82 -0
  137. package/dist-esm/src/operationsInterfaces/webPubSubReplicas.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/webPubSubReplicas.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/webPubSubReplicas.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/webPubSubSharedPrivateLinkResources.d.ts +6 -12
  141. package/dist-esm/src/operationsInterfaces/webPubSubSharedPrivateLinkResources.d.ts.map +1 -1
  142. package/dist-esm/src/webPubSubManagementClient.d.ts +3 -3
  143. package/dist-esm/src/webPubSubManagementClient.d.ts.map +1 -1
  144. package/dist-esm/src/webPubSubManagementClient.js +5 -5
  145. package/dist-esm/src/webPubSubManagementClient.js.map +1 -1
  146. package/dist-esm/test/webpubsub_examples.spec.js +1 -1
  147. package/dist-esm/test/webpubsub_examples.spec.js.map +1 -1
  148. package/package.json +4 -4
  149. package/review/arm-webpubsub.api.md +134 -9
  150. package/src/models/index.ts +198 -86
  151. package/src/models/mappers.ts +195 -97
  152. package/src/models/parameters.ts +34 -3
  153. package/src/operations/index.ts +1 -0
  154. package/src/operations/webPubSub.ts +91 -44
  155. package/src/operations/webPubSubCustomCertificates.ts +9 -15
  156. package/src/operations/webPubSubCustomDomains.ts +10 -17
  157. package/src/operations/webPubSubHubs.ts +10 -17
  158. package/src/operations/webPubSubPrivateEndpointConnections.ts +15 -18
  159. package/src/operations/webPubSubPrivateLinkResources.ts +3 -6
  160. package/src/operations/webPubSubReplicas.ts +702 -0
  161. package/src/operations/webPubSubSharedPrivateLinkResources.ts +11 -18
  162. package/src/operationsInterfaces/index.ts +1 -0
  163. package/src/operationsInterfaces/webPubSub.ts +37 -30
  164. package/src/operationsInterfaces/webPubSubCustomCertificates.ts +5 -10
  165. package/src/operationsInterfaces/webPubSubCustomDomains.ts +6 -12
  166. package/src/operationsInterfaces/webPubSubHubs.ts +6 -12
  167. package/src/operationsInterfaces/webPubSubPrivateEndpointConnections.ts +13 -14
  168. package/src/operationsInterfaces/webPubSubPrivateLinkResources.ts +1 -2
  169. package/src/operationsInterfaces/webPubSubReplicas.ts +166 -0
  170. package/src/operationsInterfaces/webPubSubSharedPrivateLinkResources.ts +6 -12
  171. package/src/webPubSubManagementClient.ts +7 -4
  172. package/types/arm-webpubsub.d.ts +292 -135
  173. package/types/tsdoc-metadata.json +1 -1
@@ -28,11 +28,6 @@ export declare type CreatedByType = string;
28
28
 
29
29
  /** A custom certificate. */
30
30
  export declare interface CustomCertificate extends ProxyResource {
31
- /**
32
- * Metadata pertaining to creation and last modification of the resource.
33
- * NOTE: This property will not be serialized. It can only be populated by the server.
34
- */
35
- readonly systemData?: SystemData;
36
31
  /**
37
32
  * Provisioning state of the resource.
38
33
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -59,11 +54,6 @@ export declare interface CustomCertificateList {
59
54
 
60
55
  /** A custom domain */
61
56
  export declare interface CustomDomain extends ProxyResource {
62
- /**
63
- * Metadata pertaining to creation and last modification of the resource.
64
- * NOTE: This property will not be serialized. It can only be populated by the server.
65
- */
66
- readonly systemData?: SystemData;
67
57
  /**
68
58
  * Provisioning state of the resource.
69
59
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -357,6 +347,14 @@ export declare enum KnownScaleType {
357
347
  Automatic = "Automatic"
358
348
  }
359
349
 
350
+ /** Known values of {@link ServiceKind} that the service accepts. */
351
+ export declare enum KnownServiceKind {
352
+ /** WebPubSub */
353
+ WebPubSub = "WebPubSub",
354
+ /** SocketIO */
355
+ SocketIO = "SocketIO"
356
+ }
357
+
360
358
  /** Known values of {@link SharedPrivateLinkResourceStatus} that the service accepts. */
361
359
  export declare enum KnownSharedPrivateLinkResourceStatus {
362
360
  /** Pending */
@@ -519,7 +517,7 @@ export declare interface NameAvailability {
519
517
 
520
518
  /** Data POST-ed to the nameAvailability action */
521
519
  export declare interface NameAvailabilityParameters {
522
- /** The resource type. Can be "Microsoft.SignalRService/SignalR" or "Microsoft.SignalRService/webPubSub" */
520
+ /** The resource type. Can be "Microsoft.SignalRService/SignalR", "Microsoft.SignalRService/WebPubSub", "Microsoft.SignalRService/SignalR/replicas" or "Microsoft.SignalRService/WebPubSub/replicas" */
523
521
  type: string;
524
522
  /** The resource name to validate. e.g."my-resource-name" */
525
523
  name: string;
@@ -613,11 +611,6 @@ export declare interface PrivateEndpointACL extends NetworkACL {
613
611
 
614
612
  /** A private endpoint connection to an azure resource */
615
613
  export declare interface PrivateEndpointConnection extends ProxyResource {
616
- /**
617
- * Metadata pertaining to creation and last modification of the resource.
618
- * NOTE: This property will not be serialized. It can only be populated by the server.
619
- */
620
- readonly systemData?: SystemData;
621
614
  /**
622
615
  * Provisioning state of the resource.
623
616
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -704,7 +697,7 @@ export declare type PrivateLinkServiceConnectionStatus = string;
704
697
  */
705
698
  export declare type ProvisioningState = string;
706
699
 
707
- /** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */
700
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
708
701
  export declare interface ProxyResource extends Resource {
709
702
  }
710
703
 
@@ -714,23 +707,49 @@ export declare interface RegenerateKeyParameters {
714
707
  keyType?: KeyType_2;
715
708
  }
716
709
 
717
- /** The core properties of ARM resources. */
710
+ /** A class represent a replica resource. */
711
+ export declare interface Replica extends TrackedResource {
712
+ /** The billing information of the resource. */
713
+ sku?: ResourceSku;
714
+ /**
715
+ * Provisioning state of the resource.
716
+ * NOTE: This property will not be serialized. It can only be populated by the server.
717
+ */
718
+ readonly provisioningState?: ProvisioningState;
719
+ }
720
+
721
+ export declare interface ReplicaList {
722
+ /** List of the replica */
723
+ value?: Replica[];
724
+ /**
725
+ * The URL the client should use to fetch the next page (per server side paging).
726
+ * It's null for now, added for future use.
727
+ */
728
+ nextLink?: string;
729
+ }
730
+
731
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
718
732
  export declare interface Resource {
719
733
  /**
720
- * Fully qualified resource Id for the resource.
734
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
721
735
  * NOTE: This property will not be serialized. It can only be populated by the server.
722
736
  */
723
737
  readonly id?: string;
724
738
  /**
725
- * The name of the resource.
739
+ * The name of the resource
726
740
  * NOTE: This property will not be serialized. It can only be populated by the server.
727
741
  */
728
742
  readonly name?: string;
729
743
  /**
730
- * The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
744
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
731
745
  * NOTE: This property will not be serialized. It can only be populated by the server.
732
746
  */
733
747
  readonly type?: string;
748
+ /**
749
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
750
+ * NOTE: This property will not be serialized. It can only be populated by the server.
751
+ */
752
+ readonly systemData?: SystemData;
734
753
  }
735
754
 
736
755
  /** Resource log category configuration of a Microsoft.SignalRService resource. */
@@ -807,6 +826,16 @@ export declare interface ResourceSku {
807
826
  */
808
827
  export declare type ScaleType = string;
809
828
 
829
+ /**
830
+ * Defines values for ServiceKind. \
831
+ * {@link KnownServiceKind} can be used interchangeably with ServiceKind,
832
+ * this enum contains the known values that the service supports.
833
+ * ### Known values supported by the service
834
+ * **WebPubSub** \
835
+ * **SocketIO**
836
+ */
837
+ export declare type ServiceKind = string;
838
+
810
839
  /** An object that describes a specification. */
811
840
  export declare interface ServiceSpecification {
812
841
  /** Specifications of the Metrics for Azure Monitoring. */
@@ -835,11 +864,6 @@ export declare interface ShareablePrivateLinkResourceType {
835
864
 
836
865
  /** Describes a Shared Private Link Resource */
837
866
  export declare interface SharedPrivateLinkResource extends ProxyResource {
838
- /**
839
- * Metadata pertaining to creation and last modification of the resource.
840
- * NOTE: This property will not be serialized. It can only be populated by the server.
841
- */
842
- readonly systemData?: SystemData;
843
867
  /** The group id from the provider of resource the shared private link resource is for */
844
868
  groupId?: string;
845
869
  /** The resource id of the resource the shared private link resource is for */
@@ -991,14 +1015,14 @@ export declare interface SystemData {
991
1015
  lastModifiedAt?: Date;
992
1016
  }
993
1017
 
994
- /** The resource model definition for a ARM tracked top level resource. */
1018
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
995
1019
  export declare interface TrackedResource extends Resource {
996
- /** The GEO location of the resource. e.g. West US | East US | North Central US | South Central US. */
997
- location?: string;
998
- /** Tags of the service which is a list of key value pairs that describe the resource. */
1020
+ /** Resource tags. */
999
1021
  tags?: {
1000
1022
  [propertyName: string]: string;
1001
1023
  };
1024
+ /** The geo-location where the resource lives */
1025
+ location: string;
1002
1026
  }
1003
1027
 
1004
1028
  /** Upstream auth settings. If not set, no auth is used for upstream messages. */
@@ -1066,8 +1090,7 @@ export declare interface WebPubSub {
1066
1090
  listBySubscription(options?: WebPubSubListBySubscriptionOptionalParams): PagedAsyncIterableIterator<WebPubSubResource>;
1067
1091
  /**
1068
1092
  * Handles requests to list all resources in a resource group.
1069
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1070
- * this value from the Azure Resource Manager API or the portal.
1093
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1071
1094
  * @param options The options parameters.
1072
1095
  */
1073
1096
  listByResourceGroup(resourceGroupName: string, options?: WebPubSubListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WebPubSubResource>;
@@ -1080,16 +1103,14 @@ export declare interface WebPubSub {
1080
1103
  checkNameAvailability(location: string, parameters: NameAvailabilityParameters, options?: WebPubSubCheckNameAvailabilityOptionalParams): Promise<WebPubSubCheckNameAvailabilityResponse>;
1081
1104
  /**
1082
1105
  * Get the resource and its properties.
1083
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1084
- * this value from the Azure Resource Manager API or the portal.
1106
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1085
1107
  * @param resourceName The name of the resource.
1086
1108
  * @param options The options parameters.
1087
1109
  */
1088
1110
  get(resourceGroupName: string, resourceName: string, options?: WebPubSubGetOptionalParams): Promise<WebPubSubGetResponse>;
1089
1111
  /**
1090
1112
  * Create or update a resource.
1091
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1092
- * this value from the Azure Resource Manager API or the portal.
1113
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1093
1114
  * @param resourceName The name of the resource.
1094
1115
  * @param parameters Parameters for the create or update operation
1095
1116
  * @param options The options parameters.
@@ -1097,8 +1118,7 @@ export declare interface WebPubSub {
1097
1118
  beginCreateOrUpdate(resourceGroupName: string, resourceName: string, parameters: WebPubSubResource, options?: WebPubSubCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubCreateOrUpdateResponse>, WebPubSubCreateOrUpdateResponse>>;
1098
1119
  /**
1099
1120
  * Create or update a resource.
1100
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1101
- * this value from the Azure Resource Manager API or the portal.
1121
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1102
1122
  * @param resourceName The name of the resource.
1103
1123
  * @param parameters Parameters for the create or update operation
1104
1124
  * @param options The options parameters.
@@ -1106,24 +1126,21 @@ export declare interface WebPubSub {
1106
1126
  beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, parameters: WebPubSubResource, options?: WebPubSubCreateOrUpdateOptionalParams): Promise<WebPubSubCreateOrUpdateResponse>;
1107
1127
  /**
1108
1128
  * Operation to delete a resource.
1109
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1110
- * this value from the Azure Resource Manager API or the portal.
1129
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1111
1130
  * @param resourceName The name of the resource.
1112
1131
  * @param options The options parameters.
1113
1132
  */
1114
1133
  beginDelete(resourceGroupName: string, resourceName: string, options?: WebPubSubDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1115
1134
  /**
1116
1135
  * Operation to delete a resource.
1117
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1118
- * this value from the Azure Resource Manager API or the portal.
1136
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1119
1137
  * @param resourceName The name of the resource.
1120
1138
  * @param options The options parameters.
1121
1139
  */
1122
1140
  beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: WebPubSubDeleteOptionalParams): Promise<void>;
1123
1141
  /**
1124
1142
  * Operation to update an exiting resource.
1125
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1126
- * this value from the Azure Resource Manager API or the portal.
1143
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1127
1144
  * @param resourceName The name of the resource.
1128
1145
  * @param parameters Parameters for the update operation
1129
1146
  * @param options The options parameters.
@@ -1131,8 +1148,7 @@ export declare interface WebPubSub {
1131
1148
  beginUpdate(resourceGroupName: string, resourceName: string, parameters: WebPubSubResource, options?: WebPubSubUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubUpdateResponse>, WebPubSubUpdateResponse>>;
1132
1149
  /**
1133
1150
  * Operation to update an exiting resource.
1134
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1135
- * this value from the Azure Resource Manager API or the portal.
1151
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1136
1152
  * @param resourceName The name of the resource.
1137
1153
  * @param parameters Parameters for the update operation
1138
1154
  * @param options The options parameters.
@@ -1140,8 +1156,7 @@ export declare interface WebPubSub {
1140
1156
  beginUpdateAndWait(resourceGroupName: string, resourceName: string, parameters: WebPubSubResource, options?: WebPubSubUpdateOptionalParams): Promise<WebPubSubUpdateResponse>;
1141
1157
  /**
1142
1158
  * Get the access keys of the resource.
1143
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1144
- * this value from the Azure Resource Manager API or the portal.
1159
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1145
1160
  * @param resourceName The name of the resource.
1146
1161
  * @param options The options parameters.
1147
1162
  */
@@ -1149,8 +1164,7 @@ export declare interface WebPubSub {
1149
1164
  /**
1150
1165
  * Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the
1151
1166
  * same time.
1152
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1153
- * this value from the Azure Resource Manager API or the portal.
1167
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1154
1168
  * @param resourceName The name of the resource.
1155
1169
  * @param parameters Parameter that describes the Regenerate Key Operation.
1156
1170
  * @param options The options parameters.
@@ -1159,33 +1173,37 @@ export declare interface WebPubSub {
1159
1173
  /**
1160
1174
  * Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the
1161
1175
  * same time.
1162
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1163
- * this value from the Azure Resource Manager API or the portal.
1176
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1164
1177
  * @param resourceName The name of the resource.
1165
1178
  * @param parameters Parameter that describes the Regenerate Key Operation.
1166
1179
  * @param options The options parameters.
1167
1180
  */
1168
1181
  beginRegenerateKeyAndWait(resourceGroupName: string, resourceName: string, parameters: RegenerateKeyParameters, options?: WebPubSubRegenerateKeyOptionalParams): Promise<WebPubSubRegenerateKeyResponse>;
1182
+ /**
1183
+ * List all available skus of the replica resource.
1184
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1185
+ * @param resourceName The name of the resource.
1186
+ * @param replicaName The name of the replica.
1187
+ * @param options The options parameters.
1188
+ */
1189
+ listReplicaSkus(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubListReplicaSkusOptionalParams): Promise<WebPubSubListReplicaSkusResponse>;
1169
1190
  /**
1170
1191
  * Operation to restart a resource.
1171
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1172
- * this value from the Azure Resource Manager API or the portal.
1192
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1173
1193
  * @param resourceName The name of the resource.
1174
1194
  * @param options The options parameters.
1175
1195
  */
1176
- beginRestart(resourceGroupName: string, resourceName: string, options?: WebPubSubRestartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1196
+ beginRestart(resourceGroupName: string, resourceName: string, options?: WebPubSubRestartOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubRestartResponse>, WebPubSubRestartResponse>>;
1177
1197
  /**
1178
1198
  * Operation to restart a resource.
1179
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1180
- * this value from the Azure Resource Manager API or the portal.
1199
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1181
1200
  * @param resourceName The name of the resource.
1182
1201
  * @param options The options parameters.
1183
1202
  */
1184
- beginRestartAndWait(resourceGroupName: string, resourceName: string, options?: WebPubSubRestartOptionalParams): Promise<void>;
1203
+ beginRestartAndWait(resourceGroupName: string, resourceName: string, options?: WebPubSubRestartOptionalParams): Promise<WebPubSubRestartResponse>;
1185
1204
  /**
1186
1205
  * List all available skus of the resource.
1187
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1188
- * this value from the Azure Resource Manager API or the portal.
1206
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1189
1207
  * @param resourceName The name of the resource.
1190
1208
  * @param options The options parameters.
1191
1209
  */
@@ -1214,16 +1232,14 @@ export declare type WebPubSubCreateOrUpdateResponse = WebPubSubResource;
1214
1232
  export declare interface WebPubSubCustomCertificates {
1215
1233
  /**
1216
1234
  * List all custom certificates.
1217
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1218
- * this value from the Azure Resource Manager API or the portal.
1235
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1219
1236
  * @param resourceName The name of the resource.
1220
1237
  * @param options The options parameters.
1221
1238
  */
1222
1239
  list(resourceGroupName: string, resourceName: string, options?: WebPubSubCustomCertificatesListOptionalParams): PagedAsyncIterableIterator<CustomCertificate>;
1223
1240
  /**
1224
1241
  * Get a custom certificate.
1225
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1226
- * this value from the Azure Resource Manager API or the portal.
1242
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1227
1243
  * @param resourceName The name of the resource.
1228
1244
  * @param certificateName Custom certificate name
1229
1245
  * @param options The options parameters.
@@ -1231,8 +1247,7 @@ export declare interface WebPubSubCustomCertificates {
1231
1247
  get(resourceGroupName: string, resourceName: string, certificateName: string, options?: WebPubSubCustomCertificatesGetOptionalParams): Promise<WebPubSubCustomCertificatesGetResponse>;
1232
1248
  /**
1233
1249
  * Create or update a custom certificate.
1234
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1235
- * this value from the Azure Resource Manager API or the portal.
1250
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1236
1251
  * @param resourceName The name of the resource.
1237
1252
  * @param certificateName Custom certificate name
1238
1253
  * @param parameters A custom certificate.
@@ -1241,8 +1256,7 @@ export declare interface WebPubSubCustomCertificates {
1241
1256
  beginCreateOrUpdate(resourceGroupName: string, resourceName: string, certificateName: string, parameters: CustomCertificate, options?: WebPubSubCustomCertificatesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubCustomCertificatesCreateOrUpdateResponse>, WebPubSubCustomCertificatesCreateOrUpdateResponse>>;
1242
1257
  /**
1243
1258
  * Create or update a custom certificate.
1244
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1245
- * this value from the Azure Resource Manager API or the portal.
1259
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1246
1260
  * @param resourceName The name of the resource.
1247
1261
  * @param certificateName Custom certificate name
1248
1262
  * @param parameters A custom certificate.
@@ -1251,8 +1265,7 @@ export declare interface WebPubSubCustomCertificates {
1251
1265
  beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, certificateName: string, parameters: CustomCertificate, options?: WebPubSubCustomCertificatesCreateOrUpdateOptionalParams): Promise<WebPubSubCustomCertificatesCreateOrUpdateResponse>;
1252
1266
  /**
1253
1267
  * Delete a custom certificate.
1254
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1255
- * this value from the Azure Resource Manager API or the portal.
1268
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1256
1269
  * @param resourceName The name of the resource.
1257
1270
  * @param certificateName Custom certificate name
1258
1271
  * @param options The options parameters.
@@ -1300,16 +1313,14 @@ export declare type WebPubSubCustomCertificatesListResponse = CustomCertificateL
1300
1313
  export declare interface WebPubSubCustomDomains {
1301
1314
  /**
1302
1315
  * List all custom domains.
1303
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1304
- * this value from the Azure Resource Manager API or the portal.
1316
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1305
1317
  * @param resourceName The name of the resource.
1306
1318
  * @param options The options parameters.
1307
1319
  */
1308
1320
  list(resourceGroupName: string, resourceName: string, options?: WebPubSubCustomDomainsListOptionalParams): PagedAsyncIterableIterator<CustomDomain>;
1309
1321
  /**
1310
1322
  * Get a custom domain.
1311
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1312
- * this value from the Azure Resource Manager API or the portal.
1323
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1313
1324
  * @param resourceName The name of the resource.
1314
1325
  * @param name Custom domain name.
1315
1326
  * @param options The options parameters.
@@ -1317,8 +1328,7 @@ export declare interface WebPubSubCustomDomains {
1317
1328
  get(resourceGroupName: string, resourceName: string, name: string, options?: WebPubSubCustomDomainsGetOptionalParams): Promise<WebPubSubCustomDomainsGetResponse>;
1318
1329
  /**
1319
1330
  * Create or update a custom domain.
1320
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1321
- * this value from the Azure Resource Manager API or the portal.
1331
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1322
1332
  * @param resourceName The name of the resource.
1323
1333
  * @param name Custom domain name.
1324
1334
  * @param parameters A custom domain
@@ -1327,8 +1337,7 @@ export declare interface WebPubSubCustomDomains {
1327
1337
  beginCreateOrUpdate(resourceGroupName: string, resourceName: string, name: string, parameters: CustomDomain, options?: WebPubSubCustomDomainsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubCustomDomainsCreateOrUpdateResponse>, WebPubSubCustomDomainsCreateOrUpdateResponse>>;
1328
1338
  /**
1329
1339
  * Create or update a custom domain.
1330
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1331
- * this value from the Azure Resource Manager API or the portal.
1340
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1332
1341
  * @param resourceName The name of the resource.
1333
1342
  * @param name Custom domain name.
1334
1343
  * @param parameters A custom domain
@@ -1337,8 +1346,7 @@ export declare interface WebPubSubCustomDomains {
1337
1346
  beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, name: string, parameters: CustomDomain, options?: WebPubSubCustomDomainsCreateOrUpdateOptionalParams): Promise<WebPubSubCustomDomainsCreateOrUpdateResponse>;
1338
1347
  /**
1339
1348
  * Delete a custom domain.
1340
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1341
- * this value from the Azure Resource Manager API or the portal.
1349
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1342
1350
  * @param resourceName The name of the resource.
1343
1351
  * @param name Custom domain name.
1344
1352
  * @param options The options parameters.
@@ -1346,8 +1354,7 @@ export declare interface WebPubSubCustomDomains {
1346
1354
  beginDelete(resourceGroupName: string, resourceName: string, name: string, options?: WebPubSubCustomDomainsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1347
1355
  /**
1348
1356
  * Delete a custom domain.
1349
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1350
- * this value from the Azure Resource Manager API or the portal.
1357
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1351
1358
  * @param resourceName The name of the resource.
1352
1359
  * @param name Custom domain name.
1353
1360
  * @param options The options parameters.
@@ -1412,11 +1419,6 @@ export declare type WebPubSubGetResponse = WebPubSubResource;
1412
1419
 
1413
1420
  /** A hub setting */
1414
1421
  export declare interface WebPubSubHub extends ProxyResource {
1415
- /**
1416
- * Metadata pertaining to creation and last modification of the resource.
1417
- * NOTE: This property will not be serialized. It can only be populated by the server.
1418
- */
1419
- readonly systemData?: SystemData;
1420
1422
  /** Properties of a hub. */
1421
1423
  properties: WebPubSubHubProperties;
1422
1424
  }
@@ -1452,8 +1454,7 @@ export declare interface WebPubSubHubProperties {
1452
1454
  export declare interface WebPubSubHubs {
1453
1455
  /**
1454
1456
  * List hub settings.
1455
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1456
- * this value from the Azure Resource Manager API or the portal.
1457
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1457
1458
  * @param resourceName The name of the resource.
1458
1459
  * @param options The options parameters.
1459
1460
  */
@@ -1461,8 +1462,7 @@ export declare interface WebPubSubHubs {
1461
1462
  /**
1462
1463
  * Get a hub setting.
1463
1464
  * @param hubName The hub name.
1464
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1465
- * this value from the Azure Resource Manager API or the portal.
1465
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1466
1466
  * @param resourceName The name of the resource.
1467
1467
  * @param options The options parameters.
1468
1468
  */
@@ -1470,8 +1470,7 @@ export declare interface WebPubSubHubs {
1470
1470
  /**
1471
1471
  * Create or update a hub setting.
1472
1472
  * @param hubName The hub name.
1473
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1474
- * this value from the Azure Resource Manager API or the portal.
1473
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1475
1474
  * @param resourceName The name of the resource.
1476
1475
  * @param parameters The resource of WebPubSubHub and its properties
1477
1476
  * @param options The options parameters.
@@ -1480,8 +1479,7 @@ export declare interface WebPubSubHubs {
1480
1479
  /**
1481
1480
  * Create or update a hub setting.
1482
1481
  * @param hubName The hub name.
1483
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1484
- * this value from the Azure Resource Manager API or the portal.
1482
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1485
1483
  * @param resourceName The name of the resource.
1486
1484
  * @param parameters The resource of WebPubSubHub and its properties
1487
1485
  * @param options The options parameters.
@@ -1490,8 +1488,7 @@ export declare interface WebPubSubHubs {
1490
1488
  /**
1491
1489
  * Delete a hub setting.
1492
1490
  * @param hubName The hub name.
1493
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1494
- * this value from the Azure Resource Manager API or the portal.
1491
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1495
1492
  * @param resourceName The name of the resource.
1496
1493
  * @param options The options parameters.
1497
1494
  */
@@ -1499,8 +1496,7 @@ export declare interface WebPubSubHubs {
1499
1496
  /**
1500
1497
  * Delete a hub setting.
1501
1498
  * @param hubName The hub name.
1502
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1503
- * this value from the Azure Resource Manager API or the portal.
1499
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1504
1500
  * @param resourceName The name of the resource.
1505
1501
  * @param options The options parameters.
1506
1502
  */
@@ -1594,6 +1590,13 @@ export declare interface WebPubSubListKeysOptionalParams extends coreClient.Oper
1594
1590
  /** Contains response data for the listKeys operation. */
1595
1591
  export declare type WebPubSubListKeysResponse = WebPubSubKeys;
1596
1592
 
1593
+ /** Optional parameters. */
1594
+ export declare interface WebPubSubListReplicaSkusOptionalParams extends coreClient.OperationOptions {
1595
+ }
1596
+
1597
+ /** Contains response data for the listReplicaSkus operation. */
1598
+ export declare type WebPubSubListReplicaSkusResponse = SkuList;
1599
+
1597
1600
  /** Optional parameters. */
1598
1601
  export declare interface WebPubSubListSkusOptionalParams extends coreClient.OperationOptions {
1599
1602
  }
@@ -1608,8 +1611,7 @@ export declare class WebPubSubManagementClient extends coreClient.ServiceClient
1608
1611
  /**
1609
1612
  * Initializes a new instance of the WebPubSubManagementClient class.
1610
1613
  * @param credentials Subscription credentials which uniquely identify client subscription.
1611
- * @param subscriptionId Gets subscription Id which uniquely identify the Microsoft Azure subscription.
1612
- * The subscription ID forms part of the URI for every service call.
1614
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
1613
1615
  * @param options The parameter options
1614
1616
  */
1615
1617
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: WebPubSubManagementClientOptionalParams);
@@ -1623,6 +1625,7 @@ export declare class WebPubSubManagementClient extends coreClient.ServiceClient
1623
1625
  webPubSubHubs: WebPubSubHubs;
1624
1626
  webPubSubPrivateEndpointConnections: WebPubSubPrivateEndpointConnections;
1625
1627
  webPubSubPrivateLinkResources: WebPubSubPrivateLinkResources;
1628
+ webPubSubReplicas: WebPubSubReplicas;
1626
1629
  webPubSubSharedPrivateLinkResources: WebPubSubSharedPrivateLinkResources;
1627
1630
  }
1628
1631
 
@@ -1650,26 +1653,25 @@ export declare interface WebPubSubNetworkACLs {
1650
1653
  export declare interface WebPubSubPrivateEndpointConnections {
1651
1654
  /**
1652
1655
  * List private endpoint connections
1653
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1654
- * this value from the Azure Resource Manager API or the portal.
1656
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1655
1657
  * @param resourceName The name of the resource.
1656
1658
  * @param options The options parameters.
1657
1659
  */
1658
1660
  list(resourceGroupName: string, resourceName: string, options?: WebPubSubPrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
1659
1661
  /**
1660
1662
  * Get the specified private endpoint connection
1661
- * @param privateEndpointConnectionName The name of the private endpoint connection
1662
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1663
- * this value from the Azure Resource Manager API or the portal.
1663
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1664
+ * Azure resource.
1665
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1664
1666
  * @param resourceName The name of the resource.
1665
1667
  * @param options The options parameters.
1666
1668
  */
1667
1669
  get(privateEndpointConnectionName: string, resourceGroupName: string, resourceName: string, options?: WebPubSubPrivateEndpointConnectionsGetOptionalParams): Promise<WebPubSubPrivateEndpointConnectionsGetResponse>;
1668
1670
  /**
1669
1671
  * Update the state of specified private endpoint connection
1670
- * @param privateEndpointConnectionName The name of the private endpoint connection
1671
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1672
- * this value from the Azure Resource Manager API or the portal.
1672
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1673
+ * Azure resource.
1674
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1673
1675
  * @param resourceName The name of the resource.
1674
1676
  * @param parameters The resource of private endpoint and its properties
1675
1677
  * @param options The options parameters.
@@ -1677,18 +1679,18 @@ export declare interface WebPubSubPrivateEndpointConnections {
1677
1679
  update(privateEndpointConnectionName: string, resourceGroupName: string, resourceName: string, parameters: PrivateEndpointConnection, options?: WebPubSubPrivateEndpointConnectionsUpdateOptionalParams): Promise<WebPubSubPrivateEndpointConnectionsUpdateResponse>;
1678
1680
  /**
1679
1681
  * Delete the specified private endpoint connection
1680
- * @param privateEndpointConnectionName The name of the private endpoint connection
1681
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1682
- * this value from the Azure Resource Manager API or the portal.
1682
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1683
+ * Azure resource.
1684
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1683
1685
  * @param resourceName The name of the resource.
1684
1686
  * @param options The options parameters.
1685
1687
  */
1686
1688
  beginDelete(privateEndpointConnectionName: string, resourceGroupName: string, resourceName: string, options?: WebPubSubPrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1687
1689
  /**
1688
1690
  * Delete the specified private endpoint connection
1689
- * @param privateEndpointConnectionName The name of the private endpoint connection
1690
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1691
- * this value from the Azure Resource Manager API or the portal.
1691
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1692
+ * Azure resource.
1693
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1692
1694
  * @param resourceName The name of the resource.
1693
1695
  * @param options The options parameters.
1694
1696
  */
@@ -1735,8 +1737,7 @@ export declare type WebPubSubPrivateEndpointConnectionsUpdateResponse = PrivateE
1735
1737
  export declare interface WebPubSubPrivateLinkResources {
1736
1738
  /**
1737
1739
  * Get the private link resources that need to be created for a resource.
1738
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1739
- * this value from the Azure Resource Manager API or the portal.
1740
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1740
1741
  * @param resourceName The name of the resource.
1741
1742
  * @param options The options parameters.
1742
1743
  */
@@ -1757,6 +1758,11 @@ export declare interface WebPubSubPrivateLinkResourcesListOptionalParams extends
1757
1758
  /** Contains response data for the list operation. */
1758
1759
  export declare type WebPubSubPrivateLinkResourcesListResponse = PrivateLinkResourceList;
1759
1760
 
1761
+ /** Defines headers for WebPubSub_regenerateKey operation. */
1762
+ export declare interface WebPubSubRegenerateKeyHeaders {
1763
+ location?: string;
1764
+ }
1765
+
1760
1766
  /** Optional parameters. */
1761
1767
  export declare interface WebPubSubRegenerateKeyOptionalParams extends coreClient.OperationOptions {
1762
1768
  /** Delay to wait until next poll, in milliseconds. */
@@ -1768,6 +1774,153 @@ export declare interface WebPubSubRegenerateKeyOptionalParams extends coreClient
1768
1774
  /** Contains response data for the regenerateKey operation. */
1769
1775
  export declare type WebPubSubRegenerateKeyResponse = WebPubSubKeys;
1770
1776
 
1777
+ /** Interface representing a WebPubSubReplicas. */
1778
+ export declare interface WebPubSubReplicas {
1779
+ /**
1780
+ * List all replicas belong to this resource
1781
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1782
+ * @param resourceName The name of the resource.
1783
+ * @param options The options parameters.
1784
+ */
1785
+ list(resourceGroupName: string, resourceName: string, options?: WebPubSubReplicasListOptionalParams): PagedAsyncIterableIterator<Replica>;
1786
+ /**
1787
+ * Get the replica and its properties.
1788
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1789
+ * @param resourceName The name of the resource.
1790
+ * @param replicaName The name of the replica.
1791
+ * @param options The options parameters.
1792
+ */
1793
+ get(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasGetOptionalParams): Promise<WebPubSubReplicasGetResponse>;
1794
+ /**
1795
+ * Create or update a replica.
1796
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1797
+ * @param resourceName The name of the resource.
1798
+ * @param replicaName The name of the replica.
1799
+ * @param parameters Parameters for the create or update operation
1800
+ * @param options The options parameters.
1801
+ */
1802
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubReplicasCreateOrUpdateResponse>, WebPubSubReplicasCreateOrUpdateResponse>>;
1803
+ /**
1804
+ * Create or update a replica.
1805
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1806
+ * @param resourceName The name of the resource.
1807
+ * @param replicaName The name of the replica.
1808
+ * @param parameters Parameters for the create or update operation
1809
+ * @param options The options parameters.
1810
+ */
1811
+ beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasCreateOrUpdateOptionalParams): Promise<WebPubSubReplicasCreateOrUpdateResponse>;
1812
+ /**
1813
+ * Operation to delete a replica.
1814
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1815
+ * @param resourceName The name of the resource.
1816
+ * @param replicaName The name of the replica.
1817
+ * @param options The options parameters.
1818
+ */
1819
+ delete(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasDeleteOptionalParams): Promise<void>;
1820
+ /**
1821
+ * Operation to update an exiting replica.
1822
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1823
+ * @param resourceName The name of the resource.
1824
+ * @param replicaName The name of the replica.
1825
+ * @param parameters Parameters for the update operation
1826
+ * @param options The options parameters.
1827
+ */
1828
+ beginUpdate(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubReplicasUpdateResponse>, WebPubSubReplicasUpdateResponse>>;
1829
+ /**
1830
+ * Operation to update an exiting replica.
1831
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1832
+ * @param resourceName The name of the resource.
1833
+ * @param replicaName The name of the replica.
1834
+ * @param parameters Parameters for the update operation
1835
+ * @param options The options parameters.
1836
+ */
1837
+ beginUpdateAndWait(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasUpdateOptionalParams): Promise<WebPubSubReplicasUpdateResponse>;
1838
+ /**
1839
+ * Operation to restart a replica.
1840
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1841
+ * @param resourceName The name of the resource.
1842
+ * @param replicaName The name of the replica.
1843
+ * @param options The options parameters.
1844
+ */
1845
+ beginRestart(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasRestartOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubReplicasRestartResponse>, WebPubSubReplicasRestartResponse>>;
1846
+ /**
1847
+ * Operation to restart a replica.
1848
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1849
+ * @param resourceName The name of the resource.
1850
+ * @param replicaName The name of the replica.
1851
+ * @param options The options parameters.
1852
+ */
1853
+ beginRestartAndWait(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasRestartOptionalParams): Promise<WebPubSubReplicasRestartResponse>;
1854
+ }
1855
+
1856
+ /** Optional parameters. */
1857
+ export declare interface WebPubSubReplicasCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1858
+ /** Delay to wait until next poll, in milliseconds. */
1859
+ updateIntervalInMs?: number;
1860
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1861
+ resumeFrom?: string;
1862
+ }
1863
+
1864
+ /** Contains response data for the createOrUpdate operation. */
1865
+ export declare type WebPubSubReplicasCreateOrUpdateResponse = Replica;
1866
+
1867
+ /** Optional parameters. */
1868
+ export declare interface WebPubSubReplicasDeleteOptionalParams extends coreClient.OperationOptions {
1869
+ }
1870
+
1871
+ /** Optional parameters. */
1872
+ export declare interface WebPubSubReplicasGetOptionalParams extends coreClient.OperationOptions {
1873
+ }
1874
+
1875
+ /** Contains response data for the get operation. */
1876
+ export declare type WebPubSubReplicasGetResponse = Replica;
1877
+
1878
+ /** Optional parameters. */
1879
+ export declare interface WebPubSubReplicasListNextOptionalParams extends coreClient.OperationOptions {
1880
+ }
1881
+
1882
+ /** Contains response data for the listNext operation. */
1883
+ export declare type WebPubSubReplicasListNextResponse = ReplicaList;
1884
+
1885
+ /** Optional parameters. */
1886
+ export declare interface WebPubSubReplicasListOptionalParams extends coreClient.OperationOptions {
1887
+ }
1888
+
1889
+ /** Contains response data for the list operation. */
1890
+ export declare type WebPubSubReplicasListResponse = ReplicaList;
1891
+
1892
+ /** Defines headers for WebPubSubReplicas_restart operation. */
1893
+ export declare interface WebPubSubReplicasRestartHeaders {
1894
+ location?: string;
1895
+ }
1896
+
1897
+ /** Optional parameters. */
1898
+ export declare interface WebPubSubReplicasRestartOptionalParams extends coreClient.OperationOptions {
1899
+ /** Delay to wait until next poll, in milliseconds. */
1900
+ updateIntervalInMs?: number;
1901
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1902
+ resumeFrom?: string;
1903
+ }
1904
+
1905
+ /** Contains response data for the restart operation. */
1906
+ export declare type WebPubSubReplicasRestartResponse = WebPubSubReplicasRestartHeaders;
1907
+
1908
+ /** Defines headers for WebPubSubReplicas_update operation. */
1909
+ export declare interface WebPubSubReplicasUpdateHeaders {
1910
+ location?: string;
1911
+ }
1912
+
1913
+ /** Optional parameters. */
1914
+ export declare interface WebPubSubReplicasUpdateOptionalParams extends coreClient.OperationOptions {
1915
+ /** Delay to wait until next poll, in milliseconds. */
1916
+ updateIntervalInMs?: number;
1917
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1918
+ resumeFrom?: string;
1919
+ }
1920
+
1921
+ /** Contains response data for the update operation. */
1922
+ export declare type WebPubSubReplicasUpdateResponse = Replica;
1923
+
1771
1924
  /**
1772
1925
  * Defines values for WebPubSubRequestType. \
1773
1926
  * {@link KnownWebPubSubRequestType} can be used interchangeably with WebPubSubRequestType,
@@ -1784,13 +1937,10 @@ export declare type WebPubSubRequestType = string;
1784
1937
  export declare interface WebPubSubResource extends TrackedResource {
1785
1938
  /** The billing information of the resource. */
1786
1939
  sku?: ResourceSku;
1940
+ /** The kind of the service */
1941
+ kind?: ServiceKind;
1787
1942
  /** A class represent managed identities used for request and response */
1788
1943
  identity?: ManagedIdentity;
1789
- /**
1790
- * Metadata pertaining to creation and last modification of the resource.
1791
- * NOTE: This property will not be serialized. It can only be populated by the server.
1792
- */
1793
- readonly systemData?: SystemData;
1794
1944
  /**
1795
1945
  * Provisioning state of the resource.
1796
1946
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1875,6 +2025,11 @@ export declare interface WebPubSubResourceList {
1875
2025
  nextLink?: string;
1876
2026
  }
1877
2027
 
2028
+ /** Defines headers for WebPubSub_restart operation. */
2029
+ export declare interface WebPubSubRestartHeaders {
2030
+ location?: string;
2031
+ }
2032
+
1878
2033
  /** Optional parameters. */
1879
2034
  export declare interface WebPubSubRestartOptionalParams extends coreClient.OperationOptions {
1880
2035
  /** Delay to wait until next poll, in milliseconds. */
@@ -1883,12 +2038,14 @@ export declare interface WebPubSubRestartOptionalParams extends coreClient.Opera
1883
2038
  resumeFrom?: string;
1884
2039
  }
1885
2040
 
2041
+ /** Contains response data for the restart operation. */
2042
+ export declare type WebPubSubRestartResponse = WebPubSubRestartHeaders;
2043
+
1886
2044
  /** Interface representing a WebPubSubSharedPrivateLinkResources. */
1887
2045
  export declare interface WebPubSubSharedPrivateLinkResources {
1888
2046
  /**
1889
2047
  * List shared private link resources
1890
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1891
- * this value from the Azure Resource Manager API or the portal.
2048
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1892
2049
  * @param resourceName The name of the resource.
1893
2050
  * @param options The options parameters.
1894
2051
  */
@@ -1896,8 +2053,7 @@ export declare interface WebPubSubSharedPrivateLinkResources {
1896
2053
  /**
1897
2054
  * Get the specified shared private link resource
1898
2055
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
1899
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1900
- * this value from the Azure Resource Manager API or the portal.
2056
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1901
2057
  * @param resourceName The name of the resource.
1902
2058
  * @param options The options parameters.
1903
2059
  */
@@ -1905,8 +2061,7 @@ export declare interface WebPubSubSharedPrivateLinkResources {
1905
2061
  /**
1906
2062
  * Create or update a shared private link resource
1907
2063
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
1908
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1909
- * this value from the Azure Resource Manager API or the portal.
2064
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1910
2065
  * @param resourceName The name of the resource.
1911
2066
  * @param parameters The shared private link resource
1912
2067
  * @param options The options parameters.
@@ -1915,8 +2070,7 @@ export declare interface WebPubSubSharedPrivateLinkResources {
1915
2070
  /**
1916
2071
  * Create or update a shared private link resource
1917
2072
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
1918
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1919
- * this value from the Azure Resource Manager API or the portal.
2073
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1920
2074
  * @param resourceName The name of the resource.
1921
2075
  * @param parameters The shared private link resource
1922
2076
  * @param options The options parameters.
@@ -1925,8 +2079,7 @@ export declare interface WebPubSubSharedPrivateLinkResources {
1925
2079
  /**
1926
2080
  * Delete the specified shared private link resource
1927
2081
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
1928
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1929
- * this value from the Azure Resource Manager API or the portal.
2082
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1930
2083
  * @param resourceName The name of the resource.
1931
2084
  * @param options The options parameters.
1932
2085
  */
@@ -1934,8 +2087,7 @@ export declare interface WebPubSubSharedPrivateLinkResources {
1934
2087
  /**
1935
2088
  * Delete the specified shared private link resource
1936
2089
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
1937
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
1938
- * this value from the Azure Resource Manager API or the portal.
2090
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1939
2091
  * @param resourceName The name of the resource.
1940
2092
  * @param options The options parameters.
1941
2093
  */
@@ -1996,10 +2148,15 @@ export declare type WebPubSubSkuTier = string;
1996
2148
 
1997
2149
  /** TLS settings for the resource */
1998
2150
  export declare interface WebPubSubTlsSettings {
1999
- /** Request client certificate during TLS handshake if enabled */
2151
+ /** Request client certificate during TLS handshake if enabled. Not supported for free tier. Any input will be ignored for free tier. */
2000
2152
  clientCertEnabled?: boolean;
2001
2153
  }
2002
2154
 
2155
+ /** Defines headers for WebPubSub_update operation. */
2156
+ export declare interface WebPubSubUpdateHeaders {
2157
+ location?: string;
2158
+ }
2159
+
2003
2160
  /** Optional parameters. */
2004
2161
  export declare interface WebPubSubUpdateOptionalParams extends coreClient.OperationOptions {
2005
2162
  /** Delay to wait until next poll, in milliseconds. */