@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":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,uBAAuB,IAAI,6BAA6B,EACxD,6BAA6B,IAAI,mCAAmC,EACpE,cAAc,IAAI,oBAAoB,EACtC,oBAAoB,IAAI,0BAA0B,EAClD,qBAAqB,IAAI,2BAA2B,EACpD,oBAAoB,IAAI,0BAA0B,EAClD,eAAe,IAAI,qBAAqB,EACxC,OAAO,IAAI,aAAa,EACxB,aAAa,IAAI,mBAAmB,EACpC,+BAA+B,IAAI,qCAAqC,GACzE,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EA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KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,qCAAqC;CAC9C,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n NewRelicMonitorResource as NewRelicMonitorResourceMapper,\n NewRelicMonitorResourceUpdate as NewRelicMonitorResourceUpdateMapper,\n MetricsRequest as MetricsRequestMapper,\n MetricsStatusRequest as MetricsStatusRequestMapper,\n AppServicesGetRequest as AppServicesGetRequestMapper,\n SwitchBillingRequest as SwitchBillingRequestMapper,\n HostsGetRequest as HostsGetRequestMapper,\n TagRule as TagRuleMapper,\n TagRuleUpdate as TagRuleUpdateMapper,\n MonitoredSubscriptionProperties as MonitoredSubscriptionPropertiesMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const userEmail: OperationQueryParameter = {\n parameterPath: \"userEmail\",\n mapper: {\n serializedName: \"userEmail\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const location: OperationQueryParameter = {\n parameterPath: \"location\",\n mapper: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const monitorName: OperationURLParameter = {\n parameterPath: \"monitorName\",\n mapper: {\n serializedName: \"monitorName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resource: OperationParameter = {\n parameterPath: \"resource\",\n mapper: NewRelicMonitorResourceMapper,\n};\n\nexport const properties: OperationParameter = {\n parameterPath: \"properties\",\n mapper: NewRelicMonitorResourceUpdateMapper,\n};\n\nexport const request: OperationParameter = {\n parameterPath: \"request\",\n mapper: MetricsRequestMapper,\n};\n\nexport const request1: OperationParameter = {\n parameterPath: \"request\",\n mapper: MetricsStatusRequestMapper,\n};\n\nexport const request2: OperationParameter = {\n parameterPath: \"request\",\n mapper: AppServicesGetRequestMapper,\n};\n\nexport const request3: OperationParameter = {\n parameterPath: \"request\",\n mapper: SwitchBillingRequestMapper,\n};\n\nexport const request4: OperationParameter = {\n parameterPath: \"request\",\n mapper: HostsGetRequestMapper,\n};\n\nexport const monitorName1: OperationURLParameter = {\n parameterPath: \"monitorName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^.*$\"),\n },\n serializedName: \"monitorName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const accountId: OperationQueryParameter = {\n parameterPath: [\"options\", \"accountId\"],\n mapper: {\n serializedName: \"accountId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const organizationId: OperationQueryParameter = {\n parameterPath: [\"options\", \"organizationId\"],\n mapper: {\n serializedName: \"organizationId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const body: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\\\.)+[A-Za-z]{2,}$\",\n ),\n },\n serializedName: \"body\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ruleSetName: OperationURLParameter = {\n parameterPath: \"ruleSetName\",\n mapper: {\n serializedName: \"ruleSetName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resource1: OperationParameter = {\n parameterPath: \"resource\",\n mapper: TagRuleMapper,\n};\n\nexport const properties1: OperationParameter = {\n parameterPath: \"properties\",\n mapper: TagRuleUpdateMapper,\n};\n\nexport const configurationName: OperationURLParameter = {\n parameterPath: \"configurationName\",\n mapper: {\n serializedName: \"configurationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const body1: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: MonitoredSubscriptionPropertiesMapper,\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,OAAO,EACL,4BAA4B,IAAI,kCAAkC,EAClE,uBAAuB,IAAI,6BAA6B,EACxD,6BAA6B,IAAI,mCAAmC,EACpE,cAAc,IAAI,oBAAoB,EACtC,oBAAoB,IAAI,0BAA0B,EAClD,QAAQ,IAAI,cAAc,EAC1B,qBAAqB,IAAI,2BAA2B,EACpD,eAAe,I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C,MAAM,cAAc,GAA4B;IACrD,aAAa,EAAE,CAAC,SAAS,EAAE,gBAAgB,CAAC;IAC5C,MAAM,EAAE;QACN,cAAc,EAAE,gBAAgB;QAChC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,uDAAuD,CAAC;SAC7E;QACD,cAAc,EAAE,MAAM;QACtB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAA0B;IACtD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,qCAAqC;CAC9C,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAuB;IAC3C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE,aAAa;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,mBAAmB;CAC5B,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ActivateSaaSParameterRequest as ActivateSaaSParameterRequestMapper,\n NewRelicMonitorResource as NewRelicMonitorResourceMapper,\n NewRelicMonitorResourceUpdate as NewRelicMonitorResourceUpdateMapper,\n MetricsRequest as MetricsRequestMapper,\n MetricsStatusRequest as MetricsStatusRequestMapper,\n SaaSData as SaaSDataMapper,\n AppServicesGetRequest as AppServicesGetRequestMapper,\n HostsGetRequest as HostsGetRequestMapper,\n ResubscribeProperties as ResubscribePropertiesMapper,\n SwitchBillingRequest as SwitchBillingRequestMapper,\n MonitoredSubscriptionProperties as MonitoredSubscriptionPropertiesMapper,\n TagRule as TagRuleMapper,\n TagRuleUpdate as TagRuleUpdateMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-05-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const userEmail: OperationQueryParameter = {\n parameterPath: \"userEmail\",\n mapper: {\n serializedName: \"userEmail\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const location: OperationQueryParameter = {\n parameterPath: \"location\",\n mapper: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const request: OperationParameter = {\n parameterPath: \"request\",\n mapper: ActivateSaaSParameterRequestMapper,\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const monitorName: OperationURLParameter = {\n parameterPath: \"monitorName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^.*$\"),\n },\n serializedName: \"monitorName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resource: OperationParameter = {\n parameterPath: \"resource\",\n mapper: NewRelicMonitorResourceMapper,\n};\n\nexport const properties: OperationParameter = {\n parameterPath: \"properties\",\n mapper: NewRelicMonitorResourceUpdateMapper,\n};\n\nexport const request1: OperationParameter = {\n parameterPath: \"request\",\n mapper: MetricsRequestMapper,\n};\n\nexport const request2: OperationParameter = {\n parameterPath: \"request\",\n mapper: MetricsStatusRequestMapper,\n};\n\nexport const body: OperationParameter = {\n parameterPath: \"body\",\n mapper: SaaSDataMapper,\n};\n\nexport const request3: OperationParameter = {\n parameterPath: \"request\",\n mapper: AppServicesGetRequestMapper,\n};\n\nexport const request4: OperationParameter = {\n parameterPath: \"request\",\n mapper: HostsGetRequestMapper,\n};\n\nexport const body1: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: ResubscribePropertiesMapper,\n};\n\nexport const request5: OperationParameter = {\n parameterPath: \"request\",\n mapper: SwitchBillingRequestMapper,\n};\n\nexport const accountId: OperationQueryParameter = {\n parameterPath: [\"options\", \"accountId\"],\n mapper: {\n serializedName: \"accountId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const organizationId: OperationQueryParameter = {\n parameterPath: [\"options\", \"organizationId\"],\n mapper: {\n serializedName: \"organizationId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const body2: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\\\.)+[A-Za-z]{2,}$\"),\n },\n serializedName: \"body\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const configurationName: OperationURLParameter = {\n parameterPath: \"configurationName\",\n mapper: {\n serializedName: \"configurationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const body3: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: MonitoredSubscriptionPropertiesMapper,\n};\n\nexport const ruleSetName: OperationURLParameter = {\n parameterPath: \"ruleSetName\",\n mapper: {\n serializedName: \"ruleSetName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resource1: OperationParameter = {\n parameterPath: \"resource\",\n mapper: TagRuleMapper,\n};\n\nexport const properties1: OperationParameter = {\n parameterPath: \"properties\",\n mapper: TagRuleUpdateMapper,\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- import * as coreAuth from "@azure/core-auth";
3
- import { Operations, Accounts, Monitors, Organizations, Plans, BillingInfo, ConnectedPartnerResources, TagRules, MonitoredSubscriptions } from "./operationsInterfaces/index.js";
4
- import { NewRelicObservabilityOptionalParams } from "./models/index.js";
2
+ import type * as coreAuth from "@azure/core-auth";
3
+ import type { Operations, Accounts, SaaS, Monitors, Organizations, Plans, BillingInfo, ConnectedPartnerResources, MonitoredSubscriptions, TagRules } from "./operationsInterfaces/index.js";
4
+ import type { NewRelicObservabilityOptionalParams } from "./models/index.js";
5
5
  export declare class NewRelicObservability extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -17,12 +17,13 @@ export declare class NewRelicObservability extends coreClient.ServiceClient {
17
17
  private addCustomApiVersionPolicy;
18
18
  operations: Operations;
19
19
  accounts: Accounts;
20
+ saaS: SaaS;
20
21
  monitors: Monitors;
21
22
  organizations: Organizations;
22
23
  plans: Plans;
23
24
  billingInfo: BillingInfo;
24
25
  connectedPartnerResources: ConnectedPartnerResources;
25
- tagRules: TagRules;
26
26
  monitoredSubscriptions: MonitoredSubscriptions;
27
+ tagRules: TagRules;
27
28
  }
28
29
  //# sourceMappingURL=newRelicObservability.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"newRelicObservability.d.ts","sourceRoot":"","sources":["../../src/newRelicObservability.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAY7C,OAAO,EACL,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,KAAK,EACL,WAAW,EACX,yBAAyB,EACzB,QAAQ,EACR,sBAAsB,EACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mCAAmC,EAAE,MAAM,mBAAmB,CAAC;AAExE,qBAAa,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,mCAAmC;IAqF/C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB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10 @@
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
  import * as coreClient from "@azure/core-client";
9
6
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
- import { OperationsImpl, AccountsImpl, MonitorsImpl, OrganizationsImpl, PlansImpl, BillingInfoImpl, ConnectedPartnerResourcesImpl, TagRulesImpl, MonitoredSubscriptionsImpl, } from "./operations/index.js";
7
+ import { OperationsImpl, AccountsImpl, SaaSImpl, MonitorsImpl, OrganizationsImpl, PlansImpl, BillingInfoImpl, ConnectedPartnerResourcesImpl, MonitoredSubscriptionsImpl, TagRulesImpl, } from "./operations/index.js";
11
8
  export class NewRelicObservability extends coreClient.ServiceClient {
12
9
  $host;
13
10
  apiVersion;
@@ -33,7 +30,7 @@ export class NewRelicObservability extends coreClient.ServiceClient {
33
30
  requestContentType: "application/json; charset=utf-8",
34
31
  credential: credentials,
35
32
  };
36
- const packageDetails = `azsdk-js-arm-newrelicobservability/1.1.2`;
33
+ const packageDetails = `azsdk-js-arm-newrelicobservability/2.0.0-beta.1`;
37
34
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
38
35
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
39
36
  : `${packageDetails}`;
@@ -49,8 +46,7 @@ export class NewRelicObservability extends coreClient.ServiceClient {
49
46
  let bearerTokenAuthenticationPolicyFound = false;
50
47
  if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
51
48
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
52
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
53
- coreRestPipeline.bearerTokenAuthenticationPolicyName);
49
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
54
50
  }
55
51
  if (!options ||
56
52
  !options.pipeline ||
@@ -61,8 +57,7 @@ export class NewRelicObservability extends coreClient.ServiceClient {
61
57
  });
62
58
  this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
63
59
  credential: credentials,
64
- scopes: optionsWithDefaults.credentialScopes ??
65
- `${optionsWithDefaults.endpoint}/.default`,
60
+ scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
66
61
  challengeCallbacks: {
67
62
  authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
68
63
  },
@@ -72,16 +67,17 @@ export class NewRelicObservability extends coreClient.ServiceClient {
72
67
  this.subscriptionId = subscriptionId;
73
68
  // Assigning values to Constant parameters
74
69
  this.$host = options.$host || "https://management.azure.com";
75
- this.apiVersion = options.apiVersion || "2024-01-01";
70
+ this.apiVersion = options.apiVersion || "2025-05-01-preview";
76
71
  this.operations = new OperationsImpl(this);
77
72
  this.accounts = new AccountsImpl(this);
73
+ this.saaS = new SaaSImpl(this);
78
74
  this.monitors = new MonitorsImpl(this);
79
75
  this.organizations = new OrganizationsImpl(this);
80
76
  this.plans = new PlansImpl(this);
81
77
  this.billingInfo = new BillingInfoImpl(this);
82
78
  this.connectedPartnerResources = new ConnectedPartnerResourcesImpl(this);
83
- this.tagRules = new TagRulesImpl(this);
84
79
  this.monitoredSubscriptions = new MonitoredSubscriptionsImpl(this);
80
+ this.tagRules = new TagRulesImpl(this);
85
81
  this.addCustomApiVersionPolicy(options.apiVersion);
86
82
  }
87
83
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
@@ -111,12 +107,13 @@ export class NewRelicObservability extends coreClient.ServiceClient {
111
107
  }
112
108
  operations;
113
109
  accounts;
110
+ saaS;
114
111
  monitors;
115
112
  organizations;
116
113
  plans;
117
114
  billingInfo;
118
115
  connectedPartnerResources;
119
- tagRules;
120
116
  monitoredSubscriptions;
117
+ tagRules;
121
118
  }
122
119
  //# sourceMappingURL=newRelicObservability.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"newRelicObservability.js","sourceRoot":"","sources":["../../src/newRelicObservability.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,6BAA6B,EAC7B,YAAY,EACZ,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAc/B,MAAM,OAAO,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IACjE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA6C;QAE7C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAwC;YACpD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,0CAA0C,CAAC;QAClE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAg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,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,UAAU,CAAa;IACvB,QAAQ,CAAW;IACnB,QAAQ,CAAW;IACnB,aAAa,CAAgB;IAC7B,KAAK,CAAQ;IACb,WAAW,CAAc;IACzB,yBAAyB,CAA4B;IACrD,QAAQ,CAAW;IACnB,sBAAsB,CAAyB;CAChD","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n AccountsImpl,\n MonitorsImpl,\n OrganizationsImpl,\n PlansImpl,\n BillingInfoImpl,\n ConnectedPartnerResourcesImpl,\n TagRulesImpl,\n MonitoredSubscriptionsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n Accounts,\n Monitors,\n Organizations,\n Plans,\n BillingInfo,\n ConnectedPartnerResources,\n TagRules,\n MonitoredSubscriptions,\n} from \"./operationsInterfaces/index.js\";\nimport { NewRelicObservabilityOptionalParams } from \"./models/index.js\";\n\nexport class NewRelicObservability extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the NewRelicObservability class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: NewRelicObservabilityOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: NewRelicObservabilityOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-newrelicobservability/1.1.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-01-01\";\n this.operations = new OperationsImpl(this);\n this.accounts = new AccountsImpl(this);\n this.monitors = new MonitorsImpl(this);\n this.organizations = new OrganizationsImpl(this);\n this.plans = new PlansImpl(this);\n this.billingInfo = new BillingInfoImpl(this);\n this.connectedPartnerResources = new ConnectedPartnerResourcesImpl(this);\n this.tagRules = new TagRulesImpl(this);\n this.monitoredSubscriptions = new MonitoredSubscriptionsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n accounts: Accounts;\n monitors: Monitors;\n organizations: Organizations;\n plans: Plans;\n billingInfo: BillingInfo;\n connectedPartnerResources: ConnectedPartnerResources;\n tagRules: TagRules;\n monitoredSubscriptions: MonitoredSubscriptions;\n}\n"]}
1
+ {"version":3,"file":"newRelicObservability.js","sourceRoot":"","sources":["../../src/newRelicObservability.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,6BAA6B,EAC7B,0BAA0B,EAC1B,YAAY,GACb,MAAM,uBAAuB,CAAC;AAe/B,MAAM,OAAO,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IACjE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA6C;QAE7C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAwC;YACpD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,iDAAiD,CAAC;QACzE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;Y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AAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,UAAU,CAAa;IACvB,QAAQ,CAAW;IACnB,IAAI,CAAO;IACX,QAAQ,CAAW;IACnB,aAAa,CAAgB;IAC7B,KAAK,CAAQ;IACb,WAAW,CAAc;IACzB,yBAAyB,CAA4B;IACrD,sBAAsB,CAAyB;IAC/C,QAAQ,CAAW;CACpB","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n AccountsImpl,\n SaaSImpl,\n MonitorsImpl,\n OrganizationsImpl,\n PlansImpl,\n BillingInfoImpl,\n ConnectedPartnerResourcesImpl,\n MonitoredSubscriptionsImpl,\n TagRulesImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n Accounts,\n SaaS,\n Monitors,\n Organizations,\n Plans,\n BillingInfo,\n ConnectedPartnerResources,\n MonitoredSubscriptions,\n TagRules,\n} from \"./operationsInterfaces/index.js\";\nimport type { NewRelicObservabilityOptionalParams } from \"./models/index.js\";\n\nexport class NewRelicObservability extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the NewRelicObservability class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: NewRelicObservabilityOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: NewRelicObservabilityOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-newrelicobservability/2.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-05-01-preview\";\n this.operations = new OperationsImpl(this);\n this.accounts = new AccountsImpl(this);\n this.saaS = new SaaSImpl(this);\n this.monitors = new MonitorsImpl(this);\n this.organizations = new OrganizationsImpl(this);\n this.plans = new PlansImpl(this);\n this.billingInfo = new BillingInfoImpl(this);\n this.connectedPartnerResources = new ConnectedPartnerResourcesImpl(this);\n this.monitoredSubscriptions = new MonitoredSubscriptionsImpl(this);\n this.tagRules = new TagRulesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n accounts: Accounts;\n saaS: SaaS;\n monitors: Monitors;\n organizations: Organizations;\n plans: Plans;\n billingInfo: BillingInfo;\n connectedPartnerResources: ConnectedPartnerResources;\n monitoredSubscriptions: MonitoredSubscriptions;\n tagRules: TagRules;\n}\n"]}
@@ -1,7 +1,7 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Accounts } from "../operationsInterfaces/index.js";
3
- import { NewRelicObservability } from "../newRelicObservability.js";
4
- import { AccountResource, AccountsListOptionalParams } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { Accounts } from "../operationsInterfaces/index.js";
3
+ import type { NewRelicObservability } from "../newRelicObservability.js";
4
+ import type { AccountResource, AccountsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing Accounts operations. */
6
6
  export declare class AccountsImpl implements Accounts {
7
7
  private readonly client;
@@ -11,7 +11,8 @@ export declare class AccountsImpl implements Accounts {
11
11
  */
12
12
  constructor(client: NewRelicObservability);
13
13
  /**
14
- * List all the existing accounts
14
+ * Lists all the New Relic accounts linked to your email address, helping you understand the existing
15
+ * accounts that have been created
15
16
  * @param userEmail User Email.
16
17
  * @param location Location for NewRelic.
17
18
  * @param options The options parameters.
@@ -20,7 +21,8 @@ export declare class AccountsImpl implements Accounts {
20
21
  private listPagingPage;
21
22
  private listPagingAll;
22
23
  /**
23
- * List all the existing accounts
24
+ * Lists all the New Relic accounts linked to your email address, helping you understand the existing
25
+ * accounts that have been created
24
26
  * @param userEmail User Email.
25
27
  * @param location Location for NewRelic.
26
28
  * @param options The options parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operations/accounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,eAAe,EAEf,0BAA0B,EAG3B,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;OAKG;IACI,IAAI,CACT,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,eAAe,CAAC;YAkB/B,cAAc;YAwBd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
1
+ {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operations/accounts.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EACV,eAAe,EAEf,0BAA0B,EAG3B,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;;OAMG;IACI,IAAI,CACT,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,eAAe,CAAC;YAkB/B,cAAc;YAwBd,aAAa;IAU5B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAQb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}
@@ -1,10 +1,5 @@
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
  import { setContinuationToken } from "../pagingHelper.js";
9
4
  import * as coreClient from "@azure/core-client";
10
5
  import * as Mappers from "../models/mappers.js";
@@ -21,7 +16,8 @@ export class AccountsImpl {
21
16
  this.client = client;
22
17
  }
23
18
  /**
24
- * List all the existing accounts
19
+ * Lists all the New Relic accounts linked to your email address, helping you understand the existing
20
+ * accounts that have been created
25
21
  * @param userEmail User Email.
26
22
  * @param location Location for NewRelic.
27
23
  * @param options The options parameters.
@@ -48,7 +44,7 @@ export class AccountsImpl {
48
44
  let continuationToken = settings?.continuationToken;
49
45
  if (!continuationToken) {
50
46
  result = await this._list(userEmail, location, options);
51
- let page = result.value || [];
47
+ const page = result.value || [];
52
48
  continuationToken = result.nextLink;
53
49
  setContinuationToken(page, continuationToken);
54
50
  yield page;
@@ -56,7 +52,7 @@ export class AccountsImpl {
56
52
  while (continuationToken) {
57
53
  result = await this._listNext(continuationToken, options);
58
54
  continuationToken = result.nextLink;
59
- let page = result.value || [];
55
+ const page = result.value || [];
60
56
  setContinuationToken(page, continuationToken);
61
57
  yield page;
62
58
  }
@@ -67,7 +63,8 @@ export class AccountsImpl {
67
63
  }
68
64
  }
69
65
  /**
70
- * List all the existing accounts
66
+ * Lists all the New Relic accounts linked to your email address, helping you understand the existing
67
+ * accounts that have been created
71
68
  * @param userEmail User Email.
72
69
  * @param location Location for NewRelic.
73
70
  * @param options The options parameters.
@@ -97,11 +94,7 @@ const listOperationSpec = {
97
94
  bodyMapper: Mappers.ErrorResponse,
98
95
  },
99
96
  },
100
- queryParameters: [
101
- Parameters.apiVersion,
102
- Parameters.userEmail,
103
- Parameters.location,
104
- ],
97
+ queryParameters: [Parameters.apiVersion, Parameters.userEmail, Parameters.location],
105
98
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
106
99
  headerParameters: [Parameters.accept],
107
100
  serializer,
@@ -117,11 +110,7 @@ const listNextOperationSpec = {
117
110
  bodyMapper: Mappers.ErrorResponse,
118
111
  },
119
112
  },
120
- urlParameters: [
121
- Parameters.$host,
122
- Parameters.nextLink,
123
- Parameters.subscriptionId,
124
- ],
113
+ urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
125
114
  headerParameters: [Parameters.accept],
126
115
  serializer,
127
116
  };
@@ -1 +1 @@
1
- {"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operations/accounts.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;AAUtD,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,IAAI,CACT,SAAiB,EACjB,QAAgB,EAChB,OAAoC;QAEpC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;QAC9D,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,cAAc,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACrE,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAA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ACJ,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAAwC;QAExC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,2EAA2E;IACjF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,QAAQ;KACpB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;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;KAC1B;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 { Accounts } 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 AccountResource,\n AccountsListNextOptionalParams,\n AccountsListOptionalParams,\n AccountsListOperationResponse,\n AccountsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Accounts operations. */\nexport class AccountsImpl implements Accounts {\n private readonly client: NewRelicObservability;\n\n /**\n * Initialize a new instance of the class Accounts class.\n * @param client Reference to the service client\n */\n constructor(client: NewRelicObservability) {\n this.client = client;\n }\n\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 public list(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): PagedAsyncIterableIterator<AccountResource> {\n const iter = this.listPagingAll(userEmail, location, options);\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.listPagingPage(userEmail, location, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AccountResource[]> {\n let result: AccountsListOperationResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(userEmail, location, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): AsyncIterableIterator<AccountResource> {\n for await (const page of this.listPagingPage(\n userEmail,\n location,\n options,\n )) {\n yield* page;\n }\n }\n\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 private _list(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): Promise<AccountsListOperationResponse> {\n return this.client.sendOperationRequest(\n { userEmail, location, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: AccountsListNextOptionalParams,\n ): Promise<AccountsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/NewRelic.Observability/accounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountsListResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.userEmail,\n Parameters.location,\n ],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountsListResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operations/accounts.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC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,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,2EAA2E;IACjF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,QAAQ,CAAC;IACnF,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IACjF,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 { Accounts } 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 {\n AccountResource,\n AccountsListNextOptionalParams,\n AccountsListOptionalParams,\n AccountsListOperationResponse,\n AccountsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Accounts operations. */\nexport class AccountsImpl implements Accounts {\n private readonly client: NewRelicObservability;\n\n /**\n * Initialize a new instance of the class Accounts class.\n * @param client Reference to the service client\n */\n constructor(client: NewRelicObservability) {\n this.client = client;\n }\n\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 public list(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): PagedAsyncIterableIterator<AccountResource> {\n const iter = this.listPagingAll(userEmail, location, options);\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.listPagingPage(userEmail, location, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AccountResource[]> {\n let result: AccountsListOperationResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(userEmail, location, 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._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): AsyncIterableIterator<AccountResource> {\n for await (const page of this.listPagingPage(userEmail, location, options)) {\n yield* page;\n }\n }\n\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 private _list(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): Promise<AccountsListOperationResponse> {\n return this.client.sendOperationRequest({ userEmail, location, options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: AccountsListNextOptionalParams,\n ): Promise<AccountsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/NewRelic.Observability/accounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountsListResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.userEmail, Parameters.location],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountsListResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { BillingInfo } from "../operationsInterfaces/index.js";
2
- import { NewRelicObservability } from "../newRelicObservability.js";
3
- import { BillingInfoGetOptionalParams, BillingInfoGetResponse } from "../models/index.js";
1
+ import type { BillingInfo } from "../operationsInterfaces/index.js";
2
+ import type { NewRelicObservability } from "../newRelicObservability.js";
3
+ import type { BillingInfoGetOptionalParams, BillingInfoGetResponse } from "../models/index.js";
4
4
  /** Class containing BillingInfo operations. */
5
5
  export declare class BillingInfoImpl implements BillingInfo {
6
6
  private readonly client;
@@ -10,7 +10,7 @@ export declare class BillingInfoImpl implements BillingInfo {
10
10
  */
11
11
  constructor(client: NewRelicObservability);
12
12
  /**
13
- * Get marketplace info mapped to the given monitor.
13
+ * A synchronous resource action.
14
14
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
15
  * @param monitorName Name of the Monitors resource
16
16
  * @param options The options parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"billingInfo.d.ts","sourceRoot":"","sources":["../../../src/operations/billingInfo.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAMnC"}
1
+ {"version":3,"file":"billingInfo.d.ts","sourceRoot":"","sources":["../../../src/operations/billingInfo.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAIpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE/F,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAMnC"}
@@ -1,10 +1,5 @@
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
  import * as coreClient from "@azure/core-client";
9
4
  import * as Mappers from "../models/mappers.js";
10
5
  import * as Parameters from "../models/parameters.js";
@@ -19,7 +14,7 @@ export class BillingInfoImpl {
19
14
  this.client = client;
20
15
  }
21
16
  /**
22
- * Get marketplace info mapped to the given monitor.
17
+ * A synchronous resource action.
23
18
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
24
19
  * @param monitorName Name of the Monitors resource
25
20
  * @param options The options parameters.
@@ -46,7 +41,7 @@ const getOperationSpec = {
46
41
  Parameters.$host,
47
42
  Parameters.subscriptionId,
48
43
  Parameters.resourceGroupName,
49
- Parameters.monitorName1,
44
+ Parameters.monitorName,
50
45
  ],
51
46
  headerParameters: [Parameters.accept],
52
47
  serializer,
@@ -1 +1 @@
1
- {"version":3,"file":"billingInfo.js","sourceRoot":"","sources":["../../../src/operations/billingInfo.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IACT,MAAM,CAAwB;IAE/C;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,WAAmB,EACnB,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,2IAA2I;IACjJ,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;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 { BillingInfo } 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 BillingInfoGetOptionalParams,\n BillingInfoGetResponse,\n} from \"../models/index.js\";\n\n/** Class containing BillingInfo operations. */\nexport class BillingInfoImpl implements BillingInfo {\n private readonly client: NewRelicObservability;\n\n /**\n * Initialize a new instance of the class BillingInfo class.\n * @param client Reference to the service client\n */\n constructor(client: NewRelicObservability) {\n this.client = client;\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getBillingInfo\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingInfoResponse,\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.monitorName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"billingInfo.js","sourceRoot":"","sources":["../../../src/operations/billingInfo.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAItD,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IACT,MAAM,CAAwB;IAE/C;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,WAAmB,EACnB,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,2IAA2I;IACjJ,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,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 { BillingInfo } 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 { BillingInfoGetOptionalParams, BillingInfoGetResponse } from \"../models/index.js\";\n\n/** Class containing BillingInfo operations. */\nexport class BillingInfoImpl implements BillingInfo {\n private readonly client: NewRelicObservability;\n\n /**\n * Initialize a new instance of the class BillingInfo class.\n * @param client Reference to the service client\n */\n constructor(client: NewRelicObservability) {\n this.client = client;\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getBillingInfo\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingInfoResponse,\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};\n"]}
@@ -1,7 +1,7 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { ConnectedPartnerResources } from "../operationsInterfaces/index.js";
3
- import { NewRelicObservability } from "../newRelicObservability.js";
4
- import { ConnectedPartnerResourcesListFormat, ConnectedPartnerResourcesListOptionalParams } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { ConnectedPartnerResources } from "../operationsInterfaces/index.js";
3
+ import type { NewRelicObservability } from "../newRelicObservability.js";
4
+ import type { ConnectedPartnerResourcesListFormat, ConnectedPartnerResourcesListOptionalParams } from "../models/index.js";
5
5
  /** Class containing ConnectedPartnerResources operations. */
6
6
  export declare class ConnectedPartnerResourcesImpl implements ConnectedPartnerResources {
7
7
  private readonly client;
@@ -11,8 +11,7 @@ export declare class ConnectedPartnerResourcesImpl implements ConnectedPartnerRe
11
11
  */
12
12
  constructor(client: NewRelicObservability);
13
13
  /**
14
- * List of all active deployments that are associated with the marketplace subscription linked to the
15
- * given monitor.
14
+ * A synchronous resource action.
16
15
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
16
  * @param monitorName Name of the Monitors resource
18
17
  * @param options The options parameters.
@@ -21,8 +20,7 @@ export declare class ConnectedPartnerResourcesImpl implements ConnectedPartnerRe
21
20
  private listPagingPage;
22
21
  private listPagingAll;
23
22
  /**
24
- * List of all active deployments that are associated with the marketplace subscription linked to the
25
- * given monitor.
23
+ * A synchronous resource action.
26
24
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
25
  * @param monitorName Name of the Monitors resource
28
26
  * @param options The options parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"connectedPartnerResources.d.ts","sourceRoot":"","sources":["../../../src/operations/connectedPartnerResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,mCAAmC,EAEnC,2CAA2C,EAG5C,MAAM,oBAAoB,CAAC;AAG5B,6DAA6D;AAC7D,qBAAa,6BACX,YAAW,yBAAyB;IAEpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;;OAMG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,mCAAmC,CAAC;YAuBnD,cAAc;YA6Bd,aAAa;IAc5B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
1
+ {"version":3,"file":"connectedPartnerResources.d.ts","sourceRoot":"","sources":["../../../src/operations/connectedPartnerResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAIlF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EACV,mCAAmC,EAEnC,2CAA2C,EAG5C,MAAM,oBAAoB,CAAC;AAG5B,6DAA6D;AAC7D,qBAAa,6BAA8B,YAAW,yBAAyB;IAC7E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,mCAAmC,CAAC;YAkBnD,cAAc;YAwBd,aAAa;IAU5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -1,10 +1,5 @@
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
  import { setContinuationToken } from "../pagingHelper.js";
9
4
  import * as coreClient from "@azure/core-client";
10
5
  import * as Mappers from "../models/mappers.js";
@@ -21,8 +16,7 @@ export class ConnectedPartnerResourcesImpl {
21
16
  this.client = client;
22
17
  }
23
18
  /**
24
- * List of all active deployments that are associated with the marketplace subscription linked to the
25
- * given monitor.
19
+ * A synchronous resource action.
26
20
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
21
  * @param monitorName Name of the Monitors resource
28
22
  * @param options The options parameters.
@@ -49,7 +43,7 @@ export class ConnectedPartnerResourcesImpl {
49
43
  let continuationToken = settings?.continuationToken;
50
44
  if (!continuationToken) {
51
45
  result = await this._list(resourceGroupName, monitorName, options);
52
- let page = result.value || [];
46
+ const page = result.value || [];
53
47
  continuationToken = result.nextLink;
54
48
  setContinuationToken(page, continuationToken);
55
49
  yield page;
@@ -57,7 +51,7 @@ export class ConnectedPartnerResourcesImpl {
57
51
  while (continuationToken) {
58
52
  result = await this._listNext(resourceGroupName, monitorName, continuationToken, options);
59
53
  continuationToken = result.nextLink;
60
- let page = result.value || [];
54
+ const page = result.value || [];
61
55
  setContinuationToken(page, continuationToken);
62
56
  yield page;
63
57
  }
@@ -68,8 +62,7 @@ export class ConnectedPartnerResourcesImpl {
68
62
  }
69
63
  }
70
64
  /**
71
- * List of all active deployments that are associated with the marketplace subscription linked to the
72
- * given monitor.
65
+ * A synchronous resource action.
73
66
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
74
67
  * @param monitorName Name of the Monitors resource
75
68
  * @param options The options parameters.
@@ -101,13 +94,13 @@ const listOperationSpec = {
101
94
  bodyMapper: Mappers.ErrorResponse,
102
95
  },
103
96
  },
104
- requestBody: Parameters.body,
97
+ requestBody: Parameters.body2,
105
98
  queryParameters: [Parameters.apiVersion],
106
99
  urlParameters: [
107
100
  Parameters.$host,
108
101
  Parameters.subscriptionId,
109
102
  Parameters.resourceGroupName,
110
- Parameters.monitorName1,
103
+ Parameters.monitorName,
111
104
  ],
112
105
  headerParameters: [Parameters.accept, Parameters.contentType],
113
106
  mediaType: "json",
@@ -129,7 +122,7 @@ const listNextOperationSpec = {
129
122
  Parameters.nextLink,
130
123
  Parameters.subscriptionId,
131
124
  Parameters.resourceGroupName,
132
- Parameters.monitorName1,
125
+ Parameters.monitorName,
133
126
  ],
134
127
  headerParameters: [Parameters.accept, Parameters.contentType],
135
128
  mediaType: "json",