@azure/arm-timeseriesinsights 2.1.0-beta.1 → 2.1.0-beta.3

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 (562) hide show
  1. package/CHANGELOG.md +51 -14
  2. package/LICENSE +4 -4
  3. package/README.md +27 -18
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -3
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/models/index.d.ts +185 -115
  11. package/dist/browser/models/index.d.ts.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/index.js +50 -0
  13. package/dist/browser/models/index.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/mappers.d.ts +10 -10
  15. package/{dist-esm/src → dist/browser}/models/mappers.js +394 -192
  16. package/dist/browser/models/mappers.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  18. package/dist/browser/models/parameters.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/accessPolicies.d.ts +3 -3
  20. package/dist/browser/operations/accessPolicies.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/accessPolicies.js +3 -2
  22. package/dist/browser/operations/accessPolicies.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/environments.d.ts +3 -3
  24. package/dist/browser/operations/environments.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/environments.js +83 -81
  26. package/dist/browser/operations/environments.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/eventSources.d.ts +3 -3
  28. package/dist/browser/operations/eventSources.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/eventSources.js +3 -2
  30. package/dist/browser/operations/eventSources.js.map +1 -0
  31. package/dist/browser/operations/index.d.ts +8 -0
  32. package/dist/browser/operations/index.d.ts.map +1 -0
  33. package/dist/browser/operations/index.js +15 -0
  34. package/dist/browser/operations/index.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  36. package/dist/browser/operations/operations.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/operations.js +30 -34
  38. package/dist/browser/operations/operations.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  40. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +3 -2
  42. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
  44. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +16 -27
  46. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/referenceDataSets.d.ts +3 -3
  48. package/dist/browser/operations/referenceDataSets.d.ts.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/referenceDataSets.js +3 -2
  50. package/dist/browser/operations/referenceDataSets.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicies.d.ts +1 -1
  52. package/dist/browser/operationsInterfaces/accessPolicies.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/accessPolicies.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/environments.d.ts +1 -1
  55. package/dist/browser/operationsInterfaces/environments.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/environments.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/eventSources.d.ts +1 -1
  58. package/dist/browser/operationsInterfaces/eventSources.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/eventSources.js.map +1 -0
  60. package/dist/browser/operationsInterfaces/index.d.ts +8 -0
  61. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/index.js +15 -0
  63. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  64. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  65. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  66. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  67. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  68. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  69. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  70. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  71. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  72. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  73. package/{dist-esm/src → dist/browser}/operationsInterfaces/referenceDataSets.d.ts +1 -1
  74. package/dist/browser/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
  75. package/dist/browser/operationsInterfaces/referenceDataSets.js.map +1 -0
  76. package/dist/browser/package.json +3 -0
  77. package/dist/browser/pagingHelper.d.ts +13 -0
  78. package/dist/browser/pagingHelper.d.ts.map +1 -0
  79. package/dist/browser/pagingHelper.js +30 -0
  80. package/dist/browser/pagingHelper.js.map +1 -0
  81. package/{dist-esm/src → dist/browser}/timeSeriesInsightsClient.d.ts +4 -2
  82. package/dist/browser/timeSeriesInsightsClient.d.ts.map +1 -0
  83. package/{dist-esm/src → dist/browser}/timeSeriesInsightsClient.js +64 -21
  84. package/dist/browser/timeSeriesInsightsClient.js.map +1 -0
  85. package/dist/commonjs/index.d.ts +5 -0
  86. package/dist/commonjs/index.d.ts.map +1 -0
  87. package/dist/commonjs/index.js +19 -0
  88. package/dist/commonjs/index.js.map +1 -0
  89. package/dist/commonjs/lroImpl.d.ts +16 -0
  90. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  91. package/dist/commonjs/lroImpl.js +37 -0
  92. package/dist/commonjs/lroImpl.js.map +1 -0
  93. package/{types/arm-timeseriesinsights.d.ts → dist/commonjs/models/index.d.ts} +1320 -1749
  94. package/dist/commonjs/models/index.d.ts.map +1 -0
  95. package/dist/commonjs/models/index.js +183 -0
  96. package/dist/commonjs/models/index.js.map +1 -0
  97. package/dist/commonjs/models/mappers.d.ts +100 -0
  98. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  99. package/dist/commonjs/models/mappers.js +2372 -0
  100. package/dist/commonjs/models/mappers.js.map +1 -0
  101. package/dist/commonjs/models/parameters.d.ts +28 -0
  102. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  103. package/dist/commonjs/models/parameters.js +242 -0
  104. package/dist/commonjs/models/parameters.js.map +1 -0
  105. package/dist/commonjs/operations/accessPolicies.d.ts +65 -0
  106. package/dist/commonjs/operations/accessPolicies.d.ts.map +1 -0
  107. package/dist/commonjs/operations/accessPolicies.js +218 -0
  108. package/dist/commonjs/operations/accessPolicies.js.map +1 -0
  109. package/dist/commonjs/operations/environments.d.ts +78 -0
  110. package/dist/commonjs/operations/environments.d.ts.map +1 -0
  111. package/dist/commonjs/operations/environments.js +325 -0
  112. package/dist/commonjs/operations/environments.js.map +1 -0
  113. package/dist/commonjs/operations/eventSources.d.ts +66 -0
  114. package/dist/commonjs/operations/eventSources.d.ts.map +1 -0
  115. package/dist/commonjs/operations/eventSources.js +219 -0
  116. package/dist/commonjs/operations/eventSources.js.map +1 -0
  117. package/dist/commonjs/operations/index.d.ts +8 -0
  118. package/dist/commonjs/operations/index.d.ts.map +1 -0
  119. package/dist/commonjs/operations/index.js +18 -0
  120. package/dist/commonjs/operations/index.js.map +1 -0
  121. package/dist/commonjs/operations/operations.d.ts +32 -0
  122. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  123. package/dist/commonjs/operations/operations.js +121 -0
  124. package/dist/commonjs/operations/operations.js.map +1 -0
  125. package/dist/commonjs/operations/privateEndpointConnections.d.ts +52 -0
  126. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  127. package/dist/commonjs/operations/privateEndpointConnections.js +183 -0
  128. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  129. package/dist/commonjs/operations/privateLinkResources.d.ts +32 -0
  130. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  131. package/dist/commonjs/operations/privateLinkResources.js +95 -0
  132. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  133. package/dist/commonjs/operations/referenceDataSets.d.ts +66 -0
  134. package/dist/commonjs/operations/referenceDataSets.d.ts.map +1 -0
  135. package/dist/commonjs/operations/referenceDataSets.js +219 -0
  136. package/dist/commonjs/operations/referenceDataSets.js.map +1 -0
  137. package/dist/commonjs/operationsInterfaces/accessPolicies.d.ts +57 -0
  138. package/dist/commonjs/operationsInterfaces/accessPolicies.d.ts.map +1 -0
  139. package/dist/commonjs/operationsInterfaces/accessPolicies.js +10 -0
  140. package/dist/commonjs/operationsInterfaces/accessPolicies.js.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/environments.d.ts +70 -0
  142. package/dist/commonjs/operationsInterfaces/environments.d.ts.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/environments.js +10 -0
  144. package/dist/commonjs/operationsInterfaces/environments.js.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/eventSources.d.ts +58 -0
  146. package/dist/commonjs/operationsInterfaces/eventSources.d.ts.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/eventSources.js +10 -0
  148. package/dist/commonjs/operationsInterfaces/eventSources.js.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  150. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  152. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  154. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  156. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
  158. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  160. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +14 -0
  162. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  164. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/referenceDataSets.d.ts +58 -0
  166. package/dist/commonjs/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/referenceDataSets.js +10 -0
  168. package/dist/commonjs/operationsInterfaces/referenceDataSets.js.map +1 -0
  169. package/dist/commonjs/package.json +3 -0
  170. package/dist/commonjs/pagingHelper.d.ts +13 -0
  171. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  172. package/dist/commonjs/pagingHelper.js +34 -0
  173. package/dist/commonjs/pagingHelper.js.map +1 -0
  174. package/dist/commonjs/timeSeriesInsightsClient.d.ts +26 -0
  175. package/dist/commonjs/timeSeriesInsightsClient.d.ts.map +1 -0
  176. package/dist/commonjs/timeSeriesInsightsClient.js +123 -0
  177. package/dist/commonjs/timeSeriesInsightsClient.js.map +1 -0
  178. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  179. package/dist/esm/index.d.ts +5 -0
  180. package/dist/esm/index.d.ts.map +1 -0
  181. package/{src/index.ts → dist/esm/index.js} +5 -4
  182. package/dist/esm/index.js.map +1 -0
  183. package/dist/esm/lroImpl.d.ts +16 -0
  184. package/dist/esm/lroImpl.d.ts.map +1 -0
  185. package/dist/esm/lroImpl.js +33 -0
  186. package/dist/esm/lroImpl.js.map +1 -0
  187. package/dist/esm/models/index.d.ts +1320 -0
  188. package/dist/esm/models/index.d.ts.map +1 -0
  189. package/dist/esm/models/index.js +180 -0
  190. package/dist/esm/models/index.js.map +1 -0
  191. package/dist/esm/models/mappers.d.ts +100 -0
  192. package/dist/esm/models/mappers.d.ts.map +1 -0
  193. package/dist/esm/models/mappers.js +2368 -0
  194. package/dist/esm/models/mappers.js.map +1 -0
  195. package/dist/esm/models/parameters.d.ts +28 -0
  196. package/dist/esm/models/parameters.d.ts.map +1 -0
  197. package/dist/esm/models/parameters.js +239 -0
  198. package/dist/esm/models/parameters.js.map +1 -0
  199. package/dist/esm/operations/accessPolicies.d.ts +65 -0
  200. package/dist/esm/operations/accessPolicies.d.ts.map +1 -0
  201. package/dist/esm/operations/accessPolicies.js +213 -0
  202. package/dist/esm/operations/accessPolicies.js.map +1 -0
  203. package/dist/esm/operations/environments.d.ts +78 -0
  204. package/dist/esm/operations/environments.d.ts.map +1 -0
  205. package/dist/esm/operations/environments.js +320 -0
  206. package/dist/esm/operations/environments.js.map +1 -0
  207. package/dist/esm/operations/eventSources.d.ts +66 -0
  208. package/dist/esm/operations/eventSources.d.ts.map +1 -0
  209. package/dist/esm/operations/eventSources.js +214 -0
  210. package/dist/esm/operations/eventSources.js.map +1 -0
  211. package/dist/esm/operations/index.d.ts +8 -0
  212. package/dist/esm/operations/index.d.ts.map +1 -0
  213. package/dist/esm/operations/index.js +15 -0
  214. package/dist/esm/operations/index.js.map +1 -0
  215. package/dist/esm/operations/operations.d.ts +32 -0
  216. package/dist/esm/operations/operations.d.ts.map +1 -0
  217. package/dist/esm/operations/operations.js +116 -0
  218. package/dist/esm/operations/operations.js.map +1 -0
  219. package/dist/esm/operations/privateEndpointConnections.d.ts +52 -0
  220. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  221. package/dist/esm/operations/privateEndpointConnections.js +178 -0
  222. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  223. package/dist/esm/operations/privateLinkResources.d.ts +32 -0
  224. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  225. package/dist/esm/operations/privateLinkResources.js +90 -0
  226. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  227. package/dist/esm/operations/referenceDataSets.d.ts +66 -0
  228. package/dist/esm/operations/referenceDataSets.d.ts.map +1 -0
  229. package/dist/esm/operations/referenceDataSets.js +214 -0
  230. package/dist/esm/operations/referenceDataSets.js.map +1 -0
  231. package/dist/esm/operationsInterfaces/accessPolicies.d.ts +57 -0
  232. package/dist/esm/operationsInterfaces/accessPolicies.d.ts.map +1 -0
  233. package/dist/esm/operationsInterfaces/accessPolicies.js +9 -0
  234. package/dist/esm/operationsInterfaces/accessPolicies.js.map +1 -0
  235. package/dist/esm/operationsInterfaces/environments.d.ts +70 -0
  236. package/dist/esm/operationsInterfaces/environments.d.ts.map +1 -0
  237. package/dist/esm/operationsInterfaces/environments.js +9 -0
  238. package/dist/esm/operationsInterfaces/environments.js.map +1 -0
  239. package/dist/esm/operationsInterfaces/eventSources.d.ts +58 -0
  240. package/dist/esm/operationsInterfaces/eventSources.d.ts.map +1 -0
  241. package/dist/esm/operationsInterfaces/eventSources.js +9 -0
  242. package/dist/esm/operationsInterfaces/eventSources.js.map +1 -0
  243. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  244. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  245. package/dist/esm/operationsInterfaces/index.js +15 -0
  246. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  247. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  248. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  249. package/dist/esm/operationsInterfaces/operations.js +9 -0
  250. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  251. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
  252. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  253. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  254. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  255. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +14 -0
  256. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  257. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  258. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  259. package/dist/esm/operationsInterfaces/referenceDataSets.d.ts +58 -0
  260. package/dist/esm/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
  261. package/dist/esm/operationsInterfaces/referenceDataSets.js +9 -0
  262. package/dist/esm/operationsInterfaces/referenceDataSets.js.map +1 -0
  263. package/dist/esm/package.json +3 -0
  264. package/dist/esm/pagingHelper.d.ts +13 -0
  265. package/dist/esm/pagingHelper.d.ts.map +1 -0
  266. package/dist/esm/pagingHelper.js +30 -0
  267. package/dist/esm/pagingHelper.js.map +1 -0
  268. package/dist/esm/timeSeriesInsightsClient.d.ts +26 -0
  269. package/dist/esm/timeSeriesInsightsClient.d.ts.map +1 -0
  270. package/dist/esm/timeSeriesInsightsClient.js +118 -0
  271. package/dist/esm/timeSeriesInsightsClient.js.map +1 -0
  272. package/dist/react-native/index.d.ts +5 -0
  273. package/dist/react-native/index.d.ts.map +1 -0
  274. package/dist/react-native/index.js +13 -0
  275. package/dist/react-native/index.js.map +1 -0
  276. package/dist/react-native/lroImpl.d.ts +16 -0
  277. package/dist/react-native/lroImpl.d.ts.map +1 -0
  278. package/dist/react-native/lroImpl.js +33 -0
  279. package/dist/react-native/lroImpl.js.map +1 -0
  280. package/dist/react-native/models/index.d.ts +1320 -0
  281. package/dist/react-native/models/index.d.ts.map +1 -0
  282. package/dist/react-native/models/index.js +180 -0
  283. package/dist/react-native/models/index.js.map +1 -0
  284. package/dist/react-native/models/mappers.d.ts +100 -0
  285. package/dist/react-native/models/mappers.d.ts.map +1 -0
  286. package/dist/react-native/models/mappers.js +2368 -0
  287. package/dist/react-native/models/mappers.js.map +1 -0
  288. package/dist/react-native/models/parameters.d.ts +28 -0
  289. package/dist/react-native/models/parameters.d.ts.map +1 -0
  290. package/dist/react-native/models/parameters.js +239 -0
  291. package/dist/react-native/models/parameters.js.map +1 -0
  292. package/dist/react-native/operations/accessPolicies.d.ts +65 -0
  293. package/dist/react-native/operations/accessPolicies.d.ts.map +1 -0
  294. package/dist/react-native/operations/accessPolicies.js +213 -0
  295. package/dist/react-native/operations/accessPolicies.js.map +1 -0
  296. package/dist/react-native/operations/environments.d.ts +78 -0
  297. package/dist/react-native/operations/environments.d.ts.map +1 -0
  298. package/dist/react-native/operations/environments.js +320 -0
  299. package/dist/react-native/operations/environments.js.map +1 -0
  300. package/dist/react-native/operations/eventSources.d.ts +66 -0
  301. package/dist/react-native/operations/eventSources.d.ts.map +1 -0
  302. package/dist/react-native/operations/eventSources.js +214 -0
  303. package/dist/react-native/operations/eventSources.js.map +1 -0
  304. package/dist/react-native/operations/index.d.ts +8 -0
  305. package/dist/react-native/operations/index.d.ts.map +1 -0
  306. package/dist/react-native/operations/index.js +15 -0
  307. package/dist/react-native/operations/index.js.map +1 -0
  308. package/dist/react-native/operations/operations.d.ts +32 -0
  309. package/dist/react-native/operations/operations.d.ts.map +1 -0
  310. package/dist/react-native/operations/operations.js +116 -0
  311. package/dist/react-native/operations/operations.js.map +1 -0
  312. package/dist/react-native/operations/privateEndpointConnections.d.ts +52 -0
  313. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  314. package/dist/react-native/operations/privateEndpointConnections.js +178 -0
  315. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  316. package/dist/react-native/operations/privateLinkResources.d.ts +32 -0
  317. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  318. package/dist/react-native/operations/privateLinkResources.js +90 -0
  319. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  320. package/dist/react-native/operations/referenceDataSets.d.ts +66 -0
  321. package/dist/react-native/operations/referenceDataSets.d.ts.map +1 -0
  322. package/dist/react-native/operations/referenceDataSets.js +214 -0
  323. package/dist/react-native/operations/referenceDataSets.js.map +1 -0
  324. package/dist/react-native/operationsInterfaces/accessPolicies.d.ts +57 -0
  325. package/dist/react-native/operationsInterfaces/accessPolicies.d.ts.map +1 -0
  326. package/dist/react-native/operationsInterfaces/accessPolicies.js +9 -0
  327. package/dist/react-native/operationsInterfaces/accessPolicies.js.map +1 -0
  328. package/dist/react-native/operationsInterfaces/environments.d.ts +70 -0
  329. package/dist/react-native/operationsInterfaces/environments.d.ts.map +1 -0
  330. package/dist/react-native/operationsInterfaces/environments.js +9 -0
  331. package/dist/react-native/operationsInterfaces/environments.js.map +1 -0
  332. package/dist/react-native/operationsInterfaces/eventSources.d.ts +58 -0
  333. package/dist/react-native/operationsInterfaces/eventSources.d.ts.map +1 -0
  334. package/dist/react-native/operationsInterfaces/eventSources.js +9 -0
  335. package/dist/react-native/operationsInterfaces/eventSources.js.map +1 -0
  336. package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
  337. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  338. package/dist/react-native/operationsInterfaces/index.js +15 -0
  339. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  340. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  341. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  342. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  343. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  344. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
  345. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  346. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  347. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  348. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +14 -0
  349. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  350. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  351. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  352. package/dist/react-native/operationsInterfaces/referenceDataSets.d.ts +58 -0
  353. package/dist/react-native/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
  354. package/dist/react-native/operationsInterfaces/referenceDataSets.js +9 -0
  355. package/dist/react-native/operationsInterfaces/referenceDataSets.js.map +1 -0
  356. package/dist/react-native/package.json +3 -0
  357. package/dist/react-native/pagingHelper.d.ts +13 -0
  358. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  359. package/dist/react-native/pagingHelper.js +30 -0
  360. package/dist/react-native/pagingHelper.js.map +1 -0
  361. package/dist/react-native/timeSeriesInsightsClient.d.ts +26 -0
  362. package/dist/react-native/timeSeriesInsightsClient.d.ts.map +1 -0
  363. package/dist/react-native/timeSeriesInsightsClient.js +118 -0
  364. package/dist/react-native/timeSeriesInsightsClient.js.map +1 -0
  365. package/package.json +85 -69
  366. package/review/{arm-timeseriesinsights.api.md → arm-timeseriesinsights-node.api.md} +143 -178
  367. package/dist/index.js +0 -4077
  368. package/dist/index.js.map +0 -1
  369. package/dist/index.min.js +0 -1
  370. package/dist/index.min.js.map +0 -1
  371. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts +0 -2
  372. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts.map +0 -1
  373. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js +0 -37
  374. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js.map +0 -1
  375. package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts +0 -2
  376. package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts.map +0 -1
  377. package/dist-esm/samples-dev/accessPoliciesDeleteSample.js +0 -32
  378. package/dist-esm/samples-dev/accessPoliciesDeleteSample.js.map +0 -1
  379. package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts +0 -2
  380. package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts.map +0 -1
  381. package/dist-esm/samples-dev/accessPoliciesGetSample.js +0 -32
  382. package/dist-esm/samples-dev/accessPoliciesGetSample.js.map +0 -1
  383. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts +0 -2
  384. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts.map +0 -1
  385. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js +0 -31
  386. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js.map +0 -1
  387. package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts +0 -2
  388. package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts.map +0 -1
  389. package/dist-esm/samples-dev/accessPoliciesUpdateSample.js +0 -35
  390. package/dist-esm/samples-dev/accessPoliciesUpdateSample.js.map +0 -1
  391. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts +0 -2
  392. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts.map +0 -1
  393. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js +0 -38
  394. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js.map +0 -1
  395. package/dist-esm/samples-dev/environmentsDeleteSample.d.ts +0 -2
  396. package/dist-esm/samples-dev/environmentsDeleteSample.d.ts.map +0 -1
  397. package/dist-esm/samples-dev/environmentsDeleteSample.js +0 -31
  398. package/dist-esm/samples-dev/environmentsDeleteSample.js.map +0 -1
  399. package/dist-esm/samples-dev/environmentsGetSample.d.ts +0 -2
  400. package/dist-esm/samples-dev/environmentsGetSample.d.ts.map +0 -1
  401. package/dist-esm/samples-dev/environmentsGetSample.js +0 -31
  402. package/dist-esm/samples-dev/environmentsGetSample.js.map +0 -1
  403. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts +0 -2
  404. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts.map +0 -1
  405. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js +0 -30
  406. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js.map +0 -1
  407. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts +0 -2
  408. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts.map +0 -1
  409. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js +0 -29
  410. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js.map +0 -1
  411. package/dist-esm/samples-dev/environmentsUpdateSample.d.ts +0 -2
  412. package/dist-esm/samples-dev/environmentsUpdateSample.d.ts.map +0 -1
  413. package/dist-esm/samples-dev/environmentsUpdateSample.js +0 -35
  414. package/dist-esm/samples-dev/environmentsUpdateSample.js.map +0 -1
  415. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts +0 -2
  416. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts.map +0 -1
  417. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js +0 -80
  418. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js.map +0 -1
  419. package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts +0 -2
  420. package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts.map +0 -1
  421. package/dist-esm/samples-dev/eventSourcesDeleteSample.js +0 -32
  422. package/dist-esm/samples-dev/eventSourcesDeleteSample.js.map +0 -1
  423. package/dist-esm/samples-dev/eventSourcesGetSample.d.ts +0 -2
  424. package/dist-esm/samples-dev/eventSourcesGetSample.d.ts.map +0 -1
  425. package/dist-esm/samples-dev/eventSourcesGetSample.js +0 -32
  426. package/dist-esm/samples-dev/eventSourcesGetSample.js.map +0 -1
  427. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts +0 -2
  428. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts.map +0 -1
  429. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js +0 -31
  430. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js.map +0 -1
  431. package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts +0 -2
  432. package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts.map +0 -1
  433. package/dist-esm/samples-dev/eventSourcesUpdateSample.js +0 -36
  434. package/dist-esm/samples-dev/eventSourcesUpdateSample.js.map +0 -1
  435. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  436. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  437. package/dist-esm/samples-dev/operationsListSample.js +0 -43
  438. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  439. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +0 -2
  440. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +0 -1
  441. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +0 -38
  442. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +0 -1
  443. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  444. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  445. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -32
  446. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  447. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  448. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  449. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -32
  450. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  451. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts +0 -2
  452. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts.map +0 -1
  453. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js +0 -31
  454. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js.map +0 -1
  455. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +0 -2
  456. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +0 -1
  457. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +0 -45
  458. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +0 -1
  459. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts +0 -2
  460. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts.map +0 -1
  461. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js +0 -39
  462. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js.map +0 -1
  463. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts +0 -2
  464. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts.map +0 -1
  465. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js +0 -32
  466. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js.map +0 -1
  467. package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts +0 -2
  468. package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts.map +0 -1
  469. package/dist-esm/samples-dev/referenceDataSetsGetSample.js +0 -32
  470. package/dist-esm/samples-dev/referenceDataSetsGetSample.js.map +0 -1
  471. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts +0 -2
  472. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts.map +0 -1
  473. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js +0 -31
  474. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js.map +0 -1
  475. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts +0 -2
  476. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts.map +0 -1
  477. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js +0 -35
  478. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js.map +0 -1
  479. package/dist-esm/src/index.d.ts +0 -5
  480. package/dist-esm/src/index.d.ts.map +0 -1
  481. package/dist-esm/src/index.js.map +0 -1
  482. package/dist-esm/src/lroImpl.js.map +0 -1
  483. package/dist-esm/src/models/index.d.ts.map +0 -1
  484. package/dist-esm/src/models/index.js.map +0 -1
  485. package/dist-esm/src/models/mappers.js.map +0 -1
  486. package/dist-esm/src/models/parameters.js.map +0 -1
  487. package/dist-esm/src/operations/accessPolicies.d.ts.map +0 -1
  488. package/dist-esm/src/operations/accessPolicies.js.map +0 -1
  489. package/dist-esm/src/operations/environments.d.ts.map +0 -1
  490. package/dist-esm/src/operations/environments.js.map +0 -1
  491. package/dist-esm/src/operations/eventSources.d.ts.map +0 -1
  492. package/dist-esm/src/operations/eventSources.js.map +0 -1
  493. package/dist-esm/src/operations/index.d.ts +0 -8
  494. package/dist-esm/src/operations/index.d.ts.map +0 -1
  495. package/dist-esm/src/operations/index.js +0 -15
  496. package/dist-esm/src/operations/index.js.map +0 -1
  497. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  498. package/dist-esm/src/operations/operations.js.map +0 -1
  499. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  500. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  501. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  502. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  503. package/dist-esm/src/operations/referenceDataSets.d.ts.map +0 -1
  504. package/dist-esm/src/operations/referenceDataSets.js.map +0 -1
  505. package/dist-esm/src/operationsInterfaces/accessPolicies.d.ts.map +0 -1
  506. package/dist-esm/src/operationsInterfaces/accessPolicies.js.map +0 -1
  507. package/dist-esm/src/operationsInterfaces/environments.d.ts.map +0 -1
  508. package/dist-esm/src/operationsInterfaces/environments.js.map +0 -1
  509. package/dist-esm/src/operationsInterfaces/eventSources.d.ts.map +0 -1
  510. package/dist-esm/src/operationsInterfaces/eventSources.js.map +0 -1
  511. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  512. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  513. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  514. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  515. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  516. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  517. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  518. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  519. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  520. package/dist-esm/src/operationsInterfaces/referenceDataSets.d.ts.map +0 -1
  521. package/dist-esm/src/operationsInterfaces/referenceDataSets.js.map +0 -1
  522. package/dist-esm/src/timeSeriesInsightsClient.d.ts.map +0 -1
  523. package/dist-esm/src/timeSeriesInsightsClient.js.map +0 -1
  524. package/dist-esm/test/sampleTest.d.ts +0 -2
  525. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  526. package/dist-esm/test/sampleTest.js +0 -40
  527. package/dist-esm/test/sampleTest.js.map +0 -1
  528. package/rollup.config.js +0 -122
  529. package/src/lroImpl.ts +0 -34
  530. package/src/models/index.ts +0 -1438
  531. package/src/models/mappers.ts +0 -2456
  532. package/src/models/parameters.ts +0 -280
  533. package/src/operations/accessPolicies.ts +0 -282
  534. package/src/operations/environments.ts +0 -451
  535. package/src/operations/eventSources.ts +0 -283
  536. package/src/operations/index.ts +0 -15
  537. package/src/operations/operations.ts +0 -137
  538. package/src/operations/privateEndpointConnections.ts +0 -234
  539. package/src/operations/privateLinkResources.ts +0 -137
  540. package/src/operations/referenceDataSets.ts +0 -283
  541. package/src/operationsInterfaces/accessPolicies.ts +0 -103
  542. package/src/operationsInterfaces/environments.ts +0 -135
  543. package/src/operationsInterfaces/eventSources.ts +0 -104
  544. package/src/operationsInterfaces/index.ts +0 -15
  545. package/src/operationsInterfaces/operations.ts +0 -22
  546. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -81
  547. package/src/operationsInterfaces/privateLinkResources.ts +0 -30
  548. package/src/operationsInterfaces/referenceDataSets.ts +0 -104
  549. package/src/timeSeriesInsightsClient.ts +0 -128
  550. package/tsconfig.json +0 -33
  551. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  552. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  553. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  554. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  555. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  556. /package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicies.js +0 -0
  557. /package/{dist-esm/src → dist/browser}/operationsInterfaces/environments.js +0 -0
  558. /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventSources.js +0 -0
  559. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  560. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  561. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  562. /package/{dist-esm/src → dist/browser}/operationsInterfaces/referenceDataSets.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environments.js","sourceRoot":"","sources":["../../../src/operations/environments.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;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAiBxC,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IACV,MAA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AAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,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 { Environments } 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 { TimeSeriesInsightsClient } from \"../timeSeriesInsightsClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n EnvironmentCreateOrUpdateParametersUnion,\n EnvironmentsCreateOrUpdateOptionalParams,\n EnvironmentsCreateOrUpdateResponse,\n EnvironmentsGetOptionalParams,\n EnvironmentsGetResponse,\n EnvironmentUpdateParametersUnion,\n EnvironmentsUpdateOptionalParams,\n EnvironmentsUpdateResponse,\n EnvironmentsDeleteOptionalParams,\n EnvironmentsListByResourceGroupOptionalParams,\n EnvironmentsListByResourceGroupResponse,\n EnvironmentsListBySubscriptionOptionalParams,\n EnvironmentsListBySubscriptionResponse\n} from \"../models/index.js\";\n\n/** Class containing Environments operations. */\nexport class EnvironmentsImpl implements Environments {\n private readonly client: TimeSeriesInsightsClient;\n\n /**\n * Initialize a new instance of the class Environments class.\n * @param client Reference to the service client\n */\n constructor(client: TimeSeriesInsightsClient) {\n this.client = client;\n }\n\n /**\n * Create or update an environment in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName Name of the environment\n * @param parameters Parameters for creating an environment resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n parameters: EnvironmentCreateOrUpdateParametersUnion,\n options?: EnvironmentsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<EnvironmentsCreateOrUpdateResponse>,\n EnvironmentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<EnvironmentsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, environmentName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update an environment in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName Name of the environment\n * @param parameters Parameters for creating an environment resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n environmentName: string,\n parameters: EnvironmentCreateOrUpdateParametersUnion,\n options?: EnvironmentsCreateOrUpdateOptionalParams\n ): Promise<EnvironmentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n environmentName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n options?: EnvironmentsGetOptionalParams\n ): Promise<EnvironmentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n getOperationSpec\n );\n }\n\n /**\n * Updates the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param environmentUpdateParameters Request object that contains the updated information for the\n * environment.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n environmentName: string,\n environmentUpdateParameters: EnvironmentUpdateParametersUnion,\n options?: EnvironmentsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<EnvironmentsUpdateResponse>,\n EnvironmentsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<EnvironmentsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n environmentName,\n environmentUpdateParameters,\n options\n },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param environmentUpdateParameters Request object that contains the updated information for the\n * environment.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n environmentName: string,\n environmentUpdateParameters: EnvironmentUpdateParametersUnion,\n options?: EnvironmentsUpdateOptionalParams\n ): Promise<EnvironmentsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n environmentName,\n environmentUpdateParameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n options?: EnvironmentsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists all the available environments associated with the subscription and within the specified\n * resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: EnvironmentsListByResourceGroupOptionalParams\n ): Promise<EnvironmentsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all the available environments within a subscription, irrespective of the resource groups.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: EnvironmentsListBySubscriptionOptionalParams\n ): Promise<EnvironmentsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 201: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 202: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 204: {\n bodyMapper: Mappers.EnvironmentResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnvironmentResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 201: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 202: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 204: {\n bodyMapper: Mappers.EnvironmentResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.environmentUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnvironmentListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.TimeSeriesInsights/environments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnvironmentListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { EventSources } from "../operationsInterfaces";
2
- import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient";
3
- import { EventSourceCreateOrUpdateParametersUnion, EventSourcesCreateOrUpdateOptionalParams, EventSourcesCreateOrUpdateResponse, EventSourcesGetOptionalParams, EventSourcesGetResponse, EventSourceUpdateParametersUnion, EventSourcesUpdateOptionalParams, EventSourcesUpdateResponse, EventSourcesDeleteOptionalParams, EventSourcesListByEnvironmentOptionalParams, EventSourcesListByEnvironmentResponse } from "../models";
1
+ import { EventSources } from "../operationsInterfaces/index.js";
2
+ import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient.js";
3
+ import { EventSourceCreateOrUpdateParametersUnion, EventSourcesCreateOrUpdateOptionalParams, EventSourcesCreateOrUpdateResponse, EventSourcesGetOptionalParams, EventSourcesGetResponse, EventSourceUpdateParametersUnion, EventSourcesUpdateOptionalParams, EventSourcesUpdateResponse, EventSourcesDeleteOptionalParams, EventSourcesListByEnvironmentOptionalParams, EventSourcesListByEnvironmentResponse } from "../models/index.js";
4
4
  /** Class containing EventSources operations. */
5
5
  export declare class EventSourcesImpl implements EventSources {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventSources.d.ts","sourceRoot":"","sources":["../../../src/operations/eventSources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,wCAAwC,EACxC,wCAAwC,EACxC,kCAAkC,EAClC,6BAA6B,EAC7B,uBAAuB,EACvB,gCAAgC,EAChC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,2CAA2C,EAC3C,qCAAqC,EACtC,MAAM,oBAAoB,CAAC;AAE5B,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,wCAAwC,EACpD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAa9C;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAOnC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,2BAA2B,EAAE,gCAAgC,EAC7D,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAatC;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;OAOG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;CAMlD"}
@@ -6,10 +6,11 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing EventSources operations. */
12
12
  export class EventSourcesImpl {
13
+ client;
13
14
  /**
14
15
  * Initialize a new instance of the class EventSources class.
15
16
  * @param client Reference to the service client
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventSources.js","sourceRoot":"","sources":["../../../src/operations/eventSources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,C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C;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EACF,uJAAuJ;IACzJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;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,gBAAgB;KAC5B;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 { EventSources } 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 { TimeSeriesInsightsClient } from \"../timeSeriesInsightsClient.js\";\nimport {\n EventSourceCreateOrUpdateParametersUnion,\n EventSourcesCreateOrUpdateOptionalParams,\n EventSourcesCreateOrUpdateResponse,\n EventSourcesGetOptionalParams,\n EventSourcesGetResponse,\n EventSourceUpdateParametersUnion,\n EventSourcesUpdateOptionalParams,\n EventSourcesUpdateResponse,\n EventSourcesDeleteOptionalParams,\n EventSourcesListByEnvironmentOptionalParams,\n EventSourcesListByEnvironmentResponse\n} from \"../models/index.js\";\n\n/** Class containing EventSources operations. */\nexport class EventSourcesImpl implements EventSources {\n private readonly client: TimeSeriesInsightsClient;\n\n /**\n * Initialize a new instance of the class EventSources class.\n * @param client Reference to the service client\n */\n constructor(client: TimeSeriesInsightsClient) {\n this.client = client;\n }\n\n /**\n * Create or update an event source under the specified environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param eventSourceName Name of the event source.\n * @param parameters Parameters for creating an event source resource.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n eventSourceName: string,\n parameters: EventSourceCreateOrUpdateParametersUnion,\n options?: EventSourcesCreateOrUpdateOptionalParams\n ): Promise<EventSourcesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n eventSourceName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Gets the event source with the specified name in the specified environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param eventSourceName The name of the Time Series Insights event source associated with the\n * specified environment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n eventSourceName: string,\n options?: EventSourcesGetOptionalParams\n ): Promise<EventSourcesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, eventSourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Updates the event source with the specified name in the specified subscription, resource group, and\n * environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param eventSourceName The name of the Time Series Insights event source associated with the\n * specified environment.\n * @param eventSourceUpdateParameters Request object that contains the updated information for the\n * event source.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n environmentName: string,\n eventSourceName: string,\n eventSourceUpdateParameters: EventSourceUpdateParametersUnion,\n options?: EventSourcesUpdateOptionalParams\n ): Promise<EventSourcesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n eventSourceName,\n eventSourceUpdateParameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Deletes the event source with the specified name in the specified subscription, resource group, and\n * environment\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param eventSourceName The name of the Time Series Insights event source associated with the\n * specified environment.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n eventSourceName: string,\n options?: EventSourcesDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, eventSourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists all the available event sources associated with the subscription and within the specified\n * resource group and environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n listByEnvironment(\n resourceGroupName: string,\n environmentName: string,\n options?: EventSourcesListByEnvironmentOptionalParams\n ): Promise<EventSourcesListByEnvironmentResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listByEnvironmentOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSourceResource\n },\n 201: {\n bodyMapper: Mappers.EventSourceResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.eventSourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSourceResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.eventSourceName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSourceResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.eventSourceUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.eventSourceName1\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.eventSourceName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByEnvironmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSourceListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,8 @@
1
+ export * from "./operations.js";
2
+ export * from "./environments.js";
3
+ export * from "./eventSources.js";
4
+ export * from "./referenceDataSets.js";
5
+ export * from "./accessPolicies.js";
6
+ export * from "./privateEndpointConnections.js";
7
+ export * from "./privateLinkResources.js";
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,15 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./operations.js";
9
+ export * from "./environments.js";
10
+ export * from "./eventSources.js";
11
+ export * from "./referenceDataSets.js";
12
+ export * from "./accessPolicies.js";
13
+ export * from "./privateEndpointConnections.js";
14
+ export * from "./privateLinkResources.js";
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./environments.js\";\nexport * from \"./eventSources.js\";\nexport * from \"./referenceDataSets.js\";\nexport * from \"./accessPolicies.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operations } from "../operationsInterfaces";
3
- import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient";
4
- import { Operation, OperationsListOptionalParams } from "../models";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient.js";
4
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing Operations operations. */
6
6
  export declare class OperationsImpl implements Operations {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -5,13 +5,14 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
8
+ import { setContinuationToken } from "../pagingHelper.js";
9
9
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
12
  /// <reference lib="esnext.asynciterable" />
13
13
  /** Class containing Operations operations. */
14
14
  export class OperationsImpl {
15
+ client;
15
16
  /**
16
17
  * Initialize a new instance of the class Operations class.
17
18
  * @param client Reference to the service client
@@ -32,40 +33,36 @@ export class OperationsImpl {
32
33
  [Symbol.asyncIterator]() {
33
34
  return this;
34
35
  },
35
- byPage: () => {
36
- return this.listPagingPage(options);
36
+ byPage: (settings) => {
37
+ if (settings?.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listPagingPage(options, settings);
37
41
  }
38
42
  };
39
43
  }
40
- listPagingPage(options) {
41
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
42
- let result = yield __await(this._list(options));
43
- yield yield __await(result.value || []);
44
- let continuationToken = result.nextLink;
45
- while (continuationToken) {
46
- result = yield __await(this._listNext(continuationToken, options));
47
- continuationToken = result.nextLink;
48
- yield yield __await(result.value || []);
49
- }
50
- });
44
+ async *listPagingPage(options, settings) {
45
+ let result;
46
+ let continuationToken = settings?.continuationToken;
47
+ if (!continuationToken) {
48
+ result = await this._list(options);
49
+ let page = result.value || [];
50
+ continuationToken = result.nextLink;
51
+ setContinuationToken(page, continuationToken);
52
+ yield page;
53
+ }
54
+ while (continuationToken) {
55
+ result = await this._listNext(continuationToken, options);
56
+ continuationToken = result.nextLink;
57
+ let page = result.value || [];
58
+ setContinuationToken(page, continuationToken);
59
+ yield page;
60
+ }
51
61
  }
52
- listPagingAll(options) {
53
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
54
- var e_1, _a;
55
- try {
56
- for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
57
- const page = _c.value;
58
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
- }
60
- }
61
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
- finally {
63
- try {
64
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
65
- }
66
- finally { if (e_1) throw e_1.error; }
67
- }
68
- });
62
+ async *listPagingAll(options) {
63
+ for await (const page of this.listPagingPage(options)) {
64
+ yield* page;
65
+ }
69
66
  }
70
67
  /**
71
68
  * Lists all of the available Time Series Insights related operations.
@@ -112,7 +109,6 @@ const listNextOperationSpec = {
112
109
  bodyMapper: Mappers.CloudError
113
110
  }
114
111
  },
115
- queryParameters: [Parameters.apiVersion],
116
112
  urlParameters: [Parameters.$host, Parameters.nextLink],
117
113
  headerParameters: [Parameters.accept],
118
114
  serializer
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.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,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;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,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,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 { Operations } 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 { TimeSeriesInsightsClient } from \"../timeSeriesInsightsClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: TimeSeriesInsightsClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: TimeSeriesInsightsClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Time Series Insights related operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(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(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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 options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Time Series Insights related operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ 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?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\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: \"/providers/Microsoft.TimeSeriesInsights/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { PrivateEndpointConnections } from "../operationsInterfaces";
2
- import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient";
3
- import { PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByEnvironmentOptionalParams, PrivateEndpointConnectionsListByEnvironmentResponse } from "../models";
1
+ import { PrivateEndpointConnections } from "../operationsInterfaces/index.js";
2
+ import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient.js";
3
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByEnvironmentOptionalParams, PrivateEndpointConnectionsListByEnvironmentResponse } from "../models/index.js";
4
4
  /** Class containing PrivateEndpointConnections operations. */
5
5
  export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,yBAAyB,EACzB,sDAAsD,EACtD,gDAAgD,EAChD,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC9C,yDAAyD,EACzD,mDAAmD,EACpD,MAAM,oBAAoB,CAAC;AAE5B,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;IAa5D;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAYhB;;;;;;OAMG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,yDAAyD,GAClE,OAAO,CAAC,mDAAmD,CAAC;CAMhE"}
@@ -6,10 +6,11 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing PrivateEndpointConnections operations. */
12
12
  export class PrivateEndpointConnectionsImpl {
13
+ client;
13
14
  /**
14
15
  * Initialize a new instance of the class PrivateEndpointConnections class.
15
16
  * @param client Reference to the service client
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.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;AAatD,8DAA8D;AAC9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O,CAAC,UAAU;SAC/B;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,gBAAgB;QAC3B,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EACF,qKAAqK;IACvK,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;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,gBAAgB;KAC5B;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 { PrivateEndpointConnections } 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 { TimeSeriesInsightsClient } from \"../timeSeriesInsightsClient.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByEnvironmentOptionalParams,\n PrivateEndpointConnectionsListByEnvironmentResponse\n} from \"../models/index.js\";\n\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections {\n private readonly client: TimeSeriesInsightsClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: TimeSeriesInsightsClient) {\n this.client = client;\n }\n\n /**\n * Updates a Private Endpoint connection of the environment in the given resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param privateEndpointConnection The definition of the private endpoint connection to update.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Gets the details of the private endpoint connection of the environment in the given resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Disconnects the private endpoint connection and deletes it from the environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options\n },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets a list of all private endpoint connections in the given environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n listByEnvironment(\n resourceGroupName: string,\n environmentName: string,\n options?: PrivateEndpointConnectionsListByEnvironmentOptionalParams\n ): Promise<PrivateEndpointConnectionsListByEnvironmentResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listByEnvironmentOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.privateEndpointConnection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n 404: {\n isError: true\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByEnvironmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PrivateLinkResources } from "../operationsInterfaces";
3
- import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient";
4
- import { PrivateLinkResource, PrivateLinkResourcesListSupportedOptionalParams } from "../models";
2
+ import { PrivateLinkResources } from "../operationsInterfaces/index.js";
3
+ import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient.js";
4
+ import { PrivateLinkResource, PrivateLinkResourcesListSupportedOptionalParams } from "../models/index.js";
5
5
  /** Class containing PrivateLinkResources operations. */
6
6
  export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,mBAAmB,EACnB,+CAA+C,EAEhD,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;OAMG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,mBAAmB,CAAC;YA2BnC,uBAAuB;YAevB,sBAAsB;IAcrC;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;CAUvB"}
@@ -5,13 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
12
11
  /// <reference lib="esnext.asynciterable" />
13
12
  /** Class containing PrivateLinkResources operations. */
14
13
  export class PrivateLinkResourcesImpl {
14
+ client;
15
15
  /**
16
16
  * Initialize a new instance of the class PrivateLinkResources class.
17
17
  * @param client Reference to the service client
@@ -35,34 +35,23 @@ export class PrivateLinkResourcesImpl {
35
35
  [Symbol.asyncIterator]() {
36
36
  return this;
37
37
  },
38
- byPage: () => {
39
- return this.listSupportedPagingPage(resourceGroupName, environmentName, options);
38
+ byPage: (settings) => {
39
+ if (settings?.maxPageSize) {
40
+ throw new Error("maxPageSize is not supported by this operation.");
41
+ }
42
+ return this.listSupportedPagingPage(resourceGroupName, environmentName, options, settings);
40
43
  }
41
44
  };
42
45
  }
43
- listSupportedPagingPage(resourceGroupName, environmentName, options) {
44
- return __asyncGenerator(this, arguments, function* listSupportedPagingPage_1() {
45
- let result = yield __await(this._listSupported(resourceGroupName, environmentName, options));
46
- yield yield __await(result.value || []);
47
- });
46
+ async *listSupportedPagingPage(resourceGroupName, environmentName, options, _settings) {
47
+ let result;
48
+ result = await this._listSupported(resourceGroupName, environmentName, options);
49
+ yield result.value || [];
48
50
  }
49
- listSupportedPagingAll(resourceGroupName, environmentName, options) {
50
- return __asyncGenerator(this, arguments, function* listSupportedPagingAll_1() {
51
- var e_1, _a;
52
- try {
53
- for (var _b = __asyncValues(this.listSupportedPagingPage(resourceGroupName, environmentName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
54
- const page = _c.value;
55
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
56
- }
57
- }
58
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
59
- finally {
60
- try {
61
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
62
- }
63
- finally { if (e_1) throw e_1.error; }
64
- }
65
- });
51
+ async *listSupportedPagingAll(resourceGroupName, environmentName, options) {
52
+ for await (const page of this.listSupportedPagingPage(resourceGroupName, environmentName, options)) {
53
+ yield* page;
54
+ }
66
55
  }
67
56
  /**
68
57
  * Gets a list of all supported private link resource types for the given environment.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAClB,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,aAAa,CAClB,iBAAyB,EACzB,eAAuB,EACvB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,eAAe,EACf,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,uBAAuB,CACpC,iBAAyB,EACzB,eAAuB,EACvB,OAAyD,EACzD,SAAwB;QAExB,IAAI,MAAiD,CAAC;QACtD,MAAM,GAAG,MAAM,IAAI,CAAC,cAAc,CAChC,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,CAAC;QACF,MAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;IAC3B,CAAC;IAEO,KAAK,CAAC,CAAC,sBAAsB,CACnC,iBAAyB,EACzB,eAAuB,EACvB,OAAyD;QAEzD,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,uBAAuB,CACnD,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EAAE,CAAC;YACF,KAAK,CAAC,CAAC,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACK,cAAc,CACpB,iBAAyB,EACzB,eAAuB,EACvB,OAAyD;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,EAAE,EAC/C,0BAA0B,CAC3B,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EACF,+JAA+J;IACjK,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;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,gBAAgB;KAC5B;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 { PrivateLinkResources } 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 { TimeSeriesInsightsClient } from \"../timeSeriesInsightsClient.js\";\nimport {\n PrivateLinkResource,\n PrivateLinkResourcesListSupportedOptionalParams,\n PrivateLinkResourcesListSupportedResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: TimeSeriesInsightsClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: TimeSeriesInsightsClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of all supported private link resource types for the given environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n public listSupported(\n resourceGroupName: string,\n environmentName: string,\n options?: PrivateLinkResourcesListSupportedOptionalParams\n ): PagedAsyncIterableIterator<PrivateLinkResource> {\n const iter = this.listSupportedPagingAll(\n resourceGroupName,\n environmentName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listSupportedPagingPage(\n resourceGroupName,\n environmentName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listSupportedPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: PrivateLinkResourcesListSupportedOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<PrivateLinkResource[]> {\n let result: PrivateLinkResourcesListSupportedResponse;\n result = await this._listSupported(\n resourceGroupName,\n environmentName,\n options\n );\n yield result.value || [];\n }\n\n private async *listSupportedPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: PrivateLinkResourcesListSupportedOptionalParams\n ): AsyncIterableIterator<PrivateLinkResource> {\n for await (const page of this.listSupportedPagingPage(\n resourceGroupName,\n environmentName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of all supported private link resource types for the given environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n private _listSupported(\n resourceGroupName: string,\n environmentName: string,\n options?: PrivateLinkResourcesListSupportedOptionalParams\n ): Promise<PrivateLinkResourcesListSupportedResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listSupportedOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listSupportedOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { ReferenceDataSets } from "../operationsInterfaces";
2
- import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient";
3
- import { ReferenceDataSetCreateOrUpdateParameters, ReferenceDataSetsCreateOrUpdateOptionalParams, ReferenceDataSetsCreateOrUpdateResponse, ReferenceDataSetsGetOptionalParams, ReferenceDataSetsGetResponse, ReferenceDataSetUpdateParameters, ReferenceDataSetsUpdateOptionalParams, ReferenceDataSetsUpdateResponse, ReferenceDataSetsDeleteOptionalParams, ReferenceDataSetsListByEnvironmentOptionalParams, ReferenceDataSetsListByEnvironmentResponse } from "../models";
1
+ import { ReferenceDataSets } from "../operationsInterfaces/index.js";
2
+ import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient.js";
3
+ import { ReferenceDataSetCreateOrUpdateParameters, ReferenceDataSetsCreateOrUpdateOptionalParams, ReferenceDataSetsCreateOrUpdateResponse, ReferenceDataSetsGetOptionalParams, ReferenceDataSetsGetResponse, ReferenceDataSetUpdateParameters, ReferenceDataSetsUpdateOptionalParams, ReferenceDataSetsUpdateResponse, ReferenceDataSetsDeleteOptionalParams, ReferenceDataSetsListByEnvironmentOptionalParams, ReferenceDataSetsListByEnvironmentResponse } from "../models/index.js";
4
4
  /** Class containing ReferenceDataSets operations. */
5
5
  export declare class ReferenceDataSetsImpl implements ReferenceDataSets {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"referenceDataSets.d.ts","sourceRoot":"","sources":["../../../src/operations/referenceDataSets.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAIrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,wCAAwC,EACxC,6CAA6C,EAC7C,uCAAuC,EACvC,kCAAkC,EAClC,4BAA4B,EAC5B,gCAAgC,EAChC,qCAAqC,EACrC,+BAA+B,EAC/B,qCAAqC,EACrC,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAE5B,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,oBAAoB,EAAE,MAAM,EAC5B,UAAU,EAAE,wCAAwC,EACpD,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAanD;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,oBAAoB,EAAE,MAAM,EAC5B,gCAAgC,EAAE,gCAAgC,EAClE,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAa3C;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;OAOG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;CAMvD"}
@@ -6,10 +6,11 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing ReferenceDataSets operations. */
12
12
  export class ReferenceDataSetsImpl {
13
+ client;
13
14
  /**
14
15
  * Initialize a new instance of the class ReferenceDataSets class.
15
16
  * @param client Reference to the service client
@@ -0,0 +1 @@
1
+ {"version":3,"file":"referenceDataSets.js","sourceRoot":"","sources":["../../../src/operations/referenceDataSets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB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UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EACF,4JAA4J;IAC9J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;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,gBAAgB;KAC5B;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 { ReferenceDataSets } 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 { TimeSeriesInsightsClient } from \"../timeSeriesInsightsClient.js\";\nimport {\n ReferenceDataSetCreateOrUpdateParameters,\n ReferenceDataSetsCreateOrUpdateOptionalParams,\n ReferenceDataSetsCreateOrUpdateResponse,\n ReferenceDataSetsGetOptionalParams,\n ReferenceDataSetsGetResponse,\n ReferenceDataSetUpdateParameters,\n ReferenceDataSetsUpdateOptionalParams,\n ReferenceDataSetsUpdateResponse,\n ReferenceDataSetsDeleteOptionalParams,\n ReferenceDataSetsListByEnvironmentOptionalParams,\n ReferenceDataSetsListByEnvironmentResponse\n} from \"../models/index.js\";\n\n/** Class containing ReferenceDataSets operations. */\nexport class ReferenceDataSetsImpl implements ReferenceDataSets {\n private readonly client: TimeSeriesInsightsClient;\n\n /**\n * Initialize a new instance of the class ReferenceDataSets class.\n * @param client Reference to the service client\n */\n constructor(client: TimeSeriesInsightsClient) {\n this.client = client;\n }\n\n /**\n * Create or update a reference data set in the specified environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param referenceDataSetName Name of the reference data set.\n * @param parameters Parameters for creating a reference data set.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n referenceDataSetName: string,\n parameters: ReferenceDataSetCreateOrUpdateParameters,\n options?: ReferenceDataSetsCreateOrUpdateOptionalParams\n ): Promise<ReferenceDataSetsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n referenceDataSetName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Gets the reference data set with the specified name in the specified environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param referenceDataSetName The name of the Time Series Insights reference data set associated with\n * the specified environment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n referenceDataSetName: string,\n options?: ReferenceDataSetsGetOptionalParams\n ): Promise<ReferenceDataSetsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, referenceDataSetName, options },\n getOperationSpec\n );\n }\n\n /**\n * Updates the reference data set with the specified name in the specified subscription, resource\n * group, and environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param referenceDataSetName The name of the Time Series Insights reference data set associated with\n * the specified environment.\n * @param referenceDataSetUpdateParameters Request object that contains the updated information for the\n * reference data set.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n environmentName: string,\n referenceDataSetName: string,\n referenceDataSetUpdateParameters: ReferenceDataSetUpdateParameters,\n options?: ReferenceDataSetsUpdateOptionalParams\n ): Promise<ReferenceDataSetsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n referenceDataSetName,\n referenceDataSetUpdateParameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Deletes the reference data set with the specified name in the specified subscription, resource\n * group, and environment\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param referenceDataSetName The name of the Time Series Insights reference data set associated with\n * the specified environment.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n referenceDataSetName: string,\n options?: ReferenceDataSetsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, referenceDataSetName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists all the available reference data sets associated with the subscription and within the\n * specified resource group and environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n listByEnvironment(\n resourceGroupName: string,\n environmentName: string,\n options?: ReferenceDataSetsListByEnvironmentOptionalParams\n ): Promise<ReferenceDataSetsListByEnvironmentResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listByEnvironmentOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets/{referenceDataSetName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReferenceDataSetResource\n },\n 201: {\n bodyMapper: Mappers.ReferenceDataSetResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.referenceDataSetName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets/{referenceDataSetName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReferenceDataSetResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.referenceDataSetName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets/{referenceDataSetName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReferenceDataSetResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.referenceDataSetUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.referenceDataSetName1\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets/{referenceDataSetName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.referenceDataSetName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByEnvironmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReferenceDataSetListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,4 +1,4 @@
1
- import { AccessPolicyCreateOrUpdateParameters, AccessPoliciesCreateOrUpdateOptionalParams, AccessPoliciesCreateOrUpdateResponse, AccessPoliciesGetOptionalParams, AccessPoliciesGetResponse, AccessPolicyUpdateParameters, AccessPoliciesUpdateOptionalParams, AccessPoliciesUpdateResponse, AccessPoliciesDeleteOptionalParams, AccessPoliciesListByEnvironmentOptionalParams, AccessPoliciesListByEnvironmentResponse } from "../models";
1
+ import { AccessPolicyCreateOrUpdateParameters, AccessPoliciesCreateOrUpdateOptionalParams, AccessPoliciesCreateOrUpdateResponse, AccessPoliciesGetOptionalParams, AccessPoliciesGetResponse, AccessPolicyUpdateParameters, AccessPoliciesUpdateOptionalParams, AccessPoliciesUpdateResponse, AccessPoliciesDeleteOptionalParams, AccessPoliciesListByEnvironmentOptionalParams, AccessPoliciesListByEnvironmentResponse } from "../models/index.js";
2
2
  /** Interface representing a AccessPolicies. */
3
3
  export interface AccessPolicies {
4
4
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessPolicies.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/accessPolicies.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,oCAAoC,EACpC,0CAA0C,EAC1C,oCAAoC,EACpC,+BAA+B,EAC/B,yBAAyB,EACzB,4BAA4B,EAC5B,kCAAkC,EAClC,4BAA4B,EAC5B,kCAAkC,EAClC,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAE5B,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,oCAAoC,EAChD,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,MAAM,EACxB,4BAA4B,EAAE,4BAA4B,EAC1D,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;CACrD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessPolicies.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/accessPolicies.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n AccessPolicyCreateOrUpdateParameters,\n AccessPoliciesCreateOrUpdateOptionalParams,\n AccessPoliciesCreateOrUpdateResponse,\n AccessPoliciesGetOptionalParams,\n AccessPoliciesGetResponse,\n AccessPolicyUpdateParameters,\n AccessPoliciesUpdateOptionalParams,\n AccessPoliciesUpdateResponse,\n AccessPoliciesDeleteOptionalParams,\n AccessPoliciesListByEnvironmentOptionalParams,\n AccessPoliciesListByEnvironmentResponse\n} from \"../models/index.js\";\n\n/** Interface representing a AccessPolicies. */\nexport interface AccessPolicies {\n /**\n * Create or update an access policy in the specified environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param accessPolicyName Name of the access policy.\n * @param parameters Parameters for creating an access policy.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n accessPolicyName: string,\n parameters: AccessPolicyCreateOrUpdateParameters,\n options?: AccessPoliciesCreateOrUpdateOptionalParams\n ): Promise<AccessPoliciesCreateOrUpdateResponse>;\n /**\n * Gets the access policy with the specified name in the specified environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param accessPolicyName The name of the Time Series Insights access policy associated with the\n * specified environment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n accessPolicyName: string,\n options?: AccessPoliciesGetOptionalParams\n ): Promise<AccessPoliciesGetResponse>;\n /**\n * Updates the access policy with the specified name in the specified subscription, resource group, and\n * environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param accessPolicyName The name of the Time Series Insights access policy associated with the\n * specified environment.\n * @param accessPolicyUpdateParameters Request object that contains the updated information for the\n * access policy.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n environmentName: string,\n accessPolicyName: string,\n accessPolicyUpdateParameters: AccessPolicyUpdateParameters,\n options?: AccessPoliciesUpdateOptionalParams\n ): Promise<AccessPoliciesUpdateResponse>;\n /**\n * Deletes the access policy with the specified name in the specified subscription, resource group, and\n * environment\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param accessPolicyName The name of the Time Series Insights access policy associated with the\n * specified environment.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n accessPolicyName: string,\n options?: AccessPoliciesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Lists all the available access policies associated with the environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n listByEnvironment(\n resourceGroupName: string,\n environmentName: string,\n options?: AccessPoliciesListByEnvironmentOptionalParams\n ): Promise<AccessPoliciesListByEnvironmentResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PollerLike, PollOperationState } from "@azure/core-lro";
2
- import { EnvironmentCreateOrUpdateParametersUnion, EnvironmentsCreateOrUpdateOptionalParams, EnvironmentsCreateOrUpdateResponse, EnvironmentsGetOptionalParams, EnvironmentsGetResponse, EnvironmentUpdateParametersUnion, EnvironmentsUpdateOptionalParams, EnvironmentsUpdateResponse, EnvironmentsDeleteOptionalParams, EnvironmentsListByResourceGroupOptionalParams, EnvironmentsListByResourceGroupResponse, EnvironmentsListBySubscriptionOptionalParams, EnvironmentsListBySubscriptionResponse } from "../models";
2
+ import { EnvironmentCreateOrUpdateParametersUnion, EnvironmentsCreateOrUpdateOptionalParams, EnvironmentsCreateOrUpdateResponse, EnvironmentsGetOptionalParams, EnvironmentsGetResponse, EnvironmentUpdateParametersUnion, EnvironmentsUpdateOptionalParams, EnvironmentsUpdateResponse, EnvironmentsDeleteOptionalParams, EnvironmentsListByResourceGroupOptionalParams, EnvironmentsListByResourceGroupResponse, EnvironmentsListBySubscriptionOptionalParams, EnvironmentsListBySubscriptionResponse } from "../models/index.js";
3
3
  /** Interface representing a Environments. */
4
4
  export interface Environments {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/environments.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,wCAAwC,EACxC,wCAAwC,EACxC,kCAAkC,EAClC,6BAA6B,EAC7B,uBAAuB,EACvB,gCAAgC,EAChC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,6CAA6C,EAC7C,uCAAuC,EACvC,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAE5B,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,wCAAwC,EACpD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,kCAAkC,CAAC,EACtD,kCAAkC,CACnC,CACF,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,wCAAwC,EACpD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,2BAA2B,EAAE,gCAAgC,EAC7D,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,0BAA0B,CAAC,EAC9C,0BAA0B,CAC3B,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,2BAA2B,EAAE,gCAAgC,EAC7D,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACpD;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACpD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environments.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/environments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n EnvironmentCreateOrUpdateParametersUnion,\n EnvironmentsCreateOrUpdateOptionalParams,\n EnvironmentsCreateOrUpdateResponse,\n EnvironmentsGetOptionalParams,\n EnvironmentsGetResponse,\n EnvironmentUpdateParametersUnion,\n EnvironmentsUpdateOptionalParams,\n EnvironmentsUpdateResponse,\n EnvironmentsDeleteOptionalParams,\n EnvironmentsListByResourceGroupOptionalParams,\n EnvironmentsListByResourceGroupResponse,\n EnvironmentsListBySubscriptionOptionalParams,\n EnvironmentsListBySubscriptionResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Environments. */\nexport interface Environments {\n /**\n * Create or update an environment in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName Name of the environment\n * @param parameters Parameters for creating an environment resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n parameters: EnvironmentCreateOrUpdateParametersUnion,\n options?: EnvironmentsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<EnvironmentsCreateOrUpdateResponse>,\n EnvironmentsCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update an environment in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName Name of the environment\n * @param parameters Parameters for creating an environment resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n environmentName: string,\n parameters: EnvironmentCreateOrUpdateParametersUnion,\n options?: EnvironmentsCreateOrUpdateOptionalParams\n ): Promise<EnvironmentsCreateOrUpdateResponse>;\n /**\n * Gets the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n options?: EnvironmentsGetOptionalParams\n ): Promise<EnvironmentsGetResponse>;\n /**\n * Updates the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param environmentUpdateParameters Request object that contains the updated information for the\n * environment.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n environmentName: string,\n environmentUpdateParameters: EnvironmentUpdateParametersUnion,\n options?: EnvironmentsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<EnvironmentsUpdateResponse>,\n EnvironmentsUpdateResponse\n >\n >;\n /**\n * Updates the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param environmentUpdateParameters Request object that contains the updated information for the\n * environment.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n environmentName: string,\n environmentUpdateParameters: EnvironmentUpdateParametersUnion,\n options?: EnvironmentsUpdateOptionalParams\n ): Promise<EnvironmentsUpdateResponse>;\n /**\n * Deletes the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n options?: EnvironmentsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Lists all the available environments associated with the subscription and within the specified\n * resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: EnvironmentsListByResourceGroupOptionalParams\n ): Promise<EnvironmentsListByResourceGroupResponse>;\n /**\n * Lists all the available environments within a subscription, irrespective of the resource groups.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: EnvironmentsListBySubscriptionOptionalParams\n ): Promise<EnvironmentsListBySubscriptionResponse>;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { EventSourceCreateOrUpdateParametersUnion, EventSourcesCreateOrUpdateOptionalParams, EventSourcesCreateOrUpdateResponse, EventSourcesGetOptionalParams, EventSourcesGetResponse, EventSourceUpdateParametersUnion, EventSourcesUpdateOptionalParams, EventSourcesUpdateResponse, EventSourcesDeleteOptionalParams, EventSourcesListByEnvironmentOptionalParams, EventSourcesListByEnvironmentResponse } from "../models";
1
+ import { EventSourceCreateOrUpdateParametersUnion, EventSourcesCreateOrUpdateOptionalParams, EventSourcesCreateOrUpdateResponse, EventSourcesGetOptionalParams, EventSourcesGetResponse, EventSourceUpdateParametersUnion, EventSourcesUpdateOptionalParams, EventSourcesUpdateResponse, EventSourcesDeleteOptionalParams, EventSourcesListByEnvironmentOptionalParams, EventSourcesListByEnvironmentResponse } from "../models/index.js";
2
2
  /** Interface representing a EventSources. */
3
3
  export interface EventSources {
4
4
  /**