@azure/arm-servicebus 5.0.0-beta.1 → 5.0.0

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 (250) hide show
  1. package/CHANGELOG.md +6 -11
  2. package/README.md +8 -3
  3. package/dist/index.js +1809 -2812
  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/{index.d.ts → src/index.d.ts} +0 -1
  8. package/dist-esm/src/index.d.ts.map +1 -0
  9. package/dist-esm/{index.js → src/index.js} +0 -1
  10. package/dist-esm/src/index.js.map +1 -0
  11. package/dist-esm/{lroImpl.d.ts → src/lroImpl.d.ts} +0 -0
  12. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  13. package/dist-esm/{lroImpl.js → src/lroImpl.js} +0 -0
  14. package/dist-esm/src/lroImpl.js.map +1 -0
  15. package/dist-esm/{models → src/models}/index.d.ts +418 -474
  16. package/dist-esm/src/models/index.d.ts.map +1 -0
  17. package/dist-esm/{models → src/models}/index.js +19 -11
  18. package/dist-esm/src/models/index.js.map +1 -0
  19. package/dist-esm/{models → src/models}/mappers.d.ts +18 -26
  20. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  21. package/dist-esm/{models → src/models}/mappers.js +580 -663
  22. package/dist-esm/src/models/mappers.js.map +1 -0
  23. package/dist-esm/{models → src/models}/parameters.d.ts +12 -18
  24. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  25. package/dist-esm/{models → src/models}/parameters.js +54 -106
  26. package/dist-esm/src/models/parameters.js.map +1 -0
  27. package/dist-esm/{operations → src/operations}/disasterRecoveryConfigs.d.ts +2 -3
  28. package/dist-esm/src/operations/disasterRecoveryConfigs.d.ts.map +1 -0
  29. package/dist-esm/{operations → src/operations}/disasterRecoveryConfigs.js +27 -28
  30. package/dist-esm/src/operations/disasterRecoveryConfigs.js.map +1 -0
  31. package/dist-esm/{operationsInterfaces → src/operations}/index.d.ts +3 -6
  32. package/dist-esm/src/operations/index.d.ts.map +1 -0
  33. package/dist-esm/{operations → src/operations}/index.js +3 -6
  34. package/dist-esm/src/operations/index.js.map +1 -0
  35. package/dist-esm/{operations → src/operations}/migrationConfigs.d.ts +2 -3
  36. package/dist-esm/src/operations/migrationConfigs.d.ts.map +1 -0
  37. package/dist-esm/{operations → src/operations}/migrationConfigs.js +15 -16
  38. package/dist-esm/src/operations/migrationConfigs.js.map +1 -0
  39. package/dist-esm/{operationsInterfaces → src/operations}/namespaces.d.ts +52 -55
  40. package/dist-esm/src/operations/namespaces.d.ts.map +1 -0
  41. package/dist-esm/{operations → src/operations}/namespaces.js +89 -554
  42. package/dist-esm/src/operations/namespaces.js.map +1 -0
  43. package/dist-esm/{operations → src/operations}/operations.d.ts +2 -3
  44. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  45. package/dist-esm/{operations → src/operations}/operations.js +0 -1
  46. package/dist-esm/src/operations/operations.js.map +1 -0
  47. package/dist-esm/{operations → src/operations}/privateEndpointConnections.d.ts +2 -3
  48. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  49. package/dist-esm/{operations → src/operations}/privateEndpointConnections.js +11 -12
  50. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  51. package/dist-esm/{operations → src/operations}/privateLinkResources.d.ts +2 -2
  52. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  53. package/dist-esm/{operations → src/operations}/privateLinkResources.js +2 -2
  54. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  55. package/dist-esm/{operations → src/operations}/queues.d.ts +2 -3
  56. package/dist-esm/src/operations/queues.d.ts.map +1 -0
  57. package/dist-esm/{operations → src/operations}/queues.js +27 -28
  58. package/dist-esm/src/operations/queues.js.map +1 -0
  59. package/dist-esm/{operations → src/operations}/rules.d.ts +2 -3
  60. package/dist-esm/src/operations/rules.d.ts.map +1 -0
  61. package/dist-esm/{operations → src/operations}/rules.js +11 -12
  62. package/dist-esm/src/operations/rules.js.map +1 -0
  63. package/dist-esm/{operations → src/operations}/subscriptions.d.ts +2 -3
  64. package/dist-esm/src/operations/subscriptions.d.ts.map +1 -0
  65. package/dist-esm/{operations → src/operations}/subscriptions.js +11 -12
  66. package/dist-esm/src/operations/subscriptions.js.map +1 -0
  67. package/dist-esm/{operations → src/operations}/topics.d.ts +2 -3
  68. package/dist-esm/src/operations/topics.d.ts.map +1 -0
  69. package/dist-esm/{operations → src/operations}/topics.js +27 -28
  70. package/dist-esm/src/operations/topics.js.map +1 -0
  71. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/disasterRecoveryConfigs.d.ts +0 -1
  72. package/dist-esm/src/operationsInterfaces/disasterRecoveryConfigs.d.ts.map +1 -0
  73. package/dist-esm/src/operationsInterfaces/disasterRecoveryConfigs.js +9 -0
  74. package/dist-esm/src/operationsInterfaces/disasterRecoveryConfigs.js.map +1 -0
  75. package/dist-esm/{operations → src/operationsInterfaces}/index.d.ts +3 -6
  76. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  77. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/index.js +3 -6
  78. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  79. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/migrationConfigs.d.ts +0 -1
  80. package/dist-esm/src/operationsInterfaces/migrationConfigs.d.ts.map +1 -0
  81. package/dist-esm/src/operationsInterfaces/migrationConfigs.js +9 -0
  82. package/dist-esm/src/operationsInterfaces/migrationConfigs.js.map +1 -0
  83. package/dist-esm/src/operationsInterfaces/namespaces.d.ts +145 -0
  84. package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -0
  85. package/dist-esm/src/operationsInterfaces/namespaces.js +9 -0
  86. package/dist-esm/src/operationsInterfaces/namespaces.js.map +1 -0
  87. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/operations.d.ts +0 -1
  88. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  89. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  90. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  91. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/privateEndpointConnections.d.ts +0 -1
  92. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  93. package/dist-esm/{operationsInterfaces/regions.js → src/operationsInterfaces/privateEndpointConnections.js} +2 -2
  94. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  95. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/privateLinkResources.d.ts +0 -0
  96. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  97. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/privateLinkResources.js +0 -0
  98. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  99. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/queues.d.ts +0 -1
  100. package/dist-esm/src/operationsInterfaces/queues.d.ts.map +1 -0
  101. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/queues.js +1 -1
  102. package/dist-esm/src/operationsInterfaces/queues.js.map +1 -0
  103. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/rules.d.ts +0 -1
  104. package/dist-esm/src/operationsInterfaces/rules.d.ts.map +1 -0
  105. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/rules.js +1 -1
  106. package/dist-esm/src/operationsInterfaces/rules.js.map +1 -0
  107. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/subscriptions.d.ts +0 -1
  108. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +1 -0
  109. package/dist-esm/src/operationsInterfaces/subscriptions.js +9 -0
  110. package/dist-esm/src/operationsInterfaces/subscriptions.js.map +1 -0
  111. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/topics.d.ts +0 -1
  112. package/dist-esm/src/operationsInterfaces/topics.d.ts.map +1 -0
  113. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/topics.js +1 -1
  114. package/dist-esm/src/operationsInterfaces/topics.js.map +1 -0
  115. package/dist-esm/{serviceBusManagementClient.d.ts → src/serviceBusManagementClient.d.ts} +9 -9
  116. package/dist-esm/src/serviceBusManagementClient.d.ts.map +1 -0
  117. package/dist-esm/{serviceBusManagementClientContext.js → src/serviceBusManagementClient.js} +16 -5
  118. package/dist-esm/src/serviceBusManagementClient.js.map +1 -0
  119. package/dist-esm/test/sampleTest.d.ts +4 -0
  120. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  121. package/dist-esm/test/sampleTest.js +188 -0
  122. package/dist-esm/test/sampleTest.js.map +1 -0
  123. package/package.json +19 -25
  124. package/review/arm-servicebus.api.md +90 -248
  125. package/src/index.ts +0 -1
  126. package/src/models/index.ts +456 -552
  127. package/src/models/mappers.ts +576 -667
  128. package/src/models/parameters.ts +60 -121
  129. package/src/operations/disasterRecoveryConfigs.ts +30 -31
  130. package/src/operations/index.ts +3 -6
  131. package/src/operations/migrationConfigs.ts +18 -19
  132. package/src/operations/namespaces.ts +108 -745
  133. package/src/operations/operations.ts +3 -4
  134. package/src/operations/privateEndpointConnections.ts +14 -15
  135. package/src/operations/privateLinkResources.ts +5 -5
  136. package/src/operations/queues.ts +30 -31
  137. package/src/operations/rules.ts +14 -15
  138. package/src/operations/subscriptions.ts +14 -15
  139. package/src/operations/topics.ts +30 -31
  140. package/src/operationsInterfaces/disasterRecoveryConfigs.ts +0 -1
  141. package/src/operationsInterfaces/index.ts +3 -6
  142. package/src/operationsInterfaces/migrationConfigs.ts +0 -1
  143. package/src/operationsInterfaces/namespaces.ts +21 -155
  144. package/src/operationsInterfaces/operations.ts +0 -1
  145. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -1
  146. package/src/operationsInterfaces/queues.ts +0 -1
  147. package/src/operationsInterfaces/rules.ts +0 -1
  148. package/src/operationsInterfaces/subscriptions.ts +0 -1
  149. package/src/operationsInterfaces/topics.ts +0 -1
  150. package/src/serviceBusManagementClient.ts +58 -29
  151. package/tsconfig.json +1 -1
  152. package/types/arm-servicebus.d.ts +188 -398
  153. package/types/tsdoc-metadata.json +1 -1
  154. package/dist-esm/index.d.ts.map +0 -1
  155. package/dist-esm/index.js.map +0 -1
  156. package/dist-esm/lroImpl.d.ts.map +0 -1
  157. package/dist-esm/lroImpl.js.map +0 -1
  158. package/dist-esm/models/index.d.ts.map +0 -1
  159. package/dist-esm/models/index.js.map +0 -1
  160. package/dist-esm/models/mappers.d.ts.map +0 -1
  161. package/dist-esm/models/mappers.js.map +0 -1
  162. package/dist-esm/models/parameters.d.ts.map +0 -1
  163. package/dist-esm/models/parameters.js.map +0 -1
  164. package/dist-esm/operations/disasterRecoveryConfigs.d.ts.map +0 -1
  165. package/dist-esm/operations/disasterRecoveryConfigs.js.map +0 -1
  166. package/dist-esm/operations/eventHubs.d.ts +0 -39
  167. package/dist-esm/operations/eventHubs.d.ts.map +0 -1
  168. package/dist-esm/operations/eventHubs.js +0 -138
  169. package/dist-esm/operations/eventHubs.js.map +0 -1
  170. package/dist-esm/operations/index.d.ts.map +0 -1
  171. package/dist-esm/operations/index.js.map +0 -1
  172. package/dist-esm/operations/migrationConfigs.d.ts.map +0 -1
  173. package/dist-esm/operations/migrationConfigs.js.map +0 -1
  174. package/dist-esm/operations/namespaces.d.ts +0 -323
  175. package/dist-esm/operations/namespaces.d.ts.map +0 -1
  176. package/dist-esm/operations/namespaces.js.map +0 -1
  177. package/dist-esm/operations/operations.d.ts.map +0 -1
  178. package/dist-esm/operations/operations.js.map +0 -1
  179. package/dist-esm/operations/premiumMessagingRegionsOperations.d.ts +0 -33
  180. package/dist-esm/operations/premiumMessagingRegionsOperations.d.ts.map +0 -1
  181. package/dist-esm/operations/premiumMessagingRegionsOperations.js +0 -125
  182. package/dist-esm/operations/premiumMessagingRegionsOperations.js.map +0 -1
  183. package/dist-esm/operations/privateEndpointConnections.d.ts.map +0 -1
  184. package/dist-esm/operations/privateEndpointConnections.js.map +0 -1
  185. package/dist-esm/operations/privateLinkResources.d.ts.map +0 -1
  186. package/dist-esm/operations/privateLinkResources.js.map +0 -1
  187. package/dist-esm/operations/queues.d.ts.map +0 -1
  188. package/dist-esm/operations/queues.js.map +0 -1
  189. package/dist-esm/operations/regions.d.ts +0 -36
  190. package/dist-esm/operations/regions.d.ts.map +0 -1
  191. package/dist-esm/operations/regions.js +0 -129
  192. package/dist-esm/operations/regions.js.map +0 -1
  193. package/dist-esm/operations/rules.d.ts.map +0 -1
  194. package/dist-esm/operations/rules.js.map +0 -1
  195. package/dist-esm/operations/subscriptions.d.ts.map +0 -1
  196. package/dist-esm/operations/subscriptions.js.map +0 -1
  197. package/dist-esm/operations/topics.d.ts.map +0 -1
  198. package/dist-esm/operations/topics.js.map +0 -1
  199. package/dist-esm/operationsInterfaces/disasterRecoveryConfigs.d.ts.map +0 -1
  200. package/dist-esm/operationsInterfaces/disasterRecoveryConfigs.js +0 -9
  201. package/dist-esm/operationsInterfaces/disasterRecoveryConfigs.js.map +0 -1
  202. package/dist-esm/operationsInterfaces/eventHubs.d.ts +0 -14
  203. package/dist-esm/operationsInterfaces/eventHubs.d.ts.map +0 -1
  204. package/dist-esm/operationsInterfaces/eventHubs.js +0 -9
  205. package/dist-esm/operationsInterfaces/eventHubs.js.map +0 -1
  206. package/dist-esm/operationsInterfaces/index.d.ts.map +0 -1
  207. package/dist-esm/operationsInterfaces/index.js.map +0 -1
  208. package/dist-esm/operationsInterfaces/migrationConfigs.d.ts.map +0 -1
  209. package/dist-esm/operationsInterfaces/migrationConfigs.js +0 -9
  210. package/dist-esm/operationsInterfaces/migrationConfigs.js.map +0 -1
  211. package/dist-esm/operationsInterfaces/namespaces.d.ts.map +0 -1
  212. package/dist-esm/operationsInterfaces/namespaces.js +0 -9
  213. package/dist-esm/operationsInterfaces/namespaces.js.map +0 -1
  214. package/dist-esm/operationsInterfaces/operations.d.ts.map +0 -1
  215. package/dist-esm/operationsInterfaces/operations.js +0 -9
  216. package/dist-esm/operationsInterfaces/operations.js.map +0 -1
  217. package/dist-esm/operationsInterfaces/premiumMessagingRegionsOperations.d.ts +0 -12
  218. package/dist-esm/operationsInterfaces/premiumMessagingRegionsOperations.d.ts.map +0 -1
  219. package/dist-esm/operationsInterfaces/premiumMessagingRegionsOperations.js +0 -9
  220. package/dist-esm/operationsInterfaces/premiumMessagingRegionsOperations.js.map +0 -1
  221. package/dist-esm/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  222. package/dist-esm/operationsInterfaces/privateEndpointConnections.js +0 -9
  223. package/dist-esm/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  224. package/dist-esm/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  225. package/dist-esm/operationsInterfaces/privateLinkResources.js.map +0 -1
  226. package/dist-esm/operationsInterfaces/queues.d.ts.map +0 -1
  227. package/dist-esm/operationsInterfaces/queues.js.map +0 -1
  228. package/dist-esm/operationsInterfaces/regions.d.ts +0 -13
  229. package/dist-esm/operationsInterfaces/regions.d.ts.map +0 -1
  230. package/dist-esm/operationsInterfaces/regions.js.map +0 -1
  231. package/dist-esm/operationsInterfaces/rules.d.ts.map +0 -1
  232. package/dist-esm/operationsInterfaces/rules.js.map +0 -1
  233. package/dist-esm/operationsInterfaces/subscriptions.d.ts.map +0 -1
  234. package/dist-esm/operationsInterfaces/subscriptions.js +0 -9
  235. package/dist-esm/operationsInterfaces/subscriptions.js.map +0 -1
  236. package/dist-esm/operationsInterfaces/topics.d.ts.map +0 -1
  237. package/dist-esm/operationsInterfaces/topics.js.map +0 -1
  238. package/dist-esm/serviceBusManagementClient.d.ts.map +0 -1
  239. package/dist-esm/serviceBusManagementClient.js +0 -35
  240. package/dist-esm/serviceBusManagementClient.js.map +0 -1
  241. package/dist-esm/serviceBusManagementClientContext.d.ts +0 -17
  242. package/dist-esm/serviceBusManagementClientContext.d.ts.map +0 -1
  243. package/dist-esm/serviceBusManagementClientContext.js.map +0 -1
  244. package/src/operations/eventHubs.ts +0 -190
  245. package/src/operations/premiumMessagingRegionsOperations.ts +0 -144
  246. package/src/operations/regions.ts +0 -155
  247. package/src/operationsInterfaces/eventHubs.ts +0 -27
  248. package/src/operationsInterfaces/premiumMessagingRegionsOperations.ts +0 -26
  249. package/src/operationsInterfaces/regions.ts +0 -28
  250. package/src/serviceBusManagementClientContext.ts +0 -71
package/CHANGELOG.md CHANGED
@@ -1,16 +1,11 @@
1
1
  # Release History
2
+
3
+ ## 5.0.0 (2021-12-14)
2
4
 
3
- ## 5.0.0-beta.1 (2021-10-09)
5
+ The package of @azure/arm-servicebus is using our next generation design principles since version 5.0.0-beta.2, which contains breaking changes.
4
6
 
5
- This is the first preview for the new version of the `@azure/arm-servicebus` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
7
+ To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
6
8
 
7
- While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/).
9
+ To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
8
10
 
9
- Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies.
10
-
11
- **Noteworthy changes and features**
12
- - Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
13
- - Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
14
- - List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page.
15
- - Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`.
16
- - The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
11
+ To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ServiceBusManagement client.
4
4
 
5
- Azure Service Bus client for managing Namespace, IPFilter Rules, VirtualNetworkRules and Zone Redundant
5
+ Azure Service Bus client for managing Namespace
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/arm-servicebus) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-servicebus) |
@@ -33,9 +33,9 @@ npm install @azure/arm-servicebus
33
33
  To create a client object to access the Azure ServiceBusManagement API, you will need the `endpoint` of your Azure ServiceBusManagement resource and a `credential`. The Azure ServiceBusManagement client can use Azure Active Directory credentials to authenticate.
34
34
  You can find the endpoint for your Azure ServiceBusManagement resource in the [Azure Portal][azure_portal].
35
35
 
36
- #### Using an Azure Active Directory Credential
36
+ You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
37
37
 
38
- You can authenticate with Azure Active Directory using the [Azure Identity library][azure_identity]. To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
38
+ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
39
39
 
40
40
  ```bash
41
41
  npm install @azure/identity
@@ -45,6 +45,7 @@ You will also need to **register a new AAD application and grant access to Azure
45
45
  Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
46
46
 
47
47
  For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
48
+
48
49
  ```javascript
49
50
  const { ServiceBusManagementClient } = require("@azure/arm-servicebus");
50
51
  const { DefaultAzureCredential } = require("@azure/identity");
@@ -52,6 +53,10 @@ const subscriptionId = "00000000-0000-0000-0000-000000000000";
52
53
  const client = new ServiceBusManagementClient(new DefaultAzureCredential(), subscriptionId);
53
54
  ```
54
55
 
56
+
57
+ ### JavaScript Bundle
58
+ To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
59
+
55
60
  ## Key concepts
56
61
 
57
62
  ### ServiceBusManagementClient