@azure/arm-notificationhubs 3.0.0-beta.1 → 3.0.0-beta.2

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 (482) hide show
  1. package/CHANGELOG.md +15 -5
  2. package/LICENSE +4 -4
  3. package/README.md +25 -18
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{src/index.ts → dist/browser/index.js} +5 -6
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.d.ts +1 -1
  9. package/dist/browser/lroImpl.d.ts.map +1 -0
  10. package/dist/browser/lroImpl.js +18 -0
  11. package/dist/browser/lroImpl.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/index.d.ts +1 -1
  13. package/dist/browser/models/index.d.ts.map +1 -0
  14. package/dist/browser/models/index.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/mappers.d.ts +1 -1
  16. package/dist/browser/models/mappers.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/mappers.js +170 -80
  18. package/dist/browser/models/mappers.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/parameters.d.ts +1 -1
  20. package/dist/browser/models/parameters.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  22. package/dist/browser/models/parameters.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/notificationHubsManagementClient.d.ts +3 -3
  24. package/dist/browser/notificationHubsManagementClient.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/notificationHubsManagementClient.js +33 -26
  26. package/dist/browser/notificationHubsManagementClient.js.map +1 -0
  27. package/dist/browser/operations/index.d.ts +5 -0
  28. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  29. package/{dist-esm/src → dist/browser}/operations/index.js +4 -4
  30. package/dist/browser/operations/index.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/namespaces.d.ts +5 -5
  32. package/dist/browser/operations/namespaces.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/namespaces.js +118 -184
  34. package/dist/browser/operations/namespaces.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/notificationHubs.d.ts +4 -4
  36. package/dist/browser/operations/notificationHubs.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/notificationHubs.js +49 -87
  38. package/dist/browser/operations/notificationHubs.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +4 -4
  40. package/dist/browser/operations/operations.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
  42. package/dist/browser/operations/operations.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +5 -5
  44. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +116 -148
  46. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  47. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  49. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +4 -4
  50. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/namespaces.d.ts +3 -3
  52. package/dist/browser/operationsInterfaces/namespaces.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/namespaces.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/notificationHubs.d.ts +2 -2
  55. package/dist/browser/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/notificationHubs.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +2 -2
  58. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  61. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  63. package/dist/browser/package.json +3 -0
  64. package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +1 -1
  65. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  66. package/dist/browser/pagingHelper.js.map +1 -0
  67. package/dist/commonjs/index.d.ts +5 -0
  68. package/dist/commonjs/index.d.ts.map +1 -0
  69. package/dist/commonjs/index.js +18 -0
  70. package/dist/commonjs/index.js.map +1 -0
  71. package/dist/commonjs/lroImpl.d.ts +11 -0
  72. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  73. package/dist/commonjs/lroImpl.js +21 -0
  74. package/dist/commonjs/lroImpl.js.map +1 -0
  75. package/{types/arm-notificationhubs.d.ts → dist/commonjs/models/index.d.ts} +1606 -2131
  76. package/dist/commonjs/models/index.d.ts.map +1 -0
  77. package/dist/commonjs/models/index.js +157 -0
  78. package/dist/commonjs/models/index.js.map +1 -0
  79. package/dist/commonjs/models/mappers.d.ts +60 -0
  80. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  81. package/dist/commonjs/models/mappers.js +2509 -0
  82. package/dist/commonjs/models/mappers.js.map +1 -0
  83. package/dist/commonjs/models/parameters.d.ts +24 -0
  84. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  85. package/dist/commonjs/models/parameters.js +215 -0
  86. package/dist/commonjs/models/parameters.js.map +1 -0
  87. package/dist/commonjs/notificationHubsManagementClient.d.ts +23 -0
  88. package/dist/commonjs/notificationHubsManagementClient.d.ts.map +1 -0
  89. package/dist/commonjs/notificationHubsManagementClient.js +115 -0
  90. package/dist/commonjs/notificationHubsManagementClient.js.map +1 -0
  91. package/dist/commonjs/operations/index.d.ts +5 -0
  92. package/dist/commonjs/operations/index.d.ts.map +1 -0
  93. package/dist/commonjs/operations/index.js +15 -0
  94. package/dist/commonjs/operations/index.js.map +1 -0
  95. package/dist/commonjs/operations/namespaces.d.ts +173 -0
  96. package/dist/commonjs/operations/namespaces.d.ts.map +1 -0
  97. package/dist/commonjs/operations/namespaces.js +749 -0
  98. package/dist/commonjs/operations/namespaces.js.map +1 -0
  99. package/dist/commonjs/operations/notificationHubs.d.ts +170 -0
  100. package/dist/commonjs/operations/notificationHubs.d.ts.map +1 -0
  101. package/dist/commonjs/operations/notificationHubs.js +711 -0
  102. package/dist/commonjs/operations/notificationHubs.js.map +1 -0
  103. package/dist/commonjs/operations/operations.d.ts +32 -0
  104. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  105. package/dist/commonjs/operations/operations.js +121 -0
  106. package/dist/commonjs/operations/operations.js.map +1 -0
  107. package/dist/commonjs/operations/privateEndpointConnections.d.ts +114 -0
  108. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  109. package/dist/commonjs/operations/privateEndpointConnections.js +439 -0
  110. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  112. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  114. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/namespaces.d.ts +120 -0
  116. package/dist/commonjs/operationsInterfaces/namespaces.d.ts.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/namespaces.js +10 -0
  118. package/dist/commonjs/operationsInterfaces/namespaces.js.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/notificationHubs.d.ts +126 -0
  120. package/dist/commonjs/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/notificationHubs.js +10 -0
  122. package/dist/commonjs/operationsInterfaces/notificationHubs.js.map +1 -0
  123. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  124. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  125. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  126. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  127. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
  128. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  129. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  130. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  131. package/dist/commonjs/package.json +3 -0
  132. package/dist/commonjs/pagingHelper.d.ts +13 -0
  133. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  134. package/dist/commonjs/pagingHelper.js +34 -0
  135. package/dist/commonjs/pagingHelper.js.map +1 -0
  136. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  137. package/dist/esm/index.d.ts +5 -0
  138. package/dist/esm/index.d.ts.map +1 -0
  139. package/{dist-esm/src → dist/esm}/index.js +4 -5
  140. package/dist/esm/index.js.map +1 -0
  141. package/dist/esm/lroImpl.d.ts +11 -0
  142. package/dist/esm/lroImpl.d.ts.map +1 -0
  143. package/dist/esm/lroImpl.js +18 -0
  144. package/dist/esm/lroImpl.js.map +1 -0
  145. package/dist/esm/models/index.d.ts +1606 -0
  146. package/dist/esm/models/index.d.ts.map +1 -0
  147. package/dist/esm/models/index.js +154 -0
  148. package/dist/esm/models/index.js.map +1 -0
  149. package/dist/esm/models/mappers.d.ts +60 -0
  150. package/dist/esm/models/mappers.d.ts.map +1 -0
  151. package/dist/esm/models/mappers.js +2505 -0
  152. package/dist/esm/models/mappers.js.map +1 -0
  153. package/dist/esm/models/parameters.d.ts +24 -0
  154. package/dist/esm/models/parameters.d.ts.map +1 -0
  155. package/dist/esm/models/parameters.js +212 -0
  156. package/dist/esm/models/parameters.js.map +1 -0
  157. package/dist/esm/notificationHubsManagementClient.d.ts +23 -0
  158. package/dist/esm/notificationHubsManagementClient.d.ts.map +1 -0
  159. package/dist/esm/notificationHubsManagementClient.js +110 -0
  160. package/dist/esm/notificationHubsManagementClient.js.map +1 -0
  161. package/dist/esm/operations/index.d.ts +5 -0
  162. package/dist/esm/operations/index.d.ts.map +1 -0
  163. package/dist/esm/operations/index.js +12 -0
  164. package/dist/esm/operations/index.js.map +1 -0
  165. package/dist/esm/operations/namespaces.d.ts +173 -0
  166. package/dist/esm/operations/namespaces.d.ts.map +1 -0
  167. package/dist/esm/operations/namespaces.js +744 -0
  168. package/dist/esm/operations/namespaces.js.map +1 -0
  169. package/dist/esm/operations/notificationHubs.d.ts +170 -0
  170. package/dist/esm/operations/notificationHubs.d.ts.map +1 -0
  171. package/dist/esm/operations/notificationHubs.js +706 -0
  172. package/dist/esm/operations/notificationHubs.js.map +1 -0
  173. package/dist/esm/operations/operations.d.ts +32 -0
  174. package/dist/esm/operations/operations.d.ts.map +1 -0
  175. package/dist/esm/operations/operations.js +116 -0
  176. package/dist/esm/operations/operations.js.map +1 -0
  177. package/dist/esm/operations/privateEndpointConnections.d.ts +114 -0
  178. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  179. package/dist/esm/operations/privateEndpointConnections.js +434 -0
  180. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  181. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  182. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  183. package/dist/esm/operationsInterfaces/index.js +12 -0
  184. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  185. package/dist/esm/operationsInterfaces/namespaces.d.ts +120 -0
  186. package/dist/esm/operationsInterfaces/namespaces.d.ts.map +1 -0
  187. package/dist/esm/operationsInterfaces/namespaces.js +9 -0
  188. package/dist/esm/operationsInterfaces/namespaces.js.map +1 -0
  189. package/dist/esm/operationsInterfaces/notificationHubs.d.ts +126 -0
  190. package/dist/esm/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  191. package/dist/esm/operationsInterfaces/notificationHubs.js +9 -0
  192. package/dist/esm/operationsInterfaces/notificationHubs.js.map +1 -0
  193. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  194. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  195. package/dist/esm/operationsInterfaces/operations.js +9 -0
  196. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  197. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
  198. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  199. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  200. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  201. package/dist/esm/package.json +3 -0
  202. package/dist/esm/pagingHelper.d.ts +13 -0
  203. package/dist/esm/pagingHelper.d.ts.map +1 -0
  204. package/dist/esm/pagingHelper.js +30 -0
  205. package/dist/esm/pagingHelper.js.map +1 -0
  206. package/dist/react-native/index.d.ts +5 -0
  207. package/dist/react-native/index.d.ts.map +1 -0
  208. package/dist/react-native/index.js +12 -0
  209. package/dist/react-native/index.js.map +1 -0
  210. package/dist/react-native/lroImpl.d.ts +11 -0
  211. package/dist/react-native/lroImpl.d.ts.map +1 -0
  212. package/dist/react-native/lroImpl.js +18 -0
  213. package/dist/react-native/lroImpl.js.map +1 -0
  214. package/dist/react-native/models/index.d.ts +1606 -0
  215. package/dist/react-native/models/index.d.ts.map +1 -0
  216. package/dist/react-native/models/index.js +154 -0
  217. package/dist/react-native/models/index.js.map +1 -0
  218. package/dist/react-native/models/mappers.d.ts +60 -0
  219. package/dist/react-native/models/mappers.d.ts.map +1 -0
  220. package/dist/react-native/models/mappers.js +2505 -0
  221. package/dist/react-native/models/mappers.js.map +1 -0
  222. package/dist/react-native/models/parameters.d.ts +24 -0
  223. package/dist/react-native/models/parameters.d.ts.map +1 -0
  224. package/dist/react-native/models/parameters.js +212 -0
  225. package/dist/react-native/models/parameters.js.map +1 -0
  226. package/dist/react-native/notificationHubsManagementClient.d.ts +23 -0
  227. package/dist/react-native/notificationHubsManagementClient.d.ts.map +1 -0
  228. package/dist/react-native/notificationHubsManagementClient.js +110 -0
  229. package/dist/react-native/notificationHubsManagementClient.js.map +1 -0
  230. package/dist/react-native/operations/index.d.ts +5 -0
  231. package/dist/react-native/operations/index.d.ts.map +1 -0
  232. package/dist/react-native/operations/index.js +12 -0
  233. package/dist/react-native/operations/index.js.map +1 -0
  234. package/dist/react-native/operations/namespaces.d.ts +173 -0
  235. package/dist/react-native/operations/namespaces.d.ts.map +1 -0
  236. package/dist/react-native/operations/namespaces.js +744 -0
  237. package/dist/react-native/operations/namespaces.js.map +1 -0
  238. package/dist/react-native/operations/notificationHubs.d.ts +170 -0
  239. package/dist/react-native/operations/notificationHubs.d.ts.map +1 -0
  240. package/dist/react-native/operations/notificationHubs.js +706 -0
  241. package/dist/react-native/operations/notificationHubs.js.map +1 -0
  242. package/dist/react-native/operations/operations.d.ts +32 -0
  243. package/dist/react-native/operations/operations.d.ts.map +1 -0
  244. package/dist/react-native/operations/operations.js +116 -0
  245. package/dist/react-native/operations/operations.js.map +1 -0
  246. package/dist/react-native/operations/privateEndpointConnections.d.ts +114 -0
  247. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  248. package/dist/react-native/operations/privateEndpointConnections.js +434 -0
  249. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  250. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  251. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  252. package/dist/react-native/operationsInterfaces/index.js +12 -0
  253. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  254. package/dist/react-native/operationsInterfaces/namespaces.d.ts +120 -0
  255. package/dist/react-native/operationsInterfaces/namespaces.d.ts.map +1 -0
  256. package/dist/react-native/operationsInterfaces/namespaces.js +9 -0
  257. package/dist/react-native/operationsInterfaces/namespaces.js.map +1 -0
  258. package/dist/react-native/operationsInterfaces/notificationHubs.d.ts +126 -0
  259. package/dist/react-native/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  260. package/dist/react-native/operationsInterfaces/notificationHubs.js +9 -0
  261. package/dist/react-native/operationsInterfaces/notificationHubs.js.map +1 -0
  262. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  263. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  264. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  265. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  266. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
  267. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  268. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  269. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  270. package/dist/react-native/package.json +3 -0
  271. package/dist/react-native/pagingHelper.d.ts +13 -0
  272. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  273. package/dist/react-native/pagingHelper.js +30 -0
  274. package/dist/react-native/pagingHelper.js.map +1 -0
  275. package/package.json +88 -72
  276. package/review/{arm-notificationhubs.api.md → arm-notificationhubs-node.api.md} +4 -4
  277. package/dist/index.js +0 -5155
  278. package/dist/index.js.map +0 -1
  279. package/dist/index.min.js +0 -1
  280. package/dist/index.min.js.map +0 -1
  281. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.d.ts +0 -2
  282. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js +0 -40
  284. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js.map +0 -1
  285. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.d.ts +0 -2
  286. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js +0 -43
  288. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js.map +0 -1
  289. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts +0 -2
  290. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts.map +0 -1
  291. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +0 -51
  292. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js.map +0 -1
  293. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.d.ts +0 -2
  294. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.d.ts.map +0 -1
  295. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js +0 -40
  296. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js.map +0 -1
  297. package/dist-esm/samples-dev/namespacesDeleteSample.d.ts +0 -2
  298. package/dist-esm/samples-dev/namespacesDeleteSample.d.ts.map +0 -1
  299. package/dist-esm/samples-dev/namespacesDeleteSample.js +0 -39
  300. package/dist-esm/samples-dev/namespacesDeleteSample.js.map +0 -1
  301. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.d.ts +0 -2
  302. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js +0 -40
  304. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js.map +0 -1
  305. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts +0 -2
  306. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js +0 -39
  308. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js.map +0 -1
  309. package/dist-esm/samples-dev/namespacesGetSample.d.ts +0 -2
  310. package/dist-esm/samples-dev/namespacesGetSample.d.ts.map +0 -1
  311. package/dist-esm/samples-dev/namespacesGetSample.js +0 -39
  312. package/dist-esm/samples-dev/namespacesGetSample.js.map +0 -1
  313. package/dist-esm/samples-dev/namespacesListAllSample.d.ts +0 -2
  314. package/dist-esm/samples-dev/namespacesListAllSample.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/namespacesListAllSample.js +0 -53
  316. package/dist-esm/samples-dev/namespacesListAllSample.js.map +0 -1
  317. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.d.ts +0 -2
  318. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js +0 -55
  320. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js.map +0 -1
  321. package/dist-esm/samples-dev/namespacesListKeysSample.d.ts +0 -2
  322. package/dist-esm/samples-dev/namespacesListKeysSample.d.ts.map +0 -1
  323. package/dist-esm/samples-dev/namespacesListKeysSample.js +0 -40
  324. package/dist-esm/samples-dev/namespacesListKeysSample.js.map +0 -1
  325. package/dist-esm/samples-dev/namespacesListSample.d.ts +0 -2
  326. package/dist-esm/samples-dev/namespacesListSample.d.ts.map +0 -1
  327. package/dist-esm/samples-dev/namespacesListSample.js +0 -54
  328. package/dist-esm/samples-dev/namespacesListSample.js.map +0 -1
  329. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.d.ts +0 -2
  330. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.d.ts.map +0 -1
  331. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js +0 -41
  332. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js.map +0 -1
  333. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts +0 -2
  334. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts.map +0 -1
  335. package/dist-esm/samples-dev/namespacesUpdateSample.js +0 -51
  336. package/dist-esm/samples-dev/namespacesUpdateSample.js.map +0 -1
  337. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.d.ts +0 -2
  338. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.d.ts.map +0 -1
  339. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js +0 -43
  340. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js.map +0 -1
  341. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.d.ts +0 -2
  342. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.d.ts.map +0 -1
  343. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js +0 -44
  344. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js.map +0 -1
  345. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.d.ts +0 -2
  346. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.d.ts.map +0 -1
  347. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js +0 -41
  348. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js.map +0 -1
  349. package/dist-esm/samples-dev/notificationHubsDebugSendSample.d.ts +0 -2
  350. package/dist-esm/samples-dev/notificationHubsDebugSendSample.d.ts.map +0 -1
  351. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js +0 -40
  352. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js.map +0 -1
  353. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.d.ts +0 -2
  354. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.d.ts.map +0 -1
  355. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js +0 -41
  356. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js.map +0 -1
  357. package/dist-esm/samples-dev/notificationHubsDeleteSample.d.ts +0 -2
  358. package/dist-esm/samples-dev/notificationHubsDeleteSample.d.ts.map +0 -1
  359. package/dist-esm/samples-dev/notificationHubsDeleteSample.js +0 -40
  360. package/dist-esm/samples-dev/notificationHubsDeleteSample.js.map +0 -1
  361. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.d.ts +0 -2
  362. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.d.ts.map +0 -1
  363. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js +0 -41
  364. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js.map +0 -1
  365. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.d.ts +0 -2
  366. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.d.ts.map +0 -1
  367. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js +0 -40
  368. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js.map +0 -1
  369. package/dist-esm/samples-dev/notificationHubsGetSample.d.ts +0 -2
  370. package/dist-esm/samples-dev/notificationHubsGetSample.d.ts.map +0 -1
  371. package/dist-esm/samples-dev/notificationHubsGetSample.js +0 -40
  372. package/dist-esm/samples-dev/notificationHubsGetSample.js.map +0 -1
  373. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.d.ts +0 -2
  374. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.d.ts.map +0 -1
  375. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js +0 -56
  376. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js.map +0 -1
  377. package/dist-esm/samples-dev/notificationHubsListKeysSample.d.ts +0 -2
  378. package/dist-esm/samples-dev/notificationHubsListKeysSample.d.ts.map +0 -1
  379. package/dist-esm/samples-dev/notificationHubsListKeysSample.js +0 -41
  380. package/dist-esm/samples-dev/notificationHubsListKeysSample.js.map +0 -1
  381. package/dist-esm/samples-dev/notificationHubsListSample.d.ts +0 -2
  382. package/dist-esm/samples-dev/notificationHubsListSample.d.ts.map +0 -1
  383. package/dist-esm/samples-dev/notificationHubsListSample.js +0 -55
  384. package/dist-esm/samples-dev/notificationHubsListSample.js.map +0 -1
  385. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.d.ts +0 -2
  386. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.d.ts.map +0 -1
  387. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js +0 -42
  388. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js.map +0 -1
  389. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts +0 -2
  390. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts.map +0 -1
  391. package/dist-esm/samples-dev/notificationHubsUpdateSample.js +0 -47
  392. package/dist-esm/samples-dev/notificationHubsUpdateSample.js.map +0 -1
  393. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  394. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  396. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  397. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  398. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -42
  400. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  401. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts +0 -2
  402. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js +0 -42
  404. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js.map +0 -1
  405. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  406. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -42
  408. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  409. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts +0 -2
  410. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts.map +0 -1
  411. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js +0 -57
  412. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js.map +0 -1
  413. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  414. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  415. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -57
  416. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  417. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +0 -2
  418. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +0 -1
  419. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +0 -48
  420. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +0 -1
  421. package/dist-esm/src/index.d.ts +0 -6
  422. package/dist-esm/src/index.d.ts.map +0 -1
  423. package/dist-esm/src/index.js.map +0 -1
  424. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  425. package/dist-esm/src/lroImpl.js +0 -21
  426. package/dist-esm/src/lroImpl.js.map +0 -1
  427. package/dist-esm/src/models/index.d.ts.map +0 -1
  428. package/dist-esm/src/models/index.js.map +0 -1
  429. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  430. package/dist-esm/src/models/mappers.js.map +0 -1
  431. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  432. package/dist-esm/src/models/parameters.js.map +0 -1
  433. package/dist-esm/src/notificationHubsManagementClient.d.ts.map +0 -1
  434. package/dist-esm/src/notificationHubsManagementClient.js.map +0 -1
  435. package/dist-esm/src/operations/index.d.ts +0 -5
  436. package/dist-esm/src/operations/index.js.map +0 -1
  437. package/dist-esm/src/operations/namespaces.d.ts.map +0 -1
  438. package/dist-esm/src/operations/namespaces.js.map +0 -1
  439. package/dist-esm/src/operations/notificationHubs.d.ts.map +0 -1
  440. package/dist-esm/src/operations/notificationHubs.js.map +0 -1
  441. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  442. package/dist-esm/src/operations/operations.js.map +0 -1
  443. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  444. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  445. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  446. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  447. package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +0 -1
  448. package/dist-esm/src/operationsInterfaces/namespaces.js.map +0 -1
  449. package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts.map +0 -1
  450. package/dist-esm/src/operationsInterfaces/notificationHubs.js.map +0 -1
  451. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  452. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  453. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  454. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  455. package/dist-esm/src/pagingHelper.js.map +0 -1
  456. package/dist-esm/test/notificationhubs_examples.d.ts +0 -4
  457. package/dist-esm/test/notificationhubs_examples.d.ts.map +0 -1
  458. package/dist-esm/test/notificationhubs_examples.js +0 -139
  459. package/dist-esm/test/notificationhubs_examples.js.map +0 -1
  460. package/src/lroImpl.ts +0 -42
  461. package/src/models/index.ts +0 -1778
  462. package/src/models/mappers.ts +0 -2570
  463. package/src/models/parameters.ts +0 -248
  464. package/src/notificationHubsManagementClient.ts +0 -157
  465. package/src/operations/index.ts +0 -12
  466. package/src/operations/namespaces.ts +0 -1039
  467. package/src/operations/notificationHubs.ts +0 -983
  468. package/src/operations/operations.ts +0 -149
  469. package/src/operations/privateEndpointConnections.ts +0 -629
  470. package/src/operationsInterfaces/index.ts +0 -12
  471. package/src/operationsInterfaces/namespaces.ts +0 -229
  472. package/src/operationsInterfaces/notificationHubs.ts +0 -243
  473. package/src/operationsInterfaces/operations.ts +0 -22
  474. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -156
  475. package/src/pagingHelper.ts +0 -39
  476. package/tsconfig.json +0 -33
  477. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  478. /package/{dist-esm/src → dist/browser}/operationsInterfaces/namespaces.js +0 -0
  479. /package/{dist-esm/src → dist/browser}/operationsInterfaces/notificationHubs.js +0 -0
  480. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  481. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  482. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
@@ -5,15 +5,15 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
12
- import { createHttpPoller, } from "@azure/core-lro";
13
- import { createLroSpec } from "../lroImpl";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
+ import { createHttpPoller } from "@azure/core-lro";
12
+ import { createLroSpec } from "../lroImpl.js";
14
13
  /// <reference lib="esnext.asynciterable" />
15
14
  /** Class containing PrivateEndpointConnections operations. */
16
15
  export class PrivateEndpointConnectionsImpl {
16
+ client;
17
17
  /**
18
18
  * Initialize a new instance of the class PrivateEndpointConnections class.
19
19
  * @param client Reference to the service client
@@ -38,39 +38,22 @@ export class PrivateEndpointConnectionsImpl {
38
38
  return this;
39
39
  },
40
40
  byPage: (settings) => {
41
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ if (settings?.maxPageSize) {
42
42
  throw new Error("maxPageSize is not supported by this operation.");
43
43
  }
44
44
  return this.listPagingPage(resourceGroupName, namespaceName, options, settings);
45
45
  },
46
46
  };
47
47
  }
48
- listPagingPage(resourceGroupName, namespaceName, options, _settings) {
49
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
50
- let result;
51
- result = yield __await(this._list(resourceGroupName, namespaceName, options));
52
- yield yield __await(result.value || []);
53
- });
48
+ async *listPagingPage(resourceGroupName, namespaceName, options, _settings) {
49
+ let result;
50
+ result = await this._list(resourceGroupName, namespaceName, options);
51
+ yield result.value || [];
54
52
  }
55
- listPagingAll(resourceGroupName, namespaceName, options) {
56
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
57
- var _a, e_1, _b, _c;
58
- try {
59
- for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
60
- _c = _f.value;
61
- _d = false;
62
- const page = _c;
63
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
64
- }
65
- }
66
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
67
- finally {
68
- try {
69
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
70
- }
71
- finally { if (e_1) throw e_1.error; }
72
- }
73
- });
53
+ async *listPagingAll(resourceGroupName, namespaceName, options) {
54
+ for await (const page of this.listPagingPage(resourceGroupName, namespaceName, options)) {
55
+ yield* page;
56
+ }
74
57
  }
75
58
  /**
76
59
  * Even though this namespace requires subscription id, resource group and namespace name, it returns a
@@ -91,39 +74,22 @@ export class PrivateEndpointConnectionsImpl {
91
74
  return this;
92
75
  },
93
76
  byPage: (settings) => {
94
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
77
+ if (settings?.maxPageSize) {
95
78
  throw new Error("maxPageSize is not supported by this operation.");
96
79
  }
97
80
  return this.listGroupIdsPagingPage(resourceGroupName, namespaceName, options, settings);
98
81
  },
99
82
  };
100
83
  }
101
- listGroupIdsPagingPage(resourceGroupName, namespaceName, options, _settings) {
102
- return __asyncGenerator(this, arguments, function* listGroupIdsPagingPage_1() {
103
- let result;
104
- result = yield __await(this._listGroupIds(resourceGroupName, namespaceName, options));
105
- yield yield __await(result.value || []);
106
- });
84
+ async *listGroupIdsPagingPage(resourceGroupName, namespaceName, options, _settings) {
85
+ let result;
86
+ result = await this._listGroupIds(resourceGroupName, namespaceName, options);
87
+ yield result.value || [];
107
88
  }
108
- listGroupIdsPagingAll(resourceGroupName, namespaceName, options) {
109
- return __asyncGenerator(this, arguments, function* listGroupIdsPagingAll_1() {
110
- var _a, e_2, _b, _c;
111
- try {
112
- for (var _d = true, _e = __asyncValues(this.listGroupIdsPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
113
- _c = _f.value;
114
- _d = false;
115
- const page = _c;
116
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
117
- }
118
- }
119
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
120
- finally {
121
- try {
122
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
123
- }
124
- finally { if (e_2) throw e_2.error; }
125
- }
126
- });
89
+ async *listGroupIdsPagingAll(resourceGroupName, namespaceName, options) {
90
+ for await (const page of this.listGroupIdsPagingPage(resourceGroupName, namespaceName, options)) {
91
+ yield* page;
92
+ }
127
93
  }
128
94
  /**
129
95
  * Approves or rejects Private Endpoint Connection.
@@ -134,49 +100,52 @@ export class PrivateEndpointConnectionsImpl {
134
100
  * @param parameters Description of the Private Endpoint Connection resource.
135
101
  * @param options The options parameters.
136
102
  */
137
- beginUpdate(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options) {
138
- return __awaiter(this, void 0, void 0, function* () {
139
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
140
- return this.client.sendOperationRequest(args, spec);
141
- });
142
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
143
- var _a;
144
- let currentRawResponse = undefined;
145
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
146
- const callback = (rawResponse, flatResponse) => {
147
- currentRawResponse = rawResponse;
148
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
149
- };
150
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
151
- const flatResponse = yield directSendOperation(updatedArgs, spec);
152
- return {
153
- flatResponse,
154
- rawResponse: {
155
- statusCode: currentRawResponse.status,
156
- body: currentRawResponse.parsedBody,
157
- headers: currentRawResponse.headers.toJSON(),
158
- },
159
- };
160
- });
161
- const lro = createLroSpec({
162
- sendOperationFn,
163
- args: {
164
- resourceGroupName,
165
- namespaceName,
166
- privateEndpointConnectionName,
167
- parameters,
168
- options,
103
+ async beginUpdate(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options) {
104
+ const directSendOperation = async (args, spec) => {
105
+ return this.client.sendOperationRequest(args, spec);
106
+ };
107
+ const sendOperationFn = async (args, spec) => {
108
+ let currentRawResponse = undefined;
109
+ const providedCallback = args.options?.onResponse;
110
+ const callback = (rawResponse, flatResponse) => {
111
+ currentRawResponse = rawResponse;
112
+ providedCallback?.(rawResponse, flatResponse);
113
+ };
114
+ const updatedArgs = {
115
+ ...args,
116
+ options: {
117
+ ...args.options,
118
+ onResponse: callback,
119
+ },
120
+ };
121
+ const flatResponse = await directSendOperation(updatedArgs, spec);
122
+ return {
123
+ flatResponse,
124
+ rawResponse: {
125
+ statusCode: currentRawResponse.status,
126
+ body: currentRawResponse.parsedBody,
127
+ headers: currentRawResponse.headers.toJSON(),
169
128
  },
170
- spec: updateOperationSpec,
171
- });
172
- const poller = yield createHttpPoller(lro, {
173
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
174
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
175
- resourceLocationConfig: "azure-async-operation",
176
- });
177
- yield poller.poll();
178
- return poller;
129
+ };
130
+ };
131
+ const lro = createLroSpec({
132
+ sendOperationFn,
133
+ args: {
134
+ resourceGroupName,
135
+ namespaceName,
136
+ privateEndpointConnectionName,
137
+ parameters,
138
+ options,
139
+ },
140
+ spec: updateOperationSpec,
141
+ });
142
+ const poller = await createHttpPoller(lro, {
143
+ restoreFrom: options?.resumeFrom,
144
+ intervalInMs: options?.updateIntervalInMs,
145
+ resourceLocationConfig: "azure-async-operation",
179
146
  });
147
+ await poller.poll();
148
+ return poller;
180
149
  }
181
150
  /**
182
151
  * Approves or rejects Private Endpoint Connection.
@@ -187,11 +156,9 @@ export class PrivateEndpointConnectionsImpl {
187
156
  * @param parameters Description of the Private Endpoint Connection resource.
188
157
  * @param options The options parameters.
189
158
  */
190
- beginUpdateAndWait(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options) {
191
- return __awaiter(this, void 0, void 0, function* () {
192
- const poller = yield this.beginUpdate(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options);
193
- return poller.pollUntilDone();
194
- });
159
+ async beginUpdateAndWait(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options) {
160
+ const poller = await this.beginUpdate(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options);
161
+ return poller.pollUntilDone();
195
162
  }
196
163
  /**
197
164
  * Deletes the Private Endpoint Connection.
@@ -201,48 +168,51 @@ export class PrivateEndpointConnectionsImpl {
201
168
  * @param privateEndpointConnectionName Private Endpoint Connection Name
202
169
  * @param options The options parameters.
203
170
  */
204
- beginDelete(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
205
- return __awaiter(this, void 0, void 0, function* () {
206
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
207
- return this.client.sendOperationRequest(args, spec);
208
- });
209
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
210
- var _a;
211
- let currentRawResponse = undefined;
212
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
213
- const callback = (rawResponse, flatResponse) => {
214
- currentRawResponse = rawResponse;
215
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
216
- };
217
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
218
- const flatResponse = yield directSendOperation(updatedArgs, spec);
219
- return {
220
- flatResponse,
221
- rawResponse: {
222
- statusCode: currentRawResponse.status,
223
- body: currentRawResponse.parsedBody,
224
- headers: currentRawResponse.headers.toJSON(),
225
- },
226
- };
227
- });
228
- const lro = createLroSpec({
229
- sendOperationFn,
230
- args: {
231
- resourceGroupName,
232
- namespaceName,
233
- privateEndpointConnectionName,
234
- options,
171
+ async beginDelete(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
172
+ const directSendOperation = async (args, spec) => {
173
+ return this.client.sendOperationRequest(args, spec);
174
+ };
175
+ const sendOperationFn = async (args, spec) => {
176
+ let currentRawResponse = undefined;
177
+ const providedCallback = args.options?.onResponse;
178
+ const callback = (rawResponse, flatResponse) => {
179
+ currentRawResponse = rawResponse;
180
+ providedCallback?.(rawResponse, flatResponse);
181
+ };
182
+ const updatedArgs = {
183
+ ...args,
184
+ options: {
185
+ ...args.options,
186
+ onResponse: callback,
235
187
  },
236
- spec: deleteOperationSpec,
237
- });
238
- const poller = yield createHttpPoller(lro, {
239
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
240
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
241
- resourceLocationConfig: "location",
242
- });
243
- yield poller.poll();
244
- return poller;
188
+ };
189
+ const flatResponse = await directSendOperation(updatedArgs, spec);
190
+ return {
191
+ flatResponse,
192
+ rawResponse: {
193
+ statusCode: currentRawResponse.status,
194
+ body: currentRawResponse.parsedBody,
195
+ headers: currentRawResponse.headers.toJSON(),
196
+ },
197
+ };
198
+ };
199
+ const lro = createLroSpec({
200
+ sendOperationFn,
201
+ args: {
202
+ resourceGroupName,
203
+ namespaceName,
204
+ privateEndpointConnectionName,
205
+ options,
206
+ },
207
+ spec: deleteOperationSpec,
245
208
  });
209
+ const poller = await createHttpPoller(lro, {
210
+ restoreFrom: options?.resumeFrom,
211
+ intervalInMs: options?.updateIntervalInMs,
212
+ resourceLocationConfig: "location",
213
+ });
214
+ await poller.poll();
215
+ return poller;
246
216
  }
247
217
  /**
248
218
  * Deletes the Private Endpoint Connection.
@@ -252,11 +222,9 @@ export class PrivateEndpointConnectionsImpl {
252
222
  * @param privateEndpointConnectionName Private Endpoint Connection Name
253
223
  * @param options The options parameters.
254
224
  */
255
- beginDeleteAndWait(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
256
- return __awaiter(this, void 0, void 0, function* () {
257
- const poller = yield this.beginDelete(resourceGroupName, namespaceName, privateEndpointConnectionName, options);
258
- return poller.pollUntilDone();
259
- });
225
+ async beginDeleteAndWait(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
226
+ const poller = await this.beginDelete(resourceGroupName, namespaceName, privateEndpointConnectionName, options);
227
+ return poller.pollUntilDone();
260
228
  }
261
229
  /**
262
230
  * Returns a Private Endpoint Connection with a given name.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAkB9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IACxB,MAAM,CAAmC;IAE1D;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,iBAAyB,EACzB,aAAqB,EACrB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,aAA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gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport type { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { NotificationHubsManagementClient } from \"../notificationHubsManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PrivateEndpointConnectionResource,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateLinkResource,\n PrivateEndpointConnectionsListGroupIdsOptionalParams,\n PrivateEndpointConnectionsListGroupIdsResponse,\n PrivateEndpointConnectionsUpdateOptionalParams,\n PrivateEndpointConnectionsUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsDeleteResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsGetGroupIdOptionalParams,\n PrivateEndpointConnectionsGetGroupIdResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {\n private readonly client: NotificationHubsManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: NotificationHubsManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnectionResource> {\n const iter = this.listPagingAll(resourceGroupName, namespaceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, namespaceName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnectionResource[]> {\n let result: PrivateEndpointConnectionsListResponse;\n result = await this._list(resourceGroupName, namespaceName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnectionResource> {\n for await (const page of this.listPagingPage(resourceGroupName, namespaceName, options)) {\n yield* page;\n }\n }\n\n /**\n * Even though this namespace requires subscription id, resource group and namespace name, it returns a\n * constant payload (for a given namespacE) every time it's called.\n * That's why we don't send it to the sibling RP, but process it directly in the scale unit that\n * received the request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n public listGroupIds(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListGroupIdsOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource> {\n const iter = this.listGroupIdsPagingAll(resourceGroupName, namespaceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listGroupIdsPagingPage(resourceGroupName, namespaceName, options, settings);\n },\n };\n }\n\n private async *listGroupIdsPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListGroupIdsOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<PrivateLinkResource[]> {\n let result: PrivateEndpointConnectionsListGroupIdsResponse;\n result = await this._listGroupIds(resourceGroupName, namespaceName, options);\n yield result.value || [];\n }\n\n private async *listGroupIdsPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListGroupIdsOptionalParams,\n ): AsyncIterableIterator<PrivateLinkResource> {\n for await (const page of this.listGroupIdsPagingPage(\n resourceGroupName,\n namespaceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Approves or rejects Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param parameters Description of the Private Endpoint Connection resource.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsUpdateResponse>,\n PrivateEndpointConnectionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n namespaceName,\n privateEndpointConnectionName,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsUpdateResponse,\n OperationState<PrivateEndpointConnectionsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Approves or rejects Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param parameters Description of the Private Endpoint Connection resource.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n namespaceName,\n privateEndpointConnectionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsDeleteResponse>,\n PrivateEndpointConnectionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n namespaceName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsDeleteResponse,\n OperationState<PrivateEndpointConnectionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<PrivateEndpointConnectionsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n namespaceName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns a Private Endpoint Connection with a given name.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Even though this namespace requires subscription id, resource group and namespace name, it returns a\n * constant payload (for a given namespacE) every time it's called.\n * That's why we don't send it to the sibling RP, but process it directly in the scale unit that\n * received the request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param subResourceName Name of the Private Link sub-resource. The only supported sub-resource is\n * \"namespace\"\n * @param options The options parameters.\n */\n getGroupId(\n resourceGroupName: string,\n namespaceName: string,\n subResourceName: string,\n options?: PrivateEndpointConnectionsGetGroupIdOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetGroupIdResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, subResourceName, options },\n getGroupIdOperationSpec,\n );\n }\n\n /**\n * Even though this namespace requires subscription id, resource group and namespace name, it returns a\n * constant payload (for a given namespacE) every time it's called.\n * That's why we don't send it to the sibling RP, but process it directly in the scale unit that\n * received the request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n private _listGroupIds(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListGroupIdsOptionalParams,\n ): Promise<PrivateEndpointConnectionsListGroupIdsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, options },\n listGroupIdsOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getGroupIdOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources/{subResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.subResourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listGroupIdsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,5 @@
1
+ export * from "./notificationHubs.js";
2
+ export * from "./namespaces.js";
3
+ export * from "./operations.js";
4
+ export * from "./privateEndpointConnections.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC"}
@@ -5,8 +5,8 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./notificationHubs";
9
- export * from "./namespaces";
10
- export * from "./operations";
11
- export * from "./privateEndpointConnections";
8
+ export * from "./notificationHubs.js";
9
+ export * from "./namespaces.js";
10
+ export * from "./operations.js";
11
+ export * from "./privateEndpointConnections.js";
12
12
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./notificationHubs.js\";\nexport * from \"./namespaces.js\";\nexport * from \"./operations.js\";\nexport * from \"./privateEndpointConnections.js\";\n"]}
@@ -1,6 +1,6 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { NamespaceResource, NamespacesListAllOptionalParams, NamespacesListOptionalParams, SharedAccessAuthorizationRuleResource, NamespacesListAuthorizationRulesOptionalParams, CheckAvailabilityParameters, NamespacesCheckAvailabilityOptionalParams, NamespacesCheckAvailabilityResponse, NamespacesGetOptionalParams, NamespacesGetResponse, NamespacesCreateOrUpdateOptionalParams, NamespacesCreateOrUpdateResponse, NamespacePatchParameters, NamespacesUpdateOptionalParams, NamespacesUpdateResponse, NamespacesDeleteOptionalParams, NamespacesCreateOrUpdateAuthorizationRuleOptionalParams, NamespacesCreateOrUpdateAuthorizationRuleResponse, NamespacesDeleteAuthorizationRuleOptionalParams, NamespacesGetAuthorizationRuleOptionalParams, NamespacesGetAuthorizationRuleResponse, NamespacesListKeysOptionalParams, NamespacesListKeysResponse, PolicyKeyResource, NamespacesRegenerateKeysOptionalParams, NamespacesRegenerateKeysResponse, NamespacesGetPnsCredentialsOptionalParams, NamespacesGetPnsCredentialsResponse } from "../models";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import type { NamespaceResource, NamespacesListAllOptionalParams, NamespacesListOptionalParams, SharedAccessAuthorizationRuleResource, NamespacesListAuthorizationRulesOptionalParams, CheckAvailabilityParameters, NamespacesCheckAvailabilityOptionalParams, NamespacesCheckAvailabilityResponse, NamespacesGetOptionalParams, NamespacesGetResponse, NamespacesCreateOrUpdateOptionalParams, NamespacesCreateOrUpdateResponse, NamespacePatchParameters, NamespacesUpdateOptionalParams, NamespacesUpdateResponse, NamespacesDeleteOptionalParams, NamespacesCreateOrUpdateAuthorizationRuleOptionalParams, NamespacesCreateOrUpdateAuthorizationRuleResponse, NamespacesDeleteAuthorizationRuleOptionalParams, NamespacesGetAuthorizationRuleOptionalParams, NamespacesGetAuthorizationRuleResponse, NamespacesListKeysOptionalParams, NamespacesListKeysResponse, PolicyKeyResource, NamespacesRegenerateKeysOptionalParams, NamespacesRegenerateKeysResponse, NamespacesGetPnsCredentialsOptionalParams, NamespacesGetPnsCredentialsResponse } from "../models/index.js";
4
4
  /** Interface representing a Namespaces. */
5
5
  export interface Namespaces {
6
6
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/namespaces.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,iBAAiB,EACjB,+BAA+B,EAC/B,4BAA4B,EAC5B,qCAAqC,EACrC,8CAA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,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,iBAAiB,EAC7B,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;OAKG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespaces.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/namespaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n NamespaceResource,\n NamespacesListAllOptionalParams,\n NamespacesListOptionalParams,\n SharedAccessAuthorizationRuleResource,\n NamespacesListAuthorizationRulesOptionalParams,\n CheckAvailabilityParameters,\n NamespacesCheckAvailabilityOptionalParams,\n NamespacesCheckAvailabilityResponse,\n NamespacesGetOptionalParams,\n NamespacesGetResponse,\n NamespacesCreateOrUpdateOptionalParams,\n NamespacesCreateOrUpdateResponse,\n NamespacePatchParameters,\n NamespacesUpdateOptionalParams,\n NamespacesUpdateResponse,\n NamespacesDeleteOptionalParams,\n NamespacesCreateOrUpdateAuthorizationRuleOptionalParams,\n NamespacesCreateOrUpdateAuthorizationRuleResponse,\n NamespacesDeleteAuthorizationRuleOptionalParams,\n NamespacesGetAuthorizationRuleOptionalParams,\n NamespacesGetAuthorizationRuleResponse,\n NamespacesListKeysOptionalParams,\n NamespacesListKeysResponse,\n PolicyKeyResource,\n NamespacesRegenerateKeysOptionalParams,\n NamespacesRegenerateKeysResponse,\n NamespacesGetPnsCredentialsOptionalParams,\n NamespacesGetPnsCredentialsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Namespaces. */\nexport interface Namespaces {\n /**\n * Lists all the available namespaces within the subscription.\n * @param options The options parameters.\n */\n listAll(options?: NamespacesListAllOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;\n /**\n * Lists the available namespaces within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n options?: NamespacesListOptionalParams,\n ): PagedAsyncIterableIterator<NamespaceResource>;\n /**\n * Gets the authorization rules for a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n options?: NamespacesListAuthorizationRulesOptionalParams,\n ): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;\n /**\n * Checks the availability of the given service namespace across all Azure subscriptions. This is\n * useful because the domain name is created based on the service namespace name.\n * @param parameters Request content.\n * @param options The options parameters.\n */\n checkAvailability(\n parameters: CheckAvailabilityParameters,\n options?: NamespacesCheckAvailabilityOptionalParams,\n ): Promise<NamespacesCheckAvailabilityResponse>;\n /**\n * Returns the given namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n options?: NamespacesGetOptionalParams,\n ): Promise<NamespacesGetResponse>;\n /**\n * Creates / Updates a Notification Hub namespace. This operation is idempotent.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n namespaceName: string,\n parameters: NamespaceResource,\n options?: NamespacesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<NamespacesCreateOrUpdateResponse>,\n NamespacesCreateOrUpdateResponse\n >\n >;\n /**\n * Creates / Updates a Notification Hub namespace. This operation is idempotent.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n namespaceName: string,\n parameters: NamespaceResource,\n options?: NamespacesCreateOrUpdateOptionalParams,\n ): Promise<NamespacesCreateOrUpdateResponse>;\n /**\n * Patches the existing namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n namespaceName: string,\n parameters: NamespacePatchParameters,\n options?: NamespacesUpdateOptionalParams,\n ): Promise<NamespacesUpdateResponse>;\n /**\n * Deletes an existing namespace. This operation also removes all associated notificationHubs under the\n * namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n namespaceName: string,\n options?: NamespacesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Creates an authorization rule for a namespace\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param authorizationRuleName Authorization Rule Name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n createOrUpdateAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n authorizationRuleName: string,\n parameters: SharedAccessAuthorizationRuleResource,\n options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams,\n ): Promise<NamespacesCreateOrUpdateAuthorizationRuleResponse>;\n /**\n * Deletes a namespace authorization rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n deleteAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n authorizationRuleName: string,\n options?: NamespacesDeleteAuthorizationRuleOptionalParams,\n ): Promise<void>;\n /**\n * Gets an authorization rule for a namespace by name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n getAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n authorizationRuleName: string,\n options?: NamespacesGetAuthorizationRuleOptionalParams,\n ): Promise<NamespacesGetAuthorizationRuleResponse>;\n /**\n * Gets the Primary and Secondary ConnectionStrings to the namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n namespaceName: string,\n authorizationRuleName: string,\n options?: NamespacesListKeysOptionalParams,\n ): Promise<NamespacesListKeysResponse>;\n /**\n * Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param authorizationRuleName Authorization Rule Name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n regenerateKeys(\n resourceGroupName: string,\n namespaceName: string,\n authorizationRuleName: string,\n parameters: PolicyKeyResource,\n options?: NamespacesRegenerateKeysOptionalParams,\n ): Promise<NamespacesRegenerateKeysResponse>;\n /**\n * Lists the PNS credentials associated with a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n getPnsCredentials(\n resourceGroupName: string,\n namespaceName: string,\n options?: NamespacesGetPnsCredentialsOptionalParams,\n ): Promise<NamespacesGetPnsCredentialsResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { NotificationHubResource, NotificationHubsListOptionalParams, SharedAccessAuthorizationRuleResource, NotificationHubsListAuthorizationRulesOptionalParams, CheckAvailabilityParameters, NotificationHubsCheckNotificationHubAvailabilityOptionalParams, NotificationHubsCheckNotificationHubAvailabilityResponse, NotificationHubsGetOptionalParams, NotificationHubsGetResponse, NotificationHubsCreateOrUpdateOptionalParams, NotificationHubsCreateOrUpdateResponse, NotificationHubPatchParameters, NotificationHubsUpdateOptionalParams, NotificationHubsUpdateResponse, NotificationHubsDeleteOptionalParams, NotificationHubsDebugSendOptionalParams, NotificationHubsDebugSendResponse, NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams, NotificationHubsCreateOrUpdateAuthorizationRuleResponse, NotificationHubsDeleteAuthorizationRuleOptionalParams, NotificationHubsGetAuthorizationRuleOptionalParams, NotificationHubsGetAuthorizationRuleResponse, NotificationHubsListKeysOptionalParams, NotificationHubsListKeysResponse, PolicyKeyResource, NotificationHubsRegenerateKeysOptionalParams, NotificationHubsRegenerateKeysResponse, NotificationHubsGetPnsCredentialsOptionalParams, NotificationHubsGetPnsCredentialsResponse } from "../models";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { NotificationHubResource, NotificationHubsListOptionalParams, SharedAccessAuthorizationRuleResource, NotificationHubsListAuthorizationRulesOptionalParams, CheckAvailabilityParameters, NotificationHubsCheckNotificationHubAvailabilityOptionalParams, NotificationHubsCheckNotificationHubAvailabilityResponse, NotificationHubsGetOptionalParams, NotificationHubsGetResponse, NotificationHubsCreateOrUpdateOptionalParams, NotificationHubsCreateOrUpdateResponse, NotificationHubPatchParameters, NotificationHubsUpdateOptionalParams, NotificationHubsUpdateResponse, NotificationHubsDeleteOptionalParams, NotificationHubsDebugSendOptionalParams, NotificationHubsDebugSendResponse, NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams, NotificationHubsCreateOrUpdateAuthorizationRuleResponse, NotificationHubsDeleteAuthorizationRuleOptionalParams, NotificationHubsGetAuthorizationRuleOptionalParams, NotificationHubsGetAuthorizationRuleResponse, NotificationHubsListKeysOptionalParams, NotificationHubsListKeysResponse, PolicyKeyResource, NotificationHubsRegenerateKeysOptionalParams, NotificationHubsRegenerateKeysResponse, NotificationHubsGetPnsCredentialsOptionalParams, NotificationHubsGetPnsCredentialsResponse } from "../models/index.js";
3
3
  /** Interface representing a NotificationHubs. */
4
4
  export interface NotificationHubs {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationHubs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/notificationHubs.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACV,uBAAuB,EACvB,kCAAkC,EAClC,qCAAqC,EACrC,oDAAoD,EACpD,2BAA2B,EAC3B,8DAA8D,EAC9D,wDAAwD,EACxD,iCAAiC,EACjC,2BAA2B,EAC3B,4CAA4C,EAC5C,sCAAsC,EACtC,8BAA8B,EAC9B,oCAAoC,EACpC,8BAA8B,EAC9B,oCAAoC,EACpC,uCAAuC,EACvC,iCAAiC,EACjC,6DAA6D,EAC7D,uDAAuD,EACvD,qDAAqD,EACrD,kDAAkD,EAClD,4CAA4C,EAC5C,sCAAsC,EACtC,gCAAgC,EAChC,iBAAiB,EACjB,4CAA4C,EAC5C,sCAAsC,EACtC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAG5B,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE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vD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationHubs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/notificationHubs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type {\n NotificationHubResource,\n NotificationHubsListOptionalParams,\n SharedAccessAuthorizationRuleResource,\n NotificationHubsListAuthorizationRulesOptionalParams,\n CheckAvailabilityParameters,\n NotificationHubsCheckNotificationHubAvailabilityOptionalParams,\n NotificationHubsCheckNotificationHubAvailabilityResponse,\n NotificationHubsGetOptionalParams,\n NotificationHubsGetResponse,\n NotificationHubsCreateOrUpdateOptionalParams,\n NotificationHubsCreateOrUpdateResponse,\n NotificationHubPatchParameters,\n NotificationHubsUpdateOptionalParams,\n NotificationHubsUpdateResponse,\n NotificationHubsDeleteOptionalParams,\n NotificationHubsDebugSendOptionalParams,\n NotificationHubsDebugSendResponse,\n NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams,\n NotificationHubsCreateOrUpdateAuthorizationRuleResponse,\n NotificationHubsDeleteAuthorizationRuleOptionalParams,\n NotificationHubsGetAuthorizationRuleOptionalParams,\n NotificationHubsGetAuthorizationRuleResponse,\n NotificationHubsListKeysOptionalParams,\n NotificationHubsListKeysResponse,\n PolicyKeyResource,\n NotificationHubsRegenerateKeysOptionalParams,\n NotificationHubsRegenerateKeysResponse,\n NotificationHubsGetPnsCredentialsOptionalParams,\n NotificationHubsGetPnsCredentialsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a NotificationHubs. */\nexport interface NotificationHubs {\n /**\n * Lists the notification hubs associated with a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n namespaceName: string,\n options?: NotificationHubsListOptionalParams,\n ): PagedAsyncIterableIterator<NotificationHubResource>;\n /**\n * Gets the authorization rules for a NotificationHub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsListAuthorizationRulesOptionalParams,\n ): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;\n /**\n * Checks the availability of the given notificationHub in a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n checkNotificationHubAvailability(\n resourceGroupName: string,\n namespaceName: string,\n parameters: CheckAvailabilityParameters,\n options?: NotificationHubsCheckNotificationHubAvailabilityOptionalParams,\n ): Promise<NotificationHubsCheckNotificationHubAvailabilityResponse>;\n /**\n * Gets the notification hub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsGetOptionalParams,\n ): Promise<NotificationHubsGetResponse>;\n /**\n * Creates/Update a NotificationHub in a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n parameters: NotificationHubResource,\n options?: NotificationHubsCreateOrUpdateOptionalParams,\n ): Promise<NotificationHubsCreateOrUpdateResponse>;\n /**\n * Patch a NotificationHub in a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n parameters: NotificationHubPatchParameters,\n options?: NotificationHubsUpdateOptionalParams,\n ): Promise<NotificationHubsUpdateResponse>;\n /**\n * Deletes a notification hub associated with a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Test send a push notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n debugSend(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsDebugSendOptionalParams,\n ): Promise<NotificationHubsDebugSendResponse>;\n /**\n * Creates/Updates an authorization rule for a NotificationHub\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n createOrUpdateAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n parameters: SharedAccessAuthorizationRuleResource,\n options?: NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams,\n ): Promise<NotificationHubsCreateOrUpdateAuthorizationRuleResponse>;\n /**\n * Deletes a notificationHub authorization rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n deleteAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n options?: NotificationHubsDeleteAuthorizationRuleOptionalParams,\n ): Promise<void>;\n /**\n * Gets an authorization rule for a NotificationHub by name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n getAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n options?: NotificationHubsGetAuthorizationRuleOptionalParams,\n ): Promise<NotificationHubsGetAuthorizationRuleResponse>;\n /**\n * Gets the Primary and Secondary ConnectionStrings to the NotificationHub\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n options?: NotificationHubsListKeysOptionalParams,\n ): Promise<NotificationHubsListKeysResponse>;\n /**\n * Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n regenerateKeys(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n parameters: PolicyKeyResource,\n options?: NotificationHubsRegenerateKeysOptionalParams,\n ): Promise<NotificationHubsRegenerateKeysResponse>;\n /**\n * Lists the PNS Credentials associated with a notification hub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n getPnsCredentials(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsGetPnsCredentialsOptionalParams,\n ): Promise<NotificationHubsGetPnsCredentialsResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operation, OperationsListOptionalParams } from "../models";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { Operation, OperationsListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Operations. */
4
4
  export interface Operations {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAGlF,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;CACrF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all available Notification Hubs operations.\n * @param options The options parameters.\n */\n list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -1,6 +1,6 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { PrivateEndpointConnectionResource, PrivateEndpointConnectionsListOptionalParams, PrivateLinkResource, PrivateEndpointConnectionsListGroupIdsOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsGetGroupIdOptionalParams, PrivateEndpointConnectionsGetGroupIdResponse } from "../models";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import type { PrivateEndpointConnectionResource, PrivateEndpointConnectionsListOptionalParams, PrivateLinkResource, PrivateEndpointConnectionsListGroupIdsOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsGetGroupIdOptionalParams, PrivateEndpointConnectionsGetGroupIdResponse } from "../models/index.js";
4
4
  /** Interface representing a PrivateEndpointConnections. */
5
5
  export interface PrivateEndpointConnections {
6
6
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,iCAAiC,EACjC,4CAA4C,EAC5C,mBAAmB,EACnB,oDAAoD,EACpD,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC9C,wCAAwC,EACxC,2CAA2C,EAC3C,qCAAqC,EACrC,kDAAkD,EAClD,4CAA4C,EAC7C,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OA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,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;;;OAUG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC,CAAC;CAC1D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n PrivateEndpointConnectionResource,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateLinkResource,\n PrivateEndpointConnectionsListGroupIdsOptionalParams,\n PrivateEndpointConnectionsUpdateOptionalParams,\n PrivateEndpointConnectionsUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsDeleteResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsGetGroupIdOptionalParams,\n PrivateEndpointConnectionsGetGroupIdResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateEndpointConnections. */\nexport interface PrivateEndpointConnections {\n /**\n * Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnectionResource>;\n /**\n * Even though this namespace requires subscription id, resource group and namespace name, it returns a\n * constant payload (for a given namespacE) every time it's called.\n * That's why we don't send it to the sibling RP, but process it directly in the scale unit that\n * received the request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n listGroupIds(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListGroupIdsOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource>;\n /**\n * Approves or rejects Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param parameters Description of the Private Endpoint Connection resource.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsUpdateResponse>,\n PrivateEndpointConnectionsUpdateResponse\n >\n >;\n /**\n * Approves or rejects Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param parameters Description of the Private Endpoint Connection resource.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsUpdateResponse>;\n /**\n * Deletes the Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsDeleteResponse>,\n PrivateEndpointConnectionsDeleteResponse\n >\n >;\n /**\n * Deletes the Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<PrivateEndpointConnectionsDeleteResponse>;\n /**\n * Returns a Private Endpoint Connection with a given name.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse>;\n /**\n * Even though this namespace requires subscription id, resource group and namespace name, it returns a\n * constant payload (for a given namespacE) every time it's called.\n * That's why we don't send it to the sibling RP, but process it directly in the scale unit that\n * received the request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param subResourceName Name of the Private Link sub-resource. The only supported sub-resource is\n * \"namespace\"\n * @param options The options parameters.\n */\n getGroupId(\n resourceGroupName: string,\n namespaceName: string,\n subResourceName: string,\n options?: PrivateEndpointConnectionsGetGroupIdOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetGroupIdResponse>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAO/F"}