@azure/arm-databasewatcher 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +114 -0
  4. package/dist/browser/api/alertRuleResources/index.d.ts +21 -0
  5. package/dist/browser/api/alertRuleResources/index.d.ts.map +1 -0
  6. package/dist/browser/api/alertRuleResources/index.js +93 -0
  7. package/dist/browser/api/alertRuleResources/index.js.map +1 -0
  8. package/dist/browser/api/databaseWatcherContext.d.ts +17 -0
  9. package/dist/browser/api/databaseWatcherContext.d.ts.map +1 -0
  10. package/dist/browser/api/databaseWatcherContext.js +35 -0
  11. package/dist/browser/api/databaseWatcherContext.js.map +1 -0
  12. package/dist/browser/api/healthValidations/index.d.ts +18 -0
  13. package/dist/browser/api/healthValidations/index.d.ts.map +1 -0
  14. package/dist/browser/api/healthValidations/index.js +74 -0
  15. package/dist/browser/api/healthValidations/index.js.map +1 -0
  16. package/dist/browser/api/index.d.ts +9 -0
  17. package/dist/browser/api/index.d.ts.map +1 -0
  18. package/dist/browser/api/index.js +10 -0
  19. package/dist/browser/api/index.js.map +1 -0
  20. package/dist/browser/api/operations/index.d.ts +9 -0
  21. package/dist/browser/api/operations/index.d.ts.map +1 -0
  22. package/dist/browser/api/operations/index.js +23 -0
  23. package/dist/browser/api/operations/index.js.map +1 -0
  24. package/dist/browser/api/options.d.ts +90 -0
  25. package/dist/browser/api/options.d.ts.map +1 -0
  26. package/dist/browser/api/options.js +4 -0
  27. package/dist/browser/api/options.js.map +1 -0
  28. package/dist/browser/api/sharedPrivateLinkResources/index.d.ts +22 -0
  29. package/dist/browser/api/sharedPrivateLinkResources/index.d.ts.map +1 -0
  30. package/dist/browser/api/sharedPrivateLinkResources/index.js +106 -0
  31. package/dist/browser/api/sharedPrivateLinkResources/index.js.map +1 -0
  32. package/dist/browser/api/targets/index.d.ts +21 -0
  33. package/dist/browser/api/targets/index.d.ts.map +1 -0
  34. package/dist/browser/api/targets/index.js +85 -0
  35. package/dist/browser/api/targets/index.js.map +1 -0
  36. package/dist/browser/api/watchers/index.d.ts +38 -0
  37. package/dist/browser/api/watchers/index.d.ts.map +1 -0
  38. package/dist/browser/api/watchers/index.js +185 -0
  39. package/dist/browser/api/watchers/index.js.map +1 -0
  40. package/dist/browser/classic/alertRuleResources/index.d.ts +17 -0
  41. package/dist/browser/classic/alertRuleResources/index.d.ts.map +1 -0
  42. package/dist/browser/classic/alertRuleResources/index.js +15 -0
  43. package/dist/browser/classic/alertRuleResources/index.js.map +1 -0
  44. package/dist/browser/classic/healthValidations/index.d.ts +16 -0
  45. package/dist/browser/classic/healthValidations/index.d.ts.map +1 -0
  46. package/dist/browser/classic/healthValidations/index.js +14 -0
  47. package/dist/browser/classic/healthValidations/index.js.map +1 -0
  48. package/dist/browser/classic/index.d.ts +7 -0
  49. package/dist/browser/classic/index.d.ts.map +1 -0
  50. package/dist/browser/classic/index.js +4 -0
  51. package/dist/browser/classic/index.js.map +1 -0
  52. package/dist/browser/classic/operations/index.d.ts +11 -0
  53. package/dist/browser/classic/operations/index.d.ts.map +1 -0
  54. package/dist/browser/classic/operations/index.js +12 -0
  55. package/dist/browser/classic/operations/index.js.map +1 -0
  56. package/dist/browser/classic/sharedPrivateLinkResources/index.d.ts +18 -0
  57. package/dist/browser/classic/sharedPrivateLinkResources/index.d.ts.map +1 -0
  58. package/dist/browser/classic/sharedPrivateLinkResources/index.js +15 -0
  59. package/dist/browser/classic/sharedPrivateLinkResources/index.js.map +1 -0
  60. package/dist/browser/classic/targets/index.d.ts +17 -0
  61. package/dist/browser/classic/targets/index.d.ts.map +1 -0
  62. package/dist/browser/classic/targets/index.js +15 -0
  63. package/dist/browser/classic/targets/index.js.map +1 -0
  64. package/dist/browser/classic/watchers/index.d.ts +26 -0
  65. package/dist/browser/classic/watchers/index.d.ts.map +1 -0
  66. package/dist/browser/classic/watchers/index.js +19 -0
  67. package/dist/browser/classic/watchers/index.js.map +1 -0
  68. package/dist/browser/databaseWatcherClient.d.ts +29 -0
  69. package/dist/browser/databaseWatcherClient.d.ts.map +1 -0
  70. package/dist/browser/databaseWatcherClient.js +27 -0
  71. package/dist/browser/databaseWatcherClient.js.map +1 -0
  72. package/dist/browser/index.d.ts +8 -0
  73. package/dist/browser/index.d.ts.map +1 -0
  74. package/dist/browser/index.js +6 -0
  75. package/dist/browser/index.js.map +1 -0
  76. package/dist/browser/logger.d.ts +2 -0
  77. package/dist/browser/logger.d.ts.map +1 -0
  78. package/dist/browser/logger.js +5 -0
  79. package/dist/browser/logger.js.map +1 -0
  80. package/dist/browser/models/index.d.ts +2 -0
  81. package/dist/browser/models/index.d.ts.map +1 -0
  82. package/dist/browser/models/index.js +4 -0
  83. package/dist/browser/models/index.js.map +1 -0
  84. package/dist/browser/models/models.d.ts +652 -0
  85. package/dist/browser/models/models.d.ts.map +1 -0
  86. package/dist/browser/models/models.js +725 -0
  87. package/dist/browser/models/models.js.map +1 -0
  88. package/dist/browser/package.json +3 -0
  89. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  90. package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
  91. package/dist/browser/restorePollerHelpers.js +123 -0
  92. package/dist/browser/restorePollerHelpers.js.map +1 -0
  93. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  94. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
  95. package/dist/browser/static-helpers/pagingHelpers.js +137 -0
  96. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  97. package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
  98. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
  99. package/dist/browser/static-helpers/pollingHelpers.js +76 -0
  100. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  101. package/dist/commonjs/api/alertRuleResources/index.d.ts +21 -0
  102. package/dist/commonjs/api/alertRuleResources/index.d.ts.map +1 -0
  103. package/dist/commonjs/api/alertRuleResources/index.js +107 -0
  104. package/dist/commonjs/api/alertRuleResources/index.js.map +1 -0
  105. package/dist/commonjs/api/databaseWatcherContext.d.ts +17 -0
  106. package/dist/commonjs/api/databaseWatcherContext.d.ts.map +1 -0
  107. package/dist/commonjs/api/databaseWatcherContext.js +38 -0
  108. package/dist/commonjs/api/databaseWatcherContext.js.map +1 -0
  109. package/dist/commonjs/api/healthValidations/index.d.ts +18 -0
  110. package/dist/commonjs/api/healthValidations/index.d.ts.map +1 -0
  111. package/dist/commonjs/api/healthValidations/index.js +85 -0
  112. package/dist/commonjs/api/healthValidations/index.js.map +1 -0
  113. package/dist/commonjs/api/index.d.ts +9 -0
  114. package/dist/commonjs/api/index.d.ts.map +1 -0
  115. package/dist/commonjs/api/index.js +38 -0
  116. package/dist/commonjs/api/index.js.map +1 -0
  117. package/dist/commonjs/api/operations/index.d.ts +9 -0
  118. package/dist/commonjs/api/operations/index.d.ts.map +1 -0
  119. package/dist/commonjs/api/operations/index.js +28 -0
  120. package/dist/commonjs/api/operations/index.js.map +1 -0
  121. package/dist/commonjs/api/options.d.ts +90 -0
  122. package/dist/commonjs/api/options.d.ts.map +1 -0
  123. package/dist/commonjs/api/options.js +5 -0
  124. package/dist/commonjs/api/options.js.map +1 -0
  125. package/dist/commonjs/api/sharedPrivateLinkResources/index.d.ts +22 -0
  126. package/dist/commonjs/api/sharedPrivateLinkResources/index.d.ts.map +1 -0
  127. package/dist/commonjs/api/sharedPrivateLinkResources/index.js +120 -0
  128. package/dist/commonjs/api/sharedPrivateLinkResources/index.js.map +1 -0
  129. package/dist/commonjs/api/targets/index.d.ts +21 -0
  130. package/dist/commonjs/api/targets/index.d.ts.map +1 -0
  131. package/dist/commonjs/api/targets/index.js +99 -0
  132. package/dist/commonjs/api/targets/index.js.map +1 -0
  133. package/dist/commonjs/api/watchers/index.d.ts +38 -0
  134. package/dist/commonjs/api/watchers/index.d.ts.map +1 -0
  135. package/dist/commonjs/api/watchers/index.js +211 -0
  136. package/dist/commonjs/api/watchers/index.js.map +1 -0
  137. package/dist/commonjs/classic/alertRuleResources/index.d.ts +17 -0
  138. package/dist/commonjs/classic/alertRuleResources/index.d.ts.map +1 -0
  139. package/dist/commonjs/classic/alertRuleResources/index.js +18 -0
  140. package/dist/commonjs/classic/alertRuleResources/index.js.map +1 -0
  141. package/dist/commonjs/classic/healthValidations/index.d.ts +16 -0
  142. package/dist/commonjs/classic/healthValidations/index.d.ts.map +1 -0
  143. package/dist/commonjs/classic/healthValidations/index.js +17 -0
  144. package/dist/commonjs/classic/healthValidations/index.js.map +1 -0
  145. package/dist/commonjs/classic/index.d.ts +7 -0
  146. package/dist/commonjs/classic/index.d.ts.map +1 -0
  147. package/dist/commonjs/classic/index.js +5 -0
  148. package/dist/commonjs/classic/index.js.map +1 -0
  149. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  150. package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
  151. package/dist/commonjs/classic/operations/index.js +15 -0
  152. package/dist/commonjs/classic/operations/index.js.map +1 -0
  153. package/dist/commonjs/classic/sharedPrivateLinkResources/index.d.ts +18 -0
  154. package/dist/commonjs/classic/sharedPrivateLinkResources/index.d.ts.map +1 -0
  155. package/dist/commonjs/classic/sharedPrivateLinkResources/index.js +18 -0
  156. package/dist/commonjs/classic/sharedPrivateLinkResources/index.js.map +1 -0
  157. package/dist/commonjs/classic/targets/index.d.ts +17 -0
  158. package/dist/commonjs/classic/targets/index.d.ts.map +1 -0
  159. package/dist/commonjs/classic/targets/index.js +18 -0
  160. package/dist/commonjs/classic/targets/index.js.map +1 -0
  161. package/dist/commonjs/classic/watchers/index.d.ts +26 -0
  162. package/dist/commonjs/classic/watchers/index.d.ts.map +1 -0
  163. package/dist/commonjs/classic/watchers/index.js +22 -0
  164. package/dist/commonjs/classic/watchers/index.js.map +1 -0
  165. package/dist/commonjs/databaseWatcherClient.d.ts +29 -0
  166. package/dist/commonjs/databaseWatcherClient.d.ts.map +1 -0
  167. package/dist/commonjs/databaseWatcherClient.js +31 -0
  168. package/dist/commonjs/databaseWatcherClient.js.map +1 -0
  169. package/dist/commonjs/index.d.ts +8 -0
  170. package/dist/commonjs/index.d.ts.map +1 -0
  171. package/dist/commonjs/index.js +24 -0
  172. package/dist/commonjs/index.js.map +1 -0
  173. package/dist/commonjs/logger.d.ts +2 -0
  174. package/dist/commonjs/logger.d.ts.map +1 -0
  175. package/dist/commonjs/logger.js +8 -0
  176. package/dist/commonjs/logger.js.map +1 -0
  177. package/dist/commonjs/models/index.d.ts +2 -0
  178. package/dist/commonjs/models/index.d.ts.map +1 -0
  179. package/dist/commonjs/models/index.js +20 -0
  180. package/dist/commonjs/models/index.js.map +1 -0
  181. package/dist/commonjs/models/models.d.ts +652 -0
  182. package/dist/commonjs/models/models.d.ts.map +1 -0
  183. package/dist/commonjs/models/models.js +799 -0
  184. package/dist/commonjs/models/models.js.map +1 -0
  185. package/dist/commonjs/package.json +3 -0
  186. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  187. package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
  188. package/dist/commonjs/restorePollerHelpers.js +126 -0
  189. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  190. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  191. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
  192. package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
  193. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  194. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
  195. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
  196. package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
  197. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  198. package/dist/commonjs/tsdoc-metadata.json +11 -0
  199. package/dist/esm/api/alertRuleResources/index.d.ts +21 -0
  200. package/dist/esm/api/alertRuleResources/index.d.ts.map +1 -0
  201. package/dist/esm/api/alertRuleResources/index.js +93 -0
  202. package/dist/esm/api/alertRuleResources/index.js.map +1 -0
  203. package/dist/esm/api/databaseWatcherContext.d.ts +17 -0
  204. package/dist/esm/api/databaseWatcherContext.d.ts.map +1 -0
  205. package/dist/esm/api/databaseWatcherContext.js +35 -0
  206. package/dist/esm/api/databaseWatcherContext.js.map +1 -0
  207. package/dist/esm/api/healthValidations/index.d.ts +18 -0
  208. package/dist/esm/api/healthValidations/index.d.ts.map +1 -0
  209. package/dist/esm/api/healthValidations/index.js +74 -0
  210. package/dist/esm/api/healthValidations/index.js.map +1 -0
  211. package/dist/esm/api/index.d.ts +9 -0
  212. package/dist/esm/api/index.d.ts.map +1 -0
  213. package/dist/esm/api/index.js +10 -0
  214. package/dist/esm/api/index.js.map +1 -0
  215. package/dist/esm/api/operations/index.d.ts +9 -0
  216. package/dist/esm/api/operations/index.d.ts.map +1 -0
  217. package/dist/esm/api/operations/index.js +23 -0
  218. package/dist/esm/api/operations/index.js.map +1 -0
  219. package/dist/esm/api/options.d.ts +90 -0
  220. package/dist/esm/api/options.d.ts.map +1 -0
  221. package/dist/esm/api/options.js +4 -0
  222. package/dist/esm/api/options.js.map +1 -0
  223. package/dist/esm/api/sharedPrivateLinkResources/index.d.ts +22 -0
  224. package/dist/esm/api/sharedPrivateLinkResources/index.d.ts.map +1 -0
  225. package/dist/esm/api/sharedPrivateLinkResources/index.js +106 -0
  226. package/dist/esm/api/sharedPrivateLinkResources/index.js.map +1 -0
  227. package/dist/esm/api/targets/index.d.ts +21 -0
  228. package/dist/esm/api/targets/index.d.ts.map +1 -0
  229. package/dist/esm/api/targets/index.js +85 -0
  230. package/dist/esm/api/targets/index.js.map +1 -0
  231. package/dist/esm/api/watchers/index.d.ts +38 -0
  232. package/dist/esm/api/watchers/index.d.ts.map +1 -0
  233. package/dist/esm/api/watchers/index.js +185 -0
  234. package/dist/esm/api/watchers/index.js.map +1 -0
  235. package/dist/esm/classic/alertRuleResources/index.d.ts +17 -0
  236. package/dist/esm/classic/alertRuleResources/index.d.ts.map +1 -0
  237. package/dist/esm/classic/alertRuleResources/index.js +15 -0
  238. package/dist/esm/classic/alertRuleResources/index.js.map +1 -0
  239. package/dist/esm/classic/healthValidations/index.d.ts +16 -0
  240. package/dist/esm/classic/healthValidations/index.d.ts.map +1 -0
  241. package/dist/esm/classic/healthValidations/index.js +14 -0
  242. package/dist/esm/classic/healthValidations/index.js.map +1 -0
  243. package/dist/esm/classic/index.d.ts +7 -0
  244. package/dist/esm/classic/index.d.ts.map +1 -0
  245. package/dist/esm/classic/index.js +4 -0
  246. package/dist/esm/classic/index.js.map +1 -0
  247. package/dist/esm/classic/operations/index.d.ts +11 -0
  248. package/dist/esm/classic/operations/index.d.ts.map +1 -0
  249. package/dist/esm/classic/operations/index.js +12 -0
  250. package/dist/esm/classic/operations/index.js.map +1 -0
  251. package/dist/esm/classic/sharedPrivateLinkResources/index.d.ts +18 -0
  252. package/dist/esm/classic/sharedPrivateLinkResources/index.d.ts.map +1 -0
  253. package/dist/esm/classic/sharedPrivateLinkResources/index.js +15 -0
  254. package/dist/esm/classic/sharedPrivateLinkResources/index.js.map +1 -0
  255. package/dist/esm/classic/targets/index.d.ts +17 -0
  256. package/dist/esm/classic/targets/index.d.ts.map +1 -0
  257. package/dist/esm/classic/targets/index.js +15 -0
  258. package/dist/esm/classic/targets/index.js.map +1 -0
  259. package/dist/esm/classic/watchers/index.d.ts +26 -0
  260. package/dist/esm/classic/watchers/index.d.ts.map +1 -0
  261. package/dist/esm/classic/watchers/index.js +19 -0
  262. package/dist/esm/classic/watchers/index.js.map +1 -0
  263. package/dist/esm/databaseWatcherClient.d.ts +29 -0
  264. package/dist/esm/databaseWatcherClient.d.ts.map +1 -0
  265. package/dist/esm/databaseWatcherClient.js +27 -0
  266. package/dist/esm/databaseWatcherClient.js.map +1 -0
  267. package/dist/esm/index.d.ts +8 -0
  268. package/dist/esm/index.d.ts.map +1 -0
  269. package/dist/esm/index.js +6 -0
  270. package/dist/esm/index.js.map +1 -0
  271. package/dist/esm/logger.d.ts +2 -0
  272. package/dist/esm/logger.d.ts.map +1 -0
  273. package/dist/esm/logger.js +5 -0
  274. package/dist/esm/logger.js.map +1 -0
  275. package/dist/esm/models/index.d.ts +2 -0
  276. package/dist/esm/models/index.d.ts.map +1 -0
  277. package/dist/esm/models/index.js +4 -0
  278. package/dist/esm/models/index.js.map +1 -0
  279. package/dist/esm/models/models.d.ts +652 -0
  280. package/dist/esm/models/models.d.ts.map +1 -0
  281. package/dist/esm/models/models.js +725 -0
  282. package/dist/esm/models/models.js.map +1 -0
  283. package/dist/esm/package.json +3 -0
  284. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  285. package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
  286. package/dist/esm/restorePollerHelpers.js +123 -0
  287. package/dist/esm/restorePollerHelpers.js.map +1 -0
  288. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  289. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
  290. package/dist/esm/static-helpers/pagingHelpers.js +137 -0
  291. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  292. package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
  293. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
  294. package/dist/esm/static-helpers/pollingHelpers.js +76 -0
  295. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  296. package/dist/react-native/api/alertRuleResources/index.d.ts +21 -0
  297. package/dist/react-native/api/alertRuleResources/index.d.ts.map +1 -0
  298. package/dist/react-native/api/alertRuleResources/index.js +93 -0
  299. package/dist/react-native/api/alertRuleResources/index.js.map +1 -0
  300. package/dist/react-native/api/databaseWatcherContext.d.ts +17 -0
  301. package/dist/react-native/api/databaseWatcherContext.d.ts.map +1 -0
  302. package/dist/react-native/api/databaseWatcherContext.js +35 -0
  303. package/dist/react-native/api/databaseWatcherContext.js.map +1 -0
  304. package/dist/react-native/api/healthValidations/index.d.ts +18 -0
  305. package/dist/react-native/api/healthValidations/index.d.ts.map +1 -0
  306. package/dist/react-native/api/healthValidations/index.js +74 -0
  307. package/dist/react-native/api/healthValidations/index.js.map +1 -0
  308. package/dist/react-native/api/index.d.ts +9 -0
  309. package/dist/react-native/api/index.d.ts.map +1 -0
  310. package/dist/react-native/api/index.js +10 -0
  311. package/dist/react-native/api/index.js.map +1 -0
  312. package/dist/react-native/api/operations/index.d.ts +9 -0
  313. package/dist/react-native/api/operations/index.d.ts.map +1 -0
  314. package/dist/react-native/api/operations/index.js +23 -0
  315. package/dist/react-native/api/operations/index.js.map +1 -0
  316. package/dist/react-native/api/options.d.ts +90 -0
  317. package/dist/react-native/api/options.d.ts.map +1 -0
  318. package/dist/react-native/api/options.js +4 -0
  319. package/dist/react-native/api/options.js.map +1 -0
  320. package/dist/react-native/api/sharedPrivateLinkResources/index.d.ts +22 -0
  321. package/dist/react-native/api/sharedPrivateLinkResources/index.d.ts.map +1 -0
  322. package/dist/react-native/api/sharedPrivateLinkResources/index.js +106 -0
  323. package/dist/react-native/api/sharedPrivateLinkResources/index.js.map +1 -0
  324. package/dist/react-native/api/targets/index.d.ts +21 -0
  325. package/dist/react-native/api/targets/index.d.ts.map +1 -0
  326. package/dist/react-native/api/targets/index.js +85 -0
  327. package/dist/react-native/api/targets/index.js.map +1 -0
  328. package/dist/react-native/api/watchers/index.d.ts +38 -0
  329. package/dist/react-native/api/watchers/index.d.ts.map +1 -0
  330. package/dist/react-native/api/watchers/index.js +185 -0
  331. package/dist/react-native/api/watchers/index.js.map +1 -0
  332. package/dist/react-native/classic/alertRuleResources/index.d.ts +17 -0
  333. package/dist/react-native/classic/alertRuleResources/index.d.ts.map +1 -0
  334. package/dist/react-native/classic/alertRuleResources/index.js +15 -0
  335. package/dist/react-native/classic/alertRuleResources/index.js.map +1 -0
  336. package/dist/react-native/classic/healthValidations/index.d.ts +16 -0
  337. package/dist/react-native/classic/healthValidations/index.d.ts.map +1 -0
  338. package/dist/react-native/classic/healthValidations/index.js +14 -0
  339. package/dist/react-native/classic/healthValidations/index.js.map +1 -0
  340. package/dist/react-native/classic/index.d.ts +7 -0
  341. package/dist/react-native/classic/index.d.ts.map +1 -0
  342. package/dist/react-native/classic/index.js +4 -0
  343. package/dist/react-native/classic/index.js.map +1 -0
  344. package/dist/react-native/classic/operations/index.d.ts +11 -0
  345. package/dist/react-native/classic/operations/index.d.ts.map +1 -0
  346. package/dist/react-native/classic/operations/index.js +12 -0
  347. package/dist/react-native/classic/operations/index.js.map +1 -0
  348. package/dist/react-native/classic/sharedPrivateLinkResources/index.d.ts +18 -0
  349. package/dist/react-native/classic/sharedPrivateLinkResources/index.d.ts.map +1 -0
  350. package/dist/react-native/classic/sharedPrivateLinkResources/index.js +15 -0
  351. package/dist/react-native/classic/sharedPrivateLinkResources/index.js.map +1 -0
  352. package/dist/react-native/classic/targets/index.d.ts +17 -0
  353. package/dist/react-native/classic/targets/index.d.ts.map +1 -0
  354. package/dist/react-native/classic/targets/index.js +15 -0
  355. package/dist/react-native/classic/targets/index.js.map +1 -0
  356. package/dist/react-native/classic/watchers/index.d.ts +26 -0
  357. package/dist/react-native/classic/watchers/index.d.ts.map +1 -0
  358. package/dist/react-native/classic/watchers/index.js +19 -0
  359. package/dist/react-native/classic/watchers/index.js.map +1 -0
  360. package/dist/react-native/databaseWatcherClient.d.ts +29 -0
  361. package/dist/react-native/databaseWatcherClient.d.ts.map +1 -0
  362. package/dist/react-native/databaseWatcherClient.js +27 -0
  363. package/dist/react-native/databaseWatcherClient.js.map +1 -0
  364. package/dist/react-native/index.d.ts +8 -0
  365. package/dist/react-native/index.d.ts.map +1 -0
  366. package/dist/react-native/index.js +6 -0
  367. package/dist/react-native/index.js.map +1 -0
  368. package/dist/react-native/logger.d.ts +2 -0
  369. package/dist/react-native/logger.d.ts.map +1 -0
  370. package/dist/react-native/logger.js +5 -0
  371. package/dist/react-native/logger.js.map +1 -0
  372. package/dist/react-native/models/index.d.ts +2 -0
  373. package/dist/react-native/models/index.d.ts.map +1 -0
  374. package/dist/react-native/models/index.js +4 -0
  375. package/dist/react-native/models/index.js.map +1 -0
  376. package/dist/react-native/models/models.d.ts +652 -0
  377. package/dist/react-native/models/models.d.ts.map +1 -0
  378. package/dist/react-native/models/models.js +725 -0
  379. package/dist/react-native/models/models.js.map +1 -0
  380. package/dist/react-native/package.json +3 -0
  381. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  382. package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
  383. package/dist/react-native/restorePollerHelpers.js +123 -0
  384. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  385. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  386. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
  387. package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
  388. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  389. package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
  390. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
  391. package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
  392. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  393. package/package.json +164 -0
  394. package/review/arm-databasewatcher-models.api.md +357 -0
  395. package/review/arm-databasewatcher.api.md +562 -0
@@ -0,0 +1,652 @@
1
+ /** Concrete proxy resource types can be created by aliasing this type using a specific property type. */
2
+ export interface SharedPrivateLinkResource extends ProxyResource {
3
+ /** The resource-specific properties for this resource. */
4
+ properties?: SharedPrivateLinkResourceProperties;
5
+ }
6
+ export declare function sharedPrivateLinkResourceSerializer(item: SharedPrivateLinkResource): any;
7
+ export declare function sharedPrivateLinkResourceDeserializer(item: any): SharedPrivateLinkResource;
8
+ /** The generic properties of a Shared Private Link resource. */
9
+ export interface SharedPrivateLinkResourceProperties {
10
+ /** The resource ID of the resource the shared private link resource is for. */
11
+ privateLinkResourceId: string;
12
+ /** The group id from the provider of resource the shared private link resource is for. */
13
+ groupId: string;
14
+ /** The request message for requesting approval of the shared private link resource. */
15
+ requestMessage: string;
16
+ /** The DNS zone to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances. The value to use is the second segment of the host FQDN name of the resource that the shared private link resource is for. */
17
+ dnsZone?: string;
18
+ /** Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected. */
19
+ readonly status?: SharedPrivateLinkResourceStatus;
20
+ /** The provisioning state of the resource. */
21
+ readonly provisioningState?: ResourceProvisioningState;
22
+ }
23
+ export declare function sharedPrivateLinkResourcePropertiesSerializer(item: SharedPrivateLinkResourceProperties): any;
24
+ export declare function sharedPrivateLinkResourcePropertiesDeserializer(item: any): SharedPrivateLinkResourceProperties;
25
+ /** Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected. */
26
+ export declare enum KnownSharedPrivateLinkResourceStatus {
27
+ /** The shared private link connection request was not yet authorized by the resource owner. */
28
+ Pending = "Pending",
29
+ /** The shared private link connection request was approved by the resource owner. */
30
+ Approved = "Approved",
31
+ /** The shared private link connection request was rejected by the resource owner. */
32
+ Rejected = "Rejected",
33
+ /** The shared private link connection request was disconnected by the resource owner. */
34
+ Disconnected = "Disconnected"
35
+ }
36
+ /**
37
+ * Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected. \
38
+ * {@link KnownSharedPrivateLinkResourceStatus} can be used interchangeably with SharedPrivateLinkResourceStatus,
39
+ * this enum contains the known values that the service supports.
40
+ * ### Known values supported by the service
41
+ * **Pending**: The shared private link connection request was not yet authorized by the resource owner. \
42
+ * **Approved**: The shared private link connection request was approved by the resource owner. \
43
+ * **Rejected**: The shared private link connection request was rejected by the resource owner. \
44
+ * **Disconnected**: The shared private link connection request was disconnected by the resource owner.
45
+ */
46
+ export type SharedPrivateLinkResourceStatus = string;
47
+ /** The provisioning state of a resource type. */
48
+ export declare enum KnownResourceProvisioningState {
49
+ /** Resource has been created. */
50
+ Succeeded = "Succeeded",
51
+ /** Resource creation failed. */
52
+ Failed = "Failed",
53
+ /** Resource creation was canceled. */
54
+ Canceled = "Canceled"
55
+ }
56
+ /**
57
+ * The provisioning state of a resource type. \
58
+ * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,
59
+ * this enum contains the known values that the service supports.
60
+ * ### Known values supported by the service
61
+ * **Succeeded**: Resource has been created. \
62
+ * **Failed**: Resource creation failed. \
63
+ * **Canceled**: Resource creation was canceled.
64
+ */
65
+ export type ResourceProvisioningState = string;
66
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
67
+ export interface ProxyResource extends Resource {
68
+ }
69
+ export declare function proxyResourceSerializer(item: ProxyResource): any;
70
+ export declare function proxyResourceDeserializer(item: any): ProxyResource;
71
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
72
+ export interface Resource {
73
+ /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
74
+ readonly id?: string;
75
+ /** The name of the resource */
76
+ readonly name?: string;
77
+ /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
78
+ readonly type?: string;
79
+ /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
80
+ readonly systemData?: SystemData;
81
+ }
82
+ export declare function resourceSerializer(item: Resource): any;
83
+ export declare function resourceDeserializer(item: any): Resource;
84
+ /** Metadata pertaining to creation and last modification of the resource. */
85
+ export interface SystemData {
86
+ /** The identity that created the resource. */
87
+ createdBy?: string;
88
+ /** The type of identity that created the resource. */
89
+ createdByType?: CreatedByType;
90
+ /** The timestamp of resource creation (UTC). */
91
+ createdAt?: Date;
92
+ /** The identity that last modified the resource. */
93
+ lastModifiedBy?: string;
94
+ /** The type of identity that last modified the resource. */
95
+ lastModifiedByType?: CreatedByType;
96
+ /** The timestamp of resource last modification (UTC) */
97
+ lastModifiedAt?: Date;
98
+ }
99
+ export declare function systemDataDeserializer(item: any): SystemData;
100
+ /** The kind of entity that created the resource. */
101
+ export declare enum KnownCreatedByType {
102
+ /** The entity was created by a user. */
103
+ User = "User",
104
+ /** The entity was created by an application. */
105
+ Application = "Application",
106
+ /** The entity was created by a managed identity. */
107
+ ManagedIdentity = "ManagedIdentity",
108
+ /** The entity was created by a key. */
109
+ Key = "Key"
110
+ }
111
+ /**
112
+ * The kind of entity that created the resource. \
113
+ * {@link KnowncreatedByType} can be used interchangeably with createdByType,
114
+ * this enum contains the known values that the service supports.
115
+ * ### Known values supported by the service
116
+ * **User**: The entity was created by a user. \
117
+ * **Application**: The entity was created by an application. \
118
+ * **ManagedIdentity**: The entity was created by a managed identity. \
119
+ * **Key**: The entity was created by a key.
120
+ */
121
+ export type CreatedByType = string;
122
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
123
+ export interface ErrorResponse {
124
+ /** The error object. */
125
+ error?: ErrorDetail;
126
+ }
127
+ export declare function errorResponseDeserializer(item: any): ErrorResponse;
128
+ /** The error detail. */
129
+ export interface ErrorDetail {
130
+ /** The error code. */
131
+ readonly code?: string;
132
+ /** The error message. */
133
+ readonly message?: string;
134
+ /** The error target. */
135
+ readonly target?: string;
136
+ /** The error details. */
137
+ readonly details?: ErrorDetail[];
138
+ /** The error additional info. */
139
+ readonly additionalInfo?: ErrorAdditionalInfo[];
140
+ }
141
+ export declare function errorDetailDeserializer(item: any): ErrorDetail;
142
+ export declare function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[];
143
+ export declare function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[];
144
+ /** The resource management error additional info. */
145
+ export interface ErrorAdditionalInfo {
146
+ /** The additional info type. */
147
+ readonly type?: string;
148
+ /** The additional info. */
149
+ readonly info?: Record<string, any>;
150
+ }
151
+ export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
152
+ /** model interface _ErrorAdditionalInfoInfo */
153
+ export interface _ErrorAdditionalInfoInfo {
154
+ }
155
+ export declare function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo;
156
+ /** The response of a SharedPrivateLinkResource list operation. */
157
+ export interface _SharedPrivateLinkResourceListResult {
158
+ /** The SharedPrivateLinkResource items on this page */
159
+ value: SharedPrivateLinkResource[];
160
+ /** The link to the next page of items */
161
+ nextLink?: string;
162
+ }
163
+ export declare function _sharedPrivateLinkResourceListResultDeserializer(item: any): _SharedPrivateLinkResourceListResult;
164
+ export declare function sharedPrivateLinkResourceArraySerializer(result: Array<SharedPrivateLinkResource>): any[];
165
+ export declare function sharedPrivateLinkResourceArrayDeserializer(result: Array<SharedPrivateLinkResource>): any[];
166
+ /** Concrete proxy resource types can be created by aliasing this type using a specific property type. */
167
+ export interface Target extends ProxyResource {
168
+ /** The resource-specific properties for this resource. */
169
+ properties?: TargetPropertiesUnion;
170
+ }
171
+ export declare function targetSerializer(item: Target): any;
172
+ export declare function targetDeserializer(item: any): Target;
173
+ /** The generic properties of a target. */
174
+ export interface TargetProperties {
175
+ /** Discriminator property for TargetProperties. */
176
+ /** The discriminator possible values: SqlDb, SqlEp, SqlMi */
177
+ targetType: string;
178
+ /** The type of authentication to use when connecting to a target. */
179
+ targetAuthenticationType: TargetAuthenticationType;
180
+ /** To use SQL authentication when connecting to targets, specify the vault where the login name and password secrets are stored. */
181
+ targetVault?: VaultSecret;
182
+ /** The server name to use in the connection string when connecting to a target. Port number and instance name must be specified separately. */
183
+ connectionServerName: string;
184
+ /** The provisioning state of the resource. */
185
+ readonly provisioningState?: ResourceProvisioningState;
186
+ }
187
+ export declare function targetPropertiesSerializer(item: TargetProperties): any;
188
+ export declare function targetPropertiesDeserializer(item: any): TargetProperties;
189
+ /** Alias for TargetPropertiesUnion */
190
+ export type TargetPropertiesUnion = SqlDbSingleDatabaseTargetProperties | SqlDbElasticPoolTargetProperties | SqlMiTargetProperties | TargetProperties;
191
+ export declare function targetPropertiesUnionSerializer(item: TargetPropertiesUnion): any;
192
+ export declare function targetPropertiesUnionDeserializer(item: any): TargetPropertiesUnion;
193
+ /** The type of authentication to use when connecting to a target. */
194
+ export declare enum KnownTargetAuthenticationType {
195
+ /** The Azure Active Directory authentication. */
196
+ Aad = "Aad",
197
+ /** The SQL password authentication. */
198
+ Sql = "Sql"
199
+ }
200
+ /**
201
+ * The type of authentication to use when connecting to a target. \
202
+ * {@link KnownTargetAuthenticationType} can be used interchangeably with TargetAuthenticationType,
203
+ * this enum contains the known values that the service supports.
204
+ * ### Known values supported by the service
205
+ * **Aad**: The Azure Active Directory authentication. \
206
+ * **Sql**: The SQL password authentication.
207
+ */
208
+ export type TargetAuthenticationType = string;
209
+ /** The vault specific details required if using SQL authentication to connect to a target. */
210
+ export interface VaultSecret {
211
+ /** The Azure resource ID of the Key Vault instance storing database authentication secrets. */
212
+ akvResourceId?: string;
213
+ /** The path to the Key Vault secret storing the login name (aka user name, aka account name) for authentication to a target. */
214
+ akvTargetUser?: string;
215
+ /** The path to the Key Vault secret storing the password for authentication to a target. */
216
+ akvTargetPassword?: string;
217
+ }
218
+ export declare function vaultSecretSerializer(item: VaultSecret): any;
219
+ export declare function vaultSecretDeserializer(item: any): VaultSecret;
220
+ /** The properties specific to single database in Azure SQL Database. */
221
+ export interface SqlDbSingleDatabaseTargetProperties extends TargetProperties {
222
+ /** The Azure SQL DB single database target. */
223
+ targetType: "SqlDb";
224
+ /** The Azure resource ID of an Azure SQL DB single database target. */
225
+ sqlDbResourceId: string;
226
+ /** Set to true to monitor a high availability replica of specified target, if any. */
227
+ readIntent?: boolean;
228
+ }
229
+ export declare function sqlDbSingleDatabaseTargetPropertiesSerializer(item: SqlDbSingleDatabaseTargetProperties): any;
230
+ export declare function sqlDbSingleDatabaseTargetPropertiesDeserializer(item: any): SqlDbSingleDatabaseTargetProperties;
231
+ /** The properties specific to elastic pool in Azure SQL Database. */
232
+ export interface SqlDbElasticPoolTargetProperties extends TargetProperties {
233
+ /** The Azure SQL DB elastic pool target. */
234
+ targetType: "SqlEp";
235
+ /** The Azure resource ID of an Azure SQL DB elastic pool target. */
236
+ sqlEpResourceId: string;
237
+ /** The Azure resource ID of the anchor database used to connect to an elastic pool. */
238
+ anchorDatabaseResourceId: string;
239
+ /** Set to true to monitor a high availability replica of specified target, if any. */
240
+ readIntent?: boolean;
241
+ }
242
+ export declare function sqlDbElasticPoolTargetPropertiesSerializer(item: SqlDbElasticPoolTargetProperties): any;
243
+ export declare function sqlDbElasticPoolTargetPropertiesDeserializer(item: any): SqlDbElasticPoolTargetProperties;
244
+ /** The properties specific to Azure SQL Managed Instance targets. */
245
+ export interface SqlMiTargetProperties extends TargetProperties {
246
+ /** The Azure SQL Managed Instance target. */
247
+ targetType: "SqlMi";
248
+ /** The Azure resource ID of an Azure SQL Managed Instance target. */
249
+ sqlMiResourceId: string;
250
+ /** The TCP port number to optionally use in the connection string when connecting to an Azure SQL Managed Instance target. */
251
+ connectionTcpPort?: number;
252
+ /** Set to true to monitor a high availability replica of specified target, if any. */
253
+ readIntent?: boolean;
254
+ }
255
+ export declare function sqlMiTargetPropertiesSerializer(item: SqlMiTargetProperties): any;
256
+ export declare function sqlMiTargetPropertiesDeserializer(item: any): SqlMiTargetProperties;
257
+ /** The response of a Target list operation. */
258
+ export interface _TargetListResult {
259
+ /** The Target items on this page */
260
+ value: Target[];
261
+ /** The link to the next page of items */
262
+ nextLink?: string;
263
+ }
264
+ export declare function _targetListResultDeserializer(item: any): _TargetListResult;
265
+ export declare function targetArraySerializer(result: Array<Target>): any[];
266
+ export declare function targetArrayDeserializer(result: Array<Target>): any[];
267
+ /** Concrete proxy resource types can be created by aliasing this type using a specific property type. */
268
+ export interface HealthValidation extends ProxyResource {
269
+ /** The resource-specific properties for this resource. */
270
+ properties?: HealthValidationProperties;
271
+ }
272
+ export declare function healthValidationDeserializer(item: any): HealthValidation;
273
+ /** The generic properties of the health validation resource. */
274
+ export interface HealthValidationProperties {
275
+ /** The start time of health validation, in UTC. */
276
+ readonly startTime: Date;
277
+ /** The end time of health validation, in UTC. */
278
+ readonly endTime: Date;
279
+ /** The current health validation status. */
280
+ readonly status: ValidationStatus;
281
+ /** The list of issues found by health validation. */
282
+ readonly issues: ValidationIssue[];
283
+ /** The provisioning state of the health validation resource. */
284
+ readonly provisioningState?: ResourceProvisioningState;
285
+ }
286
+ export declare function healthValidationPropertiesDeserializer(item: any): HealthValidationProperties;
287
+ /** Health validation status. */
288
+ export declare enum KnownValidationStatus {
289
+ /** Health validation has not started. */
290
+ NotStarted = "NotStarted",
291
+ /** Health validation is running. */
292
+ Running = "Running",
293
+ /** Health validation completed successfully. */
294
+ Succeeded = "Succeeded",
295
+ /** Health validation failed. */
296
+ Failed = "Failed",
297
+ /** Health validation was canceled. */
298
+ Canceled = "Canceled",
299
+ /** Health validation timed out. */
300
+ TimedOut = "TimedOut"
301
+ }
302
+ /**
303
+ * Health validation status. \
304
+ * {@link KnownvalidationStatus} can be used interchangeably with validationStatus,
305
+ * this enum contains the known values that the service supports.
306
+ * ### Known values supported by the service
307
+ * **NotStarted**: Health validation has not started. \
308
+ * **Running**: Health validation is running. \
309
+ * **Succeeded**: Health validation completed successfully. \
310
+ * **Failed**: Health validation failed. \
311
+ * **Canceled**: Health validation was canceled. \
312
+ * **TimedOut**: Health validation timed out.
313
+ */
314
+ export type ValidationStatus = string;
315
+ export declare function validationIssueArrayDeserializer(result: Array<ValidationIssue>): any[];
316
+ /** The model of a health validation issue. */
317
+ export interface ValidationIssue {
318
+ /** The error code of the issue. */
319
+ readonly errorCode: string;
320
+ /** The error message of the issue. */
321
+ readonly errorMessage: string;
322
+ /** The additional details for the issue. */
323
+ readonly additionalDetails?: string;
324
+ /** The recommendation for resolving the issue. */
325
+ readonly recommendationMessage: string;
326
+ /** The URL related to resolving the issue. */
327
+ readonly recommendationUrl?: string;
328
+ /** The resource ID of the Azure resource related to the issue. */
329
+ readonly relatedResourceId?: string;
330
+ /** The type of the Azure resource related to the issue. */
331
+ readonly relatedResourceType?: string;
332
+ }
333
+ export declare function validationIssueDeserializer(item: any): ValidationIssue;
334
+ /** The response of a HealthValidation list operation. */
335
+ export interface _HealthValidationListResult {
336
+ /** The HealthValidation items on this page */
337
+ value: HealthValidation[];
338
+ /** The link to the next page of items */
339
+ nextLink?: string;
340
+ }
341
+ export declare function _healthValidationListResultDeserializer(item: any): _HealthValidationListResult;
342
+ export declare function healthValidationArrayDeserializer(result: Array<HealthValidation>): any[];
343
+ /** Concrete proxy resource types can be created by aliasing this type using a specific property type. */
344
+ export interface AlertRuleResource extends ProxyResource {
345
+ /** The resource-specific properties for this resource. */
346
+ properties?: AlertRuleResourceProperties;
347
+ }
348
+ export declare function alertRuleResourceSerializer(item: AlertRuleResource): any;
349
+ export declare function alertRuleResourceDeserializer(item: any): AlertRuleResource;
350
+ /** The generic properties of the alert rule proxy resource. */
351
+ export interface AlertRuleResourceProperties {
352
+ /** The resource ID of the alert rule resource. */
353
+ alertRuleResourceId: string;
354
+ /** The properties with which the alert rule resource was created. */
355
+ createdWithProperties: AlertRuleCreationProperties;
356
+ /** The creation time of the alert rule resource. */
357
+ creationTime: Date;
358
+ /** The provisioning state of the alert rule resource. */
359
+ readonly provisioningState?: ResourceProvisioningState;
360
+ /** The template ID associated with alert rule resource. */
361
+ alertRuleTemplateId: string;
362
+ /** The alert rule template version. */
363
+ alertRuleTemplateVersion: string;
364
+ }
365
+ export declare function alertRuleResourcePropertiesSerializer(item: AlertRuleResourceProperties): any;
366
+ export declare function alertRuleResourcePropertiesDeserializer(item: any): AlertRuleResourceProperties;
367
+ /** The properties with which the alert rule resource was created. */
368
+ export declare enum KnownAlertRuleCreationProperties {
369
+ /** The alert rule was created with an action group. */
370
+ CreatedWithActionGroup = "CreatedWithActionGroup",
371
+ /** The alert rule was created with no properties. */
372
+ None = "None"
373
+ }
374
+ /**
375
+ * The properties with which the alert rule resource was created. \
376
+ * {@link KnownalertRuleCreationProperties} can be used interchangeably with alertRuleCreationProperties,
377
+ * this enum contains the known values that the service supports.
378
+ * ### Known values supported by the service
379
+ * **CreatedWithActionGroup**: The alert rule was created with an action group. \
380
+ * **None**: The alert rule was created with no properties.
381
+ */
382
+ export type AlertRuleCreationProperties = string;
383
+ /** The response of a AlertRuleResource list operation. */
384
+ export interface _AlertRuleResourceListResult {
385
+ /** The AlertRuleResource items on this page */
386
+ value: AlertRuleResource[];
387
+ /** The link to the next page of items */
388
+ nextLink?: string;
389
+ }
390
+ export declare function _alertRuleResourceListResultDeserializer(item: any): _AlertRuleResourceListResult;
391
+ export declare function alertRuleResourceArraySerializer(result: Array<AlertRuleResource>): any[];
392
+ export declare function alertRuleResourceArrayDeserializer(result: Array<AlertRuleResource>): any[];
393
+ /** The DatabaseWatcherProviderHub resource. */
394
+ export interface Watcher extends TrackedResource {
395
+ /** The resource-specific properties for this resource. */
396
+ properties?: WatcherProperties;
397
+ /** The managed service identities assigned to this resource. */
398
+ identity?: ManagedServiceIdentityV4;
399
+ }
400
+ export declare function watcherSerializer(item: Watcher): any;
401
+ export declare function watcherDeserializer(item: any): Watcher;
402
+ /** The RP specific properties of the resource. */
403
+ export interface WatcherProperties {
404
+ /** The data store for collected monitoring data. */
405
+ datastore?: Datastore;
406
+ /** The monitoring collection status of the watcher. */
407
+ readonly status?: WatcherStatus;
408
+ /** The provisioning state of the resource watcher. */
409
+ readonly provisioningState?: DatabaseWatcherProvisioningState;
410
+ /** The resource ID of a user-assigned managed identity that will be assigned to a new alert rule. */
411
+ defaultAlertRuleIdentityResourceId?: string;
412
+ }
413
+ export declare function watcherPropertiesSerializer(item: WatcherProperties): any;
414
+ export declare function watcherPropertiesDeserializer(item: any): WatcherProperties;
415
+ /** The properties of a data store. */
416
+ export interface Datastore {
417
+ /** The Azure resource ID of an Azure Data Explorer cluster. */
418
+ adxClusterResourceId?: string;
419
+ /** The Kusto cluster display name. */
420
+ kustoClusterDisplayName?: string;
421
+ /** The Kusto cluster URI. */
422
+ kustoClusterUri: string;
423
+ /** The Kusto data ingestion URI. */
424
+ kustoDataIngestionUri: string;
425
+ /** The name of a Kusto database. */
426
+ kustoDatabaseName: string;
427
+ /** The Kusto management URL. */
428
+ kustoManagementUrl: string;
429
+ /** The type of a Kusto offering. */
430
+ kustoOfferingType: KustoOfferingType;
431
+ }
432
+ export declare function datastoreSerializer(item: Datastore): any;
433
+ export declare function datastoreDeserializer(item: any): Datastore;
434
+ /** The type of Kusto offering. */
435
+ export declare enum KnownKustoOfferingType {
436
+ /** The Azure Data Explorer cluster Kusto offering. */
437
+ Adx = "adx",
438
+ /** The free Azure Data Explorer cluster Kusto offering. */
439
+ Free = "free",
440
+ /** The Fabric Real-Time Analytics Kusto offering. */
441
+ Fabric = "fabric"
442
+ }
443
+ /**
444
+ * The type of Kusto offering. \
445
+ * {@link KnownKustoOfferingType} can be used interchangeably with KustoOfferingType,
446
+ * this enum contains the known values that the service supports.
447
+ * ### Known values supported by the service
448
+ * **adx**: The Azure Data Explorer cluster Kusto offering. \
449
+ * **free**: The free Azure Data Explorer cluster Kusto offering. \
450
+ * **fabric**: The Fabric Real-Time Analytics Kusto offering.
451
+ */
452
+ export type KustoOfferingType = string;
453
+ /** The monitoring collection status of a watcher. */
454
+ export declare enum KnownWatcherStatus {
455
+ /** Denotes the watcher is in a starting state. */
456
+ Starting = "Starting",
457
+ /** Denotes the watcher is in a running state. */
458
+ Running = "Running",
459
+ /** Denotes the watcher is in a stopping state. */
460
+ Stopping = "Stopping",
461
+ /** Denotes the watcher is in a stopped state. */
462
+ Stopped = "Stopped",
463
+ /** Denotes the watcher is in a deleting state. */
464
+ Deleting = "Deleting"
465
+ }
466
+ /**
467
+ * The monitoring collection status of a watcher. \
468
+ * {@link KnownWatcherStatus} can be used interchangeably with WatcherStatus,
469
+ * this enum contains the known values that the service supports.
470
+ * ### Known values supported by the service
471
+ * **Starting**: Denotes the watcher is in a starting state. \
472
+ * **Running**: Denotes the watcher is in a running state. \
473
+ * **Stopping**: Denotes the watcher is in a stopping state. \
474
+ * **Stopped**: Denotes the watcher is in a stopped state. \
475
+ * **Deleting**: Denotes the watcher is in a deleting state.
476
+ */
477
+ export type WatcherStatus = string;
478
+ /** The status of the last provisioning operation performed on the resource. */
479
+ export declare enum KnownDatabaseWatcherProvisioningState {
480
+ /** Resource has been created. */
481
+ Succeeded = "Succeeded",
482
+ /** Resource creation failed. */
483
+ Failed = "Failed",
484
+ /** Resource creation was canceled. */
485
+ Canceled = "Canceled"
486
+ }
487
+ /**
488
+ * The status of the last provisioning operation performed on the resource. \
489
+ * {@link KnownDatabaseWatcherProvisioningState} can be used interchangeably with DatabaseWatcherProvisioningState,
490
+ * this enum contains the known values that the service supports.
491
+ * ### Known values supported by the service
492
+ * **Succeeded**: Resource has been created. \
493
+ * **Failed**: Resource creation failed. \
494
+ * **Canceled**: Resource creation was canceled.
495
+ */
496
+ export type DatabaseWatcherProvisioningState = string;
497
+ /** Managed service identity (system assigned and/or user assigned identities) */
498
+ export interface ManagedServiceIdentityV4 {
499
+ /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */
500
+ readonly principalId?: string;
501
+ /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */
502
+ readonly tenantId?: string;
503
+ /** The type of managed identity assigned to this resource. */
504
+ type: ManagedServiceIdentityType;
505
+ /** The identities assigned to this resource by the user. */
506
+ userAssignedIdentities?: Record<string, UserAssignedIdentity>;
507
+ }
508
+ export declare function managedServiceIdentityV4Serializer(item: ManagedServiceIdentityV4): any;
509
+ export declare function managedServiceIdentityV4Deserializer(item: any): ManagedServiceIdentityV4;
510
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
511
+ export declare enum KnownManagedServiceIdentityType {
512
+ /** No managed identity. */
513
+ None = "None",
514
+ /** System assigned managed identity. */
515
+ SystemAssigned = "SystemAssigned",
516
+ /** User assigned managed identity. */
517
+ UserAssigned = "UserAssigned",
518
+ /** System and user assigned managed identity. */
519
+ SystemAndUserAssigned = "SystemAssigned, UserAssigned"
520
+ }
521
+ /**
522
+ * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \
523
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
524
+ * this enum contains the known values that the service supports.
525
+ * ### Known values supported by the service
526
+ * **None**: No managed identity. \
527
+ * **SystemAssigned**: System assigned managed identity. \
528
+ * **UserAssigned**: User assigned managed identity. \
529
+ * **SystemAssigned, UserAssigned**: System and user assigned managed identity.
530
+ */
531
+ export type ManagedServiceIdentityType = string;
532
+ export declare function userAssignedIdentityRecordSerializer(item: Record<string, UserAssignedIdentity>): Record<string, any>;
533
+ export declare function userAssignedIdentityRecordDeserializer(item: Record<string, any>): Record<string, UserAssignedIdentity>;
534
+ /** User assigned identity properties */
535
+ export interface UserAssignedIdentity {
536
+ /** The principal ID of the assigned identity. */
537
+ readonly principalId?: string;
538
+ /** The client ID of the assigned identity. */
539
+ readonly clientId?: string;
540
+ }
541
+ export declare function userAssignedIdentitySerializer(item: UserAssignedIdentity): any;
542
+ export declare function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity;
543
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
544
+ export interface TrackedResource extends Resource {
545
+ /** Resource tags. */
546
+ tags?: Record<string, string>;
547
+ /** The geo-location where the resource lives */
548
+ location: string;
549
+ }
550
+ export declare function trackedResourceSerializer(item: TrackedResource): any;
551
+ export declare function trackedResourceDeserializer(item: any): TrackedResource;
552
+ /** The type used for update operations of the Watcher. */
553
+ export interface WatcherUpdate {
554
+ /** The managed service identities assigned to this resource. */
555
+ identity?: ManagedServiceIdentityV4;
556
+ /** Resource tags. */
557
+ tags?: Record<string, string>;
558
+ /** The resource-specific properties for this resource. */
559
+ properties?: WatcherUpdateProperties;
560
+ }
561
+ export declare function watcherUpdateSerializer(item: WatcherUpdate): any;
562
+ /** The updatable properties of the Watcher. */
563
+ export interface WatcherUpdateProperties {
564
+ /** The data store for collected monitoring data. */
565
+ datastore?: Datastore;
566
+ /** The resource ID of a user-assigned managed identity that will be assigned to a new alert rule. */
567
+ defaultAlertRuleIdentityResourceId?: string;
568
+ }
569
+ export declare function watcherUpdatePropertiesSerializer(item: WatcherUpdateProperties): any;
570
+ /** The response of a Watcher list operation. */
571
+ export interface _WatcherListResult {
572
+ /** The Watcher items on this page */
573
+ value: Watcher[];
574
+ /** The link to the next page of items */
575
+ nextLink?: string;
576
+ }
577
+ export declare function _watcherListResultDeserializer(item: any): _WatcherListResult;
578
+ export declare function watcherArraySerializer(result: Array<Watcher>): any[];
579
+ export declare function watcherArrayDeserializer(result: Array<Watcher>): any[];
580
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
581
+ export interface _OperationListResult {
582
+ /** The Operation items on this page */
583
+ value: Operation[];
584
+ /** The link to the next page of items */
585
+ nextLink?: string;
586
+ }
587
+ export declare function _operationListResultDeserializer(item: any): _OperationListResult;
588
+ export declare function operationArrayDeserializer(result: Array<Operation>): any[];
589
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
590
+ export interface Operation {
591
+ /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */
592
+ readonly name?: string;
593
+ /** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
594
+ readonly isDataAction?: boolean;
595
+ /** Localized display information for this particular operation. */
596
+ display?: OperationDisplay;
597
+ /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
598
+ readonly origin?: Origin;
599
+ /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
600
+ readonly actionType?: ActionType;
601
+ }
602
+ export declare function operationDeserializer(item: any): Operation;
603
+ /** Localized display information for and operation. */
604
+ export interface OperationDisplay {
605
+ /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
606
+ readonly provider?: string;
607
+ /** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
608
+ readonly resource?: string;
609
+ /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
610
+ readonly operation?: string;
611
+ /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
612
+ readonly description?: string;
613
+ }
614
+ export declare function operationDisplayDeserializer(item: any): OperationDisplay;
615
+ /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
616
+ export declare enum KnownOrigin {
617
+ /** Indicates the operation is initiated by a user. */
618
+ User = "user",
619
+ /** Indicates the operation is initiated by a system. */
620
+ System = "system",
621
+ /** Indicates the operation is initiated by a user or system. */
622
+ UserSystem = "user,system"
623
+ }
624
+ /**
625
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" \
626
+ * {@link KnownOrigin} can be used interchangeably with Origin,
627
+ * this enum contains the known values that the service supports.
628
+ * ### Known values supported by the service
629
+ * **user**: Indicates the operation is initiated by a user. \
630
+ * **system**: Indicates the operation is initiated by a system. \
631
+ * **user,system**: Indicates the operation is initiated by a user or system.
632
+ */
633
+ export type Origin = string;
634
+ /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
635
+ export declare enum KnownActionType {
636
+ /** Actions are for internal-only APIs. */
637
+ Internal = "Internal"
638
+ }
639
+ /**
640
+ * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \
641
+ * {@link KnownActionType} can be used interchangeably with ActionType,
642
+ * this enum contains the known values that the service supports.
643
+ * ### Known values supported by the service
644
+ * **Internal**: Actions are for internal-only APIs.
645
+ */
646
+ export type ActionType = string;
647
+ /** Versions info. */
648
+ export declare enum KnownVersions {
649
+ /** The 2025-01-02 version. */
650
+ V20250102 = "2025-01-02"
651
+ }
652
+ //# sourceMappingURL=models.d.ts.map