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