@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
@@ -1,2131 +1,1606 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { OperationState } from '@azure/core-lro';
4
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
5
- import { SimplePollerLike } from '@azure/core-lro';
6
-
7
- /**
8
- * Defines values for AccessRights. \
9
- * {@link KnownAccessRights} can be used interchangeably with AccessRights,
10
- * this enum contains the known values that the service supports.
11
- * ### Known values supported by the service
12
- * **Manage** \
13
- * **Send** \
14
- * **Listen**
15
- */
16
- export declare type AccessRights = string;
17
-
18
- /** Description of a NotificationHub AdmCredential. */
19
- export declare interface AdmCredential {
20
- /** Gets or sets the client identifier. */
21
- clientId: string;
22
- /** Gets or sets the credential secret access key. */
23
- clientSecret: string;
24
- /** Gets or sets the URL of the authorization token. */
25
- authTokenUrl: string;
26
- }
27
-
28
- /** Description of a NotificationHub ApnsCredential. */
29
- export declare interface ApnsCredential {
30
- /** Gets or sets the APNS certificate. */
31
- apnsCertificate?: string;
32
- /** Gets or sets the certificate key. */
33
- certificateKey?: string;
34
- /** Gets or sets the endpoint of this credential. */
35
- endpoint: string;
36
- /** Gets or sets the APNS certificate Thumbprint */
37
- thumbprint?: string;
38
- /**
39
- * Gets or sets a 10-character key identifier (kid) key, obtained from
40
- * your developer account
41
- */
42
- keyId?: string;
43
- /** Gets or sets the name of the application */
44
- appName?: string;
45
- /**
46
- * Gets or sets the issuer (iss) registered claim key, whose value is
47
- * your 10-character Team ID, obtained from your developer account
48
- */
49
- appId?: string;
50
- /**
51
- * Gets or sets provider Authentication Token, obtained through your
52
- * developer account
53
- */
54
- token?: string;
55
- }
56
-
57
- /** Represents metric availability (part of RP operation descriptions). */
58
- export declare interface Availability {
59
- /**
60
- * Time grain of the availability.
61
- * NOTE: This property will not be serialized. It can only be populated by the server.
62
- */
63
- readonly timeGrain?: string;
64
- /**
65
- * Duration of the availability blob.
66
- * NOTE: This property will not be serialized. It can only be populated by the server.
67
- */
68
- readonly blobDuration?: string;
69
- }
70
-
71
- /** Description of a NotificationHub BaiduCredential. */
72
- export declare interface BaiduCredential {
73
- /** Gets or sets baidu Api Key. */
74
- baiduApiKey: string;
75
- /** Gets or sets baidu Endpoint. */
76
- baiduEndPoint: string;
77
- /** Gets or sets baidu Secret Key */
78
- baiduSecretKey: string;
79
- }
80
-
81
- /** Description of a NotificationHub BrowserCredential. */
82
- export declare interface BrowserCredential {
83
- /** Gets or sets web push subject. */
84
- subject: string;
85
- /** Gets or sets VAPID private key. */
86
- vapidPrivateKey: string;
87
- /** Gets or sets VAPID public key. */
88
- vapidPublicKey: string;
89
- }
90
-
91
- /**
92
- * Parameters supplied to the Check Name Availability for Namespace and
93
- * NotificationHubs.
94
- */
95
- export declare interface CheckAvailabilityParameters {
96
- /**
97
- * Gets resource Id
98
- * NOTE: This property will not be serialized. It can only be populated by the server.
99
- */
100
- readonly id?: string;
101
- /** Gets or sets resource name */
102
- name: string;
103
- /**
104
- * Gets resource type
105
- * NOTE: This property will not be serialized. It can only be populated by the server.
106
- */
107
- readonly type?: string;
108
- /** Gets or sets resource location */
109
- location?: string;
110
- /** Gets or sets resource tags */
111
- tags?: {
112
- [propertyName: string]: string;
113
- };
114
- /** Not used and deprecated since API version 2023-01-01-preview */
115
- isAvailiable?: boolean;
116
- /** The Sku description for a namespace */
117
- sku?: Sku;
118
- }
119
-
120
- /** Description of a CheckAvailability resource. */
121
- export declare interface CheckAvailabilityResult extends ProxyResource {
122
- /**
123
- * Gets or sets true if the name is available and can be used to
124
- * create new Namespace/NotificationHub. Otherwise false.
125
- */
126
- isAvailiable?: boolean;
127
- /** Deprecated - only for compatibility. */
128
- location?: string;
129
- /** Deprecated - only for compatibility. */
130
- tags?: {
131
- [propertyName: string]: string;
132
- };
133
- /** The Sku description for a namespace */
134
- sku?: Sku;
135
- }
136
-
137
- /**
138
- * Part of Private Endpoint description that stores information about a connection between Private Endpoint and Notification Hubs namespace.
139
- * This is internal class, not visible to customers, and we use it only to discover the link identifier.
140
- */
141
- export declare interface ConnectionDetails {
142
- /**
143
- * A unique ID of the connection. This is not the ARM id, but rather an internal identifier set by the Networking RP. Notification Hubs code
144
- * does not analyze it.
145
- * NOTE: This property will not be serialized. It can only be populated by the server.
146
- */
147
- readonly id?: string;
148
- /**
149
- * IP address of the Private Endpoint. This is not used by Notification Hubs.
150
- * NOTE: This property will not be serialized. It can only be populated by the server.
151
- */
152
- readonly privateIpAddress?: string;
153
- /**
154
- * Link identifier. This is a string representation of an integer that is also encoded in every IPv6 frame received by Front Door,
155
- * and we use it to create implicit authorization rule that allows connection from the associated Private Endpoint.
156
- * NOTE: This property will not be serialized. It can only be populated by the server.
157
- */
158
- readonly linkIdentifier?: string;
159
- /**
160
- * Group name. Always "namespace" for Notification Hubs.
161
- * NOTE: This property will not be serialized. It can only be populated by the server.
162
- */
163
- readonly groupId?: string;
164
- /**
165
- * Member name. Always "namespace" for Notification Hubs.
166
- * NOTE: This property will not be serialized. It can only be populated by the server.
167
- */
168
- readonly memberName?: string;
169
- }
170
-
171
- /**
172
- * Defines values for CreatedByType. \
173
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
174
- * this enum contains the known values that the service supports.
175
- * ### Known values supported by the service
176
- * **User** \
177
- * **Application** \
178
- * **ManagedIdentity** \
179
- * **Key**
180
- */
181
- export declare type CreatedByType = string;
182
-
183
- /** Description of a NotificationHub Resource. */
184
- export declare interface DebugSendResponse extends ProxyResource {
185
- /** Deprecated - only for compatibility. */
186
- location?: string;
187
- /** Deprecated - only for compatibility. */
188
- tags?: {
189
- [propertyName: string]: string;
190
- };
191
- /**
192
- * Gets or sets successful send
193
- * NOTE: This property will not be serialized. It can only be populated by the server.
194
- */
195
- readonly success?: number;
196
- /**
197
- * Gets or sets send failure
198
- * NOTE: This property will not be serialized. It can only be populated by the server.
199
- */
200
- readonly failure?: number;
201
- /**
202
- * Gets or sets actual failure description
203
- * NOTE: This property will not be serialized. It can only be populated by the server.
204
- */
205
- readonly results?: RegistrationResult[];
206
- }
207
-
208
- /** The resource management error additional info. */
209
- export declare interface ErrorAdditionalInfo {
210
- /**
211
- * The additional info type.
212
- * NOTE: This property will not be serialized. It can only be populated by the server.
213
- */
214
- readonly type?: string;
215
- /**
216
- * The additional info.
217
- * NOTE: This property will not be serialized. It can only be populated by the server.
218
- */
219
- readonly info?: Record<string, unknown>;
220
- }
221
-
222
- /** The error detail. */
223
- export declare interface ErrorDetail {
224
- /**
225
- * The error code.
226
- * NOTE: This property will not be serialized. It can only be populated by the server.
227
- */
228
- readonly code?: string;
229
- /**
230
- * The error message.
231
- * NOTE: This property will not be serialized. It can only be populated by the server.
232
- */
233
- readonly message?: string;
234
- /**
235
- * The error target.
236
- * NOTE: This property will not be serialized. It can only be populated by the server.
237
- */
238
- readonly target?: string;
239
- /**
240
- * The error details.
241
- * NOTE: This property will not be serialized. It can only be populated by the server.
242
- */
243
- readonly details?: ErrorDetail[];
244
- /**
245
- * The error additional info.
246
- * NOTE: This property will not be serialized. It can only be populated by the server.
247
- */
248
- readonly additionalInfo?: ErrorAdditionalInfo[];
249
- }
250
-
251
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
252
- export declare interface ErrorResponse {
253
- /** The error object. */
254
- error?: ErrorDetail;
255
- }
256
-
257
- /** Description of a NotificationHub FcmV1Credential. */
258
- export declare interface FcmV1Credential {
259
- /** Gets or sets client email. */
260
- clientEmail: string;
261
- /** Gets or sets private key. */
262
- privateKey: string;
263
- /** Gets or sets project id. */
264
- projectId: string;
265
- }
266
-
267
- /** Description of a NotificationHub GcmCredential. */
268
- export declare interface GcmCredential {
269
- /** Gets or sets the GCM endpoint. */
270
- gcmEndpoint?: string;
271
- /** Gets or sets the Google API key. */
272
- googleApiKey: string;
273
- }
274
-
275
- /**
276
- * Given the last `.value` produced by the `byPage` iterator,
277
- * returns a continuation token that can be used to begin paging from
278
- * that point later.
279
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
280
- * @returns The continuation token that can be passed into byPage() during future calls.
281
- */
282
- export declare function getContinuationToken(page: unknown): string | undefined;
283
-
284
- /**
285
- * Represents a connectivity information to Notification Hubs namespace. This is part of PrivateLinkService proxy that tell
286
- * the Networking RP how to connect to the Notification Hubs namespace.
287
- */
288
- export declare interface GroupConnectivityInformation {
289
- /**
290
- * Group id. Always set to "namespace".
291
- * NOTE: This property will not be serialized. It can only be populated by the server.
292
- */
293
- readonly groupId?: string;
294
- /**
295
- * Member name. Always set to "namespace".
296
- * NOTE: This property will not be serialized. It can only be populated by the server.
297
- */
298
- readonly memberName?: string;
299
- /**
300
- * List of customer-visible domain names that point to a Notification Hubs namespace.
301
- * NOTE: This property will not be serialized. It can only be populated by the server.
302
- */
303
- readonly customerVisibleFqdns?: string[];
304
- /**
305
- * One of the domain name from the customer-visible names; this is used internally by Private Link service to make connection to Notification Hubs
306
- * namespace.
307
- * NOTE: This property will not be serialized. It can only be populated by the server.
308
- */
309
- readonly internalFqdn?: string;
310
- /**
311
- * Not used by Notification Hubs.
312
- * NOTE: This property will not be serialized. It can only be populated by the server.
313
- */
314
- readonly redirectMapId?: string;
315
- /**
316
- * ARM region for Private Link Service. We use the region that contains the connected Notification Hubs namespace.
317
- * NOTE: This property will not be serialized. It can only be populated by the server.
318
- */
319
- readonly privateLinkServiceArmRegion?: string;
320
- }
321
-
322
- /** A network authorization rule that filters traffic based on IP address. */
323
- export declare interface IpRule {
324
- /** IP mask. */
325
- ipMask: string;
326
- /** List of access rights. */
327
- rights: AccessRights[];
328
- }
329
-
330
- /** Known values of {@link AccessRights} that the service accepts. */
331
- export declare enum KnownAccessRights {
332
- /** Manage */
333
- Manage = "Manage",
334
- /** Send */
335
- Send = "Send",
336
- /** Listen */
337
- Listen = "Listen"
338
- }
339
-
340
- /** Known values of {@link CreatedByType} that the service accepts. */
341
- export declare enum KnownCreatedByType {
342
- /** User */
343
- User = "User",
344
- /** Application */
345
- Application = "Application",
346
- /** ManagedIdentity */
347
- ManagedIdentity = "ManagedIdentity",
348
- /** Key */
349
- Key = "Key"
350
- }
351
-
352
- /** Known values of {@link NamespaceStatus} that the service accepts. */
353
- export declare enum KnownNamespaceStatus {
354
- /** Created */
355
- Created = "Created",
356
- /** Creating */
357
- Creating = "Creating",
358
- /** Suspended */
359
- Suspended = "Suspended",
360
- /** Deleting */
361
- Deleting = "Deleting"
362
- }
363
-
364
- /** Known values of {@link NamespaceType} that the service accepts. */
365
- export declare enum KnownNamespaceType {
366
- /** Messaging */
367
- Messaging = "Messaging",
368
- /** NotificationHub */
369
- NotificationHub = "NotificationHub"
370
- }
371
-
372
- /** Known values of {@link OperationProvisioningState} that the service accepts. */
373
- export declare enum KnownOperationProvisioningState {
374
- /** Unknown */
375
- Unknown = "Unknown",
376
- /** InProgress */
377
- InProgress = "InProgress",
378
- /** Succeeded */
379
- Succeeded = "Succeeded",
380
- /** Failed */
381
- Failed = "Failed",
382
- /** Canceled */
383
- Canceled = "Canceled",
384
- /** Pending */
385
- Pending = "Pending",
386
- /** Disabled */
387
- Disabled = "Disabled"
388
- }
389
-
390
- /** Known values of {@link PolicyKeyType} that the service accepts. */
391
- export declare enum KnownPolicyKeyType {
392
- /** PrimaryKey */
393
- PrimaryKey = "PrimaryKey",
394
- /** SecondaryKey */
395
- SecondaryKey = "SecondaryKey"
396
- }
397
-
398
- /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
399
- export declare enum KnownPrivateEndpointConnectionProvisioningState {
400
- /** Unknown */
401
- Unknown = "Unknown",
402
- /** Succeeded */
403
- Succeeded = "Succeeded",
404
- /** Creating */
405
- Creating = "Creating",
406
- /** Updating */
407
- Updating = "Updating",
408
- /** UpdatingByProxy */
409
- UpdatingByProxy = "UpdatingByProxy",
410
- /** Deleting */
411
- Deleting = "Deleting",
412
- /** DeletingByProxy */
413
- DeletingByProxy = "DeletingByProxy",
414
- /** Deleted */
415
- Deleted = "Deleted"
416
- }
417
-
418
- /** Known values of {@link PrivateLinkConnectionStatus} that the service accepts. */
419
- export declare enum KnownPrivateLinkConnectionStatus {
420
- /** Disconnected */
421
- Disconnected = "Disconnected",
422
- /** Pending */
423
- Pending = "Pending",
424
- /** Approved */
425
- Approved = "Approved",
426
- /** Rejected */
427
- Rejected = "Rejected"
428
- }
429
-
430
- /** Known values of {@link PublicNetworkAccess} that the service accepts. */
431
- export declare enum KnownPublicNetworkAccess {
432
- /** Enabled */
433
- Enabled = "Enabled",
434
- /** Disabled */
435
- Disabled = "Disabled"
436
- }
437
-
438
- /** Known values of {@link ReplicationRegion} that the service accepts. */
439
- export declare enum KnownReplicationRegion {
440
- /** Default */
441
- Default = "Default",
442
- /** WestUs2 */
443
- WestUs2 = "WestUs2",
444
- /** NorthEurope */
445
- NorthEurope = "NorthEurope",
446
- /** AustraliaEast */
447
- AustraliaEast = "AustraliaEast",
448
- /** BrazilSouth */
449
- BrazilSouth = "BrazilSouth",
450
- /** SouthEastAsia */
451
- SouthEastAsia = "SouthEastAsia",
452
- /** SouthAfricaNorth */
453
- SouthAfricaNorth = "SouthAfricaNorth",
454
- /** None */
455
- None = "None"
456
- }
457
-
458
- /** Known values of {@link SkuName} that the service accepts. */
459
- export declare enum KnownSkuName {
460
- /** Free */
461
- Free = "Free",
462
- /** Basic */
463
- Basic = "Basic",
464
- /** Standard */
465
- Standard = "Standard"
466
- }
467
-
468
- /** Known values of {@link ZoneRedundancyPreference} that the service accepts. */
469
- export declare enum KnownZoneRedundancyPreference {
470
- /** Disabled */
471
- Disabled = "Disabled",
472
- /** Enabled */
473
- Enabled = "Enabled"
474
- }
475
-
476
- /** A single log category specification. */
477
- export declare interface LogSpecification {
478
- /**
479
- * Name of the log category.
480
- * NOTE: This property will not be serialized. It can only be populated by the server.
481
- */
482
- readonly name?: string;
483
- /**
484
- * Display name of the log category.
485
- * NOTE: This property will not be serialized. It can only be populated by the server.
486
- */
487
- readonly displayName?: string;
488
- /**
489
- * Duration of data written to a single blob.
490
- * NOTE: This property will not be serialized. It can only be populated by the server.
491
- */
492
- readonly blobDuration?: string;
493
- /** Category group for the log specification. */
494
- categoryGroups?: string[];
495
- }
496
-
497
- /** A metric specification. */
498
- export declare interface MetricSpecification {
499
- /**
500
- * Metric name / id.
501
- * NOTE: This property will not be serialized. It can only be populated by the server.
502
- */
503
- readonly name?: string;
504
- /**
505
- * User-visible metric name.
506
- * NOTE: This property will not be serialized. It can only be populated by the server.
507
- */
508
- readonly displayName?: string;
509
- /**
510
- * Description of the metric.
511
- * NOTE: This property will not be serialized. It can only be populated by the server.
512
- */
513
- readonly displayDescription?: string;
514
- /**
515
- * Metric unit.
516
- * NOTE: This property will not be serialized. It can only be populated by the server.
517
- */
518
- readonly unit?: string;
519
- /**
520
- * Type of the aggregation (Average, Minimum, Maximum, Total or Count).
521
- * NOTE: This property will not be serialized. It can only be populated by the server.
522
- */
523
- readonly aggregationType?: string;
524
- /**
525
- * List of availabilities.
526
- * NOTE: This property will not be serialized. It can only be populated by the server.
527
- */
528
- readonly availabilities?: Availability[];
529
- /**
530
- * List of supported time grain types.
531
- * NOTE: This property will not be serialized. It can only be populated by the server.
532
- */
533
- readonly supportedTimeGrainTypes?: string[];
534
- /**
535
- * The matching regex pattern to be applied to the field pointed by the "metricsFilterPathSelector" flag in the ARM manifest.
536
- * NOTE: This property will not be serialized. It can only be populated by the server.
537
- */
538
- readonly metricFilterPattern?: string;
539
- /**
540
- * Optional property. If set to true, then zero will be returned for time duration where no metric is emitted / published.
541
- * NOTE: This property will not be serialized. It can only be populated by the server.
542
- */
543
- readonly fillGapWithZero?: boolean;
544
- }
545
-
546
- /** Description of a NotificationHub MpnsCredential. */
547
- export declare interface MpnsCredential {
548
- /** Gets or sets the MPNS certificate. */
549
- mpnsCertificate: string;
550
- /** Gets or sets the certificate key for this credential. */
551
- certificateKey: string;
552
- /** Gets or sets the MPNS certificate Thumbprint */
553
- thumbprint: string;
554
- }
555
-
556
- /** The response of the List Namespace operation. */
557
- export declare interface NamespaceListResult {
558
- /**
559
- * Gets or sets result of the List AuthorizationRules operation.
560
- * NOTE: This property will not be serialized. It can only be populated by the server.
561
- */
562
- readonly value?: NamespaceResource[];
563
- /**
564
- * Gets or sets link to the next set of results.
565
- * NOTE: This property will not be serialized. It can only be populated by the server.
566
- */
567
- readonly nextLink?: string;
568
- }
569
-
570
- /** Patch parameter for NamespaceResource. */
571
- export declare interface NamespacePatchParameters {
572
- /** The Sku description for a namespace */
573
- sku?: Sku;
574
- /** Represents namespace properties. */
575
- properties?: NamespaceProperties;
576
- /** Dictionary of <string> */
577
- tags?: {
578
- [propertyName: string]: string;
579
- };
580
- }
581
-
582
- /** Represents namespace properties. */
583
- export declare interface NamespaceProperties {
584
- /**
585
- * Name of the Notification Hubs namespace. This is immutable property, set automatically
586
- * by the service when the namespace is created.
587
- * NOTE: This property will not be serialized. It can only be populated by the server.
588
- */
589
- readonly name?: string;
590
- /** Defines values for OperationProvisioningState. */
591
- provisioningState?: OperationProvisioningState;
592
- /** Namespace status. */
593
- status?: NamespaceStatus;
594
- /**
595
- * Gets or sets whether or not the namespace is currently enabled.
596
- * NOTE: This property will not be serialized. It can only be populated by the server.
597
- */
598
- readonly enabled?: boolean;
599
- /**
600
- * Gets or sets whether or not the namespace is set as Critical.
601
- * NOTE: This property will not be serialized. It can only be populated by the server.
602
- */
603
- readonly critical?: boolean;
604
- /**
605
- * Namespace subscription id.
606
- * NOTE: This property will not be serialized. It can only be populated by the server.
607
- */
608
- readonly subscriptionId?: string;
609
- /**
610
- * Region. The value is always set to the same value as Namespace.Location, so we are deprecating
611
- * this property.
612
- * NOTE: This property will not be serialized. It can only be populated by the server.
613
- */
614
- readonly region?: string;
615
- /**
616
- * Azure Insights Metrics id.
617
- * NOTE: This property will not be serialized. It can only be populated by the server.
618
- */
619
- readonly metricId?: string;
620
- /**
621
- * Time when the namespace was created.
622
- * NOTE: This property will not be serialized. It can only be populated by the server.
623
- */
624
- readonly createdAt?: Date;
625
- /**
626
- * Time when the namespace was updated.
627
- * NOTE: This property will not be serialized. It can only be populated by the server.
628
- */
629
- readonly updatedAt?: Date;
630
- /** Defines values for NamespaceType. */
631
- namespaceType?: NamespaceType;
632
- /** Allowed replication region */
633
- replicationRegion?: ReplicationRegion;
634
- /** Namespace SKU name. */
635
- zoneRedundancy?: ZoneRedundancyPreference;
636
- /** A collection of network authorization rules. */
637
- networkAcls?: NetworkAcls;
638
- /** Collection of Notification Hub or Notification Hub Namespace PNS credentials. */
639
- pnsCredentials?: PnsCredentials;
640
- /**
641
- * Gets or sets endpoint you can use to perform NotificationHub
642
- * operations.
643
- * NOTE: This property will not be serialized. It can only be populated by the server.
644
- */
645
- readonly serviceBusEndpoint?: string;
646
- /**
647
- * Private Endpoint Connections for namespace
648
- * NOTE: This property will not be serialized. It can only be populated by the server.
649
- */
650
- readonly privateEndpointConnections?: PrivateEndpointConnectionResource[];
651
- /** Gets or sets scaleUnit where the namespace gets created */
652
- scaleUnit?: string;
653
- /** Deprecated. */
654
- dataCenter?: string;
655
- /** Type of public network access. */
656
- publicNetworkAccess?: PublicNetworkAccess;
657
- }
658
-
659
- /** Notification Hubs Namespace Resource. */
660
- export declare interface NamespaceResource extends TrackedResource {
661
- /** The Sku description for a namespace */
662
- sku: Sku;
663
- /**
664
- * Name of the Notification Hubs namespace. This is immutable property, set automatically
665
- * by the service when the namespace is created.
666
- * NOTE: This property will not be serialized. It can only be populated by the server.
667
- */
668
- readonly namePropertiesName?: string;
669
- /** Defines values for OperationProvisioningState. */
670
- provisioningState?: OperationProvisioningState;
671
- /** Namespace status. */
672
- status?: NamespaceStatus;
673
- /**
674
- * Gets or sets whether or not the namespace is currently enabled.
675
- * NOTE: This property will not be serialized. It can only be populated by the server.
676
- */
677
- readonly enabled?: boolean;
678
- /**
679
- * Gets or sets whether or not the namespace is set as Critical.
680
- * NOTE: This property will not be serialized. It can only be populated by the server.
681
- */
682
- readonly critical?: boolean;
683
- /**
684
- * Namespace subscription id.
685
- * NOTE: This property will not be serialized. It can only be populated by the server.
686
- */
687
- readonly subscriptionId?: string;
688
- /**
689
- * Region. The value is always set to the same value as Namespace.Location, so we are deprecating
690
- * this property.
691
- * NOTE: This property will not be serialized. It can only be populated by the server.
692
- */
693
- readonly region?: string;
694
- /**
695
- * Azure Insights Metrics id.
696
- * NOTE: This property will not be serialized. It can only be populated by the server.
697
- */
698
- readonly metricId?: string;
699
- /**
700
- * Time when the namespace was created.
701
- * NOTE: This property will not be serialized. It can only be populated by the server.
702
- */
703
- readonly createdAt?: Date;
704
- /**
705
- * Time when the namespace was updated.
706
- * NOTE: This property will not be serialized. It can only be populated by the server.
707
- */
708
- readonly updatedAt?: Date;
709
- /** Defines values for NamespaceType. */
710
- namespaceType?: NamespaceType;
711
- /** Allowed replication region */
712
- replicationRegion?: ReplicationRegion;
713
- /** Namespace SKU name. */
714
- zoneRedundancy?: ZoneRedundancyPreference;
715
- /** A collection of network authorization rules. */
716
- networkAcls?: NetworkAcls;
717
- /** Collection of Notification Hub or Notification Hub Namespace PNS credentials. */
718
- pnsCredentials?: PnsCredentials;
719
- /**
720
- * Gets or sets endpoint you can use to perform NotificationHub
721
- * operations.
722
- * NOTE: This property will not be serialized. It can only be populated by the server.
723
- */
724
- readonly serviceBusEndpoint?: string;
725
- /**
726
- * Private Endpoint Connections for namespace
727
- * NOTE: This property will not be serialized. It can only be populated by the server.
728
- */
729
- readonly privateEndpointConnections?: PrivateEndpointConnectionResource[];
730
- /** Gets or sets scaleUnit where the namespace gets created */
731
- scaleUnit?: string;
732
- /** Deprecated. */
733
- dataCenter?: string;
734
- /** Type of public network access. */
735
- publicNetworkAccess?: PublicNetworkAccess;
736
- }
737
-
738
- /** Interface representing a Namespaces. */
739
- export declare interface Namespaces {
740
- /**
741
- * Lists all the available namespaces within the subscription.
742
- * @param options The options parameters.
743
- */
744
- listAll(options?: NamespacesListAllOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
745
- /**
746
- * Lists the available namespaces within a resource group.
747
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
748
- * @param options The options parameters.
749
- */
750
- list(resourceGroupName: string, options?: NamespacesListOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
751
- /**
752
- * Gets the authorization rules for a namespace.
753
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
754
- * @param namespaceName Namespace name
755
- * @param options The options parameters.
756
- */
757
- listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: NamespacesListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;
758
- /**
759
- * Checks the availability of the given service namespace across all Azure subscriptions. This is
760
- * useful because the domain name is created based on the service namespace name.
761
- * @param parameters Request content.
762
- * @param options The options parameters.
763
- */
764
- checkAvailability(parameters: CheckAvailabilityParameters, options?: NamespacesCheckAvailabilityOptionalParams): Promise<NamespacesCheckAvailabilityResponse>;
765
- /**
766
- * Returns the given namespace.
767
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
768
- * @param namespaceName Namespace name
769
- * @param options The options parameters.
770
- */
771
- get(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams): Promise<NamespacesGetResponse>;
772
- /**
773
- * Creates / Updates a Notification Hub namespace. This operation is idempotent.
774
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
775
- * @param namespaceName Namespace name
776
- * @param parameters Request content.
777
- * @param options The options parameters.
778
- */
779
- beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, parameters: NamespaceResource, options?: NamespacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NamespacesCreateOrUpdateResponse>, NamespacesCreateOrUpdateResponse>>;
780
- /**
781
- * Creates / Updates a Notification Hub namespace. This operation is idempotent.
782
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
783
- * @param namespaceName Namespace name
784
- * @param parameters Request content.
785
- * @param options The options parameters.
786
- */
787
- beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, parameters: NamespaceResource, options?: NamespacesCreateOrUpdateOptionalParams): Promise<NamespacesCreateOrUpdateResponse>;
788
- /**
789
- * Patches the existing namespace.
790
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
791
- * @param namespaceName Namespace name
792
- * @param parameters Request content.
793
- * @param options The options parameters.
794
- */
795
- update(resourceGroupName: string, namespaceName: string, parameters: NamespacePatchParameters, options?: NamespacesUpdateOptionalParams): Promise<NamespacesUpdateResponse>;
796
- /**
797
- * Deletes an existing namespace. This operation also removes all associated notificationHubs under the
798
- * namespace.
799
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
800
- * @param namespaceName Namespace name
801
- * @param options The options parameters.
802
- */
803
- delete(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams): Promise<void>;
804
- /**
805
- * Creates an authorization rule for a namespace
806
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
807
- * @param namespaceName Namespace name
808
- * @param authorizationRuleName Authorization Rule Name
809
- * @param parameters Request content.
810
- * @param options The options parameters.
811
- */
812
- createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleResource, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NamespacesCreateOrUpdateAuthorizationRuleResponse>;
813
- /**
814
- * Deletes a namespace authorization rule
815
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
816
- * @param namespaceName Namespace name
817
- * @param authorizationRuleName Authorization Rule Name
818
- * @param options The options parameters.
819
- */
820
- deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesDeleteAuthorizationRuleOptionalParams): Promise<void>;
821
- /**
822
- * Gets an authorization rule for a namespace by name.
823
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
824
- * @param namespaceName Namespace name
825
- * @param authorizationRuleName Authorization Rule Name
826
- * @param options The options parameters.
827
- */
828
- getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesGetAuthorizationRuleOptionalParams): Promise<NamespacesGetAuthorizationRuleResponse>;
829
- /**
830
- * Gets the Primary and Secondary ConnectionStrings to the namespace.
831
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
832
- * @param namespaceName Namespace name
833
- * @param authorizationRuleName Authorization Rule Name
834
- * @param options The options parameters.
835
- */
836
- listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesListKeysOptionalParams): Promise<NamespacesListKeysResponse>;
837
- /**
838
- * Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule
839
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
840
- * @param namespaceName Namespace name
841
- * @param authorizationRuleName Authorization Rule Name
842
- * @param parameters Request content.
843
- * @param options The options parameters.
844
- */
845
- regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: PolicyKeyResource, options?: NamespacesRegenerateKeysOptionalParams): Promise<NamespacesRegenerateKeysResponse>;
846
- /**
847
- * Lists the PNS credentials associated with a namespace.
848
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
849
- * @param namespaceName Namespace name
850
- * @param options The options parameters.
851
- */
852
- getPnsCredentials(resourceGroupName: string, namespaceName: string, options?: NamespacesGetPnsCredentialsOptionalParams): Promise<NamespacesGetPnsCredentialsResponse>;
853
- }
854
-
855
- /** Optional parameters. */
856
- export declare interface NamespacesCheckAvailabilityOptionalParams extends coreClient.OperationOptions {
857
- }
858
-
859
- /** Contains response data for the checkAvailability operation. */
860
- export declare type NamespacesCheckAvailabilityResponse = CheckAvailabilityResult;
861
-
862
- /** Optional parameters. */
863
- export declare interface NamespacesCreateOrUpdateAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
864
- }
865
-
866
- /** Contains response data for the createOrUpdateAuthorizationRule operation. */
867
- export declare type NamespacesCreateOrUpdateAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
868
-
869
- /** Optional parameters. */
870
- export declare interface NamespacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
871
- /** Delay to wait until next poll, in milliseconds. */
872
- updateIntervalInMs?: number;
873
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
874
- resumeFrom?: string;
875
- }
876
-
877
- /** Contains response data for the createOrUpdate operation. */
878
- export declare type NamespacesCreateOrUpdateResponse = NamespaceResource;
879
-
880
- /** Optional parameters. */
881
- export declare interface NamespacesDeleteAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
882
- }
883
-
884
- /** Optional parameters. */
885
- export declare interface NamespacesDeleteOptionalParams extends coreClient.OperationOptions {
886
- }
887
-
888
- /** Optional parameters. */
889
- export declare interface NamespacesGetAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
890
- }
891
-
892
- /** Contains response data for the getAuthorizationRule operation. */
893
- export declare type NamespacesGetAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
894
-
895
- /** Optional parameters. */
896
- export declare interface NamespacesGetOptionalParams extends coreClient.OperationOptions {
897
- }
898
-
899
- /** Optional parameters. */
900
- export declare interface NamespacesGetPnsCredentialsOptionalParams extends coreClient.OperationOptions {
901
- }
902
-
903
- /** Contains response data for the getPnsCredentials operation. */
904
- export declare type NamespacesGetPnsCredentialsResponse = PnsCredentialsResource;
905
-
906
- /** Contains response data for the get operation. */
907
- export declare type NamespacesGetResponse = NamespaceResource;
908
-
909
- /** Optional parameters. */
910
- export declare interface NamespacesListAllNextOptionalParams extends coreClient.OperationOptions {
911
- }
912
-
913
- /** Contains response data for the listAllNext operation. */
914
- export declare type NamespacesListAllNextResponse = NamespaceListResult;
915
-
916
- /** Optional parameters. */
917
- export declare interface NamespacesListAllOptionalParams extends coreClient.OperationOptions {
918
- /** Skip token for subsequent requests. */
919
- skipToken?: string;
920
- /** Maximum number of results to return. */
921
- top?: number;
922
- }
923
-
924
- /** Contains response data for the listAll operation. */
925
- export declare type NamespacesListAllResponse = NamespaceListResult;
926
-
927
- /** Optional parameters. */
928
- export declare interface NamespacesListAuthorizationRulesNextOptionalParams extends coreClient.OperationOptions {
929
- }
930
-
931
- /** Contains response data for the listAuthorizationRulesNext operation. */
932
- export declare type NamespacesListAuthorizationRulesNextResponse = SharedAccessAuthorizationRuleListResult;
933
-
934
- /** Optional parameters. */
935
- export declare interface NamespacesListAuthorizationRulesOptionalParams extends coreClient.OperationOptions {
936
- }
937
-
938
- /** Contains response data for the listAuthorizationRules operation. */
939
- export declare type NamespacesListAuthorizationRulesResponse = SharedAccessAuthorizationRuleListResult;
940
-
941
- /** Optional parameters. */
942
- export declare interface NamespacesListKeysOptionalParams extends coreClient.OperationOptions {
943
- }
944
-
945
- /** Contains response data for the listKeys operation. */
946
- export declare type NamespacesListKeysResponse = ResourceListKeys;
947
-
948
- /** Optional parameters. */
949
- export declare interface NamespacesListNextOptionalParams extends coreClient.OperationOptions {
950
- }
951
-
952
- /** Contains response data for the listNext operation. */
953
- export declare type NamespacesListNextResponse = NamespaceListResult;
954
-
955
- /** Optional parameters. */
956
- export declare interface NamespacesListOptionalParams extends coreClient.OperationOptions {
957
- /** Skip token for subsequent requests. */
958
- skipToken?: string;
959
- /** Maximum number of results to return. */
960
- top?: number;
961
- }
962
-
963
- /** Contains response data for the list operation. */
964
- export declare type NamespacesListResponse = NamespaceListResult;
965
-
966
- /** Optional parameters. */
967
- export declare interface NamespacesRegenerateKeysOptionalParams extends coreClient.OperationOptions {
968
- }
969
-
970
- /** Contains response data for the regenerateKeys operation. */
971
- export declare type NamespacesRegenerateKeysResponse = ResourceListKeys;
972
-
973
- /**
974
- * Defines values for NamespaceStatus. \
975
- * {@link KnownNamespaceStatus} can be used interchangeably with NamespaceStatus,
976
- * this enum contains the known values that the service supports.
977
- * ### Known values supported by the service
978
- * **Created** \
979
- * **Creating** \
980
- * **Suspended** \
981
- * **Deleting**
982
- */
983
- export declare type NamespaceStatus = string;
984
-
985
- /** Optional parameters. */
986
- export declare interface NamespacesUpdateOptionalParams extends coreClient.OperationOptions {
987
- }
988
-
989
- /** Contains response data for the update operation. */
990
- export declare type NamespacesUpdateResponse = NamespaceResource;
991
-
992
- /**
993
- * Defines values for NamespaceType. \
994
- * {@link KnownNamespaceType} can be used interchangeably with NamespaceType,
995
- * this enum contains the known values that the service supports.
996
- * ### Known values supported by the service
997
- * **Messaging** \
998
- * **NotificationHub**
999
- */
1000
- export declare type NamespaceType = string;
1001
-
1002
- /** A collection of network authorization rules. */
1003
- export declare interface NetworkAcls {
1004
- /** List of IP rules. */
1005
- ipRules?: IpRule[];
1006
- /** A default (public Internet) network authorization rule, which contains rights if no other network rule matches. */
1007
- publicNetworkRule?: PublicInternetAuthorizationRule;
1008
- }
1009
-
1010
- /** The response of the List NotificationHub operation. */
1011
- export declare interface NotificationHubListResult {
1012
- /**
1013
- * Gets or sets result of the List AuthorizationRules operation.
1014
- * NOTE: This property will not be serialized. It can only be populated by the server.
1015
- */
1016
- readonly value?: NotificationHubResource[];
1017
- /**
1018
- * Gets or sets link to the next set of results.
1019
- * NOTE: This property will not be serialized. It can only be populated by the server.
1020
- */
1021
- readonly nextLink?: string;
1022
- }
1023
-
1024
- /** Patch parameter for NamespaceResource. */
1025
- export declare interface NotificationHubPatchParameters {
1026
- /** The Sku description for a namespace */
1027
- sku?: Sku;
1028
- /** Dictionary of <string> */
1029
- tags?: {
1030
- [propertyName: string]: string;
1031
- };
1032
- /** Gets or sets the NotificationHub name. */
1033
- name?: string;
1034
- /** Gets or sets the RegistrationTtl of the created NotificationHub */
1035
- registrationTtl?: string;
1036
- /**
1037
- * Gets or sets the AuthorizationRules of the created NotificationHub
1038
- * NOTE: This property will not be serialized. It can only be populated by the server.
1039
- */
1040
- readonly authorizationRules?: SharedAccessAuthorizationRuleProperties[];
1041
- /** Description of a NotificationHub ApnsCredential. */
1042
- apnsCredential?: ApnsCredential;
1043
- /** Description of a NotificationHub WnsCredential. */
1044
- wnsCredential?: WnsCredential;
1045
- /** Description of a NotificationHub GcmCredential. */
1046
- gcmCredential?: GcmCredential;
1047
- /** Description of a NotificationHub MpnsCredential. */
1048
- mpnsCredential?: MpnsCredential;
1049
- /** Description of a NotificationHub AdmCredential. */
1050
- admCredential?: AdmCredential;
1051
- /** Description of a NotificationHub BaiduCredential. */
1052
- baiduCredential?: BaiduCredential;
1053
- /** Description of a NotificationHub BrowserCredential. */
1054
- browserCredential?: BrowserCredential;
1055
- /** Description of a NotificationHub XiaomiCredential. */
1056
- xiaomiCredential?: XiaomiCredential;
1057
- /** Description of a NotificationHub FcmV1Credential. */
1058
- fcmV1Credential?: FcmV1Credential;
1059
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
1060
- readonly dailyMaxActiveDevices?: number;
1061
- }
1062
-
1063
- /** Notification Hub Resource. */
1064
- export declare interface NotificationHubResource extends TrackedResource {
1065
- /** The Sku description for a namespace */
1066
- sku?: Sku;
1067
- /** Gets or sets the NotificationHub name. */
1068
- namePropertiesName?: string;
1069
- /** Gets or sets the RegistrationTtl of the created NotificationHub */
1070
- registrationTtl?: string;
1071
- /**
1072
- * Gets or sets the AuthorizationRules of the created NotificationHub
1073
- * NOTE: This property will not be serialized. It can only be populated by the server.
1074
- */
1075
- readonly authorizationRules?: SharedAccessAuthorizationRuleProperties[];
1076
- /** Description of a NotificationHub ApnsCredential. */
1077
- apnsCredential?: ApnsCredential;
1078
- /** Description of a NotificationHub WnsCredential. */
1079
- wnsCredential?: WnsCredential;
1080
- /** Description of a NotificationHub GcmCredential. */
1081
- gcmCredential?: GcmCredential;
1082
- /** Description of a NotificationHub MpnsCredential. */
1083
- mpnsCredential?: MpnsCredential;
1084
- /** Description of a NotificationHub AdmCredential. */
1085
- admCredential?: AdmCredential;
1086
- /** Description of a NotificationHub BaiduCredential. */
1087
- baiduCredential?: BaiduCredential;
1088
- /** Description of a NotificationHub BrowserCredential. */
1089
- browserCredential?: BrowserCredential;
1090
- /** Description of a NotificationHub XiaomiCredential. */
1091
- xiaomiCredential?: XiaomiCredential;
1092
- /** Description of a NotificationHub FcmV1Credential. */
1093
- fcmV1Credential?: FcmV1Credential;
1094
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
1095
- readonly dailyMaxActiveDevices?: number;
1096
- }
1097
-
1098
- /** Interface representing a NotificationHubs. */
1099
- export declare interface NotificationHubs {
1100
- /**
1101
- * Lists the notification hubs associated with a namespace.
1102
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1103
- * @param namespaceName Namespace name
1104
- * @param options The options parameters.
1105
- */
1106
- list(resourceGroupName: string, namespaceName: string, options?: NotificationHubsListOptionalParams): PagedAsyncIterableIterator<NotificationHubResource>;
1107
- /**
1108
- * Gets the authorization rules for a NotificationHub.
1109
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1110
- * @param namespaceName Namespace name
1111
- * @param notificationHubName Notification Hub name
1112
- * @param options The options parameters.
1113
- */
1114
- listAuthorizationRules(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;
1115
- /**
1116
- * Checks the availability of the given notificationHub in a namespace.
1117
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1118
- * @param namespaceName Namespace name
1119
- * @param parameters Request content.
1120
- * @param options The options parameters.
1121
- */
1122
- checkNotificationHubAvailability(resourceGroupName: string, namespaceName: string, parameters: CheckAvailabilityParameters, options?: NotificationHubsCheckNotificationHubAvailabilityOptionalParams): Promise<NotificationHubsCheckNotificationHubAvailabilityResponse>;
1123
- /**
1124
- * Gets the notification hub.
1125
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1126
- * @param namespaceName Namespace name
1127
- * @param notificationHubName Notification Hub name
1128
- * @param options The options parameters.
1129
- */
1130
- get(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsGetOptionalParams): Promise<NotificationHubsGetResponse>;
1131
- /**
1132
- * Creates/Update a NotificationHub in a namespace.
1133
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1134
- * @param namespaceName Namespace name
1135
- * @param notificationHubName Notification Hub name
1136
- * @param parameters Request content.
1137
- * @param options The options parameters.
1138
- */
1139
- createOrUpdate(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: NotificationHubResource, options?: NotificationHubsCreateOrUpdateOptionalParams): Promise<NotificationHubsCreateOrUpdateResponse>;
1140
- /**
1141
- * Patch a NotificationHub in a namespace.
1142
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1143
- * @param namespaceName Namespace name
1144
- * @param notificationHubName Notification Hub name
1145
- * @param parameters Request content.
1146
- * @param options The options parameters.
1147
- */
1148
- update(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: NotificationHubPatchParameters, options?: NotificationHubsUpdateOptionalParams): Promise<NotificationHubsUpdateResponse>;
1149
- /**
1150
- * Deletes a notification hub associated with a namespace.
1151
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1152
- * @param namespaceName Namespace name
1153
- * @param notificationHubName Notification Hub name
1154
- * @param options The options parameters.
1155
- */
1156
- delete(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsDeleteOptionalParams): Promise<void>;
1157
- /**
1158
- * Test send a push notification.
1159
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1160
- * @param namespaceName Namespace name
1161
- * @param notificationHubName Notification Hub name
1162
- * @param options The options parameters.
1163
- */
1164
- debugSend(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsDebugSendOptionalParams): Promise<NotificationHubsDebugSendResponse>;
1165
- /**
1166
- * Creates/Updates an authorization rule for a NotificationHub
1167
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1168
- * @param namespaceName Namespace name
1169
- * @param notificationHubName Notification Hub name
1170
- * @param authorizationRuleName Authorization Rule Name
1171
- * @param parameters Request content.
1172
- * @param options The options parameters.
1173
- */
1174
- createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleResource, options?: NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NotificationHubsCreateOrUpdateAuthorizationRuleResponse>;
1175
- /**
1176
- * Deletes a notificationHub authorization rule
1177
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1178
- * @param namespaceName Namespace name
1179
- * @param notificationHubName Notification Hub name
1180
- * @param authorizationRuleName Authorization Rule Name
1181
- * @param options The options parameters.
1182
- */
1183
- deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsDeleteAuthorizationRuleOptionalParams): Promise<void>;
1184
- /**
1185
- * Gets an authorization rule for a NotificationHub by name.
1186
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1187
- * @param namespaceName Namespace name
1188
- * @param notificationHubName Notification Hub name
1189
- * @param authorizationRuleName Authorization Rule Name
1190
- * @param options The options parameters.
1191
- */
1192
- getAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsGetAuthorizationRuleOptionalParams): Promise<NotificationHubsGetAuthorizationRuleResponse>;
1193
- /**
1194
- * Gets the Primary and Secondary ConnectionStrings to the NotificationHub
1195
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1196
- * @param namespaceName Namespace name
1197
- * @param notificationHubName Notification Hub name
1198
- * @param authorizationRuleName Authorization Rule Name
1199
- * @param options The options parameters.
1200
- */
1201
- listKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsListKeysOptionalParams): Promise<NotificationHubsListKeysResponse>;
1202
- /**
1203
- * Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule
1204
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1205
- * @param namespaceName Namespace name
1206
- * @param notificationHubName Notification Hub name
1207
- * @param authorizationRuleName Authorization Rule Name
1208
- * @param parameters Request content.
1209
- * @param options The options parameters.
1210
- */
1211
- regenerateKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: PolicyKeyResource, options?: NotificationHubsRegenerateKeysOptionalParams): Promise<NotificationHubsRegenerateKeysResponse>;
1212
- /**
1213
- * Lists the PNS Credentials associated with a notification hub.
1214
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1215
- * @param namespaceName Namespace name
1216
- * @param notificationHubName Notification Hub name
1217
- * @param options The options parameters.
1218
- */
1219
- getPnsCredentials(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsGetPnsCredentialsOptionalParams): Promise<NotificationHubsGetPnsCredentialsResponse>;
1220
- }
1221
-
1222
- /** Optional parameters. */
1223
- export declare interface NotificationHubsCheckNotificationHubAvailabilityOptionalParams extends coreClient.OperationOptions {
1224
- }
1225
-
1226
- /** Contains response data for the checkNotificationHubAvailability operation. */
1227
- export declare type NotificationHubsCheckNotificationHubAvailabilityResponse = CheckAvailabilityResult;
1228
-
1229
- /** Optional parameters. */
1230
- export declare interface NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1231
- }
1232
-
1233
- /** Contains response data for the createOrUpdateAuthorizationRule operation. */
1234
- export declare type NotificationHubsCreateOrUpdateAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
1235
-
1236
- /** Optional parameters. */
1237
- export declare interface NotificationHubsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1238
- }
1239
-
1240
- /** Contains response data for the createOrUpdate operation. */
1241
- export declare type NotificationHubsCreateOrUpdateResponse = NotificationHubResource;
1242
-
1243
- /** Optional parameters. */
1244
- export declare interface NotificationHubsDebugSendOptionalParams extends coreClient.OperationOptions {
1245
- }
1246
-
1247
- /** Contains response data for the debugSend operation. */
1248
- export declare type NotificationHubsDebugSendResponse = DebugSendResponse;
1249
-
1250
- /** Optional parameters. */
1251
- export declare interface NotificationHubsDeleteAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1252
- }
1253
-
1254
- /** Optional parameters. */
1255
- export declare interface NotificationHubsDeleteOptionalParams extends coreClient.OperationOptions {
1256
- }
1257
-
1258
- /** Optional parameters. */
1259
- export declare interface NotificationHubsGetAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1260
- }
1261
-
1262
- /** Contains response data for the getAuthorizationRule operation. */
1263
- export declare type NotificationHubsGetAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
1264
-
1265
- /** Optional parameters. */
1266
- export declare interface NotificationHubsGetOptionalParams extends coreClient.OperationOptions {
1267
- }
1268
-
1269
- /** Optional parameters. */
1270
- export declare interface NotificationHubsGetPnsCredentialsOptionalParams extends coreClient.OperationOptions {
1271
- }
1272
-
1273
- /** Contains response data for the getPnsCredentials operation. */
1274
- export declare type NotificationHubsGetPnsCredentialsResponse = PnsCredentialsResource;
1275
-
1276
- /** Contains response data for the get operation. */
1277
- export declare type NotificationHubsGetResponse = NotificationHubResource;
1278
-
1279
- /** Optional parameters. */
1280
- export declare interface NotificationHubsListAuthorizationRulesNextOptionalParams extends coreClient.OperationOptions {
1281
- }
1282
-
1283
- /** Contains response data for the listAuthorizationRulesNext operation. */
1284
- export declare type NotificationHubsListAuthorizationRulesNextResponse = SharedAccessAuthorizationRuleListResult;
1285
-
1286
- /** Optional parameters. */
1287
- export declare interface NotificationHubsListAuthorizationRulesOptionalParams extends coreClient.OperationOptions {
1288
- }
1289
-
1290
- /** Contains response data for the listAuthorizationRules operation. */
1291
- export declare type NotificationHubsListAuthorizationRulesResponse = SharedAccessAuthorizationRuleListResult;
1292
-
1293
- /** Optional parameters. */
1294
- export declare interface NotificationHubsListKeysOptionalParams extends coreClient.OperationOptions {
1295
- }
1296
-
1297
- /** Contains response data for the listKeys operation. */
1298
- export declare type NotificationHubsListKeysResponse = ResourceListKeys;
1299
-
1300
- /** Optional parameters. */
1301
- export declare interface NotificationHubsListNextOptionalParams extends coreClient.OperationOptions {
1302
- }
1303
-
1304
- /** Contains response data for the listNext operation. */
1305
- export declare type NotificationHubsListNextResponse = NotificationHubListResult;
1306
-
1307
- /** Optional parameters. */
1308
- export declare interface NotificationHubsListOptionalParams extends coreClient.OperationOptions {
1309
- /** Continuation token. */
1310
- skipToken?: string;
1311
- /** Page size. */
1312
- top?: number;
1313
- }
1314
-
1315
- /** Contains response data for the list operation. */
1316
- export declare type NotificationHubsListResponse = NotificationHubListResult;
1317
-
1318
- export declare class NotificationHubsManagementClient extends coreClient.ServiceClient {
1319
- $host: string;
1320
- subscriptionId: string;
1321
- apiVersion: string;
1322
- /**
1323
- * Initializes a new instance of the NotificationHubsManagementClient class.
1324
- * @param credentials Subscription credentials which uniquely identify client subscription.
1325
- * @param subscriptionId The ID of the target subscription. The value must be an UUID.
1326
- * @param options The parameter options
1327
- */
1328
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: NotificationHubsManagementClientOptionalParams);
1329
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
1330
- private addCustomApiVersionPolicy;
1331
- notificationHubs: NotificationHubs;
1332
- namespaces: Namespaces;
1333
- operations: Operations;
1334
- privateEndpointConnections: PrivateEndpointConnections;
1335
- }
1336
-
1337
- /** Optional parameters. */
1338
- export declare interface NotificationHubsManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1339
- /** server parameter */
1340
- $host?: string;
1341
- /** Api Version */
1342
- apiVersion?: string;
1343
- /** Overrides client endpoint. */
1344
- endpoint?: string;
1345
- }
1346
-
1347
- /** Optional parameters. */
1348
- export declare interface NotificationHubsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
1349
- }
1350
-
1351
- /** Contains response data for the regenerateKeys operation. */
1352
- export declare type NotificationHubsRegenerateKeysResponse = ResourceListKeys;
1353
-
1354
- /** Optional parameters. */
1355
- export declare interface NotificationHubsUpdateOptionalParams extends coreClient.OperationOptions {
1356
- }
1357
-
1358
- /** Contains response data for the update operation. */
1359
- export declare type NotificationHubsUpdateResponse = NotificationHubResource;
1360
-
1361
- /** A NotificationHubs REST API operation */
1362
- export declare interface Operation {
1363
- /**
1364
- * Gets operation name: {provider}/{resource}/{operation}
1365
- * NOTE: This property will not be serialized. It can only be populated by the server.
1366
- */
1367
- readonly name?: string;
1368
- /** The object that represents the operation. */
1369
- display?: OperationDisplay;
1370
- /** Optional operation properties. */
1371
- properties?: OperationProperties;
1372
- /**
1373
- * Gets or sets IsDataAction property. It is used to differentiate management and data plane operations.
1374
- * NOTE: This property will not be serialized. It can only be populated by the server.
1375
- */
1376
- readonly isDataAction?: boolean;
1377
- }
1378
-
1379
- /** The object that represents the operation. */
1380
- export declare interface OperationDisplay {
1381
- /**
1382
- * Gets service provider: Microsoft.NotificationHubs
1383
- * NOTE: This property will not be serialized. It can only be populated by the server.
1384
- */
1385
- readonly provider?: string;
1386
- /**
1387
- * Gets resource on which the operation is performed: Invoice, etc.
1388
- * NOTE: This property will not be serialized. It can only be populated by the server.
1389
- */
1390
- readonly resource?: string;
1391
- /**
1392
- * Gets operation type: Read, write, delete, etc.
1393
- * NOTE: This property will not be serialized. It can only be populated by the server.
1394
- */
1395
- readonly operation?: string;
1396
- /**
1397
- * Human-friendly operation description.
1398
- * NOTE: This property will not be serialized. It can only be populated by the server.
1399
- */
1400
- readonly description?: string;
1401
- }
1402
-
1403
- /**
1404
- * Result of the request to list NotificationHubs operations. It contains
1405
- * a list of operations and a URL link to get the next set of results.
1406
- */
1407
- export declare interface OperationListResult {
1408
- /**
1409
- * Gets list of NotificationHubs operations supported by the
1410
- * Microsoft.NotificationHubs resource provider.
1411
- * NOTE: This property will not be serialized. It can only be populated by the server.
1412
- */
1413
- readonly value?: Operation[];
1414
- /**
1415
- * Gets URL to get the next set of operation list results if there are
1416
- * any.
1417
- * NOTE: This property will not be serialized. It can only be populated by the server.
1418
- */
1419
- readonly nextLink?: string;
1420
- }
1421
-
1422
- /** Optional operation properties. */
1423
- export declare interface OperationProperties {
1424
- /** Optional service specification used in Operations API. */
1425
- serviceSpecification?: ServiceSpecification;
1426
- }
1427
-
1428
- /**
1429
- * Defines values for OperationProvisioningState. \
1430
- * {@link KnownOperationProvisioningState} can be used interchangeably with OperationProvisioningState,
1431
- * this enum contains the known values that the service supports.
1432
- * ### Known values supported by the service
1433
- * **Unknown** \
1434
- * **InProgress** \
1435
- * **Succeeded** \
1436
- * **Failed** \
1437
- * **Canceled** \
1438
- * **Pending** \
1439
- * **Disabled**
1440
- */
1441
- export declare type OperationProvisioningState = string;
1442
-
1443
- /** Interface representing a Operations. */
1444
- export declare interface Operations {
1445
- /**
1446
- * Lists all available Notification Hubs operations.
1447
- * @param options The options parameters.
1448
- */
1449
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
1450
- }
1451
-
1452
- /** Optional parameters. */
1453
- export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1454
- }
1455
-
1456
- /** Contains response data for the listNext operation. */
1457
- export declare type OperationsListNextResponse = OperationListResult;
1458
-
1459
- /** Optional parameters. */
1460
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
1461
- }
1462
-
1463
- /** Contains response data for the list operation. */
1464
- export declare type OperationsListResponse = OperationListResult;
1465
-
1466
- /** Collection of Notification Hub or Notification Hub Namespace PNS credentials. */
1467
- export declare interface PnsCredentials {
1468
- /** Description of a NotificationHub AdmCredential. */
1469
- admCredential?: AdmCredential;
1470
- /** Description of a NotificationHub ApnsCredential. */
1471
- apnsCredential?: ApnsCredential;
1472
- /** Description of a NotificationHub BaiduCredential. */
1473
- baiduCredential?: BaiduCredential;
1474
- /** Description of a NotificationHub BrowserCredential. */
1475
- browserCredential?: BrowserCredential;
1476
- /** Description of a NotificationHub GcmCredential. */
1477
- gcmCredential?: GcmCredential;
1478
- /** Description of a NotificationHub MpnsCredential. */
1479
- mpnsCredential?: MpnsCredential;
1480
- /** Description of a NotificationHub WnsCredential. */
1481
- wnsCredential?: WnsCredential;
1482
- /** Description of a NotificationHub XiaomiCredential. */
1483
- xiaomiCredential?: XiaomiCredential;
1484
- /** Description of a NotificationHub FcmV1Credential. */
1485
- fcmV1Credential?: FcmV1Credential;
1486
- }
1487
-
1488
- /**
1489
- * Description of a NotificationHub PNS Credentials. This is a response of the POST requests that return namespace or hubs
1490
- * PNS credentials.
1491
- */
1492
- export declare interface PnsCredentialsResource extends ProxyResource {
1493
- /** Deprecated - only for compatibility. */
1494
- location?: string;
1495
- /** Deprecated - only for compatibility. */
1496
- tags?: {
1497
- [propertyName: string]: string;
1498
- };
1499
- /** Description of a NotificationHub AdmCredential. */
1500
- admCredential?: AdmCredential;
1501
- /** Description of a NotificationHub ApnsCredential. */
1502
- apnsCredential?: ApnsCredential;
1503
- /** Description of a NotificationHub BaiduCredential. */
1504
- baiduCredential?: BaiduCredential;
1505
- /** Description of a NotificationHub BrowserCredential. */
1506
- browserCredential?: BrowserCredential;
1507
- /** Description of a NotificationHub GcmCredential. */
1508
- gcmCredential?: GcmCredential;
1509
- /** Description of a NotificationHub MpnsCredential. */
1510
- mpnsCredential?: MpnsCredential;
1511
- /** Description of a NotificationHub WnsCredential. */
1512
- wnsCredential?: WnsCredential;
1513
- /** Description of a NotificationHub XiaomiCredential. */
1514
- xiaomiCredential?: XiaomiCredential;
1515
- /** Description of a NotificationHub FcmV1Credential. */
1516
- fcmV1Credential?: FcmV1Credential;
1517
- }
1518
-
1519
- /** Namespace / NotificationHub Regenerate Keys request. */
1520
- export declare interface PolicyKeyResource {
1521
- /** Type of Shared Access Policy Key (primary or secondary). */
1522
- policyKey: PolicyKeyType;
1523
- }
1524
-
1525
- /**
1526
- * Defines values for PolicyKeyType. \
1527
- * {@link KnownPolicyKeyType} can be used interchangeably with PolicyKeyType,
1528
- * this enum contains the known values that the service supports.
1529
- * ### Known values supported by the service
1530
- * **PrimaryKey** \
1531
- * **SecondaryKey**
1532
- */
1533
- export declare type PolicyKeyType = string;
1534
-
1535
- /** Private Endpoint Connection properties. */
1536
- export declare interface PrivateEndpointConnectionProperties {
1537
- /** State of Private Endpoint Connection. */
1538
- provisioningState?: PrivateEndpointConnectionProvisioningState;
1539
- /** Represents a Private Endpoint that is connected to Notification Hubs namespace using Private Endpoint Connection. */
1540
- privateEndpoint?: RemotePrivateEndpointConnection;
1541
- /**
1542
- * List of group ids. For Notification Hubs, it always contains a single "namespace" element.
1543
- * NOTE: This property will not be serialized. It can only be populated by the server.
1544
- */
1545
- readonly groupIds?: string[];
1546
- /** State of the Private Link Service connection. */
1547
- privateLinkServiceConnectionState?: RemotePrivateLinkServiceConnectionState;
1548
- }
1549
-
1550
- /**
1551
- * Defines values for PrivateEndpointConnectionProvisioningState. \
1552
- * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1553
- * this enum contains the known values that the service supports.
1554
- * ### Known values supported by the service
1555
- * **Unknown** \
1556
- * **Succeeded** \
1557
- * **Creating** \
1558
- * **Updating** \
1559
- * **UpdatingByProxy** \
1560
- * **Deleting** \
1561
- * **DeletingByProxy** \
1562
- * **Deleted**
1563
- */
1564
- export declare type PrivateEndpointConnectionProvisioningState = string;
1565
-
1566
- /** Represents a Private Endpoint Connection ARM resource - a sub-resource of Notification Hubs namespace. */
1567
- export declare interface PrivateEndpointConnectionResource extends ProxyResource {
1568
- /** Private Endpoint Connection properties. */
1569
- properties?: PrivateEndpointConnectionProperties;
1570
- }
1571
-
1572
- /** The response of the List Private Endpoint Connections operation. */
1573
- export declare interface PrivateEndpointConnectionResourceListResult {
1574
- /**
1575
- * Gets or sets result of the List AuthorizationRules operation.
1576
- * NOTE: This property will not be serialized. It can only be populated by the server.
1577
- */
1578
- readonly value?: PrivateEndpointConnectionResource[];
1579
- /**
1580
- * Gets or sets link to the next set of results.
1581
- * NOTE: This property will not be serialized. It can only be populated by the server.
1582
- */
1583
- readonly nextLink?: string;
1584
- }
1585
-
1586
- /** Interface representing a PrivateEndpointConnections. */
1587
- export declare interface PrivateEndpointConnections {
1588
- /**
1589
- * Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.
1590
- * This is a public API that can be called directly by Notification Hubs users.
1591
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1592
- * @param namespaceName Namespace name
1593
- * @param options The options parameters.
1594
- */
1595
- list(resourceGroupName: string, namespaceName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionResource>;
1596
- /**
1597
- * Even though this namespace requires subscription id, resource group and namespace name, it returns a
1598
- * constant payload (for a given namespacE) every time it's called.
1599
- * That's why we don't send it to the sibling RP, but process it directly in the scale unit that
1600
- * received the request.
1601
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1602
- * @param namespaceName Namespace name
1603
- * @param options The options parameters.
1604
- */
1605
- listGroupIds(resourceGroupName: string, namespaceName: string, options?: PrivateEndpointConnectionsListGroupIdsOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
1606
- /**
1607
- * Approves or rejects Private Endpoint Connection.
1608
- * This is a public API that can be called directly by Notification Hubs users.
1609
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1610
- * @param namespaceName Namespace name
1611
- * @param privateEndpointConnectionName Private Endpoint Connection Name
1612
- * @param parameters Description of the Private Endpoint Connection resource.
1613
- * @param options The options parameters.
1614
- */
1615
- beginUpdate(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsUpdateResponse>, PrivateEndpointConnectionsUpdateResponse>>;
1616
- /**
1617
- * Approves or rejects Private Endpoint Connection.
1618
- * This is a public API that can be called directly by Notification Hubs users.
1619
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1620
- * @param namespaceName Namespace name
1621
- * @param privateEndpointConnectionName Private Endpoint Connection Name
1622
- * @param parameters Description of the Private Endpoint Connection resource.
1623
- * @param options The options parameters.
1624
- */
1625
- beginUpdateAndWait(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PrivateEndpointConnectionsUpdateResponse>;
1626
- /**
1627
- * Deletes the Private Endpoint Connection.
1628
- * This is a public API that can be called directly by Notification Hubs users.
1629
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1630
- * @param namespaceName Namespace name
1631
- * @param privateEndpointConnectionName Private Endpoint Connection Name
1632
- * @param options The options parameters.
1633
- */
1634
- beginDelete(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsDeleteResponse>, PrivateEndpointConnectionsDeleteResponse>>;
1635
- /**
1636
- * Deletes the Private Endpoint Connection.
1637
- * This is a public API that can be called directly by Notification Hubs users.
1638
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1639
- * @param namespaceName Namespace name
1640
- * @param privateEndpointConnectionName Private Endpoint Connection Name
1641
- * @param options The options parameters.
1642
- */
1643
- beginDeleteAndWait(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
1644
- /**
1645
- * Returns a Private Endpoint Connection with a given name.
1646
- * This is a public API that can be called directly by Notification Hubs users.
1647
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1648
- * @param namespaceName Namespace name
1649
- * @param privateEndpointConnectionName Private Endpoint Connection Name
1650
- * @param options The options parameters.
1651
- */
1652
- get(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
1653
- /**
1654
- * Even though this namespace requires subscription id, resource group and namespace name, it returns a
1655
- * constant payload (for a given namespacE) every time it's called.
1656
- * That's why we don't send it to the sibling RP, but process it directly in the scale unit that
1657
- * received the request.
1658
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1659
- * @param namespaceName Namespace name
1660
- * @param subResourceName Name of the Private Link sub-resource. The only supported sub-resource is
1661
- * "namespace"
1662
- * @param options The options parameters.
1663
- */
1664
- getGroupId(resourceGroupName: string, namespaceName: string, subResourceName: string, options?: PrivateEndpointConnectionsGetGroupIdOptionalParams): Promise<PrivateEndpointConnectionsGetGroupIdResponse>;
1665
- }
1666
-
1667
- /** Defines headers for PrivateEndpointConnections_delete operation. */
1668
- export declare interface PrivateEndpointConnectionsDeleteHeaders {
1669
- location?: string;
1670
- }
1671
-
1672
- /** Optional parameters. */
1673
- export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1674
- /** Delay to wait until next poll, in milliseconds. */
1675
- updateIntervalInMs?: number;
1676
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1677
- resumeFrom?: string;
1678
- }
1679
-
1680
- /** Contains response data for the delete operation. */
1681
- export declare type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnectionsDeleteHeaders;
1682
-
1683
- /** Optional parameters. */
1684
- export declare interface PrivateEndpointConnectionsGetGroupIdOptionalParams extends coreClient.OperationOptions {
1685
- }
1686
-
1687
- /** Contains response data for the getGroupId operation. */
1688
- export declare type PrivateEndpointConnectionsGetGroupIdResponse = PrivateLinkResource;
1689
-
1690
- /** Optional parameters. */
1691
- export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1692
- }
1693
-
1694
- /** Contains response data for the get operation. */
1695
- export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnectionResource;
1696
-
1697
- /** Optional parameters. */
1698
- export declare interface PrivateEndpointConnectionsListGroupIdsOptionalParams extends coreClient.OperationOptions {
1699
- }
1700
-
1701
- /** Contains response data for the listGroupIds operation. */
1702
- export declare type PrivateEndpointConnectionsListGroupIdsResponse = PrivateLinkResourceListResult;
1703
-
1704
- /** Optional parameters. */
1705
- export declare interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
1706
- }
1707
-
1708
- /** Contains response data for the list operation. */
1709
- export declare type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionResourceListResult;
1710
-
1711
- /** Optional parameters. */
1712
- export declare interface PrivateEndpointConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
1713
- /** Delay to wait until next poll, in milliseconds. */
1714
- updateIntervalInMs?: number;
1715
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1716
- resumeFrom?: string;
1717
- }
1718
-
1719
- /** Contains response data for the update operation. */
1720
- export declare type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnectionResource;
1721
-
1722
- /**
1723
- * Defines values for PrivateLinkConnectionStatus. \
1724
- * {@link KnownPrivateLinkConnectionStatus} can be used interchangeably with PrivateLinkConnectionStatus,
1725
- * this enum contains the known values that the service supports.
1726
- * ### Known values supported by the service
1727
- * **Disconnected** \
1728
- * **Pending** \
1729
- * **Approved** \
1730
- * **Rejected**
1731
- */
1732
- export declare type PrivateLinkConnectionStatus = string;
1733
-
1734
- /** A Private Link Arm Resource. */
1735
- export declare interface PrivateLinkResource extends ProxyResource {
1736
- /** Represents properties of Private Link Resource. */
1737
- properties?: PrivateLinkResourceProperties;
1738
- }
1739
-
1740
- /** The response of the List Private Link Resources operation. */
1741
- export declare interface PrivateLinkResourceListResult {
1742
- /**
1743
- * Gets or sets result of the List AuthorizationRules operation.
1744
- * NOTE: This property will not be serialized. It can only be populated by the server.
1745
- */
1746
- readonly value?: PrivateLinkResource[];
1747
- /**
1748
- * Gets or sets link to the next set of results.
1749
- * NOTE: This property will not be serialized. It can only be populated by the server.
1750
- */
1751
- readonly nextLink?: string;
1752
- }
1753
-
1754
- /** Represents properties of Private Link Resource. */
1755
- export declare interface PrivateLinkResourceProperties {
1756
- /**
1757
- * A Group Id for Private Link. For Notification Hubs, it is always set to "namespace".
1758
- * NOTE: This property will not be serialized. It can only be populated by the server.
1759
- */
1760
- readonly groupId?: string;
1761
- /**
1762
- * Required members. For Notification Hubs, it's always a collection with a single "namespace" item.
1763
- * NOTE: This property will not be serialized. It can only be populated by the server.
1764
- */
1765
- readonly requiredMembers?: string[];
1766
- /**
1767
- * Required DNS zone names. For Notification Hubs, it contains two CNames for Service Bus and Notification Hubs zones.
1768
- * NOTE: This property will not be serialized. It can only be populated by the server.
1769
- */
1770
- readonly requiredZoneNames?: string[];
1771
- }
1772
-
1773
- /** A customer-visible sub-resource of Private Endpoint, which describe the connection between Private Endpoint and Notification Hubs namespace. */
1774
- export declare interface PrivateLinkServiceConnection {
1775
- /** Name of the Private Link Service connection. */
1776
- name?: string;
1777
- /** List of group ids. Always contains a single element - "namespace" - for Notification Hub Namespace. */
1778
- groupIds?: string[];
1779
- /** Request message provided by the user that created the connection. This is usually used when the connection requires manual approval. */
1780
- requestMessage?: string;
1781
- }
1782
-
1783
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1784
- export declare interface ProxyResource extends Resource {
1785
- }
1786
-
1787
- /** A default (public Internet) network authorization rule, which contains rights if no other network rule matches. */
1788
- export declare interface PublicInternetAuthorizationRule {
1789
- /** List of access rights. */
1790
- rights: AccessRights[];
1791
- }
1792
-
1793
- /**
1794
- * Defines values for PublicNetworkAccess. \
1795
- * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
1796
- * this enum contains the known values that the service supports.
1797
- * ### Known values supported by the service
1798
- * **Enabled** \
1799
- * **Disabled**
1800
- */
1801
- export declare type PublicNetworkAccess = string;
1802
-
1803
- /** Notification result for a single registration. */
1804
- export declare interface RegistrationResult {
1805
- /**
1806
- * PNS type.
1807
- * NOTE: This property will not be serialized. It can only be populated by the server.
1808
- */
1809
- readonly applicationPlatform?: string;
1810
- /**
1811
- * PNS handle.
1812
- * NOTE: This property will not be serialized. It can only be populated by the server.
1813
- */
1814
- readonly pnsHandle?: string;
1815
- /**
1816
- * Registration id.
1817
- * NOTE: This property will not be serialized. It can only be populated by the server.
1818
- */
1819
- readonly registrationId?: string;
1820
- /**
1821
- * Notification outcome.
1822
- * NOTE: This property will not be serialized. It can only be populated by the server.
1823
- */
1824
- readonly outcome?: string;
1825
- }
1826
-
1827
- /** Represents a Private Endpoint that is connected to Notification Hubs namespace using Private Endpoint Connection. */
1828
- export declare interface RemotePrivateEndpointConnection {
1829
- /**
1830
- * ARM resource ID of the Private Endpoint. This may belong to different subscription and resource group than a Notification Hubs namespace.
1831
- * NOTE: This property will not be serialized. It can only be populated by the server.
1832
- */
1833
- readonly id?: string;
1834
- }
1835
-
1836
- /** State of the Private Link Service connection. */
1837
- export declare interface RemotePrivateLinkServiceConnectionState {
1838
- /** State of Private Link Connection. */
1839
- status?: PrivateLinkConnectionStatus;
1840
- /**
1841
- * Human-friendly description.
1842
- * NOTE: This property will not be serialized. It can only be populated by the server.
1843
- */
1844
- readonly description?: string;
1845
- /**
1846
- * Human-friendly description of required actions.
1847
- * NOTE: This property will not be serialized. It can only be populated by the server.
1848
- */
1849
- readonly actionsRequired?: string;
1850
- }
1851
-
1852
- /**
1853
- * Defines values for ReplicationRegion. \
1854
- * {@link KnownReplicationRegion} can be used interchangeably with ReplicationRegion,
1855
- * this enum contains the known values that the service supports.
1856
- * ### Known values supported by the service
1857
- * **Default** \
1858
- * **WestUs2** \
1859
- * **NorthEurope** \
1860
- * **AustraliaEast** \
1861
- * **BrazilSouth** \
1862
- * **SouthEastAsia** \
1863
- * **SouthAfricaNorth** \
1864
- * **None**
1865
- */
1866
- export declare type ReplicationRegion = string;
1867
-
1868
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
1869
- export declare interface Resource {
1870
- /**
1871
- * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
1872
- * NOTE: This property will not be serialized. It can only be populated by the server.
1873
- */
1874
- readonly id?: string;
1875
- /**
1876
- * The name of the resource
1877
- * NOTE: This property will not be serialized. It can only be populated by the server.
1878
- */
1879
- readonly name?: string;
1880
- /**
1881
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
1882
- * NOTE: This property will not be serialized. It can only be populated by the server.
1883
- */
1884
- readonly type?: string;
1885
- /**
1886
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
1887
- * NOTE: This property will not be serialized. It can only be populated by the server.
1888
- */
1889
- readonly systemData?: SystemData;
1890
- }
1891
-
1892
- /** Response for the POST request that returns Namespace or NotificationHub access keys (connection strings). */
1893
- export declare interface ResourceListKeys {
1894
- /**
1895
- * Gets or sets primaryConnectionString of the AuthorizationRule.
1896
- * NOTE: This property will not be serialized. It can only be populated by the server.
1897
- */
1898
- readonly primaryConnectionString?: string;
1899
- /**
1900
- * Gets or sets secondaryConnectionString of the created
1901
- * AuthorizationRule
1902
- * NOTE: This property will not be serialized. It can only be populated by the server.
1903
- */
1904
- readonly secondaryConnectionString?: string;
1905
- /**
1906
- * Gets or sets primaryKey of the created AuthorizationRule.
1907
- * NOTE: This property will not be serialized. It can only be populated by the server.
1908
- */
1909
- readonly primaryKey?: string;
1910
- /**
1911
- * Gets or sets secondaryKey of the created AuthorizationRule
1912
- * NOTE: This property will not be serialized. It can only be populated by the server.
1913
- */
1914
- readonly secondaryKey?: string;
1915
- /**
1916
- * Gets or sets keyName of the created AuthorizationRule
1917
- * NOTE: This property will not be serialized. It can only be populated by the server.
1918
- */
1919
- readonly keyName?: string;
1920
- }
1921
-
1922
- /** Optional service specification used in Operations API. */
1923
- export declare interface ServiceSpecification {
1924
- /**
1925
- * Log specifications.
1926
- * NOTE: This property will not be serialized. It can only be populated by the server.
1927
- */
1928
- readonly logSpecifications?: LogSpecification[];
1929
- /**
1930
- * Metric specification.
1931
- * NOTE: This property will not be serialized. It can only be populated by the server.
1932
- */
1933
- readonly metricSpecifications?: MetricSpecification[];
1934
- }
1935
-
1936
- /** The response of the List Namespace operation. */
1937
- export declare interface SharedAccessAuthorizationRuleListResult {
1938
- /**
1939
- * Gets or sets result of the List AuthorizationRules operation.
1940
- * NOTE: This property will not be serialized. It can only be populated by the server.
1941
- */
1942
- readonly value?: SharedAccessAuthorizationRuleResource[];
1943
- /**
1944
- * Gets or sets link to the next set of results.
1945
- * NOTE: This property will not be serialized. It can only be populated by the server.
1946
- */
1947
- readonly nextLink?: string;
1948
- }
1949
-
1950
- /** SharedAccessAuthorizationRule properties. */
1951
- export declare interface SharedAccessAuthorizationRuleProperties {
1952
- /** Gets or sets the rights associated with the rule. */
1953
- rights: AccessRights[];
1954
- /**
1955
- * Gets a base64-encoded 256-bit primary key for signing and
1956
- * validating the SAS token.
1957
- */
1958
- primaryKey?: string;
1959
- /**
1960
- * Gets a base64-encoded 256-bit primary key for signing and
1961
- * validating the SAS token.
1962
- */
1963
- secondaryKey?: string;
1964
- /**
1965
- * Gets a string that describes the authorization rule.
1966
- * NOTE: This property will not be serialized. It can only be populated by the server.
1967
- */
1968
- readonly keyName?: string;
1969
- /**
1970
- * Gets the last modified time for this rule
1971
- * NOTE: This property will not be serialized. It can only be populated by the server.
1972
- */
1973
- readonly modifiedTime?: Date;
1974
- /**
1975
- * Gets the created time for this rule
1976
- * NOTE: This property will not be serialized. It can only be populated by the server.
1977
- */
1978
- readonly createdTime?: Date;
1979
- /**
1980
- * Gets a string that describes the claim type
1981
- * NOTE: This property will not be serialized. It can only be populated by the server.
1982
- */
1983
- readonly claimType?: string;
1984
- /**
1985
- * Gets a string that describes the claim value
1986
- * NOTE: This property will not be serialized. It can only be populated by the server.
1987
- */
1988
- readonly claimValue?: string;
1989
- /**
1990
- * Gets the revision number for the rule
1991
- * NOTE: This property will not be serialized. It can only be populated by the server.
1992
- */
1993
- readonly revision?: number;
1994
- }
1995
-
1996
- /** Response for POST requests that return single SharedAccessAuthorizationRule. */
1997
- export declare interface SharedAccessAuthorizationRuleResource extends ProxyResource {
1998
- /** Deprecated - only for compatibility. */
1999
- location?: string;
2000
- /** Deprecated - only for compatibility. */
2001
- tags?: {
2002
- [propertyName: string]: string;
2003
- };
2004
- /** Gets or sets the rights associated with the rule. */
2005
- rights?: AccessRights[];
2006
- /**
2007
- * Gets a base64-encoded 256-bit primary key for signing and
2008
- * validating the SAS token.
2009
- */
2010
- primaryKey?: string;
2011
- /**
2012
- * Gets a base64-encoded 256-bit primary key for signing and
2013
- * validating the SAS token.
2014
- */
2015
- secondaryKey?: string;
2016
- /**
2017
- * Gets a string that describes the authorization rule.
2018
- * NOTE: This property will not be serialized. It can only be populated by the server.
2019
- */
2020
- readonly keyName?: string;
2021
- /**
2022
- * Gets the last modified time for this rule
2023
- * NOTE: This property will not be serialized. It can only be populated by the server.
2024
- */
2025
- readonly modifiedTime?: Date;
2026
- /**
2027
- * Gets the created time for this rule
2028
- * NOTE: This property will not be serialized. It can only be populated by the server.
2029
- */
2030
- readonly createdTime?: Date;
2031
- /**
2032
- * Gets a string that describes the claim type
2033
- * NOTE: This property will not be serialized. It can only be populated by the server.
2034
- */
2035
- readonly claimType?: string;
2036
- /**
2037
- * Gets a string that describes the claim value
2038
- * NOTE: This property will not be serialized. It can only be populated by the server.
2039
- */
2040
- readonly claimValue?: string;
2041
- /**
2042
- * Gets the revision number for the rule
2043
- * NOTE: This property will not be serialized. It can only be populated by the server.
2044
- */
2045
- readonly revision?: number;
2046
- }
2047
-
2048
- /** The Sku description for a namespace */
2049
- export declare interface Sku {
2050
- /** Namespace SKU name. */
2051
- name: SkuName;
2052
- /** Gets or sets the tier of particular sku */
2053
- tier?: string;
2054
- /** Gets or sets the Sku size */
2055
- size?: string;
2056
- /** Gets or sets the Sku Family */
2057
- family?: string;
2058
- /** Gets or sets the capacity of the resource */
2059
- capacity?: number;
2060
- }
2061
-
2062
- /**
2063
- * Defines values for SkuName. \
2064
- * {@link KnownSkuName} can be used interchangeably with SkuName,
2065
- * this enum contains the known values that the service supports.
2066
- * ### Known values supported by the service
2067
- * **Free** \
2068
- * **Basic** \
2069
- * **Standard**
2070
- */
2071
- export declare type SkuName = string;
2072
-
2073
- /** Metadata pertaining to creation and last modification of the resource. */
2074
- export declare interface SystemData {
2075
- /** The identity that created the resource. */
2076
- createdBy?: string;
2077
- /** The type of identity that created the resource. */
2078
- createdByType?: CreatedByType;
2079
- /** The timestamp of resource creation (UTC). */
2080
- createdAt?: Date;
2081
- /** The identity that last modified the resource. */
2082
- lastModifiedBy?: string;
2083
- /** The type of identity that last modified the resource. */
2084
- lastModifiedByType?: CreatedByType;
2085
- /** The timestamp of resource last modification (UTC) */
2086
- lastModifiedAt?: Date;
2087
- }
2088
-
2089
- /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
2090
- export declare interface TrackedResource extends Resource {
2091
- /** Resource tags. */
2092
- tags?: {
2093
- [propertyName: string]: string;
2094
- };
2095
- /** The geo-location where the resource lives */
2096
- location: string;
2097
- }
2098
-
2099
- /** Description of a NotificationHub WnsCredential. */
2100
- export declare interface WnsCredential {
2101
- /** Gets or sets the package ID for this credential. */
2102
- packageSid?: string;
2103
- /** Gets or sets the secret key. */
2104
- secretKey?: string;
2105
- /** Gets or sets the Windows Live endpoint. */
2106
- windowsLiveEndpoint?: string;
2107
- /** Ges or sets the WNS Certificate Key. */
2108
- certificateKey?: string;
2109
- /** Gets or sets the WNS Certificate. */
2110
- wnsCertificate?: string;
2111
- }
2112
-
2113
- /** Description of a NotificationHub XiaomiCredential. */
2114
- export declare interface XiaomiCredential {
2115
- /** Gets or sets app secret. */
2116
- appSecret?: string;
2117
- /** Gets or sets xiaomi service endpoint. */
2118
- endpoint?: string;
2119
- }
2120
-
2121
- /**
2122
- * Defines values for ZoneRedundancyPreference. \
2123
- * {@link KnownZoneRedundancyPreference} can be used interchangeably with ZoneRedundancyPreference,
2124
- * this enum contains the known values that the service supports.
2125
- * ### Known values supported by the service
2126
- * **Disabled** \
2127
- * **Enabled**
2128
- */
2129
- export declare type ZoneRedundancyPreference = string;
2130
-
2131
- export { }
1
+ import type * as coreClient from "@azure/core-client";
2
+ /**
3
+ * Parameters supplied to the Check Name Availability for Namespace and
4
+ * NotificationHubs.
5
+ */
6
+ export interface CheckAvailabilityParameters {
7
+ /**
8
+ * Gets resource Id
9
+ * NOTE: This property will not be serialized. It can only be populated by the server.
10
+ */
11
+ readonly id?: string;
12
+ /** Gets or sets resource name */
13
+ name: string;
14
+ /**
15
+ * Gets resource type
16
+ * NOTE: This property will not be serialized. It can only be populated by the server.
17
+ */
18
+ readonly type?: string;
19
+ /** Gets or sets resource location */
20
+ location?: string;
21
+ /** Gets or sets resource tags */
22
+ tags?: {
23
+ [propertyName: string]: string;
24
+ };
25
+ /** Not used and deprecated since API version 2023-01-01-preview */
26
+ isAvailiable?: boolean;
27
+ /** The Sku description for a namespace */
28
+ sku?: Sku;
29
+ }
30
+ /** The Sku description for a namespace */
31
+ export interface Sku {
32
+ /** Namespace SKU name. */
33
+ name: SkuName;
34
+ /** Gets or sets the tier of particular sku */
35
+ tier?: string;
36
+ /** Gets or sets the Sku size */
37
+ size?: string;
38
+ /** Gets or sets the Sku Family */
39
+ family?: string;
40
+ /** Gets or sets the capacity of the resource */
41
+ capacity?: number;
42
+ }
43
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
44
+ export interface Resource {
45
+ /**
46
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
47
+ * NOTE: This property will not be serialized. It can only be populated by the server.
48
+ */
49
+ readonly id?: string;
50
+ /**
51
+ * The name of the resource
52
+ * NOTE: This property will not be serialized. It can only be populated by the server.
53
+ */
54
+ readonly name?: string;
55
+ /**
56
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
57
+ * NOTE: This property will not be serialized. It can only be populated by the server.
58
+ */
59
+ readonly type?: string;
60
+ /**
61
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
62
+ * NOTE: This property will not be serialized. It can only be populated by the server.
63
+ */
64
+ readonly systemData?: SystemData;
65
+ }
66
+ /** Metadata pertaining to creation and last modification of the resource. */
67
+ export interface SystemData {
68
+ /** The identity that created the resource. */
69
+ createdBy?: string;
70
+ /** The type of identity that created the resource. */
71
+ createdByType?: CreatedByType;
72
+ /** The timestamp of resource creation (UTC). */
73
+ createdAt?: Date;
74
+ /** The identity that last modified the resource. */
75
+ lastModifiedBy?: string;
76
+ /** The type of identity that last modified the resource. */
77
+ lastModifiedByType?: CreatedByType;
78
+ /** The timestamp of resource last modification (UTC) */
79
+ lastModifiedAt?: Date;
80
+ }
81
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
82
+ export interface ErrorResponse {
83
+ /** The error object. */
84
+ error?: ErrorDetail;
85
+ }
86
+ /** The error detail. */
87
+ export interface ErrorDetail {
88
+ /**
89
+ * The error code.
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
91
+ */
92
+ readonly code?: string;
93
+ /**
94
+ * The error message.
95
+ * NOTE: This property will not be serialized. It can only be populated by the server.
96
+ */
97
+ readonly message?: string;
98
+ /**
99
+ * The error target.
100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
101
+ */
102
+ readonly target?: string;
103
+ /**
104
+ * The error details.
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly details?: ErrorDetail[];
108
+ /**
109
+ * The error additional info.
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
+ */
112
+ readonly additionalInfo?: ErrorAdditionalInfo[];
113
+ }
114
+ /** The resource management error additional info. */
115
+ export interface ErrorAdditionalInfo {
116
+ /**
117
+ * The additional info type.
118
+ * NOTE: This property will not be serialized. It can only be populated by the server.
119
+ */
120
+ readonly type?: string;
121
+ /**
122
+ * The additional info.
123
+ * NOTE: This property will not be serialized. It can only be populated by the server.
124
+ */
125
+ readonly info?: Record<string, unknown>;
126
+ }
127
+ /** SharedAccessAuthorizationRule properties. */
128
+ export interface SharedAccessAuthorizationRuleProperties {
129
+ /** Gets or sets the rights associated with the rule. */
130
+ rights: AccessRights[];
131
+ /**
132
+ * Gets a base64-encoded 256-bit primary key for signing and
133
+ * validating the SAS token.
134
+ */
135
+ primaryKey?: string;
136
+ /**
137
+ * Gets a base64-encoded 256-bit primary key for signing and
138
+ * validating the SAS token.
139
+ */
140
+ secondaryKey?: string;
141
+ /**
142
+ * Gets a string that describes the authorization rule.
143
+ * NOTE: This property will not be serialized. It can only be populated by the server.
144
+ */
145
+ readonly keyName?: string;
146
+ /**
147
+ * Gets the last modified time for this rule
148
+ * NOTE: This property will not be serialized. It can only be populated by the server.
149
+ */
150
+ readonly modifiedTime?: Date;
151
+ /**
152
+ * Gets the created time for this rule
153
+ * NOTE: This property will not be serialized. It can only be populated by the server.
154
+ */
155
+ readonly createdTime?: Date;
156
+ /**
157
+ * Gets a string that describes the claim type
158
+ * NOTE: This property will not be serialized. It can only be populated by the server.
159
+ */
160
+ readonly claimType?: string;
161
+ /**
162
+ * Gets a string that describes the claim value
163
+ * NOTE: This property will not be serialized. It can only be populated by the server.
164
+ */
165
+ readonly claimValue?: string;
166
+ /**
167
+ * Gets the revision number for the rule
168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
169
+ */
170
+ readonly revision?: number;
171
+ }
172
+ /** Description of a NotificationHub ApnsCredential. */
173
+ export interface ApnsCredential {
174
+ /** Gets or sets the APNS certificate. */
175
+ apnsCertificate?: string;
176
+ /** Gets or sets the certificate key. */
177
+ certificateKey?: string;
178
+ /** Gets or sets the endpoint of this credential. */
179
+ endpoint: string;
180
+ /** Gets or sets the APNS certificate Thumbprint */
181
+ thumbprint?: string;
182
+ /**
183
+ * Gets or sets a 10-character key identifier (kid) key, obtained from
184
+ * your developer account
185
+ */
186
+ keyId?: string;
187
+ /** Gets or sets the name of the application */
188
+ appName?: string;
189
+ /**
190
+ * Gets or sets the issuer (iss) registered claim key, whose value is
191
+ * your 10-character Team ID, obtained from your developer account
192
+ */
193
+ appId?: string;
194
+ /**
195
+ * Gets or sets provider Authentication Token, obtained through your
196
+ * developer account
197
+ */
198
+ token?: string;
199
+ }
200
+ /** Description of a NotificationHub WnsCredential. */
201
+ export interface WnsCredential {
202
+ /** Gets or sets the package ID for this credential. */
203
+ packageSid?: string;
204
+ /** Gets or sets the secret key. */
205
+ secretKey?: string;
206
+ /** Gets or sets the Windows Live endpoint. */
207
+ windowsLiveEndpoint?: string;
208
+ /** Ges or sets the WNS Certificate Key. */
209
+ certificateKey?: string;
210
+ /** Gets or sets the WNS Certificate. */
211
+ wnsCertificate?: string;
212
+ }
213
+ /** Description of a NotificationHub GcmCredential. */
214
+ export interface GcmCredential {
215
+ /** Gets or sets the GCM endpoint. */
216
+ gcmEndpoint?: string;
217
+ /** Gets or sets the Google API key. */
218
+ googleApiKey: string;
219
+ }
220
+ /** Description of a NotificationHub MpnsCredential. */
221
+ export interface MpnsCredential {
222
+ /** Gets or sets the MPNS certificate. */
223
+ mpnsCertificate: string;
224
+ /** Gets or sets the certificate key for this credential. */
225
+ certificateKey: string;
226
+ /** Gets or sets the MPNS certificate Thumbprint */
227
+ thumbprint: string;
228
+ }
229
+ /** Description of a NotificationHub AdmCredential. */
230
+ export interface AdmCredential {
231
+ /** Gets or sets the client identifier. */
232
+ clientId: string;
233
+ /** Gets or sets the credential secret access key. */
234
+ clientSecret: string;
235
+ /** Gets or sets the URL of the authorization token. */
236
+ authTokenUrl: string;
237
+ }
238
+ /** Description of a NotificationHub BaiduCredential. */
239
+ export interface BaiduCredential {
240
+ /** Gets or sets baidu Api Key. */
241
+ baiduApiKey: string;
242
+ /** Gets or sets baidu Endpoint. */
243
+ baiduEndPoint: string;
244
+ /** Gets or sets baidu Secret Key */
245
+ baiduSecretKey: string;
246
+ }
247
+ /** Description of a NotificationHub BrowserCredential. */
248
+ export interface BrowserCredential {
249
+ /** Gets or sets web push subject. */
250
+ subject: string;
251
+ /** Gets or sets VAPID private key. */
252
+ vapidPrivateKey: string;
253
+ /** Gets or sets VAPID public key. */
254
+ vapidPublicKey: string;
255
+ }
256
+ /** Description of a NotificationHub XiaomiCredential. */
257
+ export interface XiaomiCredential {
258
+ /** Gets or sets app secret. */
259
+ appSecret?: string;
260
+ /** Gets or sets xiaomi service endpoint. */
261
+ endpoint?: string;
262
+ }
263
+ /** Description of a NotificationHub FcmV1Credential. */
264
+ export interface FcmV1Credential {
265
+ /** Gets or sets client email. */
266
+ clientEmail: string;
267
+ /** Gets or sets private key. */
268
+ privateKey: string;
269
+ /** Gets or sets project id. */
270
+ projectId: string;
271
+ }
272
+ /** Patch parameter for NamespaceResource. */
273
+ export interface NotificationHubPatchParameters {
274
+ /** The Sku description for a namespace */
275
+ sku?: Sku;
276
+ /** Dictionary of <string> */
277
+ tags?: {
278
+ [propertyName: string]: string;
279
+ };
280
+ /** Gets or sets the NotificationHub name. */
281
+ name?: string;
282
+ /** Gets or sets the RegistrationTtl of the created NotificationHub */
283
+ registrationTtl?: string;
284
+ /**
285
+ * Gets or sets the AuthorizationRules of the created NotificationHub
286
+ * NOTE: This property will not be serialized. It can only be populated by the server.
287
+ */
288
+ readonly authorizationRules?: SharedAccessAuthorizationRuleProperties[];
289
+ /** Description of a NotificationHub ApnsCredential. */
290
+ apnsCredential?: ApnsCredential;
291
+ /** Description of a NotificationHub WnsCredential. */
292
+ wnsCredential?: WnsCredential;
293
+ /** Description of a NotificationHub GcmCredential. */
294
+ gcmCredential?: GcmCredential;
295
+ /** Description of a NotificationHub MpnsCredential. */
296
+ mpnsCredential?: MpnsCredential;
297
+ /** Description of a NotificationHub AdmCredential. */
298
+ admCredential?: AdmCredential;
299
+ /** Description of a NotificationHub BaiduCredential. */
300
+ baiduCredential?: BaiduCredential;
301
+ /** Description of a NotificationHub BrowserCredential. */
302
+ browserCredential?: BrowserCredential;
303
+ /** Description of a NotificationHub XiaomiCredential. */
304
+ xiaomiCredential?: XiaomiCredential;
305
+ /** Description of a NotificationHub FcmV1Credential. */
306
+ fcmV1Credential?: FcmV1Credential;
307
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
308
+ readonly dailyMaxActiveDevices?: number;
309
+ }
310
+ /** The response of the List NotificationHub operation. */
311
+ export interface NotificationHubListResult {
312
+ /**
313
+ * Gets or sets result of the List AuthorizationRules operation.
314
+ * NOTE: This property will not be serialized. It can only be populated by the server.
315
+ */
316
+ readonly value?: NotificationHubResource[];
317
+ /**
318
+ * Gets or sets link to the next set of results.
319
+ * NOTE: This property will not be serialized. It can only be populated by the server.
320
+ */
321
+ readonly nextLink?: string;
322
+ }
323
+ /** Notification result for a single registration. */
324
+ export interface RegistrationResult {
325
+ /**
326
+ * PNS type.
327
+ * NOTE: This property will not be serialized. It can only be populated by the server.
328
+ */
329
+ readonly applicationPlatform?: string;
330
+ /**
331
+ * PNS handle.
332
+ * NOTE: This property will not be serialized. It can only be populated by the server.
333
+ */
334
+ readonly pnsHandle?: string;
335
+ /**
336
+ * Registration id.
337
+ * NOTE: This property will not be serialized. It can only be populated by the server.
338
+ */
339
+ readonly registrationId?: string;
340
+ /**
341
+ * Notification outcome.
342
+ * NOTE: This property will not be serialized. It can only be populated by the server.
343
+ */
344
+ readonly outcome?: string;
345
+ }
346
+ /** The response of the List Namespace operation. */
347
+ export interface SharedAccessAuthorizationRuleListResult {
348
+ /**
349
+ * Gets or sets result of the List AuthorizationRules operation.
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
351
+ */
352
+ readonly value?: SharedAccessAuthorizationRuleResource[];
353
+ /**
354
+ * Gets or sets link to the next set of results.
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
356
+ */
357
+ readonly nextLink?: string;
358
+ }
359
+ /** Response for the POST request that returns Namespace or NotificationHub access keys (connection strings). */
360
+ export interface ResourceListKeys {
361
+ /**
362
+ * Gets or sets primaryConnectionString of the AuthorizationRule.
363
+ * NOTE: This property will not be serialized. It can only be populated by the server.
364
+ */
365
+ readonly primaryConnectionString?: string;
366
+ /**
367
+ * Gets or sets secondaryConnectionString of the created
368
+ * AuthorizationRule
369
+ * NOTE: This property will not be serialized. It can only be populated by the server.
370
+ */
371
+ readonly secondaryConnectionString?: string;
372
+ /**
373
+ * Gets or sets primaryKey of the created AuthorizationRule.
374
+ * NOTE: This property will not be serialized. It can only be populated by the server.
375
+ */
376
+ readonly primaryKey?: string;
377
+ /**
378
+ * Gets or sets secondaryKey of the created AuthorizationRule
379
+ * NOTE: This property will not be serialized. It can only be populated by the server.
380
+ */
381
+ readonly secondaryKey?: string;
382
+ /**
383
+ * Gets or sets keyName of the created AuthorizationRule
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
385
+ */
386
+ readonly keyName?: string;
387
+ }
388
+ /** Namespace / NotificationHub Regenerate Keys request. */
389
+ export interface PolicyKeyResource {
390
+ /** Type of Shared Access Policy Key (primary or secondary). */
391
+ policyKey: PolicyKeyType;
392
+ }
393
+ /** Collection of Notification Hub or Notification Hub Namespace PNS credentials. */
394
+ export interface PnsCredentials {
395
+ /** Description of a NotificationHub AdmCredential. */
396
+ admCredential?: AdmCredential;
397
+ /** Description of a NotificationHub ApnsCredential. */
398
+ apnsCredential?: ApnsCredential;
399
+ /** Description of a NotificationHub BaiduCredential. */
400
+ baiduCredential?: BaiduCredential;
401
+ /** Description of a NotificationHub BrowserCredential. */
402
+ browserCredential?: BrowserCredential;
403
+ /** Description of a NotificationHub GcmCredential. */
404
+ gcmCredential?: GcmCredential;
405
+ /** Description of a NotificationHub MpnsCredential. */
406
+ mpnsCredential?: MpnsCredential;
407
+ /** Description of a NotificationHub WnsCredential. */
408
+ wnsCredential?: WnsCredential;
409
+ /** Description of a NotificationHub XiaomiCredential. */
410
+ xiaomiCredential?: XiaomiCredential;
411
+ /** Description of a NotificationHub FcmV1Credential. */
412
+ fcmV1Credential?: FcmV1Credential;
413
+ }
414
+ /** Represents namespace properties. */
415
+ export interface NamespaceProperties {
416
+ /**
417
+ * Name of the Notification Hubs namespace. This is immutable property, set automatically
418
+ * by the service when the namespace is created.
419
+ * NOTE: This property will not be serialized. It can only be populated by the server.
420
+ */
421
+ readonly name?: string;
422
+ /** Defines values for OperationProvisioningState. */
423
+ provisioningState?: OperationProvisioningState;
424
+ /** Namespace status. */
425
+ status?: NamespaceStatus;
426
+ /**
427
+ * Gets or sets whether or not the namespace is currently enabled.
428
+ * NOTE: This property will not be serialized. It can only be populated by the server.
429
+ */
430
+ readonly enabled?: boolean;
431
+ /**
432
+ * Gets or sets whether or not the namespace is set as Critical.
433
+ * NOTE: This property will not be serialized. It can only be populated by the server.
434
+ */
435
+ readonly critical?: boolean;
436
+ /**
437
+ * Namespace subscription id.
438
+ * NOTE: This property will not be serialized. It can only be populated by the server.
439
+ */
440
+ readonly subscriptionId?: string;
441
+ /**
442
+ * Region. The value is always set to the same value as Namespace.Location, so we are deprecating
443
+ * this property.
444
+ * NOTE: This property will not be serialized. It can only be populated by the server.
445
+ */
446
+ readonly region?: string;
447
+ /**
448
+ * Azure Insights Metrics id.
449
+ * NOTE: This property will not be serialized. It can only be populated by the server.
450
+ */
451
+ readonly metricId?: string;
452
+ /**
453
+ * Time when the namespace was created.
454
+ * NOTE: This property will not be serialized. It can only be populated by the server.
455
+ */
456
+ readonly createdAt?: Date;
457
+ /**
458
+ * Time when the namespace was updated.
459
+ * NOTE: This property will not be serialized. It can only be populated by the server.
460
+ */
461
+ readonly updatedAt?: Date;
462
+ /** Defines values for NamespaceType. */
463
+ namespaceType?: NamespaceType;
464
+ /** Allowed replication region */
465
+ replicationRegion?: ReplicationRegion;
466
+ /** Namespace SKU name. */
467
+ zoneRedundancy?: ZoneRedundancyPreference;
468
+ /** A collection of network authorization rules. */
469
+ networkAcls?: NetworkAcls;
470
+ /** Collection of Notification Hub or Notification Hub Namespace PNS credentials. */
471
+ pnsCredentials?: PnsCredentials;
472
+ /**
473
+ * Gets or sets endpoint you can use to perform NotificationHub
474
+ * operations.
475
+ * NOTE: This property will not be serialized. It can only be populated by the server.
476
+ */
477
+ readonly serviceBusEndpoint?: string;
478
+ /**
479
+ * Private Endpoint Connections for namespace
480
+ * NOTE: This property will not be serialized. It can only be populated by the server.
481
+ */
482
+ readonly privateEndpointConnections?: PrivateEndpointConnectionResource[];
483
+ /** Gets or sets scaleUnit where the namespace gets created */
484
+ scaleUnit?: string;
485
+ /** Deprecated. */
486
+ dataCenter?: string;
487
+ /** Type of public network access. */
488
+ publicNetworkAccess?: PublicNetworkAccess;
489
+ }
490
+ /** A collection of network authorization rules. */
491
+ export interface NetworkAcls {
492
+ /** List of IP rules. */
493
+ ipRules?: IpRule[];
494
+ /** A default (public Internet) network authorization rule, which contains rights if no other network rule matches. */
495
+ publicNetworkRule?: PublicInternetAuthorizationRule;
496
+ }
497
+ /** A network authorization rule that filters traffic based on IP address. */
498
+ export interface IpRule {
499
+ /** IP mask. */
500
+ ipMask: string;
501
+ /** List of access rights. */
502
+ rights: AccessRights[];
503
+ }
504
+ /** A default (public Internet) network authorization rule, which contains rights if no other network rule matches. */
505
+ export interface PublicInternetAuthorizationRule {
506
+ /** List of access rights. */
507
+ rights: AccessRights[];
508
+ }
509
+ /** Private Endpoint Connection properties. */
510
+ export interface PrivateEndpointConnectionProperties {
511
+ /** State of Private Endpoint Connection. */
512
+ provisioningState?: PrivateEndpointConnectionProvisioningState;
513
+ /** Represents a Private Endpoint that is connected to Notification Hubs namespace using Private Endpoint Connection. */
514
+ privateEndpoint?: RemotePrivateEndpointConnection;
515
+ /**
516
+ * List of group ids. For Notification Hubs, it always contains a single "namespace" element.
517
+ * NOTE: This property will not be serialized. It can only be populated by the server.
518
+ */
519
+ readonly groupIds?: string[];
520
+ /** State of the Private Link Service connection. */
521
+ privateLinkServiceConnectionState?: RemotePrivateLinkServiceConnectionState;
522
+ }
523
+ /** Represents a Private Endpoint that is connected to Notification Hubs namespace using Private Endpoint Connection. */
524
+ export interface RemotePrivateEndpointConnection {
525
+ /**
526
+ * ARM resource ID of the Private Endpoint. This may belong to different subscription and resource group than a Notification Hubs namespace.
527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
528
+ */
529
+ readonly id?: string;
530
+ }
531
+ /** State of the Private Link Service connection. */
532
+ export interface RemotePrivateLinkServiceConnectionState {
533
+ /** State of Private Link Connection. */
534
+ status?: PrivateLinkConnectionStatus;
535
+ /**
536
+ * Human-friendly description.
537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
538
+ */
539
+ readonly description?: string;
540
+ /**
541
+ * Human-friendly description of required actions.
542
+ * NOTE: This property will not be serialized. It can only be populated by the server.
543
+ */
544
+ readonly actionsRequired?: string;
545
+ }
546
+ /** Patch parameter for NamespaceResource. */
547
+ export interface NamespacePatchParameters {
548
+ /** The Sku description for a namespace */
549
+ sku?: Sku;
550
+ /** Represents namespace properties. */
551
+ properties?: NamespaceProperties;
552
+ /** Dictionary of <string> */
553
+ tags?: {
554
+ [propertyName: string]: string;
555
+ };
556
+ }
557
+ /** The response of the List Namespace operation. */
558
+ export interface NamespaceListResult {
559
+ /**
560
+ * Gets or sets result of the List AuthorizationRules operation.
561
+ * NOTE: This property will not be serialized. It can only be populated by the server.
562
+ */
563
+ readonly value?: NamespaceResource[];
564
+ /**
565
+ * Gets or sets link to the next set of results.
566
+ * NOTE: This property will not be serialized. It can only be populated by the server.
567
+ */
568
+ readonly nextLink?: string;
569
+ }
570
+ /**
571
+ * Result of the request to list NotificationHubs operations. It contains
572
+ * a list of operations and a URL link to get the next set of results.
573
+ */
574
+ export interface OperationListResult {
575
+ /**
576
+ * Gets list of NotificationHubs operations supported by the
577
+ * Microsoft.NotificationHubs resource provider.
578
+ * NOTE: This property will not be serialized. It can only be populated by the server.
579
+ */
580
+ readonly value?: Operation[];
581
+ /**
582
+ * Gets URL to get the next set of operation list results if there are
583
+ * any.
584
+ * NOTE: This property will not be serialized. It can only be populated by the server.
585
+ */
586
+ readonly nextLink?: string;
587
+ }
588
+ /** A NotificationHubs REST API operation */
589
+ export interface Operation {
590
+ /**
591
+ * Gets operation name: {provider}/{resource}/{operation}
592
+ * NOTE: This property will not be serialized. It can only be populated by the server.
593
+ */
594
+ readonly name?: string;
595
+ /** The object that represents the operation. */
596
+ display?: OperationDisplay;
597
+ /** Optional operation properties. */
598
+ properties?: OperationProperties;
599
+ /**
600
+ * Gets or sets IsDataAction property. It is used to differentiate management and data plane operations.
601
+ * NOTE: This property will not be serialized. It can only be populated by the server.
602
+ */
603
+ readonly isDataAction?: boolean;
604
+ }
605
+ /** The object that represents the operation. */
606
+ export interface OperationDisplay {
607
+ /**
608
+ * Gets service provider: Microsoft.NotificationHubs
609
+ * NOTE: This property will not be serialized. It can only be populated by the server.
610
+ */
611
+ readonly provider?: string;
612
+ /**
613
+ * Gets resource on which the operation is performed: Invoice, etc.
614
+ * NOTE: This property will not be serialized. It can only be populated by the server.
615
+ */
616
+ readonly resource?: string;
617
+ /**
618
+ * Gets operation type: Read, write, delete, etc.
619
+ * NOTE: This property will not be serialized. It can only be populated by the server.
620
+ */
621
+ readonly operation?: string;
622
+ /**
623
+ * Human-friendly operation description.
624
+ * NOTE: This property will not be serialized. It can only be populated by the server.
625
+ */
626
+ readonly description?: string;
627
+ }
628
+ /** Optional operation properties. */
629
+ export interface OperationProperties {
630
+ /** Optional service specification used in Operations API. */
631
+ serviceSpecification?: ServiceSpecification;
632
+ }
633
+ /** Optional service specification used in Operations API. */
634
+ export interface ServiceSpecification {
635
+ /**
636
+ * Log specifications.
637
+ * NOTE: This property will not be serialized. It can only be populated by the server.
638
+ */
639
+ readonly logSpecifications?: LogSpecification[];
640
+ /**
641
+ * Metric specification.
642
+ * NOTE: This property will not be serialized. It can only be populated by the server.
643
+ */
644
+ readonly metricSpecifications?: MetricSpecification[];
645
+ }
646
+ /** A single log category specification. */
647
+ export interface LogSpecification {
648
+ /**
649
+ * Name of the log category.
650
+ * NOTE: This property will not be serialized. It can only be populated by the server.
651
+ */
652
+ readonly name?: string;
653
+ /**
654
+ * Display name of the log category.
655
+ * NOTE: This property will not be serialized. It can only be populated by the server.
656
+ */
657
+ readonly displayName?: string;
658
+ /**
659
+ * Duration of data written to a single blob.
660
+ * NOTE: This property will not be serialized. It can only be populated by the server.
661
+ */
662
+ readonly blobDuration?: string;
663
+ /** Category group for the log specification. */
664
+ categoryGroups?: string[];
665
+ }
666
+ /** A metric specification. */
667
+ export interface MetricSpecification {
668
+ /**
669
+ * Metric name / id.
670
+ * NOTE: This property will not be serialized. It can only be populated by the server.
671
+ */
672
+ readonly name?: string;
673
+ /**
674
+ * User-visible metric name.
675
+ * NOTE: This property will not be serialized. It can only be populated by the server.
676
+ */
677
+ readonly displayName?: string;
678
+ /**
679
+ * Description of the metric.
680
+ * NOTE: This property will not be serialized. It can only be populated by the server.
681
+ */
682
+ readonly displayDescription?: string;
683
+ /**
684
+ * Metric unit.
685
+ * NOTE: This property will not be serialized. It can only be populated by the server.
686
+ */
687
+ readonly unit?: string;
688
+ /**
689
+ * Type of the aggregation (Average, Minimum, Maximum, Total or Count).
690
+ * NOTE: This property will not be serialized. It can only be populated by the server.
691
+ */
692
+ readonly aggregationType?: string;
693
+ /**
694
+ * List of availabilities.
695
+ * NOTE: This property will not be serialized. It can only be populated by the server.
696
+ */
697
+ readonly availabilities?: Availability[];
698
+ /**
699
+ * List of supported time grain types.
700
+ * NOTE: This property will not be serialized. It can only be populated by the server.
701
+ */
702
+ readonly supportedTimeGrainTypes?: string[];
703
+ /**
704
+ * The matching regex pattern to be applied to the field pointed by the "metricsFilterPathSelector" flag in the ARM manifest.
705
+ * NOTE: This property will not be serialized. It can only be populated by the server.
706
+ */
707
+ readonly metricFilterPattern?: string;
708
+ /**
709
+ * Optional property. If set to true, then zero will be returned for time duration where no metric is emitted / published.
710
+ * NOTE: This property will not be serialized. It can only be populated by the server.
711
+ */
712
+ readonly fillGapWithZero?: boolean;
713
+ }
714
+ /** Represents metric availability (part of RP operation descriptions). */
715
+ export interface Availability {
716
+ /**
717
+ * Time grain of the availability.
718
+ * NOTE: This property will not be serialized. It can only be populated by the server.
719
+ */
720
+ readonly timeGrain?: string;
721
+ /**
722
+ * Duration of the availability blob.
723
+ * NOTE: This property will not be serialized. It can only be populated by the server.
724
+ */
725
+ readonly blobDuration?: string;
726
+ }
727
+ /** The response of the List Private Endpoint Connections operation. */
728
+ export interface PrivateEndpointConnectionResourceListResult {
729
+ /**
730
+ * Gets or sets result of the List AuthorizationRules operation.
731
+ * NOTE: This property will not be serialized. It can only be populated by the server.
732
+ */
733
+ readonly value?: PrivateEndpointConnectionResource[];
734
+ /**
735
+ * Gets or sets link to the next set of results.
736
+ * NOTE: This property will not be serialized. It can only be populated by the server.
737
+ */
738
+ readonly nextLink?: string;
739
+ }
740
+ /** Represents properties of Private Link Resource. */
741
+ export interface PrivateLinkResourceProperties {
742
+ /**
743
+ * A Group Id for Private Link. For Notification Hubs, it is always set to "namespace".
744
+ * NOTE: This property will not be serialized. It can only be populated by the server.
745
+ */
746
+ readonly groupId?: string;
747
+ /**
748
+ * Required members. For Notification Hubs, it's always a collection with a single "namespace" item.
749
+ * NOTE: This property will not be serialized. It can only be populated by the server.
750
+ */
751
+ readonly requiredMembers?: string[];
752
+ /**
753
+ * Required DNS zone names. For Notification Hubs, it contains two CNames for Service Bus and Notification Hubs zones.
754
+ * NOTE: This property will not be serialized. It can only be populated by the server.
755
+ */
756
+ readonly requiredZoneNames?: string[];
757
+ }
758
+ /** The response of the List Private Link Resources operation. */
759
+ export interface PrivateLinkResourceListResult {
760
+ /**
761
+ * Gets or sets result of the List AuthorizationRules operation.
762
+ * NOTE: This property will not be serialized. It can only be populated by the server.
763
+ */
764
+ readonly value?: PrivateLinkResource[];
765
+ /**
766
+ * Gets or sets link to the next set of results.
767
+ * NOTE: This property will not be serialized. It can only be populated by the server.
768
+ */
769
+ readonly nextLink?: string;
770
+ }
771
+ /**
772
+ * Part of Private Endpoint description that stores information about a connection between Private Endpoint and Notification Hubs namespace.
773
+ * This is internal class, not visible to customers, and we use it only to discover the link identifier.
774
+ */
775
+ export interface ConnectionDetails {
776
+ /**
777
+ * A unique ID of the connection. This is not the ARM id, but rather an internal identifier set by the Networking RP. Notification Hubs code
778
+ * does not analyze it.
779
+ * NOTE: This property will not be serialized. It can only be populated by the server.
780
+ */
781
+ readonly id?: string;
782
+ /**
783
+ * IP address of the Private Endpoint. This is not used by Notification Hubs.
784
+ * NOTE: This property will not be serialized. It can only be populated by the server.
785
+ */
786
+ readonly privateIpAddress?: string;
787
+ /**
788
+ * Link identifier. This is a string representation of an integer that is also encoded in every IPv6 frame received by Front Door,
789
+ * and we use it to create implicit authorization rule that allows connection from the associated Private Endpoint.
790
+ * NOTE: This property will not be serialized. It can only be populated by the server.
791
+ */
792
+ readonly linkIdentifier?: string;
793
+ /**
794
+ * Group name. Always "namespace" for Notification Hubs.
795
+ * NOTE: This property will not be serialized. It can only be populated by the server.
796
+ */
797
+ readonly groupId?: string;
798
+ /**
799
+ * Member name. Always "namespace" for Notification Hubs.
800
+ * NOTE: This property will not be serialized. It can only be populated by the server.
801
+ */
802
+ readonly memberName?: string;
803
+ }
804
+ /**
805
+ * Represents a connectivity information to Notification Hubs namespace. This is part of PrivateLinkService proxy that tell
806
+ * the Networking RP how to connect to the Notification Hubs namespace.
807
+ */
808
+ export interface GroupConnectivityInformation {
809
+ /**
810
+ * Group id. Always set to "namespace".
811
+ * NOTE: This property will not be serialized. It can only be populated by the server.
812
+ */
813
+ readonly groupId?: string;
814
+ /**
815
+ * Member name. Always set to "namespace".
816
+ * NOTE: This property will not be serialized. It can only be populated by the server.
817
+ */
818
+ readonly memberName?: string;
819
+ /**
820
+ * List of customer-visible domain names that point to a Notification Hubs namespace.
821
+ * NOTE: This property will not be serialized. It can only be populated by the server.
822
+ */
823
+ readonly customerVisibleFqdns?: string[];
824
+ /**
825
+ * One of the domain name from the customer-visible names; this is used internally by Private Link service to make connection to Notification Hubs
826
+ * namespace.
827
+ * NOTE: This property will not be serialized. It can only be populated by the server.
828
+ */
829
+ readonly internalFqdn?: string;
830
+ /**
831
+ * Not used by Notification Hubs.
832
+ * NOTE: This property will not be serialized. It can only be populated by the server.
833
+ */
834
+ readonly redirectMapId?: string;
835
+ /**
836
+ * ARM region for Private Link Service. We use the region that contains the connected Notification Hubs namespace.
837
+ * NOTE: This property will not be serialized. It can only be populated by the server.
838
+ */
839
+ readonly privateLinkServiceArmRegion?: string;
840
+ }
841
+ /** A customer-visible sub-resource of Private Endpoint, which describe the connection between Private Endpoint and Notification Hubs namespace. */
842
+ export interface PrivateLinkServiceConnection {
843
+ /** Name of the Private Link Service connection. */
844
+ name?: string;
845
+ /** List of group ids. Always contains a single element - "namespace" - for Notification Hub Namespace. */
846
+ groupIds?: string[];
847
+ /** Request message provided by the user that created the connection. This is usually used when the connection requires manual approval. */
848
+ requestMessage?: string;
849
+ }
850
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
851
+ export interface ProxyResource extends Resource {
852
+ }
853
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
854
+ export interface TrackedResource extends Resource {
855
+ /** Resource tags. */
856
+ tags?: {
857
+ [propertyName: string]: string;
858
+ };
859
+ /** The geo-location where the resource lives */
860
+ location: string;
861
+ }
862
+ /** Description of a CheckAvailability resource. */
863
+ export interface CheckAvailabilityResult extends ProxyResource {
864
+ /**
865
+ * Gets or sets true if the name is available and can be used to
866
+ * create new Namespace/NotificationHub. Otherwise false.
867
+ */
868
+ isAvailiable?: boolean;
869
+ /** Deprecated - only for compatibility. */
870
+ location?: string;
871
+ /** Deprecated - only for compatibility. */
872
+ tags?: {
873
+ [propertyName: string]: string;
874
+ };
875
+ /** The Sku description for a namespace */
876
+ sku?: Sku;
877
+ }
878
+ /** Description of a NotificationHub Resource. */
879
+ export interface DebugSendResponse extends ProxyResource {
880
+ /** Deprecated - only for compatibility. */
881
+ location?: string;
882
+ /** Deprecated - only for compatibility. */
883
+ tags?: {
884
+ [propertyName: string]: string;
885
+ };
886
+ /**
887
+ * Gets or sets successful send
888
+ * NOTE: This property will not be serialized. It can only be populated by the server.
889
+ */
890
+ readonly success?: number;
891
+ /**
892
+ * Gets or sets send failure
893
+ * NOTE: This property will not be serialized. It can only be populated by the server.
894
+ */
895
+ readonly failure?: number;
896
+ /**
897
+ * Gets or sets actual failure description
898
+ * NOTE: This property will not be serialized. It can only be populated by the server.
899
+ */
900
+ readonly results?: RegistrationResult[];
901
+ }
902
+ /** Response for POST requests that return single SharedAccessAuthorizationRule. */
903
+ export interface SharedAccessAuthorizationRuleResource extends ProxyResource {
904
+ /** Deprecated - only for compatibility. */
905
+ location?: string;
906
+ /** Deprecated - only for compatibility. */
907
+ tags?: {
908
+ [propertyName: string]: string;
909
+ };
910
+ /** Gets or sets the rights associated with the rule. */
911
+ rights?: AccessRights[];
912
+ /**
913
+ * Gets a base64-encoded 256-bit primary key for signing and
914
+ * validating the SAS token.
915
+ */
916
+ primaryKey?: string;
917
+ /**
918
+ * Gets a base64-encoded 256-bit primary key for signing and
919
+ * validating the SAS token.
920
+ */
921
+ secondaryKey?: string;
922
+ /**
923
+ * Gets a string that describes the authorization rule.
924
+ * NOTE: This property will not be serialized. It can only be populated by the server.
925
+ */
926
+ readonly keyName?: string;
927
+ /**
928
+ * Gets the last modified time for this rule
929
+ * NOTE: This property will not be serialized. It can only be populated by the server.
930
+ */
931
+ readonly modifiedTime?: Date;
932
+ /**
933
+ * Gets the created time for this rule
934
+ * NOTE: This property will not be serialized. It can only be populated by the server.
935
+ */
936
+ readonly createdTime?: Date;
937
+ /**
938
+ * Gets a string that describes the claim type
939
+ * NOTE: This property will not be serialized. It can only be populated by the server.
940
+ */
941
+ readonly claimType?: string;
942
+ /**
943
+ * Gets a string that describes the claim value
944
+ * NOTE: This property will not be serialized. It can only be populated by the server.
945
+ */
946
+ readonly claimValue?: string;
947
+ /**
948
+ * Gets the revision number for the rule
949
+ * NOTE: This property will not be serialized. It can only be populated by the server.
950
+ */
951
+ readonly revision?: number;
952
+ }
953
+ /**
954
+ * Description of a NotificationHub PNS Credentials. This is a response of the POST requests that return namespace or hubs
955
+ * PNS credentials.
956
+ */
957
+ export interface PnsCredentialsResource extends ProxyResource {
958
+ /** Deprecated - only for compatibility. */
959
+ location?: string;
960
+ /** Deprecated - only for compatibility. */
961
+ tags?: {
962
+ [propertyName: string]: string;
963
+ };
964
+ /** Description of a NotificationHub AdmCredential. */
965
+ admCredential?: AdmCredential;
966
+ /** Description of a NotificationHub ApnsCredential. */
967
+ apnsCredential?: ApnsCredential;
968
+ /** Description of a NotificationHub BaiduCredential. */
969
+ baiduCredential?: BaiduCredential;
970
+ /** Description of a NotificationHub BrowserCredential. */
971
+ browserCredential?: BrowserCredential;
972
+ /** Description of a NotificationHub GcmCredential. */
973
+ gcmCredential?: GcmCredential;
974
+ /** Description of a NotificationHub MpnsCredential. */
975
+ mpnsCredential?: MpnsCredential;
976
+ /** Description of a NotificationHub WnsCredential. */
977
+ wnsCredential?: WnsCredential;
978
+ /** Description of a NotificationHub XiaomiCredential. */
979
+ xiaomiCredential?: XiaomiCredential;
980
+ /** Description of a NotificationHub FcmV1Credential. */
981
+ fcmV1Credential?: FcmV1Credential;
982
+ }
983
+ /** Represents a Private Endpoint Connection ARM resource - a sub-resource of Notification Hubs namespace. */
984
+ export interface PrivateEndpointConnectionResource extends ProxyResource {
985
+ /** Private Endpoint Connection properties. */
986
+ properties?: PrivateEndpointConnectionProperties;
987
+ }
988
+ /** A Private Link Arm Resource. */
989
+ export interface PrivateLinkResource extends ProxyResource {
990
+ /** Represents properties of Private Link Resource. */
991
+ properties?: PrivateLinkResourceProperties;
992
+ }
993
+ /** Notification Hub Resource. */
994
+ export interface NotificationHubResource extends TrackedResource {
995
+ /** The Sku description for a namespace */
996
+ sku?: Sku;
997
+ /** Gets or sets the NotificationHub name. */
998
+ namePropertiesName?: string;
999
+ /** Gets or sets the RegistrationTtl of the created NotificationHub */
1000
+ registrationTtl?: string;
1001
+ /**
1002
+ * Gets or sets the AuthorizationRules of the created NotificationHub
1003
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1004
+ */
1005
+ readonly authorizationRules?: SharedAccessAuthorizationRuleProperties[];
1006
+ /** Description of a NotificationHub ApnsCredential. */
1007
+ apnsCredential?: ApnsCredential;
1008
+ /** Description of a NotificationHub WnsCredential. */
1009
+ wnsCredential?: WnsCredential;
1010
+ /** Description of a NotificationHub GcmCredential. */
1011
+ gcmCredential?: GcmCredential;
1012
+ /** Description of a NotificationHub MpnsCredential. */
1013
+ mpnsCredential?: MpnsCredential;
1014
+ /** Description of a NotificationHub AdmCredential. */
1015
+ admCredential?: AdmCredential;
1016
+ /** Description of a NotificationHub BaiduCredential. */
1017
+ baiduCredential?: BaiduCredential;
1018
+ /** Description of a NotificationHub BrowserCredential. */
1019
+ browserCredential?: BrowserCredential;
1020
+ /** Description of a NotificationHub XiaomiCredential. */
1021
+ xiaomiCredential?: XiaomiCredential;
1022
+ /** Description of a NotificationHub FcmV1Credential. */
1023
+ fcmV1Credential?: FcmV1Credential;
1024
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
1025
+ readonly dailyMaxActiveDevices?: number;
1026
+ }
1027
+ /** Notification Hubs Namespace Resource. */
1028
+ export interface NamespaceResource extends TrackedResource {
1029
+ /** The Sku description for a namespace */
1030
+ sku: Sku;
1031
+ /**
1032
+ * Name of the Notification Hubs namespace. This is immutable property, set automatically
1033
+ * by the service when the namespace is created.
1034
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1035
+ */
1036
+ readonly namePropertiesName?: string;
1037
+ /** Defines values for OperationProvisioningState. */
1038
+ provisioningState?: OperationProvisioningState;
1039
+ /** Namespace status. */
1040
+ status?: NamespaceStatus;
1041
+ /**
1042
+ * Gets or sets whether or not the namespace is currently enabled.
1043
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1044
+ */
1045
+ readonly enabled?: boolean;
1046
+ /**
1047
+ * Gets or sets whether or not the namespace is set as Critical.
1048
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1049
+ */
1050
+ readonly critical?: boolean;
1051
+ /**
1052
+ * Namespace subscription id.
1053
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1054
+ */
1055
+ readonly subscriptionId?: string;
1056
+ /**
1057
+ * Region. The value is always set to the same value as Namespace.Location, so we are deprecating
1058
+ * this property.
1059
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1060
+ */
1061
+ readonly region?: string;
1062
+ /**
1063
+ * Azure Insights Metrics id.
1064
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1065
+ */
1066
+ readonly metricId?: string;
1067
+ /**
1068
+ * Time when the namespace was created.
1069
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1070
+ */
1071
+ readonly createdAt?: Date;
1072
+ /**
1073
+ * Time when the namespace was updated.
1074
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1075
+ */
1076
+ readonly updatedAt?: Date;
1077
+ /** Defines values for NamespaceType. */
1078
+ namespaceType?: NamespaceType;
1079
+ /** Allowed replication region */
1080
+ replicationRegion?: ReplicationRegion;
1081
+ /** Namespace SKU name. */
1082
+ zoneRedundancy?: ZoneRedundancyPreference;
1083
+ /** A collection of network authorization rules. */
1084
+ networkAcls?: NetworkAcls;
1085
+ /** Collection of Notification Hub or Notification Hub Namespace PNS credentials. */
1086
+ pnsCredentials?: PnsCredentials;
1087
+ /**
1088
+ * Gets or sets endpoint you can use to perform NotificationHub
1089
+ * operations.
1090
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1091
+ */
1092
+ readonly serviceBusEndpoint?: string;
1093
+ /**
1094
+ * Private Endpoint Connections for namespace
1095
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1096
+ */
1097
+ readonly privateEndpointConnections?: PrivateEndpointConnectionResource[];
1098
+ /** Gets or sets scaleUnit where the namespace gets created */
1099
+ scaleUnit?: string;
1100
+ /** Deprecated. */
1101
+ dataCenter?: string;
1102
+ /** Type of public network access. */
1103
+ publicNetworkAccess?: PublicNetworkAccess;
1104
+ }
1105
+ /** Defines headers for PrivateEndpointConnections_delete operation. */
1106
+ export interface PrivateEndpointConnectionsDeleteHeaders {
1107
+ location?: string;
1108
+ }
1109
+ /** Known values of {@link SkuName} that the service accepts. */
1110
+ export declare enum KnownSkuName {
1111
+ /** Free */
1112
+ Free = "Free",
1113
+ /** Basic */
1114
+ Basic = "Basic",
1115
+ /** Standard */
1116
+ Standard = "Standard"
1117
+ }
1118
+ /**
1119
+ * Defines values for SkuName. \
1120
+ * {@link KnownSkuName} can be used interchangeably with SkuName,
1121
+ * this enum contains the known values that the service supports.
1122
+ * ### Known values supported by the service
1123
+ * **Free** \
1124
+ * **Basic** \
1125
+ * **Standard**
1126
+ */
1127
+ export type SkuName = string;
1128
+ /** Known values of {@link CreatedByType} that the service accepts. */
1129
+ export declare enum KnownCreatedByType {
1130
+ /** User */
1131
+ User = "User",
1132
+ /** Application */
1133
+ Application = "Application",
1134
+ /** ManagedIdentity */
1135
+ ManagedIdentity = "ManagedIdentity",
1136
+ /** Key */
1137
+ Key = "Key"
1138
+ }
1139
+ /**
1140
+ * Defines values for CreatedByType. \
1141
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1142
+ * this enum contains the known values that the service supports.
1143
+ * ### Known values supported by the service
1144
+ * **User** \
1145
+ * **Application** \
1146
+ * **ManagedIdentity** \
1147
+ * **Key**
1148
+ */
1149
+ export type CreatedByType = string;
1150
+ /** Known values of {@link AccessRights} that the service accepts. */
1151
+ export declare enum KnownAccessRights {
1152
+ /** Manage */
1153
+ Manage = "Manage",
1154
+ /** Send */
1155
+ Send = "Send",
1156
+ /** Listen */
1157
+ Listen = "Listen"
1158
+ }
1159
+ /**
1160
+ * Defines values for AccessRights. \
1161
+ * {@link KnownAccessRights} can be used interchangeably with AccessRights,
1162
+ * this enum contains the known values that the service supports.
1163
+ * ### Known values supported by the service
1164
+ * **Manage** \
1165
+ * **Send** \
1166
+ * **Listen**
1167
+ */
1168
+ export type AccessRights = string;
1169
+ /** Known values of {@link PolicyKeyType} that the service accepts. */
1170
+ export declare enum KnownPolicyKeyType {
1171
+ /** PrimaryKey */
1172
+ PrimaryKey = "PrimaryKey",
1173
+ /** SecondaryKey */
1174
+ SecondaryKey = "SecondaryKey"
1175
+ }
1176
+ /**
1177
+ * Defines values for PolicyKeyType. \
1178
+ * {@link KnownPolicyKeyType} can be used interchangeably with PolicyKeyType,
1179
+ * this enum contains the known values that the service supports.
1180
+ * ### Known values supported by the service
1181
+ * **PrimaryKey** \
1182
+ * **SecondaryKey**
1183
+ */
1184
+ export type PolicyKeyType = string;
1185
+ /** Known values of {@link OperationProvisioningState} that the service accepts. */
1186
+ export declare enum KnownOperationProvisioningState {
1187
+ /** Unknown */
1188
+ Unknown = "Unknown",
1189
+ /** InProgress */
1190
+ InProgress = "InProgress",
1191
+ /** Succeeded */
1192
+ Succeeded = "Succeeded",
1193
+ /** Failed */
1194
+ Failed = "Failed",
1195
+ /** Canceled */
1196
+ Canceled = "Canceled",
1197
+ /** Pending */
1198
+ Pending = "Pending",
1199
+ /** Disabled */
1200
+ Disabled = "Disabled"
1201
+ }
1202
+ /**
1203
+ * Defines values for OperationProvisioningState. \
1204
+ * {@link KnownOperationProvisioningState} can be used interchangeably with OperationProvisioningState,
1205
+ * this enum contains the known values that the service supports.
1206
+ * ### Known values supported by the service
1207
+ * **Unknown** \
1208
+ * **InProgress** \
1209
+ * **Succeeded** \
1210
+ * **Failed** \
1211
+ * **Canceled** \
1212
+ * **Pending** \
1213
+ * **Disabled**
1214
+ */
1215
+ export type OperationProvisioningState = string;
1216
+ /** Known values of {@link NamespaceStatus} that the service accepts. */
1217
+ export declare enum KnownNamespaceStatus {
1218
+ /** Created */
1219
+ Created = "Created",
1220
+ /** Creating */
1221
+ Creating = "Creating",
1222
+ /** Suspended */
1223
+ Suspended = "Suspended",
1224
+ /** Deleting */
1225
+ Deleting = "Deleting"
1226
+ }
1227
+ /**
1228
+ * Defines values for NamespaceStatus. \
1229
+ * {@link KnownNamespaceStatus} can be used interchangeably with NamespaceStatus,
1230
+ * this enum contains the known values that the service supports.
1231
+ * ### Known values supported by the service
1232
+ * **Created** \
1233
+ * **Creating** \
1234
+ * **Suspended** \
1235
+ * **Deleting**
1236
+ */
1237
+ export type NamespaceStatus = string;
1238
+ /** Known values of {@link NamespaceType} that the service accepts. */
1239
+ export declare enum KnownNamespaceType {
1240
+ /** Messaging */
1241
+ Messaging = "Messaging",
1242
+ /** NotificationHub */
1243
+ NotificationHub = "NotificationHub"
1244
+ }
1245
+ /**
1246
+ * Defines values for NamespaceType. \
1247
+ * {@link KnownNamespaceType} can be used interchangeably with NamespaceType,
1248
+ * this enum contains the known values that the service supports.
1249
+ * ### Known values supported by the service
1250
+ * **Messaging** \
1251
+ * **NotificationHub**
1252
+ */
1253
+ export type NamespaceType = string;
1254
+ /** Known values of {@link ReplicationRegion} that the service accepts. */
1255
+ export declare enum KnownReplicationRegion {
1256
+ /** Default */
1257
+ Default = "Default",
1258
+ /** WestUs2 */
1259
+ WestUs2 = "WestUs2",
1260
+ /** NorthEurope */
1261
+ NorthEurope = "NorthEurope",
1262
+ /** AustraliaEast */
1263
+ AustraliaEast = "AustraliaEast",
1264
+ /** BrazilSouth */
1265
+ BrazilSouth = "BrazilSouth",
1266
+ /** SouthEastAsia */
1267
+ SouthEastAsia = "SouthEastAsia",
1268
+ /** SouthAfricaNorth */
1269
+ SouthAfricaNorth = "SouthAfricaNorth",
1270
+ /** None */
1271
+ None = "None"
1272
+ }
1273
+ /**
1274
+ * Defines values for ReplicationRegion. \
1275
+ * {@link KnownReplicationRegion} can be used interchangeably with ReplicationRegion,
1276
+ * this enum contains the known values that the service supports.
1277
+ * ### Known values supported by the service
1278
+ * **Default** \
1279
+ * **WestUs2** \
1280
+ * **NorthEurope** \
1281
+ * **AustraliaEast** \
1282
+ * **BrazilSouth** \
1283
+ * **SouthEastAsia** \
1284
+ * **SouthAfricaNorth** \
1285
+ * **None**
1286
+ */
1287
+ export type ReplicationRegion = string;
1288
+ /** Known values of {@link ZoneRedundancyPreference} that the service accepts. */
1289
+ export declare enum KnownZoneRedundancyPreference {
1290
+ /** Disabled */
1291
+ Disabled = "Disabled",
1292
+ /** Enabled */
1293
+ Enabled = "Enabled"
1294
+ }
1295
+ /**
1296
+ * Defines values for ZoneRedundancyPreference. \
1297
+ * {@link KnownZoneRedundancyPreference} can be used interchangeably with ZoneRedundancyPreference,
1298
+ * this enum contains the known values that the service supports.
1299
+ * ### Known values supported by the service
1300
+ * **Disabled** \
1301
+ * **Enabled**
1302
+ */
1303
+ export type ZoneRedundancyPreference = string;
1304
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1305
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
1306
+ /** Unknown */
1307
+ Unknown = "Unknown",
1308
+ /** Succeeded */
1309
+ Succeeded = "Succeeded",
1310
+ /** Creating */
1311
+ Creating = "Creating",
1312
+ /** Updating */
1313
+ Updating = "Updating",
1314
+ /** UpdatingByProxy */
1315
+ UpdatingByProxy = "UpdatingByProxy",
1316
+ /** Deleting */
1317
+ Deleting = "Deleting",
1318
+ /** DeletingByProxy */
1319
+ DeletingByProxy = "DeletingByProxy",
1320
+ /** Deleted */
1321
+ Deleted = "Deleted"
1322
+ }
1323
+ /**
1324
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
1325
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1326
+ * this enum contains the known values that the service supports.
1327
+ * ### Known values supported by the service
1328
+ * **Unknown** \
1329
+ * **Succeeded** \
1330
+ * **Creating** \
1331
+ * **Updating** \
1332
+ * **UpdatingByProxy** \
1333
+ * **Deleting** \
1334
+ * **DeletingByProxy** \
1335
+ * **Deleted**
1336
+ */
1337
+ export type PrivateEndpointConnectionProvisioningState = string;
1338
+ /** Known values of {@link PrivateLinkConnectionStatus} that the service accepts. */
1339
+ export declare enum KnownPrivateLinkConnectionStatus {
1340
+ /** Disconnected */
1341
+ Disconnected = "Disconnected",
1342
+ /** Pending */
1343
+ Pending = "Pending",
1344
+ /** Approved */
1345
+ Approved = "Approved",
1346
+ /** Rejected */
1347
+ Rejected = "Rejected"
1348
+ }
1349
+ /**
1350
+ * Defines values for PrivateLinkConnectionStatus. \
1351
+ * {@link KnownPrivateLinkConnectionStatus} can be used interchangeably with PrivateLinkConnectionStatus,
1352
+ * this enum contains the known values that the service supports.
1353
+ * ### Known values supported by the service
1354
+ * **Disconnected** \
1355
+ * **Pending** \
1356
+ * **Approved** \
1357
+ * **Rejected**
1358
+ */
1359
+ export type PrivateLinkConnectionStatus = string;
1360
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1361
+ export declare enum KnownPublicNetworkAccess {
1362
+ /** Enabled */
1363
+ Enabled = "Enabled",
1364
+ /** Disabled */
1365
+ Disabled = "Disabled"
1366
+ }
1367
+ /**
1368
+ * Defines values for PublicNetworkAccess. \
1369
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
1370
+ * this enum contains the known values that the service supports.
1371
+ * ### Known values supported by the service
1372
+ * **Enabled** \
1373
+ * **Disabled**
1374
+ */
1375
+ export type PublicNetworkAccess = string;
1376
+ /** Optional parameters. */
1377
+ export interface NotificationHubsCheckNotificationHubAvailabilityOptionalParams extends coreClient.OperationOptions {
1378
+ }
1379
+ /** Contains response data for the checkNotificationHubAvailability operation. */
1380
+ export type NotificationHubsCheckNotificationHubAvailabilityResponse = CheckAvailabilityResult;
1381
+ /** Optional parameters. */
1382
+ export interface NotificationHubsGetOptionalParams extends coreClient.OperationOptions {
1383
+ }
1384
+ /** Contains response data for the get operation. */
1385
+ export type NotificationHubsGetResponse = NotificationHubResource;
1386
+ /** Optional parameters. */
1387
+ export interface NotificationHubsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1388
+ }
1389
+ /** Contains response data for the createOrUpdate operation. */
1390
+ export type NotificationHubsCreateOrUpdateResponse = NotificationHubResource;
1391
+ /** Optional parameters. */
1392
+ export interface NotificationHubsUpdateOptionalParams extends coreClient.OperationOptions {
1393
+ }
1394
+ /** Contains response data for the update operation. */
1395
+ export type NotificationHubsUpdateResponse = NotificationHubResource;
1396
+ /** Optional parameters. */
1397
+ export interface NotificationHubsDeleteOptionalParams extends coreClient.OperationOptions {
1398
+ }
1399
+ /** Optional parameters. */
1400
+ export interface NotificationHubsListOptionalParams extends coreClient.OperationOptions {
1401
+ /** Continuation token. */
1402
+ skipToken?: string;
1403
+ /** Page size. */
1404
+ top?: number;
1405
+ }
1406
+ /** Contains response data for the list operation. */
1407
+ export type NotificationHubsListResponse = NotificationHubListResult;
1408
+ /** Optional parameters. */
1409
+ export interface NotificationHubsDebugSendOptionalParams extends coreClient.OperationOptions {
1410
+ }
1411
+ /** Contains response data for the debugSend operation. */
1412
+ export type NotificationHubsDebugSendResponse = DebugSendResponse;
1413
+ /** Optional parameters. */
1414
+ export interface NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1415
+ }
1416
+ /** Contains response data for the createOrUpdateAuthorizationRule operation. */
1417
+ export type NotificationHubsCreateOrUpdateAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
1418
+ /** Optional parameters. */
1419
+ export interface NotificationHubsDeleteAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1420
+ }
1421
+ /** Optional parameters. */
1422
+ export interface NotificationHubsGetAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1423
+ }
1424
+ /** Contains response data for the getAuthorizationRule operation. */
1425
+ export type NotificationHubsGetAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
1426
+ /** Optional parameters. */
1427
+ export interface NotificationHubsListAuthorizationRulesOptionalParams extends coreClient.OperationOptions {
1428
+ }
1429
+ /** Contains response data for the listAuthorizationRules operation. */
1430
+ export type NotificationHubsListAuthorizationRulesResponse = SharedAccessAuthorizationRuleListResult;
1431
+ /** Optional parameters. */
1432
+ export interface NotificationHubsListKeysOptionalParams extends coreClient.OperationOptions {
1433
+ }
1434
+ /** Contains response data for the listKeys operation. */
1435
+ export type NotificationHubsListKeysResponse = ResourceListKeys;
1436
+ /** Optional parameters. */
1437
+ export interface NotificationHubsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
1438
+ }
1439
+ /** Contains response data for the regenerateKeys operation. */
1440
+ export type NotificationHubsRegenerateKeysResponse = ResourceListKeys;
1441
+ /** Optional parameters. */
1442
+ export interface NotificationHubsGetPnsCredentialsOptionalParams extends coreClient.OperationOptions {
1443
+ }
1444
+ /** Contains response data for the getPnsCredentials operation. */
1445
+ export type NotificationHubsGetPnsCredentialsResponse = PnsCredentialsResource;
1446
+ /** Optional parameters. */
1447
+ export interface NotificationHubsListNextOptionalParams extends coreClient.OperationOptions {
1448
+ }
1449
+ /** Contains response data for the listNext operation. */
1450
+ export type NotificationHubsListNextResponse = NotificationHubListResult;
1451
+ /** Optional parameters. */
1452
+ export interface NotificationHubsListAuthorizationRulesNextOptionalParams extends coreClient.OperationOptions {
1453
+ }
1454
+ /** Contains response data for the listAuthorizationRulesNext operation. */
1455
+ export type NotificationHubsListAuthorizationRulesNextResponse = SharedAccessAuthorizationRuleListResult;
1456
+ /** Optional parameters. */
1457
+ export interface NamespacesCheckAvailabilityOptionalParams extends coreClient.OperationOptions {
1458
+ }
1459
+ /** Contains response data for the checkAvailability operation. */
1460
+ export type NamespacesCheckAvailabilityResponse = CheckAvailabilityResult;
1461
+ /** Optional parameters. */
1462
+ export interface NamespacesGetOptionalParams extends coreClient.OperationOptions {
1463
+ }
1464
+ /** Contains response data for the get operation. */
1465
+ export type NamespacesGetResponse = NamespaceResource;
1466
+ /** Optional parameters. */
1467
+ export interface NamespacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1468
+ /** Delay to wait until next poll, in milliseconds. */
1469
+ updateIntervalInMs?: number;
1470
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1471
+ resumeFrom?: string;
1472
+ }
1473
+ /** Contains response data for the createOrUpdate operation. */
1474
+ export type NamespacesCreateOrUpdateResponse = NamespaceResource;
1475
+ /** Optional parameters. */
1476
+ export interface NamespacesUpdateOptionalParams extends coreClient.OperationOptions {
1477
+ }
1478
+ /** Contains response data for the update operation. */
1479
+ export type NamespacesUpdateResponse = NamespaceResource;
1480
+ /** Optional parameters. */
1481
+ export interface NamespacesDeleteOptionalParams extends coreClient.OperationOptions {
1482
+ }
1483
+ /** Optional parameters. */
1484
+ export interface NamespacesListAllOptionalParams extends coreClient.OperationOptions {
1485
+ /** Skip token for subsequent requests. */
1486
+ skipToken?: string;
1487
+ /** Maximum number of results to return. */
1488
+ top?: number;
1489
+ }
1490
+ /** Contains response data for the listAll operation. */
1491
+ export type NamespacesListAllResponse = NamespaceListResult;
1492
+ /** Optional parameters. */
1493
+ export interface NamespacesListOptionalParams extends coreClient.OperationOptions {
1494
+ /** Skip token for subsequent requests. */
1495
+ skipToken?: string;
1496
+ /** Maximum number of results to return. */
1497
+ top?: number;
1498
+ }
1499
+ /** Contains response data for the list operation. */
1500
+ export type NamespacesListResponse = NamespaceListResult;
1501
+ /** Optional parameters. */
1502
+ export interface NamespacesCreateOrUpdateAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1503
+ }
1504
+ /** Contains response data for the createOrUpdateAuthorizationRule operation. */
1505
+ export type NamespacesCreateOrUpdateAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
1506
+ /** Optional parameters. */
1507
+ export interface NamespacesDeleteAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1508
+ }
1509
+ /** Optional parameters. */
1510
+ export interface NamespacesGetAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1511
+ }
1512
+ /** Contains response data for the getAuthorizationRule operation. */
1513
+ export type NamespacesGetAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
1514
+ /** Optional parameters. */
1515
+ export interface NamespacesListAuthorizationRulesOptionalParams extends coreClient.OperationOptions {
1516
+ }
1517
+ /** Contains response data for the listAuthorizationRules operation. */
1518
+ export type NamespacesListAuthorizationRulesResponse = SharedAccessAuthorizationRuleListResult;
1519
+ /** Optional parameters. */
1520
+ export interface NamespacesListKeysOptionalParams extends coreClient.OperationOptions {
1521
+ }
1522
+ /** Contains response data for the listKeys operation. */
1523
+ export type NamespacesListKeysResponse = ResourceListKeys;
1524
+ /** Optional parameters. */
1525
+ export interface NamespacesRegenerateKeysOptionalParams extends coreClient.OperationOptions {
1526
+ }
1527
+ /** Contains response data for the regenerateKeys operation. */
1528
+ export type NamespacesRegenerateKeysResponse = ResourceListKeys;
1529
+ /** Optional parameters. */
1530
+ export interface NamespacesGetPnsCredentialsOptionalParams extends coreClient.OperationOptions {
1531
+ }
1532
+ /** Contains response data for the getPnsCredentials operation. */
1533
+ export type NamespacesGetPnsCredentialsResponse = PnsCredentialsResource;
1534
+ /** Optional parameters. */
1535
+ export interface NamespacesListAllNextOptionalParams extends coreClient.OperationOptions {
1536
+ }
1537
+ /** Contains response data for the listAllNext operation. */
1538
+ export type NamespacesListAllNextResponse = NamespaceListResult;
1539
+ /** Optional parameters. */
1540
+ export interface NamespacesListNextOptionalParams extends coreClient.OperationOptions {
1541
+ }
1542
+ /** Contains response data for the listNext operation. */
1543
+ export type NamespacesListNextResponse = NamespaceListResult;
1544
+ /** Optional parameters. */
1545
+ export interface NamespacesListAuthorizationRulesNextOptionalParams extends coreClient.OperationOptions {
1546
+ }
1547
+ /** Contains response data for the listAuthorizationRulesNext operation. */
1548
+ export type NamespacesListAuthorizationRulesNextResponse = SharedAccessAuthorizationRuleListResult;
1549
+ /** Optional parameters. */
1550
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1551
+ }
1552
+ /** Contains response data for the list operation. */
1553
+ export type OperationsListResponse = OperationListResult;
1554
+ /** Optional parameters. */
1555
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1556
+ }
1557
+ /** Contains response data for the listNext operation. */
1558
+ export type OperationsListNextResponse = OperationListResult;
1559
+ /** Optional parameters. */
1560
+ export interface PrivateEndpointConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
1561
+ /** Delay to wait until next poll, in milliseconds. */
1562
+ updateIntervalInMs?: number;
1563
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1564
+ resumeFrom?: string;
1565
+ }
1566
+ /** Contains response data for the update operation. */
1567
+ export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnectionResource;
1568
+ /** Optional parameters. */
1569
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1570
+ /** Delay to wait until next poll, in milliseconds. */
1571
+ updateIntervalInMs?: number;
1572
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1573
+ resumeFrom?: string;
1574
+ }
1575
+ /** Contains response data for the delete operation. */
1576
+ export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnectionsDeleteHeaders;
1577
+ /** Optional parameters. */
1578
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1579
+ }
1580
+ /** Contains response data for the get operation. */
1581
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnectionResource;
1582
+ /** Optional parameters. */
1583
+ export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
1584
+ }
1585
+ /** Contains response data for the list operation. */
1586
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionResourceListResult;
1587
+ /** Optional parameters. */
1588
+ export interface PrivateEndpointConnectionsGetGroupIdOptionalParams extends coreClient.OperationOptions {
1589
+ }
1590
+ /** Contains response data for the getGroupId operation. */
1591
+ export type PrivateEndpointConnectionsGetGroupIdResponse = PrivateLinkResource;
1592
+ /** Optional parameters. */
1593
+ export interface PrivateEndpointConnectionsListGroupIdsOptionalParams extends coreClient.OperationOptions {
1594
+ }
1595
+ /** Contains response data for the listGroupIds operation. */
1596
+ export type PrivateEndpointConnectionsListGroupIdsResponse = PrivateLinkResourceListResult;
1597
+ /** Optional parameters. */
1598
+ export interface NotificationHubsManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1599
+ /** server parameter */
1600
+ $host?: string;
1601
+ /** Api Version */
1602
+ apiVersion?: string;
1603
+ /** Overrides client endpoint. */
1604
+ endpoint?: string;
1605
+ }
1606
+ //# sourceMappingURL=index.d.ts.map