@azure/arm-newrelicobservability 1.1.2-alpha.20251114.1 → 2.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 (462) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +4 -3
  3. package/dist/browser/index.d.ts.map +1 -1
  4. package/dist/browser/index.js +4 -7
  5. package/dist/browser/index.js.map +1 -1
  6. package/dist/browser/lroImpl.d.ts +1 -1
  7. package/dist/browser/lroImpl.d.ts.map +1 -1
  8. package/dist/browser/lroImpl.js +2 -0
  9. package/dist/browser/lroImpl.js.map +1 -1
  10. package/dist/browser/models/index.d.ts +352 -282
  11. package/dist/browser/models/index.d.ts.map +1 -1
  12. package/dist/browser/models/index.js +27 -42
  13. package/dist/browser/models/index.js.map +1 -1
  14. package/dist/browser/models/mappers.d.ts +26 -23
  15. package/dist/browser/models/mappers.d.ts.map +1 -1
  16. package/dist/browser/models/mappers.js +495 -331
  17. package/dist/browser/models/mappers.js.map +1 -1
  18. package/dist/browser/models/parameters.d.ts +9 -7
  19. package/dist/browser/models/parameters.d.ts.map +1 -1
  20. package/dist/browser/models/parameters.js +50 -53
  21. package/dist/browser/models/parameters.js.map +1 -1
  22. package/dist/browser/newRelicObservability.d.ts +5 -4
  23. package/dist/browser/newRelicObservability.d.ts.map +1 -1
  24. package/dist/browser/newRelicObservability.js +13 -16
  25. package/dist/browser/newRelicObservability.js.map +1 -1
  26. package/dist/browser/operations/accounts.d.ts +8 -6
  27. package/dist/browser/operations/accounts.d.ts.map +1 -1
  28. package/dist/browser/operations/accounts.js +10 -21
  29. package/dist/browser/operations/accounts.js.map +1 -1
  30. package/dist/browser/operations/billingInfo.d.ts +4 -4
  31. package/dist/browser/operations/billingInfo.d.ts.map +1 -1
  32. package/dist/browser/operations/billingInfo.js +4 -9
  33. package/dist/browser/operations/billingInfo.js.map +1 -1
  34. package/dist/browser/operations/connectedPartnerResources.d.ts +6 -8
  35. package/dist/browser/operations/connectedPartnerResources.d.ts.map +1 -1
  36. package/dist/browser/operations/connectedPartnerResources.js +9 -16
  37. package/dist/browser/operations/connectedPartnerResources.js.map +1 -1
  38. package/dist/browser/operations/index.d.ts +2 -1
  39. package/dist/browser/operations/index.d.ts.map +1 -1
  40. package/dist/browser/operations/index.js +6 -8
  41. package/dist/browser/operations/index.js.map +1 -1
  42. package/dist/browser/operations/monitoredSubscriptions.d.ts +16 -16
  43. package/dist/browser/operations/monitoredSubscriptions.d.ts.map +1 -1
  44. package/dist/browser/operations/monitoredSubscriptions.js +30 -32
  45. package/dist/browser/operations/monitoredSubscriptions.js.map +1 -1
  46. package/dist/browser/operations/monitors.d.ts +117 -51
  47. package/dist/browser/operations/monitors.d.ts.map +1 -1
  48. package/dist/browser/operations/monitors.js +412 -117
  49. package/dist/browser/operations/monitors.js.map +1 -1
  50. package/dist/browser/operations/operations.d.ts +4 -4
  51. package/dist/browser/operations/operations.d.ts.map +1 -1
  52. package/dist/browser/operations/operations.js +4 -9
  53. package/dist/browser/operations/operations.js.map +1 -1
  54. package/dist/browser/operations/organizations.d.ts +8 -6
  55. package/dist/browser/operations/organizations.d.ts.map +1 -1
  56. package/dist/browser/operations/organizations.js +10 -21
  57. package/dist/browser/operations/organizations.js.map +1 -1
  58. package/dist/browser/operations/plans.d.ts +6 -6
  59. package/dist/browser/operations/plans.d.ts.map +1 -1
  60. package/dist/browser/operations/plans.js +8 -21
  61. package/dist/browser/operations/plans.js.map +1 -1
  62. package/dist/browser/operations/saaS.d.ts +19 -0
  63. package/dist/browser/operations/saaS.d.ts.map +1 -0
  64. package/dist/browser/operations/saaS.js +45 -0
  65. package/dist/browser/operations/saaS.js.map +1 -0
  66. package/dist/browser/operations/tagRules.d.ts +25 -17
  67. package/dist/browser/operations/tagRules.d.ts.map +1 -1
  68. package/dist/browser/operations/tagRules.js +46 -43
  69. package/dist/browser/operations/tagRules.js.map +1 -1
  70. package/dist/browser/operationsInterfaces/accounts.d.ts +4 -3
  71. package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -1
  72. package/dist/browser/operationsInterfaces/accounts.js +2 -7
  73. package/dist/browser/operationsInterfaces/accounts.js.map +1 -1
  74. package/dist/browser/operationsInterfaces/billingInfo.d.ts +2 -2
  75. package/dist/browser/operationsInterfaces/billingInfo.d.ts.map +1 -1
  76. package/dist/browser/operationsInterfaces/billingInfo.js +2 -7
  77. package/dist/browser/operationsInterfaces/billingInfo.js.map +1 -1
  78. package/dist/browser/operationsInterfaces/connectedPartnerResources.d.ts +3 -4
  79. package/dist/browser/operationsInterfaces/connectedPartnerResources.d.ts.map +1 -1
  80. package/dist/browser/operationsInterfaces/connectedPartnerResources.js +2 -7
  81. package/dist/browser/operationsInterfaces/connectedPartnerResources.js.map +1 -1
  82. package/dist/browser/operationsInterfaces/index.d.ts +2 -1
  83. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  84. package/dist/browser/operationsInterfaces/index.js +6 -8
  85. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  86. package/dist/browser/operationsInterfaces/monitoredSubscriptions.d.ts +13 -13
  87. package/dist/browser/operationsInterfaces/monitoredSubscriptions.d.ts.map +1 -1
  88. package/dist/browser/operationsInterfaces/monitoredSubscriptions.js +2 -7
  89. package/dist/browser/operationsInterfaces/monitoredSubscriptions.js.map +1 -1
  90. package/dist/browser/operationsInterfaces/monitors.d.ts +90 -27
  91. package/dist/browser/operationsInterfaces/monitors.d.ts.map +1 -1
  92. package/dist/browser/operationsInterfaces/monitors.js +2 -7
  93. package/dist/browser/operationsInterfaces/monitors.js.map +1 -1
  94. package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
  95. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  96. package/dist/browser/operationsInterfaces/operations.js +2 -7
  97. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  98. package/dist/browser/operationsInterfaces/organizations.d.ts +4 -3
  99. package/dist/browser/operationsInterfaces/organizations.d.ts.map +1 -1
  100. package/dist/browser/operationsInterfaces/organizations.js +2 -7
  101. package/dist/browser/operationsInterfaces/organizations.js.map +1 -1
  102. package/dist/browser/operationsInterfaces/plans.d.ts +3 -3
  103. package/dist/browser/operationsInterfaces/plans.d.ts.map +1 -1
  104. package/dist/browser/operationsInterfaces/plans.js +2 -7
  105. package/dist/browser/operationsInterfaces/plans.js.map +1 -1
  106. package/dist/browser/operationsInterfaces/saaS.d.ts +11 -0
  107. package/dist/browser/operationsInterfaces/saaS.d.ts.map +1 -0
  108. package/dist/browser/operationsInterfaces/saaS.js +4 -0
  109. package/dist/browser/operationsInterfaces/saaS.js.map +1 -0
  110. package/dist/browser/operationsInterfaces/tagRules.d.ts +21 -14
  111. package/dist/browser/operationsInterfaces/tagRules.d.ts.map +1 -1
  112. package/dist/browser/operationsInterfaces/tagRules.js +2 -7
  113. package/dist/browser/operationsInterfaces/tagRules.js.map +1 -1
  114. package/dist/browser/pagingHelper.d.ts.map +1 -1
  115. package/dist/browser/pagingHelper.js +2 -7
  116. package/dist/browser/pagingHelper.js.map +1 -1
  117. package/dist/commonjs/index.d.ts.map +1 -1
  118. package/dist/commonjs/index.js +4 -7
  119. package/dist/commonjs/index.js.map +1 -1
  120. package/dist/commonjs/lroImpl.d.ts +1 -1
  121. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  122. package/dist/commonjs/lroImpl.js +2 -0
  123. package/dist/commonjs/lroImpl.js.map +1 -1
  124. package/dist/commonjs/models/index.d.ts +352 -282
  125. package/dist/commonjs/models/index.d.ts.map +1 -1
  126. package/dist/commonjs/models/index.js +28 -43
  127. package/dist/commonjs/models/index.js.map +1 -1
  128. package/dist/commonjs/models/mappers.d.ts +26 -23
  129. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  130. package/dist/commonjs/models/mappers.js +497 -333
  131. package/dist/commonjs/models/mappers.js.map +1 -1
  132. package/dist/commonjs/models/parameters.d.ts +9 -7
  133. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  134. package/dist/commonjs/models/parameters.js +50 -53
  135. package/dist/commonjs/models/parameters.js.map +1 -1
  136. package/dist/commonjs/newRelicObservability.d.ts +5 -4
  137. package/dist/commonjs/newRelicObservability.d.ts.map +1 -1
  138. package/dist/commonjs/newRelicObservability.js +12 -15
  139. package/dist/commonjs/newRelicObservability.js.map +1 -1
  140. package/dist/commonjs/operations/accounts.d.ts +8 -6
  141. package/dist/commonjs/operations/accounts.d.ts.map +1 -1
  142. package/dist/commonjs/operations/accounts.js +10 -21
  143. package/dist/commonjs/operations/accounts.js.map +1 -1
  144. package/dist/commonjs/operations/billingInfo.d.ts +4 -4
  145. package/dist/commonjs/operations/billingInfo.d.ts.map +1 -1
  146. package/dist/commonjs/operations/billingInfo.js +4 -9
  147. package/dist/commonjs/operations/billingInfo.js.map +1 -1
  148. package/dist/commonjs/operations/connectedPartnerResources.d.ts +6 -8
  149. package/dist/commonjs/operations/connectedPartnerResources.d.ts.map +1 -1
  150. package/dist/commonjs/operations/connectedPartnerResources.js +9 -16
  151. package/dist/commonjs/operations/connectedPartnerResources.js.map +1 -1
  152. package/dist/commonjs/operations/index.d.ts +2 -1
  153. package/dist/commonjs/operations/index.d.ts.map +1 -1
  154. package/dist/commonjs/operations/index.js +6 -8
  155. package/dist/commonjs/operations/index.js.map +1 -1
  156. package/dist/commonjs/operations/monitoredSubscriptions.d.ts +16 -16
  157. package/dist/commonjs/operations/monitoredSubscriptions.d.ts.map +1 -1
  158. package/dist/commonjs/operations/monitoredSubscriptions.js +29 -31
  159. package/dist/commonjs/operations/monitoredSubscriptions.js.map +1 -1
  160. package/dist/commonjs/operations/monitors.d.ts +117 -51
  161. package/dist/commonjs/operations/monitors.d.ts.map +1 -1
  162. package/dist/commonjs/operations/monitors.js +411 -116
  163. package/dist/commonjs/operations/monitors.js.map +1 -1
  164. package/dist/commonjs/operations/operations.d.ts +4 -4
  165. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  166. package/dist/commonjs/operations/operations.js +4 -9
  167. package/dist/commonjs/operations/operations.js.map +1 -1
  168. package/dist/commonjs/operations/organizations.d.ts +8 -6
  169. package/dist/commonjs/operations/organizations.d.ts.map +1 -1
  170. package/dist/commonjs/operations/organizations.js +10 -21
  171. package/dist/commonjs/operations/organizations.js.map +1 -1
  172. package/dist/commonjs/operations/plans.d.ts +6 -6
  173. package/dist/commonjs/operations/plans.d.ts.map +1 -1
  174. package/dist/commonjs/operations/plans.js +8 -21
  175. package/dist/commonjs/operations/plans.js.map +1 -1
  176. package/dist/commonjs/operations/saaS.d.ts +19 -0
  177. package/dist/commonjs/operations/saaS.d.ts.map +1 -0
  178. package/dist/commonjs/operations/saaS.js +50 -0
  179. package/dist/commonjs/operations/saaS.js.map +1 -0
  180. package/dist/commonjs/operations/tagRules.d.ts +25 -17
  181. package/dist/commonjs/operations/tagRules.d.ts.map +1 -1
  182. package/dist/commonjs/operations/tagRules.js +45 -42
  183. package/dist/commonjs/operations/tagRules.js.map +1 -1
  184. package/dist/commonjs/operationsInterfaces/accounts.d.ts +4 -3
  185. package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -1
  186. package/dist/commonjs/operationsInterfaces/accounts.js +2 -7
  187. package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -1
  188. package/dist/commonjs/operationsInterfaces/billingInfo.d.ts +2 -2
  189. package/dist/commonjs/operationsInterfaces/billingInfo.d.ts.map +1 -1
  190. package/dist/commonjs/operationsInterfaces/billingInfo.js +2 -7
  191. package/dist/commonjs/operationsInterfaces/billingInfo.js.map +1 -1
  192. package/dist/commonjs/operationsInterfaces/connectedPartnerResources.d.ts +3 -4
  193. package/dist/commonjs/operationsInterfaces/connectedPartnerResources.d.ts.map +1 -1
  194. package/dist/commonjs/operationsInterfaces/connectedPartnerResources.js +2 -7
  195. package/dist/commonjs/operationsInterfaces/connectedPartnerResources.js.map +1 -1
  196. package/dist/commonjs/operationsInterfaces/index.d.ts +2 -1
  197. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  198. package/dist/commonjs/operationsInterfaces/index.js +6 -8
  199. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  200. package/dist/commonjs/operationsInterfaces/monitoredSubscriptions.d.ts +13 -13
  201. package/dist/commonjs/operationsInterfaces/monitoredSubscriptions.d.ts.map +1 -1
  202. package/dist/commonjs/operationsInterfaces/monitoredSubscriptions.js +2 -7
  203. package/dist/commonjs/operationsInterfaces/monitoredSubscriptions.js.map +1 -1
  204. package/dist/commonjs/operationsInterfaces/monitors.d.ts +90 -27
  205. package/dist/commonjs/operationsInterfaces/monitors.d.ts.map +1 -1
  206. package/dist/commonjs/operationsInterfaces/monitors.js +2 -7
  207. package/dist/commonjs/operationsInterfaces/monitors.js.map +1 -1
  208. package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
  209. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  210. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  211. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  212. package/dist/commonjs/operationsInterfaces/organizations.d.ts +4 -3
  213. package/dist/commonjs/operationsInterfaces/organizations.d.ts.map +1 -1
  214. package/dist/commonjs/operationsInterfaces/organizations.js +2 -7
  215. package/dist/commonjs/operationsInterfaces/organizations.js.map +1 -1
  216. package/dist/commonjs/operationsInterfaces/plans.d.ts +3 -3
  217. package/dist/commonjs/operationsInterfaces/plans.d.ts.map +1 -1
  218. package/dist/commonjs/operationsInterfaces/plans.js +2 -7
  219. package/dist/commonjs/operationsInterfaces/plans.js.map +1 -1
  220. package/dist/commonjs/operationsInterfaces/saaS.d.ts +11 -0
  221. package/dist/commonjs/operationsInterfaces/saaS.d.ts.map +1 -0
  222. package/dist/commonjs/operationsInterfaces/saaS.js +5 -0
  223. package/dist/commonjs/operationsInterfaces/saaS.js.map +1 -0
  224. package/dist/commonjs/operationsInterfaces/tagRules.d.ts +21 -14
  225. package/dist/commonjs/operationsInterfaces/tagRules.d.ts.map +1 -1
  226. package/dist/commonjs/operationsInterfaces/tagRules.js +2 -7
  227. package/dist/commonjs/operationsInterfaces/tagRules.js.map +1 -1
  228. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  229. package/dist/commonjs/pagingHelper.js +2 -7
  230. package/dist/commonjs/pagingHelper.js.map +1 -1
  231. package/dist/commonjs/tsdoc-metadata.json +1 -1
  232. package/dist/esm/index.d.ts.map +1 -1
  233. package/dist/esm/index.js +4 -7
  234. package/dist/esm/index.js.map +1 -1
  235. package/dist/esm/lroImpl.d.ts +1 -1
  236. package/dist/esm/lroImpl.d.ts.map +1 -1
  237. package/dist/esm/lroImpl.js +2 -0
  238. package/dist/esm/lroImpl.js.map +1 -1
  239. package/dist/esm/models/index.d.ts +352 -282
  240. package/dist/esm/models/index.d.ts.map +1 -1
  241. package/dist/esm/models/index.js +27 -42
  242. package/dist/esm/models/index.js.map +1 -1
  243. package/dist/esm/models/mappers.d.ts +26 -23
  244. package/dist/esm/models/mappers.d.ts.map +1 -1
  245. package/dist/esm/models/mappers.js +495 -331
  246. package/dist/esm/models/mappers.js.map +1 -1
  247. package/dist/esm/models/parameters.d.ts +9 -7
  248. package/dist/esm/models/parameters.d.ts.map +1 -1
  249. package/dist/esm/models/parameters.js +50 -53
  250. package/dist/esm/models/parameters.js.map +1 -1
  251. package/dist/esm/newRelicObservability.d.ts +5 -4
  252. package/dist/esm/newRelicObservability.d.ts.map +1 -1
  253. package/dist/esm/newRelicObservability.js +13 -16
  254. package/dist/esm/newRelicObservability.js.map +1 -1
  255. package/dist/esm/operations/accounts.d.ts +8 -6
  256. package/dist/esm/operations/accounts.d.ts.map +1 -1
  257. package/dist/esm/operations/accounts.js +10 -21
  258. package/dist/esm/operations/accounts.js.map +1 -1
  259. package/dist/esm/operations/billingInfo.d.ts +4 -4
  260. package/dist/esm/operations/billingInfo.d.ts.map +1 -1
  261. package/dist/esm/operations/billingInfo.js +4 -9
  262. package/dist/esm/operations/billingInfo.js.map +1 -1
  263. package/dist/esm/operations/connectedPartnerResources.d.ts +6 -8
  264. package/dist/esm/operations/connectedPartnerResources.d.ts.map +1 -1
  265. package/dist/esm/operations/connectedPartnerResources.js +9 -16
  266. package/dist/esm/operations/connectedPartnerResources.js.map +1 -1
  267. package/dist/esm/operations/index.d.ts +2 -1
  268. package/dist/esm/operations/index.d.ts.map +1 -1
  269. package/dist/esm/operations/index.js +6 -8
  270. package/dist/esm/operations/index.js.map +1 -1
  271. package/dist/esm/operations/monitoredSubscriptions.d.ts +16 -16
  272. package/dist/esm/operations/monitoredSubscriptions.d.ts.map +1 -1
  273. package/dist/esm/operations/monitoredSubscriptions.js +30 -32
  274. package/dist/esm/operations/monitoredSubscriptions.js.map +1 -1
  275. package/dist/esm/operations/monitors.d.ts +117 -51
  276. package/dist/esm/operations/monitors.d.ts.map +1 -1
  277. package/dist/esm/operations/monitors.js +412 -117
  278. package/dist/esm/operations/monitors.js.map +1 -1
  279. package/dist/esm/operations/operations.d.ts +4 -4
  280. package/dist/esm/operations/operations.d.ts.map +1 -1
  281. package/dist/esm/operations/operations.js +4 -9
  282. package/dist/esm/operations/operations.js.map +1 -1
  283. package/dist/esm/operations/organizations.d.ts +8 -6
  284. package/dist/esm/operations/organizations.d.ts.map +1 -1
  285. package/dist/esm/operations/organizations.js +10 -21
  286. package/dist/esm/operations/organizations.js.map +1 -1
  287. package/dist/esm/operations/plans.d.ts +6 -6
  288. package/dist/esm/operations/plans.d.ts.map +1 -1
  289. package/dist/esm/operations/plans.js +8 -21
  290. package/dist/esm/operations/plans.js.map +1 -1
  291. package/dist/esm/operations/saaS.d.ts +19 -0
  292. package/dist/esm/operations/saaS.d.ts.map +1 -0
  293. package/dist/esm/operations/saaS.js +45 -0
  294. package/dist/esm/operations/saaS.js.map +1 -0
  295. package/dist/esm/operations/tagRules.d.ts +25 -17
  296. package/dist/esm/operations/tagRules.d.ts.map +1 -1
  297. package/dist/esm/operations/tagRules.js +46 -43
  298. package/dist/esm/operations/tagRules.js.map +1 -1
  299. package/dist/esm/operationsInterfaces/accounts.d.ts +4 -3
  300. package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -1
  301. package/dist/esm/operationsInterfaces/accounts.js +2 -7
  302. package/dist/esm/operationsInterfaces/accounts.js.map +1 -1
  303. package/dist/esm/operationsInterfaces/billingInfo.d.ts +2 -2
  304. package/dist/esm/operationsInterfaces/billingInfo.d.ts.map +1 -1
  305. package/dist/esm/operationsInterfaces/billingInfo.js +2 -7
  306. package/dist/esm/operationsInterfaces/billingInfo.js.map +1 -1
  307. package/dist/esm/operationsInterfaces/connectedPartnerResources.d.ts +3 -4
  308. package/dist/esm/operationsInterfaces/connectedPartnerResources.d.ts.map +1 -1
  309. package/dist/esm/operationsInterfaces/connectedPartnerResources.js +2 -7
  310. package/dist/esm/operationsInterfaces/connectedPartnerResources.js.map +1 -1
  311. package/dist/esm/operationsInterfaces/index.d.ts +2 -1
  312. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  313. package/dist/esm/operationsInterfaces/index.js +6 -8
  314. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  315. package/dist/esm/operationsInterfaces/monitoredSubscriptions.d.ts +13 -13
  316. package/dist/esm/operationsInterfaces/monitoredSubscriptions.d.ts.map +1 -1
  317. package/dist/esm/operationsInterfaces/monitoredSubscriptions.js +2 -7
  318. package/dist/esm/operationsInterfaces/monitoredSubscriptions.js.map +1 -1
  319. package/dist/esm/operationsInterfaces/monitors.d.ts +90 -27
  320. package/dist/esm/operationsInterfaces/monitors.d.ts.map +1 -1
  321. package/dist/esm/operationsInterfaces/monitors.js +2 -7
  322. package/dist/esm/operationsInterfaces/monitors.js.map +1 -1
  323. package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
  324. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  325. package/dist/esm/operationsInterfaces/operations.js +2 -7
  326. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  327. package/dist/esm/operationsInterfaces/organizations.d.ts +4 -3
  328. package/dist/esm/operationsInterfaces/organizations.d.ts.map +1 -1
  329. package/dist/esm/operationsInterfaces/organizations.js +2 -7
  330. package/dist/esm/operationsInterfaces/organizations.js.map +1 -1
  331. package/dist/esm/operationsInterfaces/plans.d.ts +3 -3
  332. package/dist/esm/operationsInterfaces/plans.d.ts.map +1 -1
  333. package/dist/esm/operationsInterfaces/plans.js +2 -7
  334. package/dist/esm/operationsInterfaces/plans.js.map +1 -1
  335. package/dist/esm/operationsInterfaces/saaS.d.ts +11 -0
  336. package/dist/esm/operationsInterfaces/saaS.d.ts.map +1 -0
  337. package/dist/esm/operationsInterfaces/saaS.js +4 -0
  338. package/dist/esm/operationsInterfaces/saaS.js.map +1 -0
  339. package/dist/esm/operationsInterfaces/tagRules.d.ts +21 -14
  340. package/dist/esm/operationsInterfaces/tagRules.d.ts.map +1 -1
  341. package/dist/esm/operationsInterfaces/tagRules.js +2 -7
  342. package/dist/esm/operationsInterfaces/tagRules.js.map +1 -1
  343. package/dist/esm/pagingHelper.d.ts.map +1 -1
  344. package/dist/esm/pagingHelper.js +2 -7
  345. package/dist/esm/pagingHelper.js.map +1 -1
  346. package/dist/react-native/index.d.ts.map +1 -1
  347. package/dist/react-native/index.js +4 -7
  348. package/dist/react-native/index.js.map +1 -1
  349. package/dist/react-native/lroImpl.d.ts +1 -1
  350. package/dist/react-native/lroImpl.d.ts.map +1 -1
  351. package/dist/react-native/lroImpl.js +2 -0
  352. package/dist/react-native/lroImpl.js.map +1 -1
  353. package/dist/react-native/models/index.d.ts +352 -282
  354. package/dist/react-native/models/index.d.ts.map +1 -1
  355. package/dist/react-native/models/index.js +27 -42
  356. package/dist/react-native/models/index.js.map +1 -1
  357. package/dist/react-native/models/mappers.d.ts +26 -23
  358. package/dist/react-native/models/mappers.d.ts.map +1 -1
  359. package/dist/react-native/models/mappers.js +495 -331
  360. package/dist/react-native/models/mappers.js.map +1 -1
  361. package/dist/react-native/models/parameters.d.ts +9 -7
  362. package/dist/react-native/models/parameters.d.ts.map +1 -1
  363. package/dist/react-native/models/parameters.js +50 -53
  364. package/dist/react-native/models/parameters.js.map +1 -1
  365. package/dist/react-native/newRelicObservability.d.ts +5 -4
  366. package/dist/react-native/newRelicObservability.d.ts.map +1 -1
  367. package/dist/react-native/newRelicObservability.js +13 -16
  368. package/dist/react-native/newRelicObservability.js.map +1 -1
  369. package/dist/react-native/operations/accounts.d.ts +8 -6
  370. package/dist/react-native/operations/accounts.d.ts.map +1 -1
  371. package/dist/react-native/operations/accounts.js +10 -21
  372. package/dist/react-native/operations/accounts.js.map +1 -1
  373. package/dist/react-native/operations/billingInfo.d.ts +4 -4
  374. package/dist/react-native/operations/billingInfo.d.ts.map +1 -1
  375. package/dist/react-native/operations/billingInfo.js +4 -9
  376. package/dist/react-native/operations/billingInfo.js.map +1 -1
  377. package/dist/react-native/operations/connectedPartnerResources.d.ts +6 -8
  378. package/dist/react-native/operations/connectedPartnerResources.d.ts.map +1 -1
  379. package/dist/react-native/operations/connectedPartnerResources.js +9 -16
  380. package/dist/react-native/operations/connectedPartnerResources.js.map +1 -1
  381. package/dist/react-native/operations/index.d.ts +2 -1
  382. package/dist/react-native/operations/index.d.ts.map +1 -1
  383. package/dist/react-native/operations/index.js +6 -8
  384. package/dist/react-native/operations/index.js.map +1 -1
  385. package/dist/react-native/operations/monitoredSubscriptions.d.ts +16 -16
  386. package/dist/react-native/operations/monitoredSubscriptions.d.ts.map +1 -1
  387. package/dist/react-native/operations/monitoredSubscriptions.js +30 -32
  388. package/dist/react-native/operations/monitoredSubscriptions.js.map +1 -1
  389. package/dist/react-native/operations/monitors.d.ts +117 -51
  390. package/dist/react-native/operations/monitors.d.ts.map +1 -1
  391. package/dist/react-native/operations/monitors.js +412 -117
  392. package/dist/react-native/operations/monitors.js.map +1 -1
  393. package/dist/react-native/operations/operations.d.ts +4 -4
  394. package/dist/react-native/operations/operations.d.ts.map +1 -1
  395. package/dist/react-native/operations/operations.js +4 -9
  396. package/dist/react-native/operations/operations.js.map +1 -1
  397. package/dist/react-native/operations/organizations.d.ts +8 -6
  398. package/dist/react-native/operations/organizations.d.ts.map +1 -1
  399. package/dist/react-native/operations/organizations.js +10 -21
  400. package/dist/react-native/operations/organizations.js.map +1 -1
  401. package/dist/react-native/operations/plans.d.ts +6 -6
  402. package/dist/react-native/operations/plans.d.ts.map +1 -1
  403. package/dist/react-native/operations/plans.js +8 -21
  404. package/dist/react-native/operations/plans.js.map +1 -1
  405. package/dist/react-native/operations/saaS.d.ts +19 -0
  406. package/dist/react-native/operations/saaS.d.ts.map +1 -0
  407. package/dist/react-native/operations/saaS.js +45 -0
  408. package/dist/react-native/operations/saaS.js.map +1 -0
  409. package/dist/react-native/operations/tagRules.d.ts +25 -17
  410. package/dist/react-native/operations/tagRules.d.ts.map +1 -1
  411. package/dist/react-native/operations/tagRules.js +46 -43
  412. package/dist/react-native/operations/tagRules.js.map +1 -1
  413. package/dist/react-native/operationsInterfaces/accounts.d.ts +4 -3
  414. package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -1
  415. package/dist/react-native/operationsInterfaces/accounts.js +2 -7
  416. package/dist/react-native/operationsInterfaces/accounts.js.map +1 -1
  417. package/dist/react-native/operationsInterfaces/billingInfo.d.ts +2 -2
  418. package/dist/react-native/operationsInterfaces/billingInfo.d.ts.map +1 -1
  419. package/dist/react-native/operationsInterfaces/billingInfo.js +2 -7
  420. package/dist/react-native/operationsInterfaces/billingInfo.js.map +1 -1
  421. package/dist/react-native/operationsInterfaces/connectedPartnerResources.d.ts +3 -4
  422. package/dist/react-native/operationsInterfaces/connectedPartnerResources.d.ts.map +1 -1
  423. package/dist/react-native/operationsInterfaces/connectedPartnerResources.js +2 -7
  424. package/dist/react-native/operationsInterfaces/connectedPartnerResources.js.map +1 -1
  425. package/dist/react-native/operationsInterfaces/index.d.ts +2 -1
  426. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  427. package/dist/react-native/operationsInterfaces/index.js +6 -8
  428. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  429. package/dist/react-native/operationsInterfaces/monitoredSubscriptions.d.ts +13 -13
  430. package/dist/react-native/operationsInterfaces/monitoredSubscriptions.d.ts.map +1 -1
  431. package/dist/react-native/operationsInterfaces/monitoredSubscriptions.js +2 -7
  432. package/dist/react-native/operationsInterfaces/monitoredSubscriptions.js.map +1 -1
  433. package/dist/react-native/operationsInterfaces/monitors.d.ts +90 -27
  434. package/dist/react-native/operationsInterfaces/monitors.d.ts.map +1 -1
  435. package/dist/react-native/operationsInterfaces/monitors.js +2 -7
  436. package/dist/react-native/operationsInterfaces/monitors.js.map +1 -1
  437. package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
  438. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  439. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  440. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  441. package/dist/react-native/operationsInterfaces/organizations.d.ts +4 -3
  442. package/dist/react-native/operationsInterfaces/organizations.d.ts.map +1 -1
  443. package/dist/react-native/operationsInterfaces/organizations.js +2 -7
  444. package/dist/react-native/operationsInterfaces/organizations.js.map +1 -1
  445. package/dist/react-native/operationsInterfaces/plans.d.ts +3 -3
  446. package/dist/react-native/operationsInterfaces/plans.d.ts.map +1 -1
  447. package/dist/react-native/operationsInterfaces/plans.js +2 -7
  448. package/dist/react-native/operationsInterfaces/plans.js.map +1 -1
  449. package/dist/react-native/operationsInterfaces/saaS.d.ts +11 -0
  450. package/dist/react-native/operationsInterfaces/saaS.d.ts.map +1 -0
  451. package/dist/react-native/operationsInterfaces/saaS.js +4 -0
  452. package/dist/react-native/operationsInterfaces/saaS.js.map +1 -0
  453. package/dist/react-native/operationsInterfaces/tagRules.d.ts +21 -14
  454. package/dist/react-native/operationsInterfaces/tagRules.d.ts.map +1 -1
  455. package/dist/react-native/operationsInterfaces/tagRules.js +2 -7
  456. package/dist/react-native/operationsInterfaces/tagRules.js.map +1 -1
  457. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  458. package/dist/react-native/pagingHelper.js +2 -7
  459. package/dist/react-native/pagingHelper.js.map +1 -1
  460. package/package.json +38 -37
  461. package/CHANGELOG.md +0 -76
  462. package/review/arm-newrelicobservability-node.api.md +0 -1160
@@ -1 +1 @@
1
- {"version":3,"file":"tagRules.js","sourceRoot":"","sources":["../../../src/operations/tagRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAiB9C,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IACN,MAAM,CAAwB;IAE/C;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,6BAA6B,CAClC,iBAAyB,EACzB,WAAmB,EACnB,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,sCAAsC,CACtD,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,uCAAuC,CACjD,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CA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;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { TagRules } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { NewRelicObservability } from \"../newRelicObservability.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n TagRule,\n TagRulesListByNewRelicMonitorResourceNextOptionalParams,\n TagRulesListByNewRelicMonitorResourceOptionalParams,\n TagRulesListByNewRelicMonitorResourceResponse,\n TagRulesGetOptionalParams,\n TagRulesGetResponse,\n TagRulesCreateOrUpdateOptionalParams,\n TagRulesCreateOrUpdateResponse,\n TagRulesDeleteOptionalParams,\n TagRuleUpdate,\n TagRulesUpdateOptionalParams,\n TagRulesUpdateResponse,\n TagRulesListByNewRelicMonitorResourceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TagRules operations. */\nexport class TagRulesImpl implements TagRules {\n private readonly client: NewRelicObservability;\n\n /**\n * Initialize a new instance of the class TagRules class.\n * @param client Reference to the service client\n */\n constructor(client: NewRelicObservability) {\n this.client = client;\n }\n\n /**\n * List TagRule resources by NewRelicMonitorResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n public listByNewRelicMonitorResource(\n resourceGroupName: string,\n monitorName: string,\n options?: TagRulesListByNewRelicMonitorResourceOptionalParams,\n ): PagedAsyncIterableIterator<TagRule> {\n const iter = this.listByNewRelicMonitorResourcePagingAll(\n resourceGroupName,\n monitorName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByNewRelicMonitorResourcePagingPage(\n resourceGroupName,\n monitorName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByNewRelicMonitorResourcePagingPage(\n resourceGroupName: string,\n monitorName: string,\n options?: TagRulesListByNewRelicMonitorResourceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<TagRule[]> {\n let result: TagRulesListByNewRelicMonitorResourceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByNewRelicMonitorResource(\n resourceGroupName,\n monitorName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByNewRelicMonitorResourceNext(\n resourceGroupName,\n monitorName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByNewRelicMonitorResourcePagingAll(\n resourceGroupName: string,\n monitorName: string,\n options?: TagRulesListByNewRelicMonitorResourceOptionalParams,\n ): AsyncIterableIterator<TagRule> {\n for await (const page of this.listByNewRelicMonitorResourcePagingPage(\n resourceGroupName,\n monitorName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List TagRule resources by NewRelicMonitorResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n private _listByNewRelicMonitorResource(\n resourceGroupName: string,\n monitorName: string,\n options?: TagRulesListByNewRelicMonitorResourceOptionalParams,\n ): Promise<TagRulesListByNewRelicMonitorResourceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, options },\n listByNewRelicMonitorResourceOperationSpec,\n );\n }\n\n /**\n * Get a TagRule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n options?: TagRulesGetOptionalParams,\n ): Promise<TagRulesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, ruleSetName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create a TagRule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n resource: TagRule,\n options?: TagRulesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TagRulesCreateOrUpdateResponse>,\n TagRulesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TagRulesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, monitorName, ruleSetName, resource, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n TagRulesCreateOrUpdateResponse,\n OperationState<TagRulesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a TagRule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n resource: TagRule,\n options?: TagRulesCreateOrUpdateOptionalParams,\n ): Promise<TagRulesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n monitorName,\n ruleSetName,\n resource,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a TagRule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n options?: TagRulesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, monitorName, ruleSetName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a TagRule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n options?: TagRulesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n monitorName,\n ruleSetName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update a TagRule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param properties The resource properties to be updated.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n properties: TagRuleUpdate,\n options?: TagRulesUpdateOptionalParams,\n ): Promise<TagRulesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, ruleSetName, properties, options },\n updateOperationSpec,\n );\n }\n\n /**\n * ListByNewRelicMonitorResourceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param nextLink The nextLink from the previous successful call to the ListByNewRelicMonitorResource\n * method.\n * @param options The options parameters.\n */\n private _listByNewRelicMonitorResourceNext(\n resourceGroupName: string,\n monitorName: string,\n nextLink: string,\n options?: TagRulesListByNewRelicMonitorResourceNextOptionalParams,\n ): Promise<TagRulesListByNewRelicMonitorResourceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, nextLink, options },\n listByNewRelicMonitorResourceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByNewRelicMonitorResourceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TagRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TagRule,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n Parameters.ruleSetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TagRule,\n },\n 201: {\n bodyMapper: Mappers.TagRule,\n },\n 202: {\n bodyMapper: Mappers.TagRule,\n },\n 204: {\n bodyMapper: Mappers.TagRule,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.resource1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n Parameters.ruleSetName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n Parameters.ruleSetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.TagRule,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n Parameters.ruleSetName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByNewRelicMonitorResourceNextOperationSpec: coreClient.OperationSpec =\n {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TagRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n };\n"]}
1
+ {"version":3,"file":"tagRules.js","sourceRoot":"","sources":["../../../src/operations/tagRules.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAiB9C,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IACN,MAAM,CAAwB;IAE/C;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,6BAA6B,CAClC,iBAAyB,EACzB,WAAmB,EACnB,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,sCAAsC,CACtD,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CA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E,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { TagRules } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { NewRelicObservability } from \"../newRelicObservability.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n TagRule,\n TagRulesListByNewRelicMonitorResourceNextOptionalParams,\n TagRulesListByNewRelicMonitorResourceOptionalParams,\n TagRulesListByNewRelicMonitorResourceResponse,\n TagRulesGetOptionalParams,\n TagRulesGetResponse,\n TagRulesCreateOrUpdateOptionalParams,\n TagRulesCreateOrUpdateResponse,\n TagRuleUpdate,\n TagRulesUpdateOptionalParams,\n TagRulesUpdateResponse,\n TagRulesDeleteOptionalParams,\n TagRulesListByNewRelicMonitorResourceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TagRules operations. */\nexport class TagRulesImpl implements TagRules {\n private readonly client: NewRelicObservability;\n\n /**\n * Initialize a new instance of the class TagRules class.\n * @param client Reference to the service client\n */\n constructor(client: NewRelicObservability) {\n this.client = client;\n }\n\n /**\n * Lists all tag rules associated with a specific New Relic monitor resource, helping you manage and\n * audit the rules that control resource monitoring\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n public listByNewRelicMonitorResource(\n resourceGroupName: string,\n monitorName: string,\n options?: TagRulesListByNewRelicMonitorResourceOptionalParams,\n ): PagedAsyncIterableIterator<TagRule> {\n const iter = this.listByNewRelicMonitorResourcePagingAll(\n resourceGroupName,\n monitorName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByNewRelicMonitorResourcePagingPage(\n resourceGroupName,\n monitorName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByNewRelicMonitorResourcePagingPage(\n resourceGroupName: string,\n monitorName: string,\n options?: TagRulesListByNewRelicMonitorResourceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<TagRule[]> {\n let result: TagRulesListByNewRelicMonitorResourceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByNewRelicMonitorResource(resourceGroupName, monitorName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByNewRelicMonitorResourceNext(\n resourceGroupName,\n monitorName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByNewRelicMonitorResourcePagingAll(\n resourceGroupName: string,\n monitorName: string,\n options?: TagRulesListByNewRelicMonitorResourceOptionalParams,\n ): AsyncIterableIterator<TagRule> {\n for await (const page of this.listByNewRelicMonitorResourcePagingPage(\n resourceGroupName,\n monitorName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all tag rules associated with a specific New Relic monitor resource, helping you manage and\n * audit the rules that control resource monitoring\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n private _listByNewRelicMonitorResource(\n resourceGroupName: string,\n monitorName: string,\n options?: TagRulesListByNewRelicMonitorResourceOptionalParams,\n ): Promise<TagRulesListByNewRelicMonitorResourceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, options },\n listByNewRelicMonitorResourceOperationSpec,\n );\n }\n\n /**\n * Retrieves the details of the tag rules for a specific New Relic monitor resource, providing insight\n * into its setup and status\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n options?: TagRulesGetOptionalParams,\n ): Promise<TagRulesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, ruleSetName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a new set of tag rules for a specific New Relic monitor resource, determining which Azure\n * resources are monitored based on their tags\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n resource: TagRule,\n options?: TagRulesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<TagRulesCreateOrUpdateResponse>, TagRulesCreateOrUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TagRulesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, monitorName, ruleSetName, resource, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n TagRulesCreateOrUpdateResponse,\n OperationState<TagRulesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new set of tag rules for a specific New Relic monitor resource, determining which Azure\n * resources are monitored based on their tags\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n resource: TagRule,\n options?: TagRulesCreateOrUpdateOptionalParams,\n ): Promise<TagRulesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n monitorName,\n ruleSetName,\n resource,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the tag rules for a specific New Relic monitor resource, allowing you to modify the rules\n * that control which Azure resources are monitored\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param properties The resource properties to be updated.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n properties: TagRuleUpdate,\n options?: TagRulesUpdateOptionalParams,\n ): Promise<TagRulesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, ruleSetName, properties, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes a tag rule set for a given New Relic monitor resource, removing fine-grained control over\n * observability based on resource tags\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n options?: TagRulesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, monitorName, ruleSetName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a tag rule set for a given New Relic monitor resource, removing fine-grained control over\n * observability based on resource tags\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param ruleSetName Name of the TagRule\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n monitorName: string,\n ruleSetName: string,\n options?: TagRulesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, monitorName, ruleSetName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * ListByNewRelicMonitorResourceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param nextLink The nextLink from the previous successful call to the ListByNewRelicMonitorResource\n * method.\n * @param options The options parameters.\n */\n private _listByNewRelicMonitorResourceNext(\n resourceGroupName: string,\n monitorName: string,\n nextLink: string,\n options?: TagRulesListByNewRelicMonitorResourceNextOptionalParams,\n ): Promise<TagRulesListByNewRelicMonitorResourceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, nextLink, options },\n listByNewRelicMonitorResourceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByNewRelicMonitorResourceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TagRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TagRule,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n Parameters.ruleSetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TagRule,\n },\n 201: {\n bodyMapper: Mappers.TagRule,\n },\n 202: {\n bodyMapper: Mappers.TagRule,\n },\n 204: {\n bodyMapper: Mappers.TagRule,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.resource1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n Parameters.ruleSetName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.TagRule,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n Parameters.ruleSetName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n Parameters.ruleSetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByNewRelicMonitorResourceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TagRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,9 +1,10 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { AccountResource, AccountsListOptionalParams } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { AccountResource, AccountsListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Accounts. */
4
4
  export interface Accounts {
5
5
  /**
6
- * List all the existing accounts
6
+ * Lists all the New Relic accounts linked to your email address, helping you understand the existing
7
+ * accounts that have been created
7
8
  * @param userEmail User Email.
8
9
  * @param location Location for NewRelic.
9
10
  * @param options The options parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGjF,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,IAAI,CACF,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,eAAe,CAAC,CAAC;CAChD"}
1
+ {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGtF,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;;OAMG;IACH,IAAI,CACF,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,eAAe,CAAC,CAAC;CAChD"}
@@ -1,9 +1,4 @@
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
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  export {};
9
4
  //# sourceMappingURL=accounts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { AccountResource, AccountsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Accounts. */\nexport interface Accounts {\n /**\n * List all the existing accounts\n * @param userEmail User Email.\n * @param location Location for NewRelic.\n * @param options The options parameters.\n */\n list(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): PagedAsyncIterableIterator<AccountResource>;\n}\n"]}
1
+ {"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { AccountResource, AccountsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Accounts. */\nexport interface Accounts {\n /**\n * Lists all the New Relic accounts linked to your email address, helping you understand the existing\n * accounts that have been created\n * @param userEmail User Email.\n * @param location Location for NewRelic.\n * @param options The options parameters.\n */\n list(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): PagedAsyncIterableIterator<AccountResource>;\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { BillingInfoGetOptionalParams, BillingInfoGetResponse } from "../models/index.js";
1
+ import type { BillingInfoGetOptionalParams, BillingInfoGetResponse } from "../models/index.js";
2
2
  /** Interface representing a BillingInfo. */
3
3
  export interface BillingInfo {
4
4
  /**
5
- * Get marketplace info mapped to the given monitor.
5
+ * A synchronous resource action.
6
6
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
7
7
  * @param monitorName Name of the Monitors resource
8
8
  * @param options The options parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"billingInfo.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/billingInfo.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,4CAA4C;AAC5C,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
1
+ {"version":3,"file":"billingInfo.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/billingInfo.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE/F,4CAA4C;AAC5C,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
@@ -1,9 +1,4 @@
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
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  export {};
9
4
  //# sourceMappingURL=billingInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"billingInfo.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/billingInfo.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n BillingInfoGetOptionalParams,\n BillingInfoGetResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a BillingInfo. */\nexport interface BillingInfo {\n /**\n * Get marketplace info mapped to the given monitor.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n monitorName: string,\n options?: BillingInfoGetOptionalParams,\n ): Promise<BillingInfoGetResponse>;\n}\n"]}
1
+ {"version":3,"file":"billingInfo.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/billingInfo.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { BillingInfoGetOptionalParams, BillingInfoGetResponse } from \"../models/index.js\";\n\n/** Interface representing a BillingInfo. */\nexport interface BillingInfo {\n /**\n * A synchronous resource action.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n monitorName: string,\n options?: BillingInfoGetOptionalParams,\n ): Promise<BillingInfoGetResponse>;\n}\n"]}
@@ -1,10 +1,9 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { ConnectedPartnerResourcesListFormat, ConnectedPartnerResourcesListOptionalParams } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { ConnectedPartnerResourcesListFormat, ConnectedPartnerResourcesListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a ConnectedPartnerResources. */
4
4
  export interface ConnectedPartnerResources {
5
5
  /**
6
- * List of all active deployments that are associated with the marketplace subscription linked to the
7
- * given monitor.
6
+ * A synchronous resource action.
8
7
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
8
  * @param monitorName Name of the Monitors resource
10
9
  * @param options The options parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"connectedPartnerResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/connectedPartnerResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mCAAmC,EACnC,2CAA2C,EAC5C,MAAM,oBAAoB,CAAC;AAG5B,0DAA0D;AAC1D,MAAM,WAAW,yBAAyB;IACxC;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,mCAAmC,CAAC,CAAC;CACpE"}
1
+ {"version":3,"file":"connectedPartnerResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/connectedPartnerResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACV,mCAAmC,EACnC,2CAA2C,EAC5C,MAAM,oBAAoB,CAAC;AAG5B,0DAA0D;AAC1D,MAAM,WAAW,yBAAyB;IACxC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,mCAAmC,CAAC,CAAC;CACpE"}
@@ -1,9 +1,4 @@
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
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  export {};
9
4
  //# sourceMappingURL=connectedPartnerResources.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connectedPartnerResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/connectedPartnerResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n ConnectedPartnerResourcesListFormat,\n ConnectedPartnerResourcesListOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ConnectedPartnerResources. */\nexport interface ConnectedPartnerResources {\n /**\n * List of all active deployments that are associated with the marketplace subscription linked to the\n * given monitor.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n monitorName: string,\n options?: ConnectedPartnerResourcesListOptionalParams,\n ): PagedAsyncIterableIterator<ConnectedPartnerResourcesListFormat>;\n}\n"]}
1
+ {"version":3,"file":"connectedPartnerResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/connectedPartnerResources.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type {\n ConnectedPartnerResourcesListFormat,\n ConnectedPartnerResourcesListOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ConnectedPartnerResources. */\nexport interface ConnectedPartnerResources {\n /**\n * A synchronous resource action.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n monitorName: string,\n options?: ConnectedPartnerResourcesListOptionalParams,\n ): PagedAsyncIterableIterator<ConnectedPartnerResourcesListFormat>;\n}\n"]}
@@ -1,10 +1,11 @@
1
1
  export * from "./operations.js";
2
2
  export * from "./accounts.js";
3
+ export * from "./saaS.js";
3
4
  export * from "./monitors.js";
4
5
  export * from "./organizations.js";
5
6
  export * from "./plans.js";
6
7
  export * from "./billingInfo.js";
7
8
  export * from "./connectedPartnerResources.js";
8
- export * from "./tagRules.js";
9
9
  export * from "./monitoredSubscriptions.js";
10
+ export * from "./tagRules.js";
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAMA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC"}
@@ -1,17 +1,15 @@
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
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ // Code generated by Microsoft (R) AutoRest Code Generator.
4
+ // Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
5
  export * from "./operations.js";
9
6
  export * from "./accounts.js";
7
+ export * from "./saaS.js";
10
8
  export * from "./monitors.js";
11
9
  export * from "./organizations.js";
12
10
  export * from "./plans.js";
13
11
  export * from "./billingInfo.js";
14
12
  export * from "./connectedPartnerResources.js";
15
- export * from "./tagRules.js";
16
13
  export * from "./monitoredSubscriptions.js";
14
+ export * from "./tagRules.js";
17
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./accounts.js\";\nexport * from \"./monitors.js\";\nexport * from \"./organizations.js\";\nexport * from \"./plans.js\";\nexport * from \"./billingInfo.js\";\nexport * from \"./connectedPartnerResources.js\";\nexport * from \"./tagRules.js\";\nexport * from \"./monitoredSubscriptions.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nexport * from \"./operations.js\";\nexport * from \"./accounts.js\";\nexport * from \"./saaS.js\";\nexport * from \"./monitors.js\";\nexport * from \"./organizations.js\";\nexport * from \"./plans.js\";\nexport * from \"./billingInfo.js\";\nexport * from \"./connectedPartnerResources.js\";\nexport * from \"./monitoredSubscriptions.js\";\nexport * from \"./tagRules.js\";\n"]}
@@ -1,17 +1,17 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { MonitoredSubscriptionProperties, MonitoredSubscriptionsListOptionalParams, ConfigurationName, MonitoredSubscriptionsGetOptionalParams, MonitoredSubscriptionsGetResponse, MonitoredSubscriptionsCreateorUpdateOptionalParams, MonitoredSubscriptionsCreateorUpdateResponse, MonitoredSubscriptionsUpdateOptionalParams, MonitoredSubscriptionsUpdateResponse, MonitoredSubscriptionsDeleteOptionalParams, MonitoredSubscriptionsDeleteResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import type { MonitoredSubscriptionProperties, MonitoredSubscriptionsListOptionalParams, ConfigurationName, MonitoredSubscriptionsGetOptionalParams, MonitoredSubscriptionsGetResponse, MonitoredSubscriptionsCreateOrUpdateOptionalParams, MonitoredSubscriptionsCreateOrUpdateResponse, MonitoredSubscriptionsUpdateOptionalParams, MonitoredSubscriptionsUpdateResponse, MonitoredSubscriptionsDeleteOptionalParams, MonitoredSubscriptionsDeleteResponse } from "../models/index.js";
4
4
  /** Interface representing a MonitoredSubscriptions. */
5
5
  export interface MonitoredSubscriptions {
6
6
  /**
7
- * List the subscriptions currently being monitored by the NewRelic monitor resource.
7
+ * List MonitoredSubscriptionProperties resources by NewRelicMonitorResource
8
8
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
9
  * @param monitorName Name of the Monitors resource
10
10
  * @param options The options parameters.
11
11
  */
12
12
  list(resourceGroupName: string, monitorName: string, options?: MonitoredSubscriptionsListOptionalParams): PagedAsyncIterableIterator<MonitoredSubscriptionProperties>;
13
13
  /**
14
- * List the subscriptions currently being monitored by the NewRelic monitor resource.
14
+ * Get a MonitoredSubscriptionProperties
15
15
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
16
  * @param monitorName Name of the Monitors resource
17
17
  * @param configurationName The configuration name. Only 'default' value is supported.
@@ -19,23 +19,23 @@ export interface MonitoredSubscriptions {
19
19
  */
20
20
  get(resourceGroupName: string, monitorName: string, configurationName: ConfigurationName, options?: MonitoredSubscriptionsGetOptionalParams): Promise<MonitoredSubscriptionsGetResponse>;
21
21
  /**
22
- * Add the subscriptions that should be monitored by the NewRelic monitor resource.
22
+ * Create a MonitoredSubscriptionProperties
23
23
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
24
24
  * @param monitorName Name of the Monitors resource
25
25
  * @param configurationName The configuration name. Only 'default' value is supported.
26
26
  * @param options The options parameters.
27
27
  */
28
- beginCreateorUpdate(resourceGroupName: string, monitorName: string, configurationName: ConfigurationName, options?: MonitoredSubscriptionsCreateorUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MonitoredSubscriptionsCreateorUpdateResponse>, MonitoredSubscriptionsCreateorUpdateResponse>>;
28
+ beginCreateOrUpdate(resourceGroupName: string, monitorName: string, configurationName: ConfigurationName, options?: MonitoredSubscriptionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MonitoredSubscriptionsCreateOrUpdateResponse>, MonitoredSubscriptionsCreateOrUpdateResponse>>;
29
29
  /**
30
- * Add the subscriptions that should be monitored by the NewRelic monitor resource.
30
+ * Create a MonitoredSubscriptionProperties
31
31
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
32
  * @param monitorName Name of the Monitors resource
33
33
  * @param configurationName The configuration name. Only 'default' value is supported.
34
34
  * @param options The options parameters.
35
35
  */
36
- beginCreateorUpdateAndWait(resourceGroupName: string, monitorName: string, configurationName: ConfigurationName, options?: MonitoredSubscriptionsCreateorUpdateOptionalParams): Promise<MonitoredSubscriptionsCreateorUpdateResponse>;
36
+ beginCreateOrUpdateAndWait(resourceGroupName: string, monitorName: string, configurationName: ConfigurationName, options?: MonitoredSubscriptionsCreateOrUpdateOptionalParams): Promise<MonitoredSubscriptionsCreateOrUpdateResponse>;
37
37
  /**
38
- * Updates the subscriptions that are being monitored by the NewRelic monitor resource
38
+ * Update a MonitoredSubscriptionProperties
39
39
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
40
  * @param monitorName Name of the Monitors resource
41
41
  * @param configurationName The configuration name. Only 'default' value is supported.
@@ -43,7 +43,7 @@ export interface MonitoredSubscriptions {
43
43
  */
44
44
  beginUpdate(resourceGroupName: string, monitorName: string, configurationName: ConfigurationName, options?: MonitoredSubscriptionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MonitoredSubscriptionsUpdateResponse>, MonitoredSubscriptionsUpdateResponse>>;
45
45
  /**
46
- * Updates the subscriptions that are being monitored by the NewRelic monitor resource
46
+ * Update a MonitoredSubscriptionProperties
47
47
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
48
  * @param monitorName Name of the Monitors resource
49
49
  * @param configurationName The configuration name. Only 'default' value is supported.
@@ -51,7 +51,7 @@ export interface MonitoredSubscriptions {
51
51
  */
52
52
  beginUpdateAndWait(resourceGroupName: string, monitorName: string, configurationName: ConfigurationName, options?: MonitoredSubscriptionsUpdateOptionalParams): Promise<MonitoredSubscriptionsUpdateResponse>;
53
53
  /**
54
- * Updates the subscriptions that are being monitored by the NewRelic monitor resource
54
+ * Delete a MonitoredSubscriptionProperties
55
55
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
56
56
  * @param monitorName Name of the Monitors resource
57
57
  * @param configurationName The configuration name. Only 'default' value is supported.
@@ -59,7 +59,7 @@ export interface MonitoredSubscriptions {
59
59
  */
60
60
  beginDelete(resourceGroupName: string, monitorName: string, configurationName: ConfigurationName, options?: MonitoredSubscriptionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MonitoredSubscriptionsDeleteResponse>, MonitoredSubscriptionsDeleteResponse>>;
61
61
  /**
62
- * Updates the subscriptions that are being monitored by the NewRelic monitor resource
62
+ * Delete a MonitoredSubscriptionProperties
63
63
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
64
64
  * @param monitorName Name of the Monitors resource
65
65
  * @param configurationName The configuration name. Only 'default' value is supported.
@@ -1 +1 @@
1
- {"version":3,"file":"monitoredSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/monitoredSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,+BAA+B,EAC/B,wCAAwC,EACxC,iBAAiB,EACjB,uCAAuC,EACvC,iCAAiC,EACjC,kDAAkD,EAClD,4CAA4C,EAC5C,0CAA0C,EAC1C,oCAAoC,EACpC,0CAA0C,EAC1C,oCAAoC,EACrC,MAAM,oBAAoB,CAAC;AAG5B,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,+BAA+B,CAAC,CAAC;IAC/D;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,4CAA4C,CAAC,EAC5D,4CAA4C,CAC7C,CACF,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACzD;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,oCAAoC,CAAC,EACpD,oCAAoC,CACrC,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,oCAAoC,CAAC,EACpD,oCAAoC,CACrC,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;CAClD"}
1
+ {"version":3,"file":"monitoredSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/monitoredSubscriptions.ts"],"names":[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,iBAAiB,EACpC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,oCAAoC,CAAC,EACpD,oCAAoC,CACrC,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,oCAAoC,CAAC,EACpD,oCAAoC,CACrC,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;CAClD"}
@@ -1,9 +1,4 @@
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
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  export {};
9
4
  //# sourceMappingURL=monitoredSubscriptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"monitoredSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/monitoredSubscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n MonitoredSubscriptionProperties,\n MonitoredSubscriptionsListOptionalParams,\n ConfigurationName,\n MonitoredSubscriptionsGetOptionalParams,\n MonitoredSubscriptionsGetResponse,\n MonitoredSubscriptionsCreateorUpdateOptionalParams,\n MonitoredSubscriptionsCreateorUpdateResponse,\n MonitoredSubscriptionsUpdateOptionalParams,\n MonitoredSubscriptionsUpdateResponse,\n MonitoredSubscriptionsDeleteOptionalParams,\n MonitoredSubscriptionsDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a MonitoredSubscriptions. */\nexport interface MonitoredSubscriptions {\n /**\n * List the subscriptions currently being monitored by the NewRelic monitor resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n monitorName: string,\n options?: MonitoredSubscriptionsListOptionalParams,\n ): PagedAsyncIterableIterator<MonitoredSubscriptionProperties>;\n /**\n * List the subscriptions currently being monitored by the NewRelic monitor resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsGetOptionalParams,\n ): Promise<MonitoredSubscriptionsGetResponse>;\n /**\n * Add the subscriptions that should be monitored by the NewRelic monitor resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginCreateorUpdate(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsCreateorUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MonitoredSubscriptionsCreateorUpdateResponse>,\n MonitoredSubscriptionsCreateorUpdateResponse\n >\n >;\n /**\n * Add the subscriptions that should be monitored by the NewRelic monitor resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginCreateorUpdateAndWait(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsCreateorUpdateOptionalParams,\n ): Promise<MonitoredSubscriptionsCreateorUpdateResponse>;\n /**\n * Updates the subscriptions that are being monitored by the NewRelic monitor resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MonitoredSubscriptionsUpdateResponse>,\n MonitoredSubscriptionsUpdateResponse\n >\n >;\n /**\n * Updates the subscriptions that are being monitored by the NewRelic monitor resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsUpdateOptionalParams,\n ): Promise<MonitoredSubscriptionsUpdateResponse>;\n /**\n * Updates the subscriptions that are being monitored by the NewRelic monitor resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MonitoredSubscriptionsDeleteResponse>,\n MonitoredSubscriptionsDeleteResponse\n >\n >;\n /**\n * Updates the subscriptions that are being monitored by the NewRelic monitor resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsDeleteOptionalParams,\n ): Promise<MonitoredSubscriptionsDeleteResponse>;\n}\n"]}
1
+ {"version":3,"file":"monitoredSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/monitoredSubscriptions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n MonitoredSubscriptionProperties,\n MonitoredSubscriptionsListOptionalParams,\n ConfigurationName,\n MonitoredSubscriptionsGetOptionalParams,\n MonitoredSubscriptionsGetResponse,\n MonitoredSubscriptionsCreateOrUpdateOptionalParams,\n MonitoredSubscriptionsCreateOrUpdateResponse,\n MonitoredSubscriptionsUpdateOptionalParams,\n MonitoredSubscriptionsUpdateResponse,\n MonitoredSubscriptionsDeleteOptionalParams,\n MonitoredSubscriptionsDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a MonitoredSubscriptions. */\nexport interface MonitoredSubscriptions {\n /**\n * List MonitoredSubscriptionProperties resources by NewRelicMonitorResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n monitorName: string,\n options?: MonitoredSubscriptionsListOptionalParams,\n ): PagedAsyncIterableIterator<MonitoredSubscriptionProperties>;\n /**\n * Get a MonitoredSubscriptionProperties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsGetOptionalParams,\n ): Promise<MonitoredSubscriptionsGetResponse>;\n /**\n * Create a MonitoredSubscriptionProperties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MonitoredSubscriptionsCreateOrUpdateResponse>,\n MonitoredSubscriptionsCreateOrUpdateResponse\n >\n >;\n /**\n * Create a MonitoredSubscriptionProperties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<MonitoredSubscriptionsCreateOrUpdateResponse>;\n /**\n * Update a MonitoredSubscriptionProperties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MonitoredSubscriptionsUpdateResponse>,\n MonitoredSubscriptionsUpdateResponse\n >\n >;\n /**\n * Update a MonitoredSubscriptionProperties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsUpdateOptionalParams,\n ): Promise<MonitoredSubscriptionsUpdateResponse>;\n /**\n * Delete a MonitoredSubscriptionProperties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MonitoredSubscriptionsDeleteResponse>,\n MonitoredSubscriptionsDeleteResponse\n >\n >;\n /**\n * Delete a MonitoredSubscriptionProperties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param configurationName The configuration name. Only 'default' value is supported.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n monitorName: string,\n configurationName: ConfigurationName,\n options?: MonitoredSubscriptionsDeleteOptionalParams,\n ): Promise<MonitoredSubscriptionsDeleteResponse>;\n}\n"]}