@azure/arm-resourcehealth 4.1.0-alpha.20250217.1 → 4.1.0-alpha.20250218.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 (647) hide show
  1. package/README.md +21 -12
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/{dist-esm/src → dist/browser}/microsoftResourceHealth.d.ts +2 -2
  7. package/dist/browser/microsoftResourceHealth.d.ts.map +1 -0
  8. package/{dist-esm/src → dist/browser}/microsoftResourceHealth.js +15 -18
  9. package/dist/browser/microsoftResourceHealth.js.map +1 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/dist/browser/models/mappers.js.map +1 -0
  12. package/dist/browser/models/parameters.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/operations/availabilityStatuses.d.ts +3 -3
  14. package/dist/browser/operations/availabilityStatuses.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/availabilityStatuses.js +3 -3
  16. package/dist/browser/operations/availabilityStatuses.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/childAvailabilityStatuses.d.ts +3 -3
  18. package/dist/browser/operations/childAvailabilityStatuses.d.ts.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/childAvailabilityStatuses.js +3 -3
  20. package/dist/browser/operations/childAvailabilityStatuses.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/childResources.d.ts +3 -3
  22. package/dist/browser/operations/childResources.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/childResources.js +3 -3
  24. package/dist/browser/operations/childResources.js.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/emergingIssues.d.ts +3 -3
  26. package/dist/browser/operations/emergingIssues.d.ts.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/emergingIssues.js +3 -3
  28. package/dist/browser/operations/emergingIssues.js.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/eventOperations.d.ts +3 -3
  30. package/dist/browser/operations/eventOperations.d.ts.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/eventOperations.js +2 -2
  32. package/dist/browser/operations/eventOperations.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/eventsOperations.d.ts +3 -3
  34. package/dist/browser/operations/eventsOperations.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/eventsOperations.js +3 -3
  36. package/dist/browser/operations/eventsOperations.js.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/impactedResources.d.ts +3 -3
  38. package/dist/browser/operations/impactedResources.d.ts.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/impactedResources.js +3 -3
  40. package/dist/browser/operations/impactedResources.js.map +1 -0
  41. package/dist/browser/operations/index.d.ts +11 -0
  42. package/dist/browser/operations/index.d.ts.map +1 -0
  43. package/dist/browser/operations/index.js +18 -0
  44. package/dist/browser/operations/index.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/metadata.d.ts +3 -3
  46. package/dist/browser/operations/metadata.d.ts.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/metadata.js +3 -3
  48. package/dist/browser/operations/metadata.js.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  50. package/dist/browser/operations/operations.d.ts.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  52. package/dist/browser/operations/operations.js.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operations/securityAdvisoryImpactedResources.d.ts +3 -3
  54. package/dist/browser/operations/securityAdvisoryImpactedResources.d.ts.map +1 -0
  55. package/{dist-esm/src → dist/browser}/operations/securityAdvisoryImpactedResources.js +3 -3
  56. package/dist/browser/operations/securityAdvisoryImpactedResources.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/availabilityStatuses.d.ts +1 -1
  58. package/dist/browser/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/availabilityStatuses.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/childAvailabilityStatuses.d.ts +1 -1
  61. package/dist/browser/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
  63. package/{dist-esm/src → dist/browser}/operationsInterfaces/childResources.d.ts +1 -1
  64. package/dist/browser/operationsInterfaces/childResources.d.ts.map +1 -0
  65. package/dist/browser/operationsInterfaces/childResources.js.map +1 -0
  66. package/{dist-esm/src → dist/browser}/operationsInterfaces/emergingIssues.d.ts +1 -1
  67. package/dist/browser/operationsInterfaces/emergingIssues.d.ts.map +1 -0
  68. package/dist/browser/operationsInterfaces/emergingIssues.js.map +1 -0
  69. package/{dist-esm/src → dist/browser}/operationsInterfaces/eventOperations.d.ts +1 -1
  70. package/dist/browser/operationsInterfaces/eventOperations.d.ts.map +1 -0
  71. package/dist/browser/operationsInterfaces/eventOperations.js.map +1 -0
  72. package/{dist-esm/src → dist/browser}/operationsInterfaces/eventsOperations.d.ts +1 -1
  73. package/dist/browser/operationsInterfaces/eventsOperations.d.ts.map +1 -0
  74. package/dist/browser/operationsInterfaces/eventsOperations.js.map +1 -0
  75. package/{dist-esm/src → dist/browser}/operationsInterfaces/impactedResources.d.ts +1 -1
  76. package/dist/browser/operationsInterfaces/impactedResources.d.ts.map +1 -0
  77. package/dist/browser/operationsInterfaces/impactedResources.js.map +1 -0
  78. package/dist/browser/operationsInterfaces/index.d.ts +11 -0
  79. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  80. package/dist/browser/operationsInterfaces/index.js +18 -0
  81. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  82. package/{dist-esm/src → dist/browser}/operationsInterfaces/metadata.d.ts +1 -1
  83. package/dist/browser/operationsInterfaces/metadata.d.ts.map +1 -0
  84. package/dist/browser/operationsInterfaces/metadata.js.map +1 -0
  85. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  86. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  87. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  88. package/{dist-esm/src → dist/browser}/operationsInterfaces/securityAdvisoryImpactedResources.d.ts +1 -1
  89. package/dist/browser/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +1 -0
  90. package/dist/browser/operationsInterfaces/securityAdvisoryImpactedResources.js.map +1 -0
  91. package/dist/browser/package.json +3 -0
  92. package/dist/browser/pagingHelper.js.map +1 -0
  93. package/dist/commonjs/index.d.ts +5 -0
  94. package/dist/commonjs/index.d.ts.map +1 -0
  95. package/dist/commonjs/index.js +19 -0
  96. package/dist/commonjs/index.js.map +1 -0
  97. package/dist/commonjs/microsoftResourceHealth.d.ts +30 -0
  98. package/dist/commonjs/microsoftResourceHealth.d.ts.map +1 -0
  99. package/dist/commonjs/microsoftResourceHealth.js +109 -0
  100. package/dist/commonjs/microsoftResourceHealth.js.map +1 -0
  101. package/{types/arm-resourcehealth.d.ts → dist/commonjs/models/index.d.ts} +1057 -1453
  102. package/dist/commonjs/models/index.d.ts.map +1 -0
  103. package/dist/commonjs/models/index.js +151 -0
  104. package/dist/commonjs/models/index.js.map +1 -0
  105. package/dist/commonjs/models/mappers.d.ts +42 -0
  106. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  107. package/dist/commonjs/models/mappers.js +1517 -0
  108. package/dist/commonjs/models/mappers.js.map +1 -0
  109. package/dist/commonjs/models/parameters.d.ts +16 -0
  110. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  111. package/dist/commonjs/models/parameters.js +163 -0
  112. package/dist/commonjs/models/parameters.js.map +1 -0
  113. package/dist/commonjs/operations/availabilityStatuses.d.ts +96 -0
  114. package/dist/commonjs/operations/availabilityStatuses.d.ts.map +1 -0
  115. package/dist/commonjs/operations/availabilityStatuses.js +430 -0
  116. package/dist/commonjs/operations/availabilityStatuses.js.map +1 -0
  117. package/dist/commonjs/operations/childAvailabilityStatuses.d.ts +51 -0
  118. package/dist/commonjs/operations/childAvailabilityStatuses.d.ts.map +1 -0
  119. package/dist/commonjs/operations/childAvailabilityStatuses.js +186 -0
  120. package/dist/commonjs/operations/childAvailabilityStatuses.js.map +1 -0
  121. package/dist/commonjs/operations/childResources.d.ts +43 -0
  122. package/dist/commonjs/operations/childResources.d.ts.map +1 -0
  123. package/dist/commonjs/operations/childResources.js +156 -0
  124. package/dist/commonjs/operations/childResources.js.map +1 -0
  125. package/dist/commonjs/operations/emergingIssues.d.ts +38 -0
  126. package/dist/commonjs/operations/emergingIssues.d.ts.map +1 -0
  127. package/dist/commonjs/operations/emergingIssues.js +161 -0
  128. package/dist/commonjs/operations/emergingIssues.js.map +1 -0
  129. package/dist/commonjs/operations/eventOperations.d.ts +39 -0
  130. package/dist/commonjs/operations/eventOperations.d.ts.map +1 -0
  131. package/dist/commonjs/operations/eventOperations.js +142 -0
  132. package/dist/commonjs/operations/eventOperations.js.map +1 -0
  133. package/dist/commonjs/operations/eventsOperations.d.ts +83 -0
  134. package/dist/commonjs/operations/eventsOperations.d.ts.map +1 -0
  135. package/dist/commonjs/operations/eventsOperations.js +382 -0
  136. package/dist/commonjs/operations/eventsOperations.js.map +1 -0
  137. package/dist/commonjs/operations/impactedResources.d.ts +72 -0
  138. package/dist/commonjs/operations/impactedResources.d.ts.map +1 -0
  139. package/dist/commonjs/operations/impactedResources.js +324 -0
  140. package/dist/commonjs/operations/impactedResources.js.map +1 -0
  141. package/dist/commonjs/operations/index.d.ts +11 -0
  142. package/dist/commonjs/operations/index.d.ts.map +1 -0
  143. package/dist/commonjs/operations/index.js +21 -0
  144. package/dist/commonjs/operations/index.js.map +1 -0
  145. package/dist/commonjs/operations/metadata.d.ts +38 -0
  146. package/dist/commonjs/operations/metadata.d.ts.map +1 -0
  147. package/dist/commonjs/operations/metadata.js +161 -0
  148. package/dist/commonjs/operations/metadata.js.map +1 -0
  149. package/dist/commonjs/operations/operations.d.ts +18 -0
  150. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  151. package/dist/commonjs/operations/operations.js +51 -0
  152. package/dist/commonjs/operations/operations.js.map +1 -0
  153. package/dist/commonjs/operations/securityAdvisoryImpactedResources.d.ts +58 -0
  154. package/dist/commonjs/operations/securityAdvisoryImpactedResources.d.ts.map +1 -0
  155. package/dist/commonjs/operations/securityAdvisoryImpactedResources.js +265 -0
  156. package/dist/commonjs/operations/securityAdvisoryImpactedResources.js.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/availabilityStatuses.d.ts +37 -0
  158. package/dist/commonjs/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/availabilityStatuses.js +10 -0
  160. package/dist/commonjs/operationsInterfaces/availabilityStatuses.js.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
  162. package/dist/commonjs/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/childAvailabilityStatuses.js +10 -0
  164. package/dist/commonjs/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/childResources.d.ts +15 -0
  166. package/dist/commonjs/operationsInterfaces/childResources.d.ts.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/childResources.js +10 -0
  168. package/dist/commonjs/operationsInterfaces/childResources.js.map +1 -0
  169. package/dist/commonjs/operationsInterfaces/emergingIssues.d.ts +17 -0
  170. package/dist/commonjs/operationsInterfaces/emergingIssues.d.ts.map +1 -0
  171. package/dist/commonjs/operationsInterfaces/emergingIssues.js +10 -0
  172. package/dist/commonjs/operationsInterfaces/emergingIssues.js.map +1 -0
  173. package/dist/commonjs/operationsInterfaces/eventOperations.d.ts +31 -0
  174. package/dist/commonjs/operationsInterfaces/eventOperations.d.ts.map +1 -0
  175. package/dist/commonjs/operationsInterfaces/eventOperations.js +10 -0
  176. package/dist/commonjs/operationsInterfaces/eventOperations.js.map +1 -0
  177. package/dist/commonjs/operationsInterfaces/eventsOperations.d.ts +26 -0
  178. package/dist/commonjs/operationsInterfaces/eventsOperations.d.ts.map +1 -0
  179. package/dist/commonjs/operationsInterfaces/eventsOperations.js +10 -0
  180. package/dist/commonjs/operationsInterfaces/eventsOperations.js.map +1 -0
  181. package/dist/commonjs/operationsInterfaces/impactedResources.d.ts +32 -0
  182. package/dist/commonjs/operationsInterfaces/impactedResources.d.ts.map +1 -0
  183. package/dist/commonjs/operationsInterfaces/impactedResources.js +10 -0
  184. package/dist/commonjs/operationsInterfaces/impactedResources.js.map +1 -0
  185. package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
  186. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  187. package/dist/commonjs/operationsInterfaces/index.js +21 -0
  188. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  189. package/dist/commonjs/operationsInterfaces/metadata.d.ts +17 -0
  190. package/dist/commonjs/operationsInterfaces/metadata.d.ts.map +1 -0
  191. package/dist/commonjs/operationsInterfaces/metadata.js +10 -0
  192. package/dist/commonjs/operationsInterfaces/metadata.js.map +1 -0
  193. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  194. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  195. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  196. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  197. package/dist/commonjs/operationsInterfaces/securityAdvisoryImpactedResources.d.ts +18 -0
  198. package/dist/commonjs/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +1 -0
  199. package/dist/commonjs/operationsInterfaces/securityAdvisoryImpactedResources.js +10 -0
  200. package/dist/commonjs/operationsInterfaces/securityAdvisoryImpactedResources.js.map +1 -0
  201. package/dist/commonjs/package.json +3 -0
  202. package/dist/commonjs/pagingHelper.d.ts +13 -0
  203. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  204. package/dist/commonjs/pagingHelper.js +36 -0
  205. package/dist/commonjs/pagingHelper.js.map +1 -0
  206. package/dist/esm/index.d.ts +5 -0
  207. package/dist/esm/index.d.ts.map +1 -0
  208. package/{src/index.ts → dist/esm/index.js} +5 -5
  209. package/dist/esm/index.js.map +1 -0
  210. package/dist/esm/microsoftResourceHealth.d.ts +30 -0
  211. package/dist/esm/microsoftResourceHealth.d.ts.map +1 -0
  212. package/dist/esm/microsoftResourceHealth.js +104 -0
  213. package/dist/esm/microsoftResourceHealth.js.map +1 -0
  214. package/dist/esm/models/index.d.ts +1057 -0
  215. package/dist/esm/models/index.d.ts.map +1 -0
  216. package/dist/esm/models/index.js +148 -0
  217. package/dist/esm/models/index.js.map +1 -0
  218. package/dist/esm/models/mappers.d.ts +42 -0
  219. package/dist/esm/models/mappers.d.ts.map +1 -0
  220. package/dist/esm/models/mappers.js +1514 -0
  221. package/dist/esm/models/mappers.js.map +1 -0
  222. package/dist/esm/models/parameters.d.ts +16 -0
  223. package/dist/esm/models/parameters.d.ts.map +1 -0
  224. package/dist/esm/models/parameters.js +160 -0
  225. package/dist/esm/models/parameters.js.map +1 -0
  226. package/dist/esm/operations/availabilityStatuses.d.ts +96 -0
  227. package/dist/esm/operations/availabilityStatuses.d.ts.map +1 -0
  228. package/dist/esm/operations/availabilityStatuses.js +426 -0
  229. package/dist/esm/operations/availabilityStatuses.js.map +1 -0
  230. package/dist/esm/operations/childAvailabilityStatuses.d.ts +51 -0
  231. package/dist/esm/operations/childAvailabilityStatuses.d.ts.map +1 -0
  232. package/dist/esm/operations/childAvailabilityStatuses.js +182 -0
  233. package/dist/esm/operations/childAvailabilityStatuses.js.map +1 -0
  234. package/dist/esm/operations/childResources.d.ts +43 -0
  235. package/dist/esm/operations/childResources.d.ts.map +1 -0
  236. package/dist/esm/operations/childResources.js +152 -0
  237. package/dist/esm/operations/childResources.js.map +1 -0
  238. package/dist/esm/operations/emergingIssues.d.ts +38 -0
  239. package/dist/esm/operations/emergingIssues.d.ts.map +1 -0
  240. package/dist/esm/operations/emergingIssues.js +157 -0
  241. package/dist/esm/operations/emergingIssues.js.map +1 -0
  242. package/dist/esm/operations/eventOperations.d.ts +39 -0
  243. package/dist/esm/operations/eventOperations.d.ts.map +1 -0
  244. package/dist/esm/operations/eventOperations.js +137 -0
  245. package/dist/esm/operations/eventOperations.js.map +1 -0
  246. package/dist/esm/operations/eventsOperations.d.ts +83 -0
  247. package/dist/esm/operations/eventsOperations.d.ts.map +1 -0
  248. package/dist/esm/operations/eventsOperations.js +378 -0
  249. package/dist/esm/operations/eventsOperations.js.map +1 -0
  250. package/dist/esm/operations/impactedResources.d.ts +72 -0
  251. package/dist/esm/operations/impactedResources.d.ts.map +1 -0
  252. package/dist/esm/operations/impactedResources.js +320 -0
  253. package/dist/esm/operations/impactedResources.js.map +1 -0
  254. package/dist/esm/operations/index.d.ts +11 -0
  255. package/dist/esm/operations/index.d.ts.map +1 -0
  256. package/dist/esm/operations/index.js +18 -0
  257. package/dist/esm/operations/index.js.map +1 -0
  258. package/dist/esm/operations/metadata.d.ts +38 -0
  259. package/dist/esm/operations/metadata.d.ts.map +1 -0
  260. package/dist/esm/operations/metadata.js +157 -0
  261. package/dist/esm/operations/metadata.js.map +1 -0
  262. package/dist/esm/operations/operations.d.ts +18 -0
  263. package/dist/esm/operations/operations.d.ts.map +1 -0
  264. package/dist/esm/operations/operations.js +46 -0
  265. package/dist/esm/operations/operations.js.map +1 -0
  266. package/dist/esm/operations/securityAdvisoryImpactedResources.d.ts +58 -0
  267. package/dist/esm/operations/securityAdvisoryImpactedResources.d.ts.map +1 -0
  268. package/dist/esm/operations/securityAdvisoryImpactedResources.js +261 -0
  269. package/dist/esm/operations/securityAdvisoryImpactedResources.js.map +1 -0
  270. package/dist/esm/operationsInterfaces/availabilityStatuses.d.ts +37 -0
  271. package/dist/esm/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
  272. package/dist/esm/operationsInterfaces/availabilityStatuses.js +9 -0
  273. package/dist/esm/operationsInterfaces/availabilityStatuses.js.map +1 -0
  274. package/dist/esm/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
  275. package/dist/esm/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
  276. package/dist/esm/operationsInterfaces/childAvailabilityStatuses.js +9 -0
  277. package/dist/esm/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
  278. package/dist/esm/operationsInterfaces/childResources.d.ts +15 -0
  279. package/dist/esm/operationsInterfaces/childResources.d.ts.map +1 -0
  280. package/dist/esm/operationsInterfaces/childResources.js +9 -0
  281. package/dist/esm/operationsInterfaces/childResources.js.map +1 -0
  282. package/dist/esm/operationsInterfaces/emergingIssues.d.ts +17 -0
  283. package/dist/esm/operationsInterfaces/emergingIssues.d.ts.map +1 -0
  284. package/dist/esm/operationsInterfaces/emergingIssues.js +9 -0
  285. package/dist/esm/operationsInterfaces/emergingIssues.js.map +1 -0
  286. package/dist/esm/operationsInterfaces/eventOperations.d.ts +31 -0
  287. package/dist/esm/operationsInterfaces/eventOperations.d.ts.map +1 -0
  288. package/dist/esm/operationsInterfaces/eventOperations.js +9 -0
  289. package/dist/esm/operationsInterfaces/eventOperations.js.map +1 -0
  290. package/dist/esm/operationsInterfaces/eventsOperations.d.ts +26 -0
  291. package/dist/esm/operationsInterfaces/eventsOperations.d.ts.map +1 -0
  292. package/dist/esm/operationsInterfaces/eventsOperations.js +9 -0
  293. package/dist/esm/operationsInterfaces/eventsOperations.js.map +1 -0
  294. package/dist/esm/operationsInterfaces/impactedResources.d.ts +32 -0
  295. package/dist/esm/operationsInterfaces/impactedResources.d.ts.map +1 -0
  296. package/dist/esm/operationsInterfaces/impactedResources.js +9 -0
  297. package/dist/esm/operationsInterfaces/impactedResources.js.map +1 -0
  298. package/dist/esm/operationsInterfaces/index.d.ts +11 -0
  299. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  300. package/dist/esm/operationsInterfaces/index.js +18 -0
  301. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  302. package/dist/esm/operationsInterfaces/metadata.d.ts +17 -0
  303. package/dist/esm/operationsInterfaces/metadata.d.ts.map +1 -0
  304. package/dist/esm/operationsInterfaces/metadata.js +9 -0
  305. package/dist/esm/operationsInterfaces/metadata.js.map +1 -0
  306. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  307. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  308. package/dist/esm/operationsInterfaces/operations.js +9 -0
  309. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  310. package/dist/esm/operationsInterfaces/securityAdvisoryImpactedResources.d.ts +18 -0
  311. package/dist/esm/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +1 -0
  312. package/dist/esm/operationsInterfaces/securityAdvisoryImpactedResources.js +9 -0
  313. package/dist/esm/operationsInterfaces/securityAdvisoryImpactedResources.js.map +1 -0
  314. package/dist/esm/package.json +3 -0
  315. package/dist/esm/pagingHelper.d.ts +13 -0
  316. package/dist/esm/pagingHelper.d.ts.map +1 -0
  317. package/dist/esm/pagingHelper.js +32 -0
  318. package/dist/esm/pagingHelper.js.map +1 -0
  319. package/dist/react-native/index.d.ts +5 -0
  320. package/dist/react-native/index.d.ts.map +1 -0
  321. package/dist/react-native/index.js +13 -0
  322. package/dist/react-native/index.js.map +1 -0
  323. package/dist/react-native/microsoftResourceHealth.d.ts +30 -0
  324. package/dist/react-native/microsoftResourceHealth.d.ts.map +1 -0
  325. package/dist/react-native/microsoftResourceHealth.js +104 -0
  326. package/dist/react-native/microsoftResourceHealth.js.map +1 -0
  327. package/dist/react-native/models/index.d.ts +1057 -0
  328. package/dist/react-native/models/index.d.ts.map +1 -0
  329. package/dist/react-native/models/index.js +148 -0
  330. package/dist/react-native/models/index.js.map +1 -0
  331. package/dist/react-native/models/mappers.d.ts +42 -0
  332. package/dist/react-native/models/mappers.d.ts.map +1 -0
  333. package/dist/react-native/models/mappers.js +1514 -0
  334. package/dist/react-native/models/mappers.js.map +1 -0
  335. package/dist/react-native/models/parameters.d.ts +16 -0
  336. package/dist/react-native/models/parameters.d.ts.map +1 -0
  337. package/dist/react-native/models/parameters.js +160 -0
  338. package/dist/react-native/models/parameters.js.map +1 -0
  339. package/dist/react-native/operations/availabilityStatuses.d.ts +96 -0
  340. package/dist/react-native/operations/availabilityStatuses.d.ts.map +1 -0
  341. package/dist/react-native/operations/availabilityStatuses.js +426 -0
  342. package/dist/react-native/operations/availabilityStatuses.js.map +1 -0
  343. package/dist/react-native/operations/childAvailabilityStatuses.d.ts +51 -0
  344. package/dist/react-native/operations/childAvailabilityStatuses.d.ts.map +1 -0
  345. package/dist/react-native/operations/childAvailabilityStatuses.js +182 -0
  346. package/dist/react-native/operations/childAvailabilityStatuses.js.map +1 -0
  347. package/dist/react-native/operations/childResources.d.ts +43 -0
  348. package/dist/react-native/operations/childResources.d.ts.map +1 -0
  349. package/dist/react-native/operations/childResources.js +152 -0
  350. package/dist/react-native/operations/childResources.js.map +1 -0
  351. package/dist/react-native/operations/emergingIssues.d.ts +38 -0
  352. package/dist/react-native/operations/emergingIssues.d.ts.map +1 -0
  353. package/dist/react-native/operations/emergingIssues.js +157 -0
  354. package/dist/react-native/operations/emergingIssues.js.map +1 -0
  355. package/dist/react-native/operations/eventOperations.d.ts +39 -0
  356. package/dist/react-native/operations/eventOperations.d.ts.map +1 -0
  357. package/dist/react-native/operations/eventOperations.js +137 -0
  358. package/dist/react-native/operations/eventOperations.js.map +1 -0
  359. package/dist/react-native/operations/eventsOperations.d.ts +83 -0
  360. package/dist/react-native/operations/eventsOperations.d.ts.map +1 -0
  361. package/dist/react-native/operations/eventsOperations.js +378 -0
  362. package/dist/react-native/operations/eventsOperations.js.map +1 -0
  363. package/dist/react-native/operations/impactedResources.d.ts +72 -0
  364. package/dist/react-native/operations/impactedResources.d.ts.map +1 -0
  365. package/dist/react-native/operations/impactedResources.js +320 -0
  366. package/dist/react-native/operations/impactedResources.js.map +1 -0
  367. package/dist/react-native/operations/index.d.ts +11 -0
  368. package/dist/react-native/operations/index.d.ts.map +1 -0
  369. package/dist/react-native/operations/index.js +18 -0
  370. package/dist/react-native/operations/index.js.map +1 -0
  371. package/dist/react-native/operations/metadata.d.ts +38 -0
  372. package/dist/react-native/operations/metadata.d.ts.map +1 -0
  373. package/dist/react-native/operations/metadata.js +157 -0
  374. package/dist/react-native/operations/metadata.js.map +1 -0
  375. package/dist/react-native/operations/operations.d.ts +18 -0
  376. package/dist/react-native/operations/operations.d.ts.map +1 -0
  377. package/dist/react-native/operations/operations.js +46 -0
  378. package/dist/react-native/operations/operations.js.map +1 -0
  379. package/dist/react-native/operations/securityAdvisoryImpactedResources.d.ts +58 -0
  380. package/dist/react-native/operations/securityAdvisoryImpactedResources.d.ts.map +1 -0
  381. package/dist/react-native/operations/securityAdvisoryImpactedResources.js +261 -0
  382. package/dist/react-native/operations/securityAdvisoryImpactedResources.js.map +1 -0
  383. package/dist/react-native/operationsInterfaces/availabilityStatuses.d.ts +37 -0
  384. package/dist/react-native/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
  385. package/dist/react-native/operationsInterfaces/availabilityStatuses.js +9 -0
  386. package/dist/react-native/operationsInterfaces/availabilityStatuses.js.map +1 -0
  387. package/dist/react-native/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
  388. package/dist/react-native/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
  389. package/dist/react-native/operationsInterfaces/childAvailabilityStatuses.js +9 -0
  390. package/dist/react-native/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
  391. package/dist/react-native/operationsInterfaces/childResources.d.ts +15 -0
  392. package/dist/react-native/operationsInterfaces/childResources.d.ts.map +1 -0
  393. package/dist/react-native/operationsInterfaces/childResources.js +9 -0
  394. package/dist/react-native/operationsInterfaces/childResources.js.map +1 -0
  395. package/dist/react-native/operationsInterfaces/emergingIssues.d.ts +17 -0
  396. package/dist/react-native/operationsInterfaces/emergingIssues.d.ts.map +1 -0
  397. package/dist/react-native/operationsInterfaces/emergingIssues.js +9 -0
  398. package/dist/react-native/operationsInterfaces/emergingIssues.js.map +1 -0
  399. package/dist/react-native/operationsInterfaces/eventOperations.d.ts +31 -0
  400. package/dist/react-native/operationsInterfaces/eventOperations.d.ts.map +1 -0
  401. package/dist/react-native/operationsInterfaces/eventOperations.js +9 -0
  402. package/dist/react-native/operationsInterfaces/eventOperations.js.map +1 -0
  403. package/dist/react-native/operationsInterfaces/eventsOperations.d.ts +26 -0
  404. package/dist/react-native/operationsInterfaces/eventsOperations.d.ts.map +1 -0
  405. package/dist/react-native/operationsInterfaces/eventsOperations.js +9 -0
  406. package/dist/react-native/operationsInterfaces/eventsOperations.js.map +1 -0
  407. package/dist/react-native/operationsInterfaces/impactedResources.d.ts +32 -0
  408. package/dist/react-native/operationsInterfaces/impactedResources.d.ts.map +1 -0
  409. package/dist/react-native/operationsInterfaces/impactedResources.js +9 -0
  410. package/dist/react-native/operationsInterfaces/impactedResources.js.map +1 -0
  411. package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
  412. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  413. package/dist/react-native/operationsInterfaces/index.js +18 -0
  414. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  415. package/dist/react-native/operationsInterfaces/metadata.d.ts +17 -0
  416. package/dist/react-native/operationsInterfaces/metadata.d.ts.map +1 -0
  417. package/dist/react-native/operationsInterfaces/metadata.js +9 -0
  418. package/dist/react-native/operationsInterfaces/metadata.js.map +1 -0
  419. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  420. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  421. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  422. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  423. package/dist/react-native/operationsInterfaces/securityAdvisoryImpactedResources.d.ts +18 -0
  424. package/dist/react-native/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +1 -0
  425. package/dist/react-native/operationsInterfaces/securityAdvisoryImpactedResources.js +9 -0
  426. package/dist/react-native/operationsInterfaces/securityAdvisoryImpactedResources.js.map +1 -0
  427. package/dist/react-native/package.json +3 -0
  428. package/dist/react-native/pagingHelper.d.ts +13 -0
  429. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  430. package/dist/react-native/pagingHelper.js +32 -0
  431. package/dist/react-native/pagingHelper.js.map +1 -0
  432. package/package.json +66 -35
  433. package/dist/index.js +0 -4202
  434. package/dist/index.js.map +0 -1
  435. package/dist/index.min.js +0 -1
  436. package/dist/index.min.js.map +0 -1
  437. package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.d.ts +0 -2
  438. package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.d.ts.map +0 -1
  439. package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.js +0 -29
  440. package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.js.map +0 -1
  441. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.d.ts +0 -2
  442. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.d.ts.map +0 -1
  443. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js +0 -48
  444. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js.map +0 -1
  445. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.d.ts +0 -2
  446. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.d.ts.map +0 -1
  447. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js +0 -47
  448. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js.map +0 -1
  449. package/dist-esm/samples-dev/availabilityStatusesListSample.d.ts +0 -2
  450. package/dist-esm/samples-dev/availabilityStatusesListSample.d.ts.map +0 -1
  451. package/dist-esm/samples-dev/availabilityStatusesListSample.js +0 -50
  452. package/dist-esm/samples-dev/availabilityStatusesListSample.js.map +0 -1
  453. package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.d.ts +0 -2
  454. package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.d.ts.map +0 -1
  455. package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.js +0 -31
  456. package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.js.map +0 -1
  457. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.d.ts +0 -2
  458. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.d.ts.map +0 -1
  459. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js +0 -50
  460. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js.map +0 -1
  461. package/dist-esm/samples-dev/childResourcesListSample.d.ts +0 -2
  462. package/dist-esm/samples-dev/childResourcesListSample.d.ts.map +0 -1
  463. package/dist-esm/samples-dev/childResourcesListSample.js +0 -50
  464. package/dist-esm/samples-dev/childResourcesListSample.js.map +0 -1
  465. package/dist-esm/samples-dev/emergingIssuesGetSample.d.ts +0 -2
  466. package/dist-esm/samples-dev/emergingIssuesGetSample.d.ts.map +0 -1
  467. package/dist-esm/samples-dev/emergingIssuesGetSample.js +0 -34
  468. package/dist-esm/samples-dev/emergingIssuesGetSample.js.map +0 -1
  469. package/dist-esm/samples-dev/emergingIssuesListSample.d.ts +0 -2
  470. package/dist-esm/samples-dev/emergingIssuesListSample.d.ts.map +0 -1
  471. package/dist-esm/samples-dev/emergingIssuesListSample.js +0 -49
  472. package/dist-esm/samples-dev/emergingIssuesListSample.js.map +0 -1
  473. package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.d.ts +0 -2
  474. package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.d.ts.map +0 -1
  475. package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.js +0 -35
  476. package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.js.map +0 -1
  477. package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.d.ts +0 -2
  478. package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.d.ts.map +0 -1
  479. package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.js +0 -34
  480. package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.js.map +0 -1
  481. package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.d.ts +0 -2
  482. package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.d.ts.map +0 -1
  483. package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.js +0 -34
  484. package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.js.map +0 -1
  485. package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.d.ts +0 -2
  486. package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.d.ts.map +0 -1
  487. package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.js +0 -33
  488. package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.js.map +0 -1
  489. package/dist-esm/samples-dev/eventsListBySingleResourceSample.d.ts +0 -2
  490. package/dist-esm/samples-dev/eventsListBySingleResourceSample.d.ts.map +0 -1
  491. package/dist-esm/samples-dev/eventsListBySingleResourceSample.js +0 -50
  492. package/dist-esm/samples-dev/eventsListBySingleResourceSample.js.map +0 -1
  493. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.d.ts +0 -2
  494. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.d.ts.map +0 -1
  495. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js +0 -49
  496. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js.map +0 -1
  497. package/dist-esm/samples-dev/eventsListByTenantIdSample.d.ts +0 -2
  498. package/dist-esm/samples-dev/eventsListByTenantIdSample.d.ts.map +0 -1
  499. package/dist-esm/samples-dev/eventsListByTenantIdSample.js +0 -48
  500. package/dist-esm/samples-dev/eventsListByTenantIdSample.js.map +0 -1
  501. package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.d.ts +0 -2
  502. package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.d.ts.map +0 -1
  503. package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.js +0 -35
  504. package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.js.map +0 -1
  505. package/dist-esm/samples-dev/impactedResourcesGetSample.d.ts +0 -2
  506. package/dist-esm/samples-dev/impactedResourcesGetSample.d.ts.map +0 -1
  507. package/dist-esm/samples-dev/impactedResourcesGetSample.js +0 -36
  508. package/dist-esm/samples-dev/impactedResourcesGetSample.js.map +0 -1
  509. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.d.ts +0 -2
  510. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.d.ts.map +0 -1
  511. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js +0 -48
  512. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js.map +0 -1
  513. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.d.ts +0 -2
  514. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.d.ts.map +0 -1
  515. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js +0 -47
  516. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js.map +0 -1
  517. package/dist-esm/samples-dev/metadataGetEntitySample.d.ts +0 -2
  518. package/dist-esm/samples-dev/metadataGetEntitySample.d.ts.map +0 -1
  519. package/dist-esm/samples-dev/metadataGetEntitySample.js +0 -34
  520. package/dist-esm/samples-dev/metadataGetEntitySample.js.map +0 -1
  521. package/dist-esm/samples-dev/metadataListSample.d.ts +0 -2
  522. package/dist-esm/samples-dev/metadataListSample.d.ts.map +0 -1
  523. package/dist-esm/samples-dev/metadataListSample.js +0 -49
  524. package/dist-esm/samples-dev/metadataListSample.js.map +0 -1
  525. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  526. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  527. package/dist-esm/samples-dev/operationsListSample.js +0 -34
  528. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  529. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.d.ts +0 -2
  530. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.d.ts.map +0 -1
  531. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js +0 -51
  532. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js.map +0 -1
  533. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.d.ts +0 -2
  534. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.d.ts.map +0 -1
  535. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js +0 -50
  536. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js.map +0 -1
  537. package/dist-esm/src/index.d.ts +0 -5
  538. package/dist-esm/src/index.js.map +0 -1
  539. package/dist-esm/src/microsoftResourceHealth.d.ts.map +0 -1
  540. package/dist-esm/src/microsoftResourceHealth.js.map +0 -1
  541. package/dist-esm/src/models/index.js.map +0 -1
  542. package/dist-esm/src/models/mappers.js.map +0 -1
  543. package/dist-esm/src/models/parameters.js.map +0 -1
  544. package/dist-esm/src/operations/availabilityStatuses.d.ts.map +0 -1
  545. package/dist-esm/src/operations/availabilityStatuses.js.map +0 -1
  546. package/dist-esm/src/operations/childAvailabilityStatuses.d.ts.map +0 -1
  547. package/dist-esm/src/operations/childAvailabilityStatuses.js.map +0 -1
  548. package/dist-esm/src/operations/childResources.d.ts.map +0 -1
  549. package/dist-esm/src/operations/childResources.js.map +0 -1
  550. package/dist-esm/src/operations/emergingIssues.d.ts.map +0 -1
  551. package/dist-esm/src/operations/emergingIssues.js.map +0 -1
  552. package/dist-esm/src/operations/eventOperations.d.ts.map +0 -1
  553. package/dist-esm/src/operations/eventOperations.js.map +0 -1
  554. package/dist-esm/src/operations/eventsOperations.d.ts.map +0 -1
  555. package/dist-esm/src/operations/eventsOperations.js.map +0 -1
  556. package/dist-esm/src/operations/impactedResources.d.ts.map +0 -1
  557. package/dist-esm/src/operations/impactedResources.js.map +0 -1
  558. package/dist-esm/src/operations/index.d.ts +0 -11
  559. package/dist-esm/src/operations/index.d.ts.map +0 -1
  560. package/dist-esm/src/operations/index.js +0 -18
  561. package/dist-esm/src/operations/index.js.map +0 -1
  562. package/dist-esm/src/operations/metadata.d.ts.map +0 -1
  563. package/dist-esm/src/operations/metadata.js.map +0 -1
  564. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  565. package/dist-esm/src/operations/operations.js.map +0 -1
  566. package/dist-esm/src/operations/securityAdvisoryImpactedResources.d.ts.map +0 -1
  567. package/dist-esm/src/operations/securityAdvisoryImpactedResources.js.map +0 -1
  568. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts.map +0 -1
  569. package/dist-esm/src/operationsInterfaces/availabilityStatuses.js.map +0 -1
  570. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts.map +0 -1
  571. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js.map +0 -1
  572. package/dist-esm/src/operationsInterfaces/childResources.d.ts.map +0 -1
  573. package/dist-esm/src/operationsInterfaces/childResources.js.map +0 -1
  574. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts.map +0 -1
  575. package/dist-esm/src/operationsInterfaces/emergingIssues.js.map +0 -1
  576. package/dist-esm/src/operationsInterfaces/eventOperations.d.ts.map +0 -1
  577. package/dist-esm/src/operationsInterfaces/eventOperations.js.map +0 -1
  578. package/dist-esm/src/operationsInterfaces/eventsOperations.d.ts.map +0 -1
  579. package/dist-esm/src/operationsInterfaces/eventsOperations.js.map +0 -1
  580. package/dist-esm/src/operationsInterfaces/impactedResources.d.ts.map +0 -1
  581. package/dist-esm/src/operationsInterfaces/impactedResources.js.map +0 -1
  582. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
  583. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  584. package/dist-esm/src/operationsInterfaces/index.js +0 -18
  585. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  586. package/dist-esm/src/operationsInterfaces/metadata.d.ts.map +0 -1
  587. package/dist-esm/src/operationsInterfaces/metadata.js.map +0 -1
  588. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  589. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  590. package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +0 -1
  591. package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.js.map +0 -1
  592. package/dist-esm/src/pagingHelper.js.map +0 -1
  593. package/dist-esm/test/resourcehealth_operations_test.spec.d.ts +0 -4
  594. package/dist-esm/test/resourcehealth_operations_test.spec.d.ts.map +0 -1
  595. package/dist-esm/test/resourcehealth_operations_test.spec.js +0 -60
  596. package/dist-esm/test/resourcehealth_operations_test.spec.js.map +0 -1
  597. package/src/microsoftResourceHealth.ts +0 -196
  598. package/src/models/index.ts +0 -1229
  599. package/src/models/mappers.ts +0 -1620
  600. package/src/models/parameters.ts +0 -179
  601. package/src/operations/availabilityStatuses.ts +0 -499
  602. package/src/operations/childAvailabilityStatuses.ts +0 -218
  603. package/src/operations/childResources.ts +0 -176
  604. package/src/operations/emergingIssues.ts +0 -183
  605. package/src/operations/eventOperations.ts +0 -184
  606. package/src/operations/eventsOperations.ts +0 -434
  607. package/src/operations/impactedResources.ts +0 -414
  608. package/src/operations/index.ts +0 -18
  609. package/src/operations/metadata.ts +0 -182
  610. package/src/operations/operations.ts +0 -59
  611. package/src/operations/securityAdvisoryImpactedResources.ts +0 -342
  612. package/src/operationsInterfaces/availabilityStatuses.ts +0 -64
  613. package/src/operationsInterfaces/childAvailabilityStatuses.ts +0 -43
  614. package/src/operationsInterfaces/childResources.ts +0 -30
  615. package/src/operationsInterfaces/emergingIssues.ts +0 -37
  616. package/src/operationsInterfaces/eventOperations.ts +0 -60
  617. package/src/operationsInterfaces/eventsOperations.ts +0 -47
  618. package/src/operationsInterfaces/impactedResources.ts +0 -63
  619. package/src/operationsInterfaces/index.ts +0 -18
  620. package/src/operationsInterfaces/metadata.ts +0 -36
  621. package/src/operationsInterfaces/operations.ts +0 -21
  622. package/src/operationsInterfaces/securityAdvisoryImpactedResources.ts +0 -37
  623. package/src/pagingHelper.ts +0 -39
  624. package/tsconfig.json +0 -33
  625. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  626. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  627. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  628. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  629. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  630. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  631. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  632. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  633. /package/{dist-esm/src → dist/browser}/models/parameters.js +0 -0
  634. /package/{dist-esm/src → dist/browser}/operationsInterfaces/availabilityStatuses.js +0 -0
  635. /package/{dist-esm/src → dist/browser}/operationsInterfaces/childAvailabilityStatuses.js +0 -0
  636. /package/{dist-esm/src → dist/browser}/operationsInterfaces/childResources.js +0 -0
  637. /package/{dist-esm/src → dist/browser}/operationsInterfaces/emergingIssues.js +0 -0
  638. /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventOperations.js +0 -0
  639. /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventsOperations.js +0 -0
  640. /package/{dist-esm/src → dist/browser}/operationsInterfaces/impactedResources.js +0 -0
  641. /package/{dist-esm/src → dist/browser}/operationsInterfaces/metadata.js +0 -0
  642. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  643. /package/{dist-esm/src → dist/browser}/operationsInterfaces/securityAdvisoryImpactedResources.js +0 -0
  644. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  645. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  646. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  647. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -1,414 +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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { ImpactedResources } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { MicrosoftResourceHealth } from "../microsoftResourceHealth";
16
- import {
17
- EventImpactedResource,
18
- ImpactedResourcesListBySubscriptionIdAndEventIdNextOptionalParams,
19
- ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams,
20
- ImpactedResourcesListBySubscriptionIdAndEventIdResponse,
21
- ImpactedResourcesListByTenantIdAndEventIdNextOptionalParams,
22
- ImpactedResourcesListByTenantIdAndEventIdOptionalParams,
23
- ImpactedResourcesListByTenantIdAndEventIdResponse,
24
- ImpactedResourcesGetOptionalParams,
25
- ImpactedResourcesGetResponse,
26
- ImpactedResourcesGetByTenantIdOptionalParams,
27
- ImpactedResourcesGetByTenantIdResponse,
28
- ImpactedResourcesListBySubscriptionIdAndEventIdNextResponse,
29
- ImpactedResourcesListByTenantIdAndEventIdNextResponse
30
- } from "../models";
31
-
32
- /// <reference lib="esnext.asynciterable" />
33
- /** Class containing ImpactedResources operations. */
34
- export class ImpactedResourcesImpl implements ImpactedResources {
35
- private readonly client: MicrosoftResourceHealth;
36
-
37
- /**
38
- * Initialize a new instance of the class ImpactedResources class.
39
- * @param client Reference to the service client
40
- */
41
- constructor(client: MicrosoftResourceHealth) {
42
- this.client = client;
43
- }
44
-
45
- /**
46
- * Lists impacted resources in the subscription by an event.
47
- * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
48
- * @param options The options parameters.
49
- */
50
- public listBySubscriptionIdAndEventId(
51
- eventTrackingId: string,
52
- options?: ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams
53
- ): PagedAsyncIterableIterator<EventImpactedResource> {
54
- const iter = this.listBySubscriptionIdAndEventIdPagingAll(
55
- eventTrackingId,
56
- options
57
- );
58
- return {
59
- next() {
60
- return iter.next();
61
- },
62
- [Symbol.asyncIterator]() {
63
- return this;
64
- },
65
- byPage: (settings?: PageSettings) => {
66
- if (settings?.maxPageSize) {
67
- throw new Error("maxPageSize is not supported by this operation.");
68
- }
69
- return this.listBySubscriptionIdAndEventIdPagingPage(
70
- eventTrackingId,
71
- options,
72
- settings
73
- );
74
- }
75
- };
76
- }
77
-
78
- private async *listBySubscriptionIdAndEventIdPagingPage(
79
- eventTrackingId: string,
80
- options?: ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams,
81
- settings?: PageSettings
82
- ): AsyncIterableIterator<EventImpactedResource[]> {
83
- let result: ImpactedResourcesListBySubscriptionIdAndEventIdResponse;
84
- let continuationToken = settings?.continuationToken;
85
- if (!continuationToken) {
86
- result = await this._listBySubscriptionIdAndEventId(
87
- eventTrackingId,
88
- options
89
- );
90
- let page = result.value || [];
91
- continuationToken = result.nextLink;
92
- setContinuationToken(page, continuationToken);
93
- yield page;
94
- }
95
- while (continuationToken) {
96
- result = await this._listBySubscriptionIdAndEventIdNext(
97
- eventTrackingId,
98
- continuationToken,
99
- options
100
- );
101
- continuationToken = result.nextLink;
102
- let page = result.value || [];
103
- setContinuationToken(page, continuationToken);
104
- yield page;
105
- }
106
- }
107
-
108
- private async *listBySubscriptionIdAndEventIdPagingAll(
109
- eventTrackingId: string,
110
- options?: ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams
111
- ): AsyncIterableIterator<EventImpactedResource> {
112
- for await (const page of this.listBySubscriptionIdAndEventIdPagingPage(
113
- eventTrackingId,
114
- options
115
- )) {
116
- yield* page;
117
- }
118
- }
119
-
120
- /**
121
- * Lists impacted resources in the tenant by an event.
122
- * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
123
- * @param options The options parameters.
124
- */
125
- public listByTenantIdAndEventId(
126
- eventTrackingId: string,
127
- options?: ImpactedResourcesListByTenantIdAndEventIdOptionalParams
128
- ): PagedAsyncIterableIterator<EventImpactedResource> {
129
- const iter = this.listByTenantIdAndEventIdPagingAll(
130
- eventTrackingId,
131
- options
132
- );
133
- return {
134
- next() {
135
- return iter.next();
136
- },
137
- [Symbol.asyncIterator]() {
138
- return this;
139
- },
140
- byPage: (settings?: PageSettings) => {
141
- if (settings?.maxPageSize) {
142
- throw new Error("maxPageSize is not supported by this operation.");
143
- }
144
- return this.listByTenantIdAndEventIdPagingPage(
145
- eventTrackingId,
146
- options,
147
- settings
148
- );
149
- }
150
- };
151
- }
152
-
153
- private async *listByTenantIdAndEventIdPagingPage(
154
- eventTrackingId: string,
155
- options?: ImpactedResourcesListByTenantIdAndEventIdOptionalParams,
156
- settings?: PageSettings
157
- ): AsyncIterableIterator<EventImpactedResource[]> {
158
- let result: ImpactedResourcesListByTenantIdAndEventIdResponse;
159
- let continuationToken = settings?.continuationToken;
160
- if (!continuationToken) {
161
- result = await this._listByTenantIdAndEventId(eventTrackingId, options);
162
- let page = result.value || [];
163
- continuationToken = result.nextLink;
164
- setContinuationToken(page, continuationToken);
165
- yield page;
166
- }
167
- while (continuationToken) {
168
- result = await this._listByTenantIdAndEventIdNext(
169
- eventTrackingId,
170
- continuationToken,
171
- options
172
- );
173
- continuationToken = result.nextLink;
174
- let page = result.value || [];
175
- setContinuationToken(page, continuationToken);
176
- yield page;
177
- }
178
- }
179
-
180
- private async *listByTenantIdAndEventIdPagingAll(
181
- eventTrackingId: string,
182
- options?: ImpactedResourcesListByTenantIdAndEventIdOptionalParams
183
- ): AsyncIterableIterator<EventImpactedResource> {
184
- for await (const page of this.listByTenantIdAndEventIdPagingPage(
185
- eventTrackingId,
186
- options
187
- )) {
188
- yield* page;
189
- }
190
- }
191
-
192
- /**
193
- * Lists impacted resources in the subscription by an event.
194
- * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
195
- * @param options The options parameters.
196
- */
197
- private _listBySubscriptionIdAndEventId(
198
- eventTrackingId: string,
199
- options?: ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams
200
- ): Promise<ImpactedResourcesListBySubscriptionIdAndEventIdResponse> {
201
- return this.client.sendOperationRequest(
202
- { eventTrackingId, options },
203
- listBySubscriptionIdAndEventIdOperationSpec
204
- );
205
- }
206
-
207
- /**
208
- * Gets the specific impacted resource in the subscription by an event.
209
- * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
210
- * @param impactedResourceName Name of the Impacted Resource.
211
- * @param options The options parameters.
212
- */
213
- get(
214
- eventTrackingId: string,
215
- impactedResourceName: string,
216
- options?: ImpactedResourcesGetOptionalParams
217
- ): Promise<ImpactedResourcesGetResponse> {
218
- return this.client.sendOperationRequest(
219
- { eventTrackingId, impactedResourceName, options },
220
- getOperationSpec
221
- );
222
- }
223
-
224
- /**
225
- * Lists impacted resources in the tenant by an event.
226
- * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
227
- * @param options The options parameters.
228
- */
229
- private _listByTenantIdAndEventId(
230
- eventTrackingId: string,
231
- options?: ImpactedResourcesListByTenantIdAndEventIdOptionalParams
232
- ): Promise<ImpactedResourcesListByTenantIdAndEventIdResponse> {
233
- return this.client.sendOperationRequest(
234
- { eventTrackingId, options },
235
- listByTenantIdAndEventIdOperationSpec
236
- );
237
- }
238
-
239
- /**
240
- * Gets the specific impacted resource in the tenant by an event.
241
- * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
242
- * @param impactedResourceName Name of the Impacted Resource.
243
- * @param options The options parameters.
244
- */
245
- getByTenantId(
246
- eventTrackingId: string,
247
- impactedResourceName: string,
248
- options?: ImpactedResourcesGetByTenantIdOptionalParams
249
- ): Promise<ImpactedResourcesGetByTenantIdResponse> {
250
- return this.client.sendOperationRequest(
251
- { eventTrackingId, impactedResourceName, options },
252
- getByTenantIdOperationSpec
253
- );
254
- }
255
-
256
- /**
257
- * ListBySubscriptionIdAndEventIdNext
258
- * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
259
- * @param nextLink The nextLink from the previous successful call to the ListBySubscriptionIdAndEventId
260
- * method.
261
- * @param options The options parameters.
262
- */
263
- private _listBySubscriptionIdAndEventIdNext(
264
- eventTrackingId: string,
265
- nextLink: string,
266
- options?: ImpactedResourcesListBySubscriptionIdAndEventIdNextOptionalParams
267
- ): Promise<ImpactedResourcesListBySubscriptionIdAndEventIdNextResponse> {
268
- return this.client.sendOperationRequest(
269
- { eventTrackingId, nextLink, options },
270
- listBySubscriptionIdAndEventIdNextOperationSpec
271
- );
272
- }
273
-
274
- /**
275
- * ListByTenantIdAndEventIdNext
276
- * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
277
- * @param nextLink The nextLink from the previous successful call to the ListByTenantIdAndEventId
278
- * method.
279
- * @param options The options parameters.
280
- */
281
- private _listByTenantIdAndEventIdNext(
282
- eventTrackingId: string,
283
- nextLink: string,
284
- options?: ImpactedResourcesListByTenantIdAndEventIdNextOptionalParams
285
- ): Promise<ImpactedResourcesListByTenantIdAndEventIdNextResponse> {
286
- return this.client.sendOperationRequest(
287
- { eventTrackingId, nextLink, options },
288
- listByTenantIdAndEventIdNextOperationSpec
289
- );
290
- }
291
- }
292
- // Operation Specifications
293
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
294
-
295
- const listBySubscriptionIdAndEventIdOperationSpec: coreClient.OperationSpec = {
296
- path:
297
- "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources",
298
- httpMethod: "GET",
299
- responses: {
300
- 200: {
301
- bodyMapper: Mappers.EventImpactedResourceListResult
302
- },
303
- default: {
304
- bodyMapper: Mappers.ErrorResponse
305
- }
306
- },
307
- queryParameters: [Parameters.apiVersion, Parameters.filter],
308
- urlParameters: [
309
- Parameters.$host,
310
- Parameters.subscriptionId,
311
- Parameters.eventTrackingId
312
- ],
313
- headerParameters: [Parameters.accept],
314
- serializer
315
- };
316
- const getOperationSpec: coreClient.OperationSpec = {
317
- path:
318
- "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}",
319
- httpMethod: "GET",
320
- responses: {
321
- 200: {
322
- bodyMapper: Mappers.EventImpactedResource
323
- },
324
- default: {
325
- bodyMapper: Mappers.ErrorResponse
326
- }
327
- },
328
- queryParameters: [Parameters.apiVersion],
329
- urlParameters: [
330
- Parameters.$host,
331
- Parameters.subscriptionId,
332
- Parameters.eventTrackingId,
333
- Parameters.impactedResourceName
334
- ],
335
- headerParameters: [Parameters.accept],
336
- serializer
337
- };
338
- const listByTenantIdAndEventIdOperationSpec: coreClient.OperationSpec = {
339
- path:
340
- "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources",
341
- httpMethod: "GET",
342
- responses: {
343
- 200: {
344
- bodyMapper: Mappers.EventImpactedResourceListResult
345
- },
346
- default: {
347
- bodyMapper: Mappers.ErrorResponse
348
- }
349
- },
350
- queryParameters: [Parameters.apiVersion, Parameters.filter],
351
- urlParameters: [Parameters.$host, Parameters.eventTrackingId],
352
- headerParameters: [Parameters.accept],
353
- serializer
354
- };
355
- const getByTenantIdOperationSpec: coreClient.OperationSpec = {
356
- path:
357
- "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}",
358
- httpMethod: "GET",
359
- responses: {
360
- 200: {
361
- bodyMapper: Mappers.EventImpactedResource
362
- },
363
- default: {
364
- bodyMapper: Mappers.ErrorResponse
365
- }
366
- },
367
- queryParameters: [Parameters.apiVersion],
368
- urlParameters: [
369
- Parameters.$host,
370
- Parameters.eventTrackingId,
371
- Parameters.impactedResourceName
372
- ],
373
- headerParameters: [Parameters.accept],
374
- serializer
375
- };
376
- const listBySubscriptionIdAndEventIdNextOperationSpec: coreClient.OperationSpec = {
377
- path: "{nextLink}",
378
- httpMethod: "GET",
379
- responses: {
380
- 200: {
381
- bodyMapper: Mappers.EventImpactedResourceListResult
382
- },
383
- default: {
384
- bodyMapper: Mappers.ErrorResponse
385
- }
386
- },
387
- urlParameters: [
388
- Parameters.$host,
389
- Parameters.subscriptionId,
390
- Parameters.nextLink,
391
- Parameters.eventTrackingId
392
- ],
393
- headerParameters: [Parameters.accept],
394
- serializer
395
- };
396
- const listByTenantIdAndEventIdNextOperationSpec: coreClient.OperationSpec = {
397
- path: "{nextLink}",
398
- httpMethod: "GET",
399
- responses: {
400
- 200: {
401
- bodyMapper: Mappers.EventImpactedResourceListResult
402
- },
403
- default: {
404
- bodyMapper: Mappers.ErrorResponse
405
- }
406
- },
407
- urlParameters: [
408
- Parameters.$host,
409
- Parameters.nextLink,
410
- Parameters.eventTrackingId
411
- ],
412
- headerParameters: [Parameters.accept],
413
- serializer
414
- };
@@ -1,18 +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
- export * from "./availabilityStatuses";
10
- export * from "./operations";
11
- export * from "./metadata";
12
- export * from "./impactedResources";
13
- export * from "./securityAdvisoryImpactedResources";
14
- export * from "./eventsOperations";
15
- export * from "./eventOperations";
16
- export * from "./childAvailabilityStatuses";
17
- export * from "./childResources";
18
- export * from "./emergingIssues";
@@ -1,182 +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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { Metadata } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { MicrosoftResourceHealth } from "../microsoftResourceHealth";
16
- import {
17
- MetadataEntity,
18
- MetadataListNextOptionalParams,
19
- MetadataListOptionalParams,
20
- MetadataListResponse,
21
- MetadataGetEntityOptionalParams,
22
- MetadataGetEntityResponse,
23
- MetadataListNextResponse
24
- } from "../models";
25
-
26
- /// <reference lib="esnext.asynciterable" />
27
- /** Class containing Metadata operations. */
28
- export class MetadataImpl implements Metadata {
29
- private readonly client: MicrosoftResourceHealth;
30
-
31
- /**
32
- * Initialize a new instance of the class Metadata class.
33
- * @param client Reference to the service client
34
- */
35
- constructor(client: MicrosoftResourceHealth) {
36
- this.client = client;
37
- }
38
-
39
- /**
40
- * Gets the list of metadata entities.
41
- * @param options The options parameters.
42
- */
43
- public list(
44
- options?: MetadataListOptionalParams
45
- ): PagedAsyncIterableIterator<MetadataEntity> {
46
- const iter = this.listPagingAll(options);
47
- return {
48
- next() {
49
- return iter.next();
50
- },
51
- [Symbol.asyncIterator]() {
52
- return this;
53
- },
54
- byPage: (settings?: PageSettings) => {
55
- if (settings?.maxPageSize) {
56
- throw new Error("maxPageSize is not supported by this operation.");
57
- }
58
- return this.listPagingPage(options, settings);
59
- }
60
- };
61
- }
62
-
63
- private async *listPagingPage(
64
- options?: MetadataListOptionalParams,
65
- settings?: PageSettings
66
- ): AsyncIterableIterator<MetadataEntity[]> {
67
- let result: MetadataListResponse;
68
- let continuationToken = settings?.continuationToken;
69
- if (!continuationToken) {
70
- result = await this._list(options);
71
- let page = result.value || [];
72
- continuationToken = result.nextLink;
73
- setContinuationToken(page, continuationToken);
74
- yield page;
75
- }
76
- while (continuationToken) {
77
- result = await this._listNext(continuationToken, options);
78
- continuationToken = result.nextLink;
79
- let page = result.value || [];
80
- setContinuationToken(page, continuationToken);
81
- yield page;
82
- }
83
- }
84
-
85
- private async *listPagingAll(
86
- options?: MetadataListOptionalParams
87
- ): AsyncIterableIterator<MetadataEntity> {
88
- for await (const page of this.listPagingPage(options)) {
89
- yield* page;
90
- }
91
- }
92
-
93
- /**
94
- * Gets the list of metadata entities.
95
- * @param options The options parameters.
96
- */
97
- private _list(
98
- options?: MetadataListOptionalParams
99
- ): Promise<MetadataListResponse> {
100
- return this.client.sendOperationRequest({ options }, listOperationSpec);
101
- }
102
-
103
- /**
104
- * Gets the list of metadata entities.
105
- * @param name Name of metadata entity.
106
- * @param options The options parameters.
107
- */
108
- getEntity(
109
- name: string,
110
- options?: MetadataGetEntityOptionalParams
111
- ): Promise<MetadataGetEntityResponse> {
112
- return this.client.sendOperationRequest(
113
- { name, options },
114
- getEntityOperationSpec
115
- );
116
- }
117
-
118
- /**
119
- * ListNext
120
- * @param nextLink The nextLink from the previous successful call to the List method.
121
- * @param options The options parameters.
122
- */
123
- private _listNext(
124
- nextLink: string,
125
- options?: MetadataListNextOptionalParams
126
- ): Promise<MetadataListNextResponse> {
127
- return this.client.sendOperationRequest(
128
- { nextLink, options },
129
- listNextOperationSpec
130
- );
131
- }
132
- }
133
- // Operation Specifications
134
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
135
-
136
- const listOperationSpec: coreClient.OperationSpec = {
137
- path: "/providers/Microsoft.ResourceHealth/metadata",
138
- httpMethod: "GET",
139
- responses: {
140
- 200: {
141
- bodyMapper: Mappers.MetadataEntityListResult
142
- },
143
- default: {
144
- bodyMapper: Mappers.ErrorResponse
145
- }
146
- },
147
- queryParameters: [Parameters.apiVersion],
148
- urlParameters: [Parameters.$host],
149
- headerParameters: [Parameters.accept],
150
- serializer
151
- };
152
- const getEntityOperationSpec: coreClient.OperationSpec = {
153
- path: "/providers/Microsoft.ResourceHealth/metadata/{name}",
154
- httpMethod: "GET",
155
- responses: {
156
- 200: {
157
- bodyMapper: Mappers.MetadataEntity
158
- },
159
- default: {
160
- bodyMapper: Mappers.ErrorResponse
161
- }
162
- },
163
- queryParameters: [Parameters.apiVersion],
164
- urlParameters: [Parameters.$host, Parameters.name],
165
- headerParameters: [Parameters.accept],
166
- serializer
167
- };
168
- const listNextOperationSpec: coreClient.OperationSpec = {
169
- path: "{nextLink}",
170
- httpMethod: "GET",
171
- responses: {
172
- 200: {
173
- bodyMapper: Mappers.MetadataEntityListResult
174
- },
175
- default: {
176
- bodyMapper: Mappers.ErrorResponse
177
- }
178
- },
179
- urlParameters: [Parameters.$host, Parameters.nextLink],
180
- headerParameters: [Parameters.accept],
181
- serializer
182
- };
@@ -1,59 +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 { Operations } from "../operationsInterfaces";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
13
- import { MicrosoftResourceHealth } from "../microsoftResourceHealth";
14
- import {
15
- OperationsListOptionalParams,
16
- OperationsListResponse
17
- } from "../models";
18
-
19
- /** Class containing Operations operations. */
20
- export class OperationsImpl implements Operations {
21
- private readonly client: MicrosoftResourceHealth;
22
-
23
- /**
24
- * Initialize a new instance of the class Operations class.
25
- * @param client Reference to the service client
26
- */
27
- constructor(client: MicrosoftResourceHealth) {
28
- this.client = client;
29
- }
30
-
31
- /**
32
- * Lists available operations for the resourcehealth resource provider
33
- * @param options The options parameters.
34
- */
35
- list(
36
- options?: OperationsListOptionalParams
37
- ): Promise<OperationsListResponse> {
38
- return this.client.sendOperationRequest({ options }, listOperationSpec);
39
- }
40
- }
41
- // Operation Specifications
42
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
43
-
44
- const listOperationSpec: coreClient.OperationSpec = {
45
- path: "/providers/Microsoft.ResourceHealth/operations",
46
- httpMethod: "GET",
47
- responses: {
48
- 200: {
49
- bodyMapper: Mappers.OperationListResult
50
- },
51
- default: {
52
- bodyMapper: Mappers.ErrorResponse
53
- }
54
- },
55
- queryParameters: [Parameters.apiVersion],
56
- urlParameters: [Parameters.$host],
57
- headerParameters: [Parameters.accept],
58
- serializer
59
- };