@azure/arm-notificationhubs 3.0.0-alpha.20241212.1 → 3.0.0-alpha.20241218.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/dist/commonjs/index.d.ts +5 -0
  2. package/dist/commonjs/index.d.ts.map +1 -0
  3. package/dist/commonjs/index.js +18 -0
  4. package/dist/commonjs/index.js.map +1 -0
  5. package/{dist-esm/src → dist/commonjs}/lroImpl.d.ts +1 -1
  6. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  7. package/dist/commonjs/lroImpl.js +24 -0
  8. package/dist/commonjs/lroImpl.js.map +1 -0
  9. package/{dist-esm/src → dist/commonjs}/models/index.d.ts +1 -1
  10. package/dist/commonjs/models/index.d.ts.map +1 -0
  11. package/dist/commonjs/models/index.js +157 -0
  12. package/dist/commonjs/models/index.js.map +1 -0
  13. package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts +1 -1
  14. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  15. package/dist/commonjs/models/mappers.js +2419 -0
  16. package/dist/commonjs/models/mappers.js.map +1 -0
  17. package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts +1 -1
  18. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  19. package/dist/commonjs/models/parameters.js +215 -0
  20. package/dist/commonjs/models/parameters.js.map +1 -0
  21. package/{dist-esm/src → dist/commonjs}/notificationHubsManagementClient.d.ts +3 -3
  22. package/dist/commonjs/notificationHubsManagementClient.d.ts.map +1 -0
  23. package/dist/commonjs/notificationHubsManagementClient.js +104 -0
  24. package/dist/commonjs/notificationHubsManagementClient.js.map +1 -0
  25. package/dist/commonjs/operations/index.d.ts +5 -0
  26. package/{dist-esm/src → dist/commonjs}/operations/index.d.ts.map +1 -1
  27. package/dist/commonjs/operations/index.js +15 -0
  28. package/dist/commonjs/operations/index.js.map +1 -0
  29. package/{dist-esm/src → dist/commonjs}/operations/namespaces.d.ts +5 -5
  30. package/dist/commonjs/operations/namespaces.d.ts.map +1 -0
  31. package/dist/commonjs/operations/namespaces.js +794 -0
  32. package/dist/commonjs/operations/namespaces.js.map +1 -0
  33. package/{dist-esm/src → dist/commonjs}/operations/notificationHubs.d.ts +4 -4
  34. package/dist/commonjs/operations/notificationHubs.d.ts.map +1 -0
  35. package/dist/commonjs/operations/notificationHubs.js +744 -0
  36. package/dist/commonjs/operations/notificationHubs.js.map +1 -0
  37. package/{dist-esm/src → dist/commonjs}/operations/operations.d.ts +4 -4
  38. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  39. package/dist/commonjs/operations/operations.js +137 -0
  40. package/dist/commonjs/operations/operations.js.map +1 -0
  41. package/{dist-esm/src → dist/commonjs}/operations/privateEndpointConnections.d.ts +5 -5
  42. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  43. package/dist/commonjs/operations/privateEndpointConnections.js +462 -0
  44. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  45. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  46. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/index.d.ts.map +1 -1
  47. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  48. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  49. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/namespaces.d.ts +3 -3
  50. package/dist/commonjs/operationsInterfaces/namespaces.d.ts.map +1 -0
  51. package/dist/commonjs/operationsInterfaces/namespaces.js +10 -0
  52. package/dist/commonjs/operationsInterfaces/namespaces.js.map +1 -0
  53. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/notificationHubs.d.ts +2 -2
  54. package/dist/commonjs/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  55. package/dist/commonjs/operationsInterfaces/notificationHubs.js +10 -0
  56. package/dist/commonjs/operationsInterfaces/notificationHubs.js.map +1 -0
  57. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts +2 -2
  58. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  59. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  60. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  61. package/{dist-esm/src → dist/commonjs}/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  62. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  63. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  64. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  65. package/dist/commonjs/package.json +3 -0
  66. package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts.map +1 -1
  67. package/dist/commonjs/pagingHelper.js +36 -0
  68. package/dist/commonjs/pagingHelper.js.map +1 -0
  69. package/dist/esm/index.d.ts +5 -0
  70. package/dist/esm/index.d.ts.map +1 -0
  71. package/{src/index.ts → dist/esm/index.js} +5 -6
  72. package/dist/esm/index.js.map +1 -0
  73. package/dist/esm/lroImpl.d.ts +11 -0
  74. package/dist/esm/lroImpl.d.ts.map +1 -0
  75. package/dist/esm/lroImpl.js.map +1 -0
  76. package/{types/arm-notificationhubs.d.ts → dist/esm/models/index.d.ts} +1606 -2131
  77. package/dist/esm/models/index.d.ts.map +1 -0
  78. package/dist/esm/models/index.js.map +1 -0
  79. package/dist/esm/models/mappers.d.ts +60 -0
  80. package/dist/esm/models/mappers.d.ts.map +1 -0
  81. package/dist/esm/models/mappers.js.map +1 -0
  82. package/dist/esm/models/parameters.d.ts +24 -0
  83. package/dist/esm/models/parameters.d.ts.map +1 -0
  84. package/{dist-esm/src → dist/esm}/models/parameters.js +1 -1
  85. package/dist/esm/models/parameters.js.map +1 -0
  86. package/dist/esm/notificationHubsManagementClient.d.ts +23 -0
  87. package/dist/esm/notificationHubsManagementClient.d.ts.map +1 -0
  88. package/{dist-esm/src → dist/esm}/notificationHubsManagementClient.js +16 -20
  89. package/dist/esm/notificationHubsManagementClient.js.map +1 -0
  90. package/dist/esm/operations/index.d.ts +5 -0
  91. package/dist/esm/operations/index.d.ts.map +1 -0
  92. package/{dist-esm/src → dist/esm}/operations/index.js +4 -4
  93. package/dist/esm/operations/index.js.map +1 -0
  94. package/dist/esm/operations/namespaces.d.ts +173 -0
  95. package/dist/esm/operations/namespaces.d.ts.map +1 -0
  96. package/{dist-esm/src → dist/esm}/operations/namespaces.js +53 -73
  97. package/dist/esm/operations/namespaces.js.map +1 -0
  98. package/dist/esm/operations/notificationHubs.d.ts +170 -0
  99. package/dist/esm/operations/notificationHubs.d.ts.map +1 -0
  100. package/{dist-esm/src → dist/esm}/operations/notificationHubs.js +8 -12
  101. package/dist/esm/operations/notificationHubs.js.map +1 -0
  102. package/dist/esm/operations/operations.d.ts +32 -0
  103. package/dist/esm/operations/operations.d.ts.map +1 -0
  104. package/{dist-esm/src → dist/esm}/operations/operations.js +5 -5
  105. package/dist/esm/operations/operations.js.map +1 -0
  106. package/dist/esm/operations/privateEndpointConnections.d.ts +114 -0
  107. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  108. package/{dist-esm/src → dist/esm}/operations/privateEndpointConnections.js +88 -96
  109. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  110. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  111. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  112. package/{dist-esm/src → dist/esm}/operationsInterfaces/index.js +4 -4
  113. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  114. package/dist/esm/operationsInterfaces/namespaces.d.ts +120 -0
  115. package/dist/esm/operationsInterfaces/namespaces.d.ts.map +1 -0
  116. package/dist/esm/operationsInterfaces/namespaces.js.map +1 -0
  117. package/dist/esm/operationsInterfaces/notificationHubs.d.ts +126 -0
  118. package/dist/esm/operationsInterfaces/notificationHubs.d.ts.map +1 -0
  119. package/dist/esm/operationsInterfaces/notificationHubs.js.map +1 -0
  120. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  121. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  122. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  123. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
  124. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  125. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  126. package/dist/esm/package.json +3 -0
  127. package/dist/esm/pagingHelper.d.ts +13 -0
  128. package/dist/esm/pagingHelper.d.ts.map +1 -0
  129. package/dist/esm/pagingHelper.js.map +1 -0
  130. package/package.json +61 -45
  131. package/review/arm-notificationhubs.api.md +4 -4
  132. package/dist/index.js +0 -5155
  133. package/dist/index.js.map +0 -1
  134. package/dist/index.min.js +0 -1
  135. package/dist/index.min.js.map +0 -1
  136. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.d.ts +0 -2
  137. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.d.ts.map +0 -1
  138. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js +0 -40
  139. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js.map +0 -1
  140. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.d.ts +0 -2
  141. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.d.ts.map +0 -1
  142. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js +0 -43
  143. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js.map +0 -1
  144. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts +0 -2
  145. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts.map +0 -1
  146. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +0 -51
  147. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js.map +0 -1
  148. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.d.ts +0 -2
  149. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.d.ts.map +0 -1
  150. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js +0 -40
  151. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js.map +0 -1
  152. package/dist-esm/samples-dev/namespacesDeleteSample.d.ts +0 -2
  153. package/dist-esm/samples-dev/namespacesDeleteSample.d.ts.map +0 -1
  154. package/dist-esm/samples-dev/namespacesDeleteSample.js +0 -39
  155. package/dist-esm/samples-dev/namespacesDeleteSample.js.map +0 -1
  156. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.d.ts +0 -2
  157. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.d.ts.map +0 -1
  158. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js +0 -40
  159. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js.map +0 -1
  160. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts +0 -2
  161. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts.map +0 -1
  162. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js +0 -39
  163. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js.map +0 -1
  164. package/dist-esm/samples-dev/namespacesGetSample.d.ts +0 -2
  165. package/dist-esm/samples-dev/namespacesGetSample.d.ts.map +0 -1
  166. package/dist-esm/samples-dev/namespacesGetSample.js +0 -39
  167. package/dist-esm/samples-dev/namespacesGetSample.js.map +0 -1
  168. package/dist-esm/samples-dev/namespacesListAllSample.d.ts +0 -2
  169. package/dist-esm/samples-dev/namespacesListAllSample.d.ts.map +0 -1
  170. package/dist-esm/samples-dev/namespacesListAllSample.js +0 -53
  171. package/dist-esm/samples-dev/namespacesListAllSample.js.map +0 -1
  172. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.d.ts +0 -2
  173. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.d.ts.map +0 -1
  174. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js +0 -55
  175. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js.map +0 -1
  176. package/dist-esm/samples-dev/namespacesListKeysSample.d.ts +0 -2
  177. package/dist-esm/samples-dev/namespacesListKeysSample.d.ts.map +0 -1
  178. package/dist-esm/samples-dev/namespacesListKeysSample.js +0 -40
  179. package/dist-esm/samples-dev/namespacesListKeysSample.js.map +0 -1
  180. package/dist-esm/samples-dev/namespacesListSample.d.ts +0 -2
  181. package/dist-esm/samples-dev/namespacesListSample.d.ts.map +0 -1
  182. package/dist-esm/samples-dev/namespacesListSample.js +0 -54
  183. package/dist-esm/samples-dev/namespacesListSample.js.map +0 -1
  184. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.d.ts +0 -2
  185. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.d.ts.map +0 -1
  186. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js +0 -41
  187. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js.map +0 -1
  188. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts +0 -2
  189. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts.map +0 -1
  190. package/dist-esm/samples-dev/namespacesUpdateSample.js +0 -51
  191. package/dist-esm/samples-dev/namespacesUpdateSample.js.map +0 -1
  192. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.d.ts +0 -2
  193. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.d.ts.map +0 -1
  194. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js +0 -43
  195. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js.map +0 -1
  196. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.d.ts +0 -2
  197. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.d.ts.map +0 -1
  198. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js +0 -44
  199. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js.map +0 -1
  200. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.d.ts +0 -2
  201. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.d.ts.map +0 -1
  202. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js +0 -41
  203. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js.map +0 -1
  204. package/dist-esm/samples-dev/notificationHubsDebugSendSample.d.ts +0 -2
  205. package/dist-esm/samples-dev/notificationHubsDebugSendSample.d.ts.map +0 -1
  206. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js +0 -40
  207. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js.map +0 -1
  208. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.d.ts +0 -2
  209. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.d.ts.map +0 -1
  210. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js +0 -41
  211. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js.map +0 -1
  212. package/dist-esm/samples-dev/notificationHubsDeleteSample.d.ts +0 -2
  213. package/dist-esm/samples-dev/notificationHubsDeleteSample.d.ts.map +0 -1
  214. package/dist-esm/samples-dev/notificationHubsDeleteSample.js +0 -40
  215. package/dist-esm/samples-dev/notificationHubsDeleteSample.js.map +0 -1
  216. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.d.ts +0 -2
  217. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.d.ts.map +0 -1
  218. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js +0 -41
  219. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js.map +0 -1
  220. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.d.ts +0 -2
  221. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.d.ts.map +0 -1
  222. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js +0 -40
  223. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js.map +0 -1
  224. package/dist-esm/samples-dev/notificationHubsGetSample.d.ts +0 -2
  225. package/dist-esm/samples-dev/notificationHubsGetSample.d.ts.map +0 -1
  226. package/dist-esm/samples-dev/notificationHubsGetSample.js +0 -40
  227. package/dist-esm/samples-dev/notificationHubsGetSample.js.map +0 -1
  228. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.d.ts +0 -2
  229. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.d.ts.map +0 -1
  230. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js +0 -56
  231. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js.map +0 -1
  232. package/dist-esm/samples-dev/notificationHubsListKeysSample.d.ts +0 -2
  233. package/dist-esm/samples-dev/notificationHubsListKeysSample.d.ts.map +0 -1
  234. package/dist-esm/samples-dev/notificationHubsListKeysSample.js +0 -41
  235. package/dist-esm/samples-dev/notificationHubsListKeysSample.js.map +0 -1
  236. package/dist-esm/samples-dev/notificationHubsListSample.d.ts +0 -2
  237. package/dist-esm/samples-dev/notificationHubsListSample.d.ts.map +0 -1
  238. package/dist-esm/samples-dev/notificationHubsListSample.js +0 -55
  239. package/dist-esm/samples-dev/notificationHubsListSample.js.map +0 -1
  240. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.d.ts +0 -2
  241. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.d.ts.map +0 -1
  242. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js +0 -42
  243. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js.map +0 -1
  244. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts +0 -2
  245. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts.map +0 -1
  246. package/dist-esm/samples-dev/notificationHubsUpdateSample.js +0 -47
  247. package/dist-esm/samples-dev/notificationHubsUpdateSample.js.map +0 -1
  248. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  249. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  250. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  251. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  252. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  253. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  254. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -42
  255. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  256. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts +0 -2
  257. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts.map +0 -1
  258. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js +0 -42
  259. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js.map +0 -1
  260. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  261. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  262. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -42
  263. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  264. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts +0 -2
  265. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts.map +0 -1
  266. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js +0 -57
  267. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js.map +0 -1
  268. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  269. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  270. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -57
  271. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  272. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +0 -2
  273. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +0 -1
  274. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +0 -48
  275. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +0 -1
  276. package/dist-esm/src/index.d.ts +0 -5
  277. package/dist-esm/src/index.d.ts.map +0 -1
  278. package/dist-esm/src/index.js +0 -13
  279. package/dist-esm/src/index.js.map +0 -1
  280. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  281. package/dist-esm/src/lroImpl.js.map +0 -1
  282. package/dist-esm/src/models/index.d.ts.map +0 -1
  283. package/dist-esm/src/models/index.js.map +0 -1
  284. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  285. package/dist-esm/src/models/mappers.js.map +0 -1
  286. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  287. package/dist-esm/src/models/parameters.js.map +0 -1
  288. package/dist-esm/src/notificationHubsManagementClient.d.ts.map +0 -1
  289. package/dist-esm/src/notificationHubsManagementClient.js.map +0 -1
  290. package/dist-esm/src/operations/index.d.ts +0 -5
  291. package/dist-esm/src/operations/index.js.map +0 -1
  292. package/dist-esm/src/operations/namespaces.d.ts.map +0 -1
  293. package/dist-esm/src/operations/namespaces.js.map +0 -1
  294. package/dist-esm/src/operations/notificationHubs.d.ts.map +0 -1
  295. package/dist-esm/src/operations/notificationHubs.js.map +0 -1
  296. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  297. package/dist-esm/src/operations/operations.js.map +0 -1
  298. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  299. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  300. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  301. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  302. package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +0 -1
  303. package/dist-esm/src/operationsInterfaces/namespaces.js.map +0 -1
  304. package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts.map +0 -1
  305. package/dist-esm/src/operationsInterfaces/notificationHubs.js.map +0 -1
  306. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  307. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  308. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  309. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  310. package/dist-esm/src/pagingHelper.js.map +0 -1
  311. package/dist-esm/test/notificationhubs_examples.d.ts +0 -4
  312. package/dist-esm/test/notificationhubs_examples.d.ts.map +0 -1
  313. package/dist-esm/test/notificationhubs_examples.js +0 -140
  314. package/dist-esm/test/notificationhubs_examples.js.map +0 -1
  315. package/src/lroImpl.ts +0 -42
  316. package/src/models/index.ts +0 -1778
  317. package/src/models/mappers.ts +0 -2570
  318. package/src/models/parameters.ts +0 -248
  319. package/src/notificationHubsManagementClient.ts +0 -157
  320. package/src/operations/index.ts +0 -12
  321. package/src/operations/namespaces.ts +0 -1039
  322. package/src/operations/notificationHubs.ts +0 -983
  323. package/src/operations/operations.ts +0 -149
  324. package/src/operations/privateEndpointConnections.ts +0 -629
  325. package/src/operationsInterfaces/index.ts +0 -12
  326. package/src/operationsInterfaces/namespaces.ts +0 -229
  327. package/src/operationsInterfaces/notificationHubs.ts +0 -243
  328. package/src/operationsInterfaces/operations.ts +0 -22
  329. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -156
  330. package/src/pagingHelper.ts +0 -39
  331. package/tsconfig.json +0 -33
  332. /package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts +0 -0
  333. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
  334. /package/{dist-esm/src → dist/esm}/lroImpl.js +0 -0
  335. /package/{dist-esm/src → dist/esm}/models/index.js +0 -0
  336. /package/{dist-esm/src → dist/esm}/models/mappers.js +0 -0
  337. /package/{dist-esm/src → dist/esm}/operationsInterfaces/namespaces.js +0 -0
  338. /package/{dist-esm/src → dist/esm}/operationsInterfaces/notificationHubs.js +0 -0
  339. /package/{dist-esm/src → dist/esm}/operationsInterfaces/operations.js +0 -0
  340. /package/{dist-esm/src → dist/esm}/operationsInterfaces/privateEndpointConnections.js +0 -0
  341. /package/{dist-esm/src → dist/esm}/pagingHelper.js +0 -0
@@ -0,0 +1,744 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.NotificationHubsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing NotificationHubs operations. */
18
+ class NotificationHubsImpl {
19
+ /**
20
+ * Initialize a new instance of the class NotificationHubs class.
21
+ * @param client Reference to the service client
22
+ */
23
+ constructor(client) {
24
+ this.client = client;
25
+ }
26
+ /**
27
+ * Lists the notification hubs associated with a namespace.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param namespaceName Namespace name
30
+ * @param options The options parameters.
31
+ */
32
+ list(resourceGroupName, namespaceName, options) {
33
+ const iter = this.listPagingAll(resourceGroupName, namespaceName, options);
34
+ return {
35
+ next() {
36
+ return iter.next();
37
+ },
38
+ [Symbol.asyncIterator]() {
39
+ return this;
40
+ },
41
+ byPage: (settings) => {
42
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
+ throw new Error("maxPageSize is not supported by this operation.");
44
+ }
45
+ return this.listPagingPage(resourceGroupName, namespaceName, options, settings);
46
+ },
47
+ };
48
+ }
49
+ listPagingPage(resourceGroupName, namespaceName, options, settings) {
50
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
51
+ let result;
52
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
+ if (!continuationToken) {
54
+ result = yield tslib_1.__await(this._list(resourceGroupName, namespaceName, options));
55
+ const page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
+ yield yield tslib_1.__await(page);
59
+ }
60
+ while (continuationToken) {
61
+ result = yield tslib_1.__await(this._listNext(resourceGroupName, namespaceName, continuationToken, options));
62
+ continuationToken = result.nextLink;
63
+ const page = result.value || [];
64
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
+ yield yield tslib_1.__await(page);
66
+ }
67
+ });
68
+ }
69
+ listPagingAll(resourceGroupName, namespaceName, options) {
70
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
71
+ var _a, e_1, _b, _c;
72
+ try {
73
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
74
+ _c = _f.value;
75
+ _d = false;
76
+ const page = _c;
77
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
78
+ }
79
+ }
80
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
+ finally {
82
+ try {
83
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
84
+ }
85
+ finally { if (e_1) throw e_1.error; }
86
+ }
87
+ });
88
+ }
89
+ /**
90
+ * Gets the authorization rules for a NotificationHub.
91
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
92
+ * @param namespaceName Namespace name
93
+ * @param notificationHubName Notification Hub name
94
+ * @param options The options parameters.
95
+ */
96
+ listAuthorizationRules(resourceGroupName, namespaceName, notificationHubName, options) {
97
+ const iter = this.listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, notificationHubName, options);
98
+ return {
99
+ next() {
100
+ return iter.next();
101
+ },
102
+ [Symbol.asyncIterator]() {
103
+ return this;
104
+ },
105
+ byPage: (settings) => {
106
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
107
+ throw new Error("maxPageSize is not supported by this operation.");
108
+ }
109
+ return this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options, settings);
110
+ },
111
+ };
112
+ }
113
+ listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options, settings) {
114
+ return tslib_1.__asyncGenerator(this, arguments, function* listAuthorizationRulesPagingPage_1() {
115
+ let result;
116
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
117
+ if (!continuationToken) {
118
+ result = yield tslib_1.__await(this._listAuthorizationRules(resourceGroupName, namespaceName, notificationHubName, options));
119
+ const page = result.value || [];
120
+ continuationToken = result.nextLink;
121
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
122
+ yield yield tslib_1.__await(page);
123
+ }
124
+ while (continuationToken) {
125
+ result = yield tslib_1.__await(this._listAuthorizationRulesNext(resourceGroupName, namespaceName, notificationHubName, continuationToken, options));
126
+ continuationToken = result.nextLink;
127
+ const page = result.value || [];
128
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
129
+ yield yield tslib_1.__await(page);
130
+ }
131
+ });
132
+ }
133
+ listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, notificationHubName, options) {
134
+ return tslib_1.__asyncGenerator(this, arguments, function* listAuthorizationRulesPagingAll_1() {
135
+ var _a, e_2, _b, _c;
136
+ try {
137
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
138
+ _c = _f.value;
139
+ _d = false;
140
+ const page = _c;
141
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
142
+ }
143
+ }
144
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
145
+ finally {
146
+ try {
147
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
148
+ }
149
+ finally { if (e_2) throw e_2.error; }
150
+ }
151
+ });
152
+ }
153
+ /**
154
+ * Checks the availability of the given notificationHub in a namespace.
155
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
156
+ * @param namespaceName Namespace name
157
+ * @param parameters Request content.
158
+ * @param options The options parameters.
159
+ */
160
+ checkNotificationHubAvailability(resourceGroupName, namespaceName, parameters, options) {
161
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, parameters, options }, checkNotificationHubAvailabilityOperationSpec);
162
+ }
163
+ /**
164
+ * Gets the notification hub.
165
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
166
+ * @param namespaceName Namespace name
167
+ * @param notificationHubName Notification Hub name
168
+ * @param options The options parameters.
169
+ */
170
+ get(resourceGroupName, namespaceName, notificationHubName, options) {
171
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, notificationHubName, options }, getOperationSpec);
172
+ }
173
+ /**
174
+ * Creates/Update a NotificationHub in a namespace.
175
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
176
+ * @param namespaceName Namespace name
177
+ * @param notificationHubName Notification Hub name
178
+ * @param parameters Request content.
179
+ * @param options The options parameters.
180
+ */
181
+ createOrUpdate(resourceGroupName, namespaceName, notificationHubName, parameters, options) {
182
+ return this.client.sendOperationRequest({
183
+ resourceGroupName,
184
+ namespaceName,
185
+ notificationHubName,
186
+ parameters,
187
+ options,
188
+ }, createOrUpdateOperationSpec);
189
+ }
190
+ /**
191
+ * Patch a NotificationHub in a namespace.
192
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
193
+ * @param namespaceName Namespace name
194
+ * @param notificationHubName Notification Hub name
195
+ * @param parameters Request content.
196
+ * @param options The options parameters.
197
+ */
198
+ update(resourceGroupName, namespaceName, notificationHubName, parameters, options) {
199
+ return this.client.sendOperationRequest({
200
+ resourceGroupName,
201
+ namespaceName,
202
+ notificationHubName,
203
+ parameters,
204
+ options,
205
+ }, updateOperationSpec);
206
+ }
207
+ /**
208
+ * Deletes a notification hub associated with a namespace.
209
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
210
+ * @param namespaceName Namespace name
211
+ * @param notificationHubName Notification Hub name
212
+ * @param options The options parameters.
213
+ */
214
+ delete(resourceGroupName, namespaceName, notificationHubName, options) {
215
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, notificationHubName, options }, deleteOperationSpec);
216
+ }
217
+ /**
218
+ * Lists the notification hubs associated with a namespace.
219
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
220
+ * @param namespaceName Namespace name
221
+ * @param options The options parameters.
222
+ */
223
+ _list(resourceGroupName, namespaceName, options) {
224
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, options }, listOperationSpec);
225
+ }
226
+ /**
227
+ * Test send a push notification.
228
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
229
+ * @param namespaceName Namespace name
230
+ * @param notificationHubName Notification Hub name
231
+ * @param options The options parameters.
232
+ */
233
+ debugSend(resourceGroupName, namespaceName, notificationHubName, options) {
234
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, notificationHubName, options }, debugSendOperationSpec);
235
+ }
236
+ /**
237
+ * Creates/Updates an authorization rule for a NotificationHub
238
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
239
+ * @param namespaceName Namespace name
240
+ * @param notificationHubName Notification Hub name
241
+ * @param authorizationRuleName Authorization Rule Name
242
+ * @param parameters Request content.
243
+ * @param options The options parameters.
244
+ */
245
+ createOrUpdateAuthorizationRule(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, parameters, options) {
246
+ return this.client.sendOperationRequest({
247
+ resourceGroupName,
248
+ namespaceName,
249
+ notificationHubName,
250
+ authorizationRuleName,
251
+ parameters,
252
+ options,
253
+ }, createOrUpdateAuthorizationRuleOperationSpec);
254
+ }
255
+ /**
256
+ * Deletes a notificationHub authorization rule
257
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
258
+ * @param namespaceName Namespace name
259
+ * @param notificationHubName Notification Hub name
260
+ * @param authorizationRuleName Authorization Rule Name
261
+ * @param options The options parameters.
262
+ */
263
+ deleteAuthorizationRule(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, options) {
264
+ return this.client.sendOperationRequest({
265
+ resourceGroupName,
266
+ namespaceName,
267
+ notificationHubName,
268
+ authorizationRuleName,
269
+ options,
270
+ }, deleteAuthorizationRuleOperationSpec);
271
+ }
272
+ /**
273
+ * Gets an authorization rule for a NotificationHub by name.
274
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
275
+ * @param namespaceName Namespace name
276
+ * @param notificationHubName Notification Hub name
277
+ * @param authorizationRuleName Authorization Rule Name
278
+ * @param options The options parameters.
279
+ */
280
+ getAuthorizationRule(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, options) {
281
+ return this.client.sendOperationRequest({
282
+ resourceGroupName,
283
+ namespaceName,
284
+ notificationHubName,
285
+ authorizationRuleName,
286
+ options,
287
+ }, getAuthorizationRuleOperationSpec);
288
+ }
289
+ /**
290
+ * Gets the authorization rules for a NotificationHub.
291
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
292
+ * @param namespaceName Namespace name
293
+ * @param notificationHubName Notification Hub name
294
+ * @param options The options parameters.
295
+ */
296
+ _listAuthorizationRules(resourceGroupName, namespaceName, notificationHubName, options) {
297
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, notificationHubName, options }, listAuthorizationRulesOperationSpec);
298
+ }
299
+ /**
300
+ * Gets the Primary and Secondary ConnectionStrings to the NotificationHub
301
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
302
+ * @param namespaceName Namespace name
303
+ * @param notificationHubName Notification Hub name
304
+ * @param authorizationRuleName Authorization Rule Name
305
+ * @param options The options parameters.
306
+ */
307
+ listKeys(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, options) {
308
+ return this.client.sendOperationRequest({
309
+ resourceGroupName,
310
+ namespaceName,
311
+ notificationHubName,
312
+ authorizationRuleName,
313
+ options,
314
+ }, listKeysOperationSpec);
315
+ }
316
+ /**
317
+ * Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule
318
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
319
+ * @param namespaceName Namespace name
320
+ * @param notificationHubName Notification Hub name
321
+ * @param authorizationRuleName Authorization Rule Name
322
+ * @param parameters Request content.
323
+ * @param options The options parameters.
324
+ */
325
+ regenerateKeys(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, parameters, options) {
326
+ return this.client.sendOperationRequest({
327
+ resourceGroupName,
328
+ namespaceName,
329
+ notificationHubName,
330
+ authorizationRuleName,
331
+ parameters,
332
+ options,
333
+ }, regenerateKeysOperationSpec);
334
+ }
335
+ /**
336
+ * Lists the PNS Credentials associated with a notification hub.
337
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
338
+ * @param namespaceName Namespace name
339
+ * @param notificationHubName Notification Hub name
340
+ * @param options The options parameters.
341
+ */
342
+ getPnsCredentials(resourceGroupName, namespaceName, notificationHubName, options) {
343
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, notificationHubName, options }, getPnsCredentialsOperationSpec);
344
+ }
345
+ /**
346
+ * ListNext
347
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
348
+ * @param namespaceName Namespace name
349
+ * @param nextLink The nextLink from the previous successful call to the List method.
350
+ * @param options The options parameters.
351
+ */
352
+ _listNext(resourceGroupName, namespaceName, nextLink, options) {
353
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, nextLink, options }, listNextOperationSpec);
354
+ }
355
+ /**
356
+ * ListAuthorizationRulesNext
357
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
358
+ * @param namespaceName Namespace name
359
+ * @param notificationHubName Notification Hub name
360
+ * @param nextLink The nextLink from the previous successful call to the ListAuthorizationRules method.
361
+ * @param options The options parameters.
362
+ */
363
+ _listAuthorizationRulesNext(resourceGroupName, namespaceName, notificationHubName, nextLink, options) {
364
+ return this.client.sendOperationRequest({
365
+ resourceGroupName,
366
+ namespaceName,
367
+ notificationHubName,
368
+ nextLink,
369
+ options,
370
+ }, listAuthorizationRulesNextOperationSpec);
371
+ }
372
+ }
373
+ exports.NotificationHubsImpl = NotificationHubsImpl;
374
+ // Operation Specifications
375
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
376
+ const checkNotificationHubAvailabilityOperationSpec = {
377
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability",
378
+ httpMethod: "POST",
379
+ responses: {
380
+ 200: {
381
+ bodyMapper: Mappers.CheckAvailabilityResult,
382
+ },
383
+ default: {
384
+ bodyMapper: Mappers.ErrorResponse,
385
+ },
386
+ },
387
+ requestBody: Parameters.parameters,
388
+ queryParameters: [Parameters.apiVersion],
389
+ urlParameters: [
390
+ Parameters.$host,
391
+ Parameters.subscriptionId,
392
+ Parameters.resourceGroupName,
393
+ Parameters.namespaceName,
394
+ ],
395
+ headerParameters: [Parameters.contentType, Parameters.accept],
396
+ mediaType: "json",
397
+ serializer,
398
+ };
399
+ const getOperationSpec = {
400
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}",
401
+ httpMethod: "GET",
402
+ responses: {
403
+ 200: {
404
+ bodyMapper: Mappers.NotificationHubResource,
405
+ },
406
+ default: {
407
+ bodyMapper: Mappers.ErrorResponse,
408
+ },
409
+ },
410
+ queryParameters: [Parameters.apiVersion],
411
+ urlParameters: [
412
+ Parameters.$host,
413
+ Parameters.subscriptionId,
414
+ Parameters.resourceGroupName,
415
+ Parameters.namespaceName,
416
+ Parameters.notificationHubName,
417
+ ],
418
+ headerParameters: [Parameters.accept],
419
+ serializer,
420
+ };
421
+ const createOrUpdateOperationSpec = {
422
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}",
423
+ httpMethod: "PUT",
424
+ responses: {
425
+ 200: {
426
+ bodyMapper: Mappers.NotificationHubResource,
427
+ },
428
+ 201: {
429
+ bodyMapper: Mappers.NotificationHubResource,
430
+ },
431
+ default: {
432
+ bodyMapper: Mappers.ErrorResponse,
433
+ },
434
+ },
435
+ requestBody: Parameters.parameters1,
436
+ queryParameters: [Parameters.apiVersion],
437
+ urlParameters: [
438
+ Parameters.$host,
439
+ Parameters.subscriptionId,
440
+ Parameters.resourceGroupName,
441
+ Parameters.namespaceName,
442
+ Parameters.notificationHubName,
443
+ ],
444
+ headerParameters: [Parameters.contentType, Parameters.accept],
445
+ mediaType: "json",
446
+ serializer,
447
+ };
448
+ const updateOperationSpec = {
449
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}",
450
+ httpMethod: "PATCH",
451
+ responses: {
452
+ 200: {
453
+ bodyMapper: Mappers.NotificationHubResource,
454
+ },
455
+ default: {
456
+ bodyMapper: Mappers.ErrorResponse,
457
+ },
458
+ },
459
+ requestBody: Parameters.parameters2,
460
+ queryParameters: [Parameters.apiVersion],
461
+ urlParameters: [
462
+ Parameters.$host,
463
+ Parameters.subscriptionId,
464
+ Parameters.resourceGroupName,
465
+ Parameters.namespaceName,
466
+ Parameters.notificationHubName,
467
+ ],
468
+ headerParameters: [Parameters.contentType, Parameters.accept],
469
+ mediaType: "json",
470
+ serializer,
471
+ };
472
+ const deleteOperationSpec = {
473
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}",
474
+ httpMethod: "DELETE",
475
+ responses: {
476
+ 200: {},
477
+ 204: {},
478
+ default: {
479
+ bodyMapper: Mappers.ErrorResponse,
480
+ },
481
+ },
482
+ queryParameters: [Parameters.apiVersion],
483
+ urlParameters: [
484
+ Parameters.$host,
485
+ Parameters.subscriptionId,
486
+ Parameters.resourceGroupName,
487
+ Parameters.namespaceName,
488
+ Parameters.notificationHubName,
489
+ ],
490
+ headerParameters: [Parameters.accept],
491
+ serializer,
492
+ };
493
+ const listOperationSpec = {
494
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs",
495
+ httpMethod: "GET",
496
+ responses: {
497
+ 200: {
498
+ bodyMapper: Mappers.NotificationHubListResult,
499
+ },
500
+ default: {
501
+ bodyMapper: Mappers.ErrorResponse,
502
+ },
503
+ },
504
+ queryParameters: [Parameters.apiVersion, Parameters.skipToken, Parameters.top],
505
+ urlParameters: [
506
+ Parameters.$host,
507
+ Parameters.subscriptionId,
508
+ Parameters.resourceGroupName,
509
+ Parameters.namespaceName,
510
+ ],
511
+ headerParameters: [Parameters.accept],
512
+ serializer,
513
+ };
514
+ const debugSendOperationSpec = {
515
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend",
516
+ httpMethod: "POST",
517
+ responses: {
518
+ 200: {
519
+ bodyMapper: Mappers.DebugSendResponse,
520
+ },
521
+ default: {
522
+ bodyMapper: Mappers.ErrorResponse,
523
+ },
524
+ },
525
+ queryParameters: [Parameters.apiVersion],
526
+ urlParameters: [
527
+ Parameters.$host,
528
+ Parameters.subscriptionId,
529
+ Parameters.resourceGroupName,
530
+ Parameters.namespaceName,
531
+ Parameters.notificationHubName,
532
+ ],
533
+ headerParameters: [Parameters.accept],
534
+ serializer,
535
+ };
536
+ const createOrUpdateAuthorizationRuleOperationSpec = {
537
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}",
538
+ httpMethod: "PUT",
539
+ responses: {
540
+ 200: {
541
+ bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,
542
+ },
543
+ 201: {
544
+ bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,
545
+ },
546
+ default: {
547
+ bodyMapper: Mappers.ErrorResponse,
548
+ },
549
+ },
550
+ requestBody: Parameters.parameters3,
551
+ queryParameters: [Parameters.apiVersion],
552
+ urlParameters: [
553
+ Parameters.$host,
554
+ Parameters.subscriptionId,
555
+ Parameters.resourceGroupName,
556
+ Parameters.namespaceName,
557
+ Parameters.notificationHubName,
558
+ Parameters.authorizationRuleName,
559
+ ],
560
+ headerParameters: [Parameters.contentType, Parameters.accept],
561
+ mediaType: "json",
562
+ serializer,
563
+ };
564
+ const deleteAuthorizationRuleOperationSpec = {
565
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}",
566
+ httpMethod: "DELETE",
567
+ responses: {
568
+ 200: {},
569
+ 204: {},
570
+ default: {
571
+ bodyMapper: Mappers.ErrorResponse,
572
+ },
573
+ },
574
+ queryParameters: [Parameters.apiVersion],
575
+ urlParameters: [
576
+ Parameters.$host,
577
+ Parameters.subscriptionId,
578
+ Parameters.resourceGroupName,
579
+ Parameters.namespaceName,
580
+ Parameters.notificationHubName,
581
+ Parameters.authorizationRuleName,
582
+ ],
583
+ headerParameters: [Parameters.accept],
584
+ serializer,
585
+ };
586
+ const getAuthorizationRuleOperationSpec = {
587
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}",
588
+ httpMethod: "GET",
589
+ responses: {
590
+ 200: {
591
+ bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,
592
+ },
593
+ default: {
594
+ bodyMapper: Mappers.ErrorResponse,
595
+ },
596
+ },
597
+ queryParameters: [Parameters.apiVersion],
598
+ urlParameters: [
599
+ Parameters.$host,
600
+ Parameters.subscriptionId,
601
+ Parameters.resourceGroupName,
602
+ Parameters.namespaceName,
603
+ Parameters.notificationHubName,
604
+ Parameters.authorizationRuleName,
605
+ ],
606
+ headerParameters: [Parameters.accept],
607
+ serializer,
608
+ };
609
+ const listAuthorizationRulesOperationSpec = {
610
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules",
611
+ httpMethod: "GET",
612
+ responses: {
613
+ 200: {
614
+ bodyMapper: Mappers.SharedAccessAuthorizationRuleListResult,
615
+ },
616
+ default: {
617
+ bodyMapper: Mappers.ErrorResponse,
618
+ },
619
+ },
620
+ queryParameters: [Parameters.apiVersion],
621
+ urlParameters: [
622
+ Parameters.$host,
623
+ Parameters.subscriptionId,
624
+ Parameters.resourceGroupName,
625
+ Parameters.namespaceName,
626
+ Parameters.notificationHubName,
627
+ ],
628
+ headerParameters: [Parameters.accept],
629
+ serializer,
630
+ };
631
+ const listKeysOperationSpec = {
632
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/listKeys",
633
+ httpMethod: "POST",
634
+ responses: {
635
+ 200: {
636
+ bodyMapper: Mappers.ResourceListKeys,
637
+ },
638
+ default: {
639
+ bodyMapper: Mappers.ErrorResponse,
640
+ },
641
+ },
642
+ queryParameters: [Parameters.apiVersion],
643
+ urlParameters: [
644
+ Parameters.$host,
645
+ Parameters.subscriptionId,
646
+ Parameters.resourceGroupName,
647
+ Parameters.namespaceName,
648
+ Parameters.notificationHubName,
649
+ Parameters.authorizationRuleName,
650
+ ],
651
+ headerParameters: [Parameters.accept],
652
+ serializer,
653
+ };
654
+ const regenerateKeysOperationSpec = {
655
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys",
656
+ httpMethod: "POST",
657
+ responses: {
658
+ 200: {
659
+ bodyMapper: Mappers.ResourceListKeys,
660
+ },
661
+ default: {
662
+ bodyMapper: Mappers.ErrorResponse,
663
+ },
664
+ },
665
+ requestBody: Parameters.parameters4,
666
+ queryParameters: [Parameters.apiVersion],
667
+ urlParameters: [
668
+ Parameters.$host,
669
+ Parameters.subscriptionId,
670
+ Parameters.resourceGroupName,
671
+ Parameters.namespaceName,
672
+ Parameters.notificationHubName,
673
+ Parameters.authorizationRuleName,
674
+ ],
675
+ headerParameters: [Parameters.contentType, Parameters.accept],
676
+ mediaType: "json",
677
+ serializer,
678
+ };
679
+ const getPnsCredentialsOperationSpec = {
680
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials",
681
+ httpMethod: "POST",
682
+ responses: {
683
+ 200: {
684
+ bodyMapper: Mappers.PnsCredentialsResource,
685
+ },
686
+ default: {
687
+ bodyMapper: Mappers.ErrorResponse,
688
+ },
689
+ },
690
+ queryParameters: [Parameters.apiVersion],
691
+ urlParameters: [
692
+ Parameters.$host,
693
+ Parameters.subscriptionId,
694
+ Parameters.resourceGroupName,
695
+ Parameters.namespaceName,
696
+ Parameters.notificationHubName,
697
+ ],
698
+ headerParameters: [Parameters.accept],
699
+ serializer,
700
+ };
701
+ const listNextOperationSpec = {
702
+ path: "{nextLink}",
703
+ httpMethod: "GET",
704
+ responses: {
705
+ 200: {
706
+ bodyMapper: Mappers.NotificationHubListResult,
707
+ },
708
+ default: {
709
+ bodyMapper: Mappers.ErrorResponse,
710
+ },
711
+ },
712
+ urlParameters: [
713
+ Parameters.$host,
714
+ Parameters.subscriptionId,
715
+ Parameters.resourceGroupName,
716
+ Parameters.namespaceName,
717
+ Parameters.nextLink,
718
+ ],
719
+ headerParameters: [Parameters.accept],
720
+ serializer,
721
+ };
722
+ const listAuthorizationRulesNextOperationSpec = {
723
+ path: "{nextLink}",
724
+ httpMethod: "GET",
725
+ responses: {
726
+ 200: {
727
+ bodyMapper: Mappers.SharedAccessAuthorizationRuleListResult,
728
+ },
729
+ default: {
730
+ bodyMapper: Mappers.ErrorResponse,
731
+ },
732
+ },
733
+ urlParameters: [
734
+ Parameters.$host,
735
+ Parameters.subscriptionId,
736
+ Parameters.resourceGroupName,
737
+ Parameters.namespaceName,
738
+ Parameters.notificationHubName,
739
+ Parameters.nextLink,
740
+ ],
741
+ headerParameters: [Parameters.accept],
742
+ serializer,
743
+ };
744
+ //# sourceMappingURL=notificationHubs.js.map