@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
@@ -0,0 +1,166 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ Replica,
13
+ WebPubSubReplicasListOptionalParams,
14
+ WebPubSubReplicasGetOptionalParams,
15
+ WebPubSubReplicasGetResponse,
16
+ WebPubSubReplicasCreateOrUpdateOptionalParams,
17
+ WebPubSubReplicasCreateOrUpdateResponse,
18
+ WebPubSubReplicasDeleteOptionalParams,
19
+ WebPubSubReplicasUpdateOptionalParams,
20
+ WebPubSubReplicasUpdateResponse,
21
+ WebPubSubReplicasRestartOptionalParams,
22
+ WebPubSubReplicasRestartResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a WebPubSubReplicas. */
27
+ export interface WebPubSubReplicas {
28
+ /**
29
+ * List all replicas belong to this resource
30
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
+ * @param resourceName The name of the resource.
32
+ * @param options The options parameters.
33
+ */
34
+ list(
35
+ resourceGroupName: string,
36
+ resourceName: string,
37
+ options?: WebPubSubReplicasListOptionalParams
38
+ ): PagedAsyncIterableIterator<Replica>;
39
+ /**
40
+ * Get the replica and its properties.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param resourceName The name of the resource.
43
+ * @param replicaName The name of the replica.
44
+ * @param options The options parameters.
45
+ */
46
+ get(
47
+ resourceGroupName: string,
48
+ resourceName: string,
49
+ replicaName: string,
50
+ options?: WebPubSubReplicasGetOptionalParams
51
+ ): Promise<WebPubSubReplicasGetResponse>;
52
+ /**
53
+ * Create or update a replica.
54
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
55
+ * @param resourceName The name of the resource.
56
+ * @param replicaName The name of the replica.
57
+ * @param parameters Parameters for the create or update operation
58
+ * @param options The options parameters.
59
+ */
60
+ beginCreateOrUpdate(
61
+ resourceGroupName: string,
62
+ resourceName: string,
63
+ replicaName: string,
64
+ parameters: Replica,
65
+ options?: WebPubSubReplicasCreateOrUpdateOptionalParams
66
+ ): Promise<
67
+ SimplePollerLike<
68
+ OperationState<WebPubSubReplicasCreateOrUpdateResponse>,
69
+ WebPubSubReplicasCreateOrUpdateResponse
70
+ >
71
+ >;
72
+ /**
73
+ * Create or update a replica.
74
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
+ * @param resourceName The name of the resource.
76
+ * @param replicaName The name of the replica.
77
+ * @param parameters Parameters for the create or update operation
78
+ * @param options The options parameters.
79
+ */
80
+ beginCreateOrUpdateAndWait(
81
+ resourceGroupName: string,
82
+ resourceName: string,
83
+ replicaName: string,
84
+ parameters: Replica,
85
+ options?: WebPubSubReplicasCreateOrUpdateOptionalParams
86
+ ): Promise<WebPubSubReplicasCreateOrUpdateResponse>;
87
+ /**
88
+ * Operation to delete a replica.
89
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
+ * @param resourceName The name of the resource.
91
+ * @param replicaName The name of the replica.
92
+ * @param options The options parameters.
93
+ */
94
+ delete(
95
+ resourceGroupName: string,
96
+ resourceName: string,
97
+ replicaName: string,
98
+ options?: WebPubSubReplicasDeleteOptionalParams
99
+ ): Promise<void>;
100
+ /**
101
+ * Operation to update an exiting replica.
102
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
+ * @param resourceName The name of the resource.
104
+ * @param replicaName The name of the replica.
105
+ * @param parameters Parameters for the update operation
106
+ * @param options The options parameters.
107
+ */
108
+ beginUpdate(
109
+ resourceGroupName: string,
110
+ resourceName: string,
111
+ replicaName: string,
112
+ parameters: Replica,
113
+ options?: WebPubSubReplicasUpdateOptionalParams
114
+ ): Promise<
115
+ SimplePollerLike<
116
+ OperationState<WebPubSubReplicasUpdateResponse>,
117
+ WebPubSubReplicasUpdateResponse
118
+ >
119
+ >;
120
+ /**
121
+ * Operation to update an exiting replica.
122
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
123
+ * @param resourceName The name of the resource.
124
+ * @param replicaName The name of the replica.
125
+ * @param parameters Parameters for the update operation
126
+ * @param options The options parameters.
127
+ */
128
+ beginUpdateAndWait(
129
+ resourceGroupName: string,
130
+ resourceName: string,
131
+ replicaName: string,
132
+ parameters: Replica,
133
+ options?: WebPubSubReplicasUpdateOptionalParams
134
+ ): Promise<WebPubSubReplicasUpdateResponse>;
135
+ /**
136
+ * Operation to restart a replica.
137
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
138
+ * @param resourceName The name of the resource.
139
+ * @param replicaName The name of the replica.
140
+ * @param options The options parameters.
141
+ */
142
+ beginRestart(
143
+ resourceGroupName: string,
144
+ resourceName: string,
145
+ replicaName: string,
146
+ options?: WebPubSubReplicasRestartOptionalParams
147
+ ): Promise<
148
+ SimplePollerLike<
149
+ OperationState<WebPubSubReplicasRestartResponse>,
150
+ WebPubSubReplicasRestartResponse
151
+ >
152
+ >;
153
+ /**
154
+ * Operation to restart a replica.
155
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
156
+ * @param resourceName The name of the resource.
157
+ * @param replicaName The name of the replica.
158
+ * @param options The options parameters.
159
+ */
160
+ beginRestartAndWait(
161
+ resourceGroupName: string,
162
+ resourceName: string,
163
+ replicaName: string,
164
+ options?: WebPubSubReplicasRestartOptionalParams
165
+ ): Promise<WebPubSubReplicasRestartResponse>;
166
+ }
@@ -23,8 +23,7 @@ import {
23
23
  export interface WebPubSubSharedPrivateLinkResources {
24
24
  /**
25
25
  * List shared private link resources
26
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
27
- * this value from the Azure Resource Manager API or the portal.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
27
  * @param resourceName The name of the resource.
29
28
  * @param options The options parameters.
30
29
  */
@@ -36,8 +35,7 @@ export interface WebPubSubSharedPrivateLinkResources {
36
35
  /**
37
36
  * Get the specified shared private link resource
38
37
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
39
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
40
- * this value from the Azure Resource Manager API or the portal.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
39
  * @param resourceName The name of the resource.
42
40
  * @param options The options parameters.
43
41
  */
@@ -50,8 +48,7 @@ export interface WebPubSubSharedPrivateLinkResources {
50
48
  /**
51
49
  * Create or update a shared private link resource
52
50
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
53
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
54
- * this value from the Azure Resource Manager API or the portal.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
55
52
  * @param resourceName The name of the resource.
56
53
  * @param parameters The shared private link resource
57
54
  * @param options The options parameters.
@@ -71,8 +68,7 @@ export interface WebPubSubSharedPrivateLinkResources {
71
68
  /**
72
69
  * Create or update a shared private link resource
73
70
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
74
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
75
- * this value from the Azure Resource Manager API or the portal.
71
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
72
  * @param resourceName The name of the resource.
77
73
  * @param parameters The shared private link resource
78
74
  * @param options The options parameters.
@@ -87,8 +83,7 @@ export interface WebPubSubSharedPrivateLinkResources {
87
83
  /**
88
84
  * Delete the specified shared private link resource
89
85
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
90
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
91
- * this value from the Azure Resource Manager API or the portal.
86
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
92
87
  * @param resourceName The name of the resource.
93
88
  * @param options The options parameters.
94
89
  */
@@ -101,8 +96,7 @@ export interface WebPubSubSharedPrivateLinkResources {
101
96
  /**
102
97
  * Delete the specified shared private link resource
103
98
  * @param sharedPrivateLinkResourceName The name of the shared private link resource
104
- * @param resourceGroupName The name of the resource group that contains the resource. You can obtain
105
- * this value from the Azure Resource Manager API or the portal.
99
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
106
100
  * @param resourceName The name of the resource.
107
101
  * @param options The options parameters.
108
102
  */
@@ -23,6 +23,7 @@ import {
23
23
  WebPubSubHubsImpl,
24
24
  WebPubSubPrivateEndpointConnectionsImpl,
25
25
  WebPubSubPrivateLinkResourcesImpl,
26
+ WebPubSubReplicasImpl,
26
27
  WebPubSubSharedPrivateLinkResourcesImpl
27
28
  } from "./operations";
28
29
  import {
@@ -34,6 +35,7 @@ import {
34
35
  WebPubSubHubs,
35
36
  WebPubSubPrivateEndpointConnections,
36
37
  WebPubSubPrivateLinkResources,
38
+ WebPubSubReplicas,
37
39
  WebPubSubSharedPrivateLinkResources
38
40
  } from "./operationsInterfaces";
39
41
  import { WebPubSubManagementClientOptionalParams } from "./models";
@@ -46,8 +48,7 @@ export class WebPubSubManagementClient extends coreClient.ServiceClient {
46
48
  /**
47
49
  * Initializes a new instance of the WebPubSubManagementClient class.
48
50
  * @param credentials Subscription credentials which uniquely identify client subscription.
49
- * @param subscriptionId Gets subscription Id which uniquely identify the Microsoft Azure subscription.
50
- * The subscription ID forms part of the URI for every service call.
51
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
51
52
  * @param options The parameter options
52
53
  */
53
54
  constructor(
@@ -71,7 +72,7 @@ export class WebPubSubManagementClient extends coreClient.ServiceClient {
71
72
  credential: credentials
72
73
  };
73
74
 
74
- const packageDetails = `azsdk-js-arm-webpubsub/1.1.1`;
75
+ const packageDetails = `azsdk-js-arm-webpubsub/2.0.0-beta.1`;
75
76
  const userAgentPrefix =
76
77
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
77
78
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -124,7 +125,7 @@ export class WebPubSubManagementClient extends coreClient.ServiceClient {
124
125
 
125
126
  // Assigning values to Constant parameters
126
127
  this.$host = options.$host || "https://management.azure.com";
127
- this.apiVersion = options.apiVersion || "2023-02-01";
128
+ this.apiVersion = options.apiVersion || "2023-06-01-preview";
128
129
  this.operations = new OperationsImpl(this);
129
130
  this.webPubSub = new WebPubSubImpl(this);
130
131
  this.usages = new UsagesImpl(this);
@@ -139,6 +140,7 @@ export class WebPubSubManagementClient extends coreClient.ServiceClient {
139
140
  this.webPubSubPrivateLinkResources = new WebPubSubPrivateLinkResourcesImpl(
140
141
  this
141
142
  );
143
+ this.webPubSubReplicas = new WebPubSubReplicasImpl(this);
142
144
  this.webPubSubSharedPrivateLinkResources = new WebPubSubSharedPrivateLinkResourcesImpl(
143
145
  this
144
146
  );
@@ -181,5 +183,6 @@ export class WebPubSubManagementClient extends coreClient.ServiceClient {
181
183
  webPubSubHubs: WebPubSubHubs;
182
184
  webPubSubPrivateEndpointConnections: WebPubSubPrivateEndpointConnections;
183
185
  webPubSubPrivateLinkResources: WebPubSubPrivateLinkResources;
186
+ webPubSubReplicas: WebPubSubReplicas;
184
187
  webPubSubSharedPrivateLinkResources: WebPubSubSharedPrivateLinkResources;
185
188
  }