@azure/arm-iotoperations 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +100 -0
  4. package/dist/browser/api/broker/index.d.ts +22 -0
  5. package/dist/browser/api/broker/index.d.ts.map +1 -0
  6. package/dist/browser/api/broker/index.js +82 -0
  7. package/dist/browser/api/broker/index.js.map +1 -0
  8. package/dist/browser/api/brokerAuthentication/index.d.ts +22 -0
  9. package/dist/browser/api/brokerAuthentication/index.d.ts.map +1 -0
  10. package/dist/browser/api/brokerAuthentication/index.js +90 -0
  11. package/dist/browser/api/brokerAuthentication/index.js.map +1 -0
  12. package/dist/browser/api/brokerAuthorization/index.d.ts +22 -0
  13. package/dist/browser/api/brokerAuthorization/index.d.ts.map +1 -0
  14. package/dist/browser/api/brokerAuthorization/index.js +90 -0
  15. package/dist/browser/api/brokerAuthorization/index.js.map +1 -0
  16. package/dist/browser/api/brokerListener/index.d.ts +22 -0
  17. package/dist/browser/api/brokerListener/index.d.ts.map +1 -0
  18. package/dist/browser/api/brokerListener/index.js +86 -0
  19. package/dist/browser/api/brokerListener/index.js.map +1 -0
  20. package/dist/browser/api/dataflow/index.d.ts +22 -0
  21. package/dist/browser/api/dataflow/index.d.ts.map +1 -0
  22. package/dist/browser/api/dataflow/index.js +82 -0
  23. package/dist/browser/api/dataflow/index.js.map +1 -0
  24. package/dist/browser/api/dataflowEndpoint/index.d.ts +22 -0
  25. package/dist/browser/api/dataflowEndpoint/index.d.ts.map +1 -0
  26. package/dist/browser/api/dataflowEndpoint/index.js +90 -0
  27. package/dist/browser/api/dataflowEndpoint/index.js.map +1 -0
  28. package/dist/browser/api/dataflowProfile/index.d.ts +22 -0
  29. package/dist/browser/api/dataflowProfile/index.d.ts.map +1 -0
  30. package/dist/browser/api/dataflowProfile/index.js +86 -0
  31. package/dist/browser/api/dataflowProfile/index.js.map +1 -0
  32. package/dist/browser/api/index.d.ts +12 -0
  33. package/dist/browser/api/index.d.ts.map +1 -0
  34. package/dist/browser/api/index.js +13 -0
  35. package/dist/browser/api/index.js.map +1 -0
  36. package/dist/browser/api/instance/index.d.ts +30 -0
  37. package/dist/browser/api/instance/index.d.ts.map +1 -0
  38. package/dist/browser/api/instance/index.js +115 -0
  39. package/dist/browser/api/instance/index.js.map +1 -0
  40. package/dist/browser/api/ioTOperationsContext.d.ts +13 -0
  41. package/dist/browser/api/ioTOperationsContext.d.ts.map +1 -0
  42. package/dist/browser/api/ioTOperationsContext.js +35 -0
  43. package/dist/browser/api/ioTOperationsContext.js.map +1 -0
  44. package/dist/browser/api/operations/index.d.ts +9 -0
  45. package/dist/browser/api/operations/index.d.ts.map +1 -0
  46. package/dist/browser/api/operations/index.js +22 -0
  47. package/dist/browser/api/operations/index.js.map +1 -0
  48. package/dist/browser/api/options.d.ts +139 -0
  49. package/dist/browser/api/options.d.ts.map +1 -0
  50. package/dist/browser/api/options.js +4 -0
  51. package/dist/browser/api/options.js.map +1 -0
  52. package/dist/browser/classic/broker/index.d.ts +24 -0
  53. package/dist/browser/classic/broker/index.d.ts.map +1 -0
  54. package/dist/browser/classic/broker/index.js +15 -0
  55. package/dist/browser/classic/broker/index.js.map +1 -0
  56. package/dist/browser/classic/brokerAuthentication/index.d.ts +24 -0
  57. package/dist/browser/classic/brokerAuthentication/index.d.ts.map +1 -0
  58. package/dist/browser/classic/brokerAuthentication/index.js +15 -0
  59. package/dist/browser/classic/brokerAuthentication/index.js.map +1 -0
  60. package/dist/browser/classic/brokerAuthorization/index.d.ts +24 -0
  61. package/dist/browser/classic/brokerAuthorization/index.d.ts.map +1 -0
  62. package/dist/browser/classic/brokerAuthorization/index.js +15 -0
  63. package/dist/browser/classic/brokerAuthorization/index.js.map +1 -0
  64. package/dist/browser/classic/brokerListener/index.d.ts +24 -0
  65. package/dist/browser/classic/brokerListener/index.d.ts.map +1 -0
  66. package/dist/browser/classic/brokerListener/index.js +15 -0
  67. package/dist/browser/classic/brokerListener/index.js.map +1 -0
  68. package/dist/browser/classic/dataflow/index.d.ts +24 -0
  69. package/dist/browser/classic/dataflow/index.d.ts.map +1 -0
  70. package/dist/browser/classic/dataflow/index.js +15 -0
  71. package/dist/browser/classic/dataflow/index.js.map +1 -0
  72. package/dist/browser/classic/dataflowEndpoint/index.d.ts +24 -0
  73. package/dist/browser/classic/dataflowEndpoint/index.d.ts.map +1 -0
  74. package/dist/browser/classic/dataflowEndpoint/index.js +15 -0
  75. package/dist/browser/classic/dataflowEndpoint/index.js.map +1 -0
  76. package/dist/browser/classic/dataflowProfile/index.d.ts +24 -0
  77. package/dist/browser/classic/dataflowProfile/index.d.ts.map +1 -0
  78. package/dist/browser/classic/dataflowProfile/index.js +15 -0
  79. package/dist/browser/classic/dataflowProfile/index.js.map +1 -0
  80. package/dist/browser/classic/index.d.ts +10 -0
  81. package/dist/browser/classic/index.d.ts.map +1 -0
  82. package/dist/browser/classic/index.js +4 -0
  83. package/dist/browser/classic/index.js.map +1 -0
  84. package/dist/browser/classic/instance/index.d.ts +30 -0
  85. package/dist/browser/classic/instance/index.d.ts.map +1 -0
  86. package/dist/browser/classic/instance/index.js +17 -0
  87. package/dist/browser/classic/instance/index.js.map +1 -0
  88. package/dist/browser/classic/operations/index.d.ts +14 -0
  89. package/dist/browser/classic/operations/index.d.ts.map +1 -0
  90. package/dist/browser/classic/operations/index.js +12 -0
  91. package/dist/browser/classic/operations/index.js.map +1 -0
  92. package/dist/browser/helpers/serializerHelpers.d.ts +3 -0
  93. package/dist/browser/helpers/serializerHelpers.d.ts.map +1 -0
  94. package/dist/browser/helpers/serializerHelpers.js +24 -0
  95. package/dist/browser/helpers/serializerHelpers.js.map +1 -0
  96. package/dist/browser/index.d.ts +8 -0
  97. package/dist/browser/index.d.ts.map +1 -0
  98. package/dist/browser/index.js +6 -0
  99. package/dist/browser/index.js.map +1 -0
  100. package/dist/browser/ioTOperationsClient.d.ts +39 -0
  101. package/dist/browser/ioTOperationsClient.d.ts.map +1 -0
  102. package/dist/browser/ioTOperationsClient.js +34 -0
  103. package/dist/browser/ioTOperationsClient.js.map +1 -0
  104. package/dist/browser/logger.d.ts +2 -0
  105. package/dist/browser/logger.d.ts.map +1 -0
  106. package/dist/browser/logger.js +5 -0
  107. package/dist/browser/logger.js.map +1 -0
  108. package/dist/browser/models/index.d.ts +2 -0
  109. package/dist/browser/models/index.d.ts.map +1 -0
  110. package/dist/browser/models/index.js +4 -0
  111. package/dist/browser/models/index.js.map +1 -0
  112. package/dist/browser/models/models.d.ts +1921 -0
  113. package/dist/browser/models/models.d.ts.map +1 -0
  114. package/dist/browser/models/models.js +2343 -0
  115. package/dist/browser/models/models.js.map +1 -0
  116. package/dist/browser/package.json +3 -0
  117. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  118. package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
  119. package/dist/browser/restorePollerHelpers.js +160 -0
  120. package/dist/browser/restorePollerHelpers.js.map +1 -0
  121. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  122. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
  123. package/dist/browser/static-helpers/pagingHelpers.js +137 -0
  124. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  125. package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
  126. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
  127. package/dist/browser/static-helpers/pollingHelpers.js +76 -0
  128. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  129. package/dist/commonjs/api/broker/index.d.ts +22 -0
  130. package/dist/commonjs/api/broker/index.d.ts.map +1 -0
  131. package/dist/commonjs/api/broker/index.js +96 -0
  132. package/dist/commonjs/api/broker/index.js.map +1 -0
  133. package/dist/commonjs/api/brokerAuthentication/index.d.ts +22 -0
  134. package/dist/commonjs/api/brokerAuthentication/index.d.ts.map +1 -0
  135. package/dist/commonjs/api/brokerAuthentication/index.js +104 -0
  136. package/dist/commonjs/api/brokerAuthentication/index.js.map +1 -0
  137. package/dist/commonjs/api/brokerAuthorization/index.d.ts +22 -0
  138. package/dist/commonjs/api/brokerAuthorization/index.d.ts.map +1 -0
  139. package/dist/commonjs/api/brokerAuthorization/index.js +104 -0
  140. package/dist/commonjs/api/brokerAuthorization/index.js.map +1 -0
  141. package/dist/commonjs/api/brokerListener/index.d.ts +22 -0
  142. package/dist/commonjs/api/brokerListener/index.d.ts.map +1 -0
  143. package/dist/commonjs/api/brokerListener/index.js +100 -0
  144. package/dist/commonjs/api/brokerListener/index.js.map +1 -0
  145. package/dist/commonjs/api/dataflow/index.d.ts +22 -0
  146. package/dist/commonjs/api/dataflow/index.d.ts.map +1 -0
  147. package/dist/commonjs/api/dataflow/index.js +96 -0
  148. package/dist/commonjs/api/dataflow/index.js.map +1 -0
  149. package/dist/commonjs/api/dataflowEndpoint/index.d.ts +22 -0
  150. package/dist/commonjs/api/dataflowEndpoint/index.d.ts.map +1 -0
  151. package/dist/commonjs/api/dataflowEndpoint/index.js +104 -0
  152. package/dist/commonjs/api/dataflowEndpoint/index.js.map +1 -0
  153. package/dist/commonjs/api/dataflowProfile/index.d.ts +22 -0
  154. package/dist/commonjs/api/dataflowProfile/index.d.ts.map +1 -0
  155. package/dist/commonjs/api/dataflowProfile/index.js +100 -0
  156. package/dist/commonjs/api/dataflowProfile/index.js.map +1 -0
  157. package/dist/commonjs/api/index.d.ts +12 -0
  158. package/dist/commonjs/api/index.d.ts.map +1 -0
  159. package/dist/commonjs/api/index.js +52 -0
  160. package/dist/commonjs/api/index.js.map +1 -0
  161. package/dist/commonjs/api/instance/index.d.ts +30 -0
  162. package/dist/commonjs/api/instance/index.d.ts.map +1 -0
  163. package/dist/commonjs/api/instance/index.js +135 -0
  164. package/dist/commonjs/api/instance/index.js.map +1 -0
  165. package/dist/commonjs/api/ioTOperationsContext.d.ts +13 -0
  166. package/dist/commonjs/api/ioTOperationsContext.d.ts.map +1 -0
  167. package/dist/commonjs/api/ioTOperationsContext.js +38 -0
  168. package/dist/commonjs/api/ioTOperationsContext.js.map +1 -0
  169. package/dist/commonjs/api/operations/index.d.ts +9 -0
  170. package/dist/commonjs/api/operations/index.d.ts.map +1 -0
  171. package/dist/commonjs/api/operations/index.js +27 -0
  172. package/dist/commonjs/api/operations/index.js.map +1 -0
  173. package/dist/commonjs/api/options.d.ts +139 -0
  174. package/dist/commonjs/api/options.d.ts.map +1 -0
  175. package/dist/commonjs/api/options.js +5 -0
  176. package/dist/commonjs/api/options.js.map +1 -0
  177. package/dist/commonjs/classic/broker/index.d.ts +24 -0
  178. package/dist/commonjs/classic/broker/index.d.ts.map +1 -0
  179. package/dist/commonjs/classic/broker/index.js +19 -0
  180. package/dist/commonjs/classic/broker/index.js.map +1 -0
  181. package/dist/commonjs/classic/brokerAuthentication/index.d.ts +24 -0
  182. package/dist/commonjs/classic/brokerAuthentication/index.d.ts.map +1 -0
  183. package/dist/commonjs/classic/brokerAuthentication/index.js +19 -0
  184. package/dist/commonjs/classic/brokerAuthentication/index.js.map +1 -0
  185. package/dist/commonjs/classic/brokerAuthorization/index.d.ts +24 -0
  186. package/dist/commonjs/classic/brokerAuthorization/index.d.ts.map +1 -0
  187. package/dist/commonjs/classic/brokerAuthorization/index.js +19 -0
  188. package/dist/commonjs/classic/brokerAuthorization/index.js.map +1 -0
  189. package/dist/commonjs/classic/brokerListener/index.d.ts +24 -0
  190. package/dist/commonjs/classic/brokerListener/index.d.ts.map +1 -0
  191. package/dist/commonjs/classic/brokerListener/index.js +19 -0
  192. package/dist/commonjs/classic/brokerListener/index.js.map +1 -0
  193. package/dist/commonjs/classic/dataflow/index.d.ts +24 -0
  194. package/dist/commonjs/classic/dataflow/index.d.ts.map +1 -0
  195. package/dist/commonjs/classic/dataflow/index.js +19 -0
  196. package/dist/commonjs/classic/dataflow/index.js.map +1 -0
  197. package/dist/commonjs/classic/dataflowEndpoint/index.d.ts +24 -0
  198. package/dist/commonjs/classic/dataflowEndpoint/index.d.ts.map +1 -0
  199. package/dist/commonjs/classic/dataflowEndpoint/index.js +19 -0
  200. package/dist/commonjs/classic/dataflowEndpoint/index.js.map +1 -0
  201. package/dist/commonjs/classic/dataflowProfile/index.d.ts +24 -0
  202. package/dist/commonjs/classic/dataflowProfile/index.d.ts.map +1 -0
  203. package/dist/commonjs/classic/dataflowProfile/index.js +19 -0
  204. package/dist/commonjs/classic/dataflowProfile/index.js.map +1 -0
  205. package/dist/commonjs/classic/index.d.ts +10 -0
  206. package/dist/commonjs/classic/index.d.ts.map +1 -0
  207. package/dist/commonjs/classic/index.js +5 -0
  208. package/dist/commonjs/classic/index.js.map +1 -0
  209. package/dist/commonjs/classic/instance/index.d.ts +30 -0
  210. package/dist/commonjs/classic/instance/index.d.ts.map +1 -0
  211. package/dist/commonjs/classic/instance/index.js +21 -0
  212. package/dist/commonjs/classic/instance/index.js.map +1 -0
  213. package/dist/commonjs/classic/operations/index.d.ts +14 -0
  214. package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
  215. package/dist/commonjs/classic/operations/index.js +16 -0
  216. package/dist/commonjs/classic/operations/index.js.map +1 -0
  217. package/dist/commonjs/helpers/serializerHelpers.d.ts +3 -0
  218. package/dist/commonjs/helpers/serializerHelpers.d.ts.map +1 -0
  219. package/dist/commonjs/helpers/serializerHelpers.js +27 -0
  220. package/dist/commonjs/helpers/serializerHelpers.js.map +1 -0
  221. package/dist/commonjs/index.d.ts +8 -0
  222. package/dist/commonjs/index.d.ts.map +1 -0
  223. package/dist/commonjs/index.js +50 -0
  224. package/dist/commonjs/index.js.map +1 -0
  225. package/dist/commonjs/ioTOperationsClient.d.ts +39 -0
  226. package/dist/commonjs/ioTOperationsClient.d.ts.map +1 -0
  227. package/dist/commonjs/ioTOperationsClient.js +38 -0
  228. package/dist/commonjs/ioTOperationsClient.js.map +1 -0
  229. package/dist/commonjs/logger.d.ts +2 -0
  230. package/dist/commonjs/logger.d.ts.map +1 -0
  231. package/dist/commonjs/logger.js +8 -0
  232. package/dist/commonjs/logger.js.map +1 -0
  233. package/dist/commonjs/models/index.d.ts +2 -0
  234. package/dist/commonjs/models/index.d.ts.map +1 -0
  235. package/dist/commonjs/models/index.js +46 -0
  236. package/dist/commonjs/models/index.js.map +1 -0
  237. package/dist/commonjs/models/models.d.ts +1921 -0
  238. package/dist/commonjs/models/models.d.ts.map +1 -0
  239. package/dist/commonjs/models/models.js +2592 -0
  240. package/dist/commonjs/models/models.js.map +1 -0
  241. package/dist/commonjs/package.json +3 -0
  242. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  243. package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
  244. package/dist/commonjs/restorePollerHelpers.js +163 -0
  245. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  246. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  247. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
  248. package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
  249. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  250. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
  251. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
  252. package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
  253. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  254. package/dist/commonjs/tsdoc-metadata.json +11 -0
  255. package/dist/esm/api/broker/index.d.ts +22 -0
  256. package/dist/esm/api/broker/index.d.ts.map +1 -0
  257. package/dist/esm/api/broker/index.js +82 -0
  258. package/dist/esm/api/broker/index.js.map +1 -0
  259. package/dist/esm/api/brokerAuthentication/index.d.ts +22 -0
  260. package/dist/esm/api/brokerAuthentication/index.d.ts.map +1 -0
  261. package/dist/esm/api/brokerAuthentication/index.js +90 -0
  262. package/dist/esm/api/brokerAuthentication/index.js.map +1 -0
  263. package/dist/esm/api/brokerAuthorization/index.d.ts +22 -0
  264. package/dist/esm/api/brokerAuthorization/index.d.ts.map +1 -0
  265. package/dist/esm/api/brokerAuthorization/index.js +90 -0
  266. package/dist/esm/api/brokerAuthorization/index.js.map +1 -0
  267. package/dist/esm/api/brokerListener/index.d.ts +22 -0
  268. package/dist/esm/api/brokerListener/index.d.ts.map +1 -0
  269. package/dist/esm/api/brokerListener/index.js +86 -0
  270. package/dist/esm/api/brokerListener/index.js.map +1 -0
  271. package/dist/esm/api/dataflow/index.d.ts +22 -0
  272. package/dist/esm/api/dataflow/index.d.ts.map +1 -0
  273. package/dist/esm/api/dataflow/index.js +82 -0
  274. package/dist/esm/api/dataflow/index.js.map +1 -0
  275. package/dist/esm/api/dataflowEndpoint/index.d.ts +22 -0
  276. package/dist/esm/api/dataflowEndpoint/index.d.ts.map +1 -0
  277. package/dist/esm/api/dataflowEndpoint/index.js +90 -0
  278. package/dist/esm/api/dataflowEndpoint/index.js.map +1 -0
  279. package/dist/esm/api/dataflowProfile/index.d.ts +22 -0
  280. package/dist/esm/api/dataflowProfile/index.d.ts.map +1 -0
  281. package/dist/esm/api/dataflowProfile/index.js +86 -0
  282. package/dist/esm/api/dataflowProfile/index.js.map +1 -0
  283. package/dist/esm/api/index.d.ts +12 -0
  284. package/dist/esm/api/index.d.ts.map +1 -0
  285. package/dist/esm/api/index.js +13 -0
  286. package/dist/esm/api/index.js.map +1 -0
  287. package/dist/esm/api/instance/index.d.ts +30 -0
  288. package/dist/esm/api/instance/index.d.ts.map +1 -0
  289. package/dist/esm/api/instance/index.js +115 -0
  290. package/dist/esm/api/instance/index.js.map +1 -0
  291. package/dist/esm/api/ioTOperationsContext.d.ts +13 -0
  292. package/dist/esm/api/ioTOperationsContext.d.ts.map +1 -0
  293. package/dist/esm/api/ioTOperationsContext.js +35 -0
  294. package/dist/esm/api/ioTOperationsContext.js.map +1 -0
  295. package/dist/esm/api/operations/index.d.ts +9 -0
  296. package/dist/esm/api/operations/index.d.ts.map +1 -0
  297. package/dist/esm/api/operations/index.js +22 -0
  298. package/dist/esm/api/operations/index.js.map +1 -0
  299. package/dist/esm/api/options.d.ts +139 -0
  300. package/dist/esm/api/options.d.ts.map +1 -0
  301. package/dist/esm/api/options.js +4 -0
  302. package/dist/esm/api/options.js.map +1 -0
  303. package/dist/esm/classic/broker/index.d.ts +24 -0
  304. package/dist/esm/classic/broker/index.d.ts.map +1 -0
  305. package/dist/esm/classic/broker/index.js +15 -0
  306. package/dist/esm/classic/broker/index.js.map +1 -0
  307. package/dist/esm/classic/brokerAuthentication/index.d.ts +24 -0
  308. package/dist/esm/classic/brokerAuthentication/index.d.ts.map +1 -0
  309. package/dist/esm/classic/brokerAuthentication/index.js +15 -0
  310. package/dist/esm/classic/brokerAuthentication/index.js.map +1 -0
  311. package/dist/esm/classic/brokerAuthorization/index.d.ts +24 -0
  312. package/dist/esm/classic/brokerAuthorization/index.d.ts.map +1 -0
  313. package/dist/esm/classic/brokerAuthorization/index.js +15 -0
  314. package/dist/esm/classic/brokerAuthorization/index.js.map +1 -0
  315. package/dist/esm/classic/brokerListener/index.d.ts +24 -0
  316. package/dist/esm/classic/brokerListener/index.d.ts.map +1 -0
  317. package/dist/esm/classic/brokerListener/index.js +15 -0
  318. package/dist/esm/classic/brokerListener/index.js.map +1 -0
  319. package/dist/esm/classic/dataflow/index.d.ts +24 -0
  320. package/dist/esm/classic/dataflow/index.d.ts.map +1 -0
  321. package/dist/esm/classic/dataflow/index.js +15 -0
  322. package/dist/esm/classic/dataflow/index.js.map +1 -0
  323. package/dist/esm/classic/dataflowEndpoint/index.d.ts +24 -0
  324. package/dist/esm/classic/dataflowEndpoint/index.d.ts.map +1 -0
  325. package/dist/esm/classic/dataflowEndpoint/index.js +15 -0
  326. package/dist/esm/classic/dataflowEndpoint/index.js.map +1 -0
  327. package/dist/esm/classic/dataflowProfile/index.d.ts +24 -0
  328. package/dist/esm/classic/dataflowProfile/index.d.ts.map +1 -0
  329. package/dist/esm/classic/dataflowProfile/index.js +15 -0
  330. package/dist/esm/classic/dataflowProfile/index.js.map +1 -0
  331. package/dist/esm/classic/index.d.ts +10 -0
  332. package/dist/esm/classic/index.d.ts.map +1 -0
  333. package/dist/esm/classic/index.js +4 -0
  334. package/dist/esm/classic/index.js.map +1 -0
  335. package/dist/esm/classic/instance/index.d.ts +30 -0
  336. package/dist/esm/classic/instance/index.d.ts.map +1 -0
  337. package/dist/esm/classic/instance/index.js +17 -0
  338. package/dist/esm/classic/instance/index.js.map +1 -0
  339. package/dist/esm/classic/operations/index.d.ts +14 -0
  340. package/dist/esm/classic/operations/index.d.ts.map +1 -0
  341. package/dist/esm/classic/operations/index.js +12 -0
  342. package/dist/esm/classic/operations/index.js.map +1 -0
  343. package/dist/esm/helpers/serializerHelpers.d.ts +3 -0
  344. package/dist/esm/helpers/serializerHelpers.d.ts.map +1 -0
  345. package/dist/esm/helpers/serializerHelpers.js +24 -0
  346. package/dist/esm/helpers/serializerHelpers.js.map +1 -0
  347. package/dist/esm/index.d.ts +8 -0
  348. package/dist/esm/index.d.ts.map +1 -0
  349. package/dist/esm/index.js +6 -0
  350. package/dist/esm/index.js.map +1 -0
  351. package/dist/esm/ioTOperationsClient.d.ts +39 -0
  352. package/dist/esm/ioTOperationsClient.d.ts.map +1 -0
  353. package/dist/esm/ioTOperationsClient.js +34 -0
  354. package/dist/esm/ioTOperationsClient.js.map +1 -0
  355. package/dist/esm/logger.d.ts +2 -0
  356. package/dist/esm/logger.d.ts.map +1 -0
  357. package/dist/esm/logger.js +5 -0
  358. package/dist/esm/logger.js.map +1 -0
  359. package/dist/esm/models/index.d.ts +2 -0
  360. package/dist/esm/models/index.d.ts.map +1 -0
  361. package/dist/esm/models/index.js +4 -0
  362. package/dist/esm/models/index.js.map +1 -0
  363. package/dist/esm/models/models.d.ts +1921 -0
  364. package/dist/esm/models/models.d.ts.map +1 -0
  365. package/dist/esm/models/models.js +2343 -0
  366. package/dist/esm/models/models.js.map +1 -0
  367. package/dist/esm/package.json +3 -0
  368. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  369. package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
  370. package/dist/esm/restorePollerHelpers.js +160 -0
  371. package/dist/esm/restorePollerHelpers.js.map +1 -0
  372. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  373. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
  374. package/dist/esm/static-helpers/pagingHelpers.js +137 -0
  375. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  376. package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
  377. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
  378. package/dist/esm/static-helpers/pollingHelpers.js +76 -0
  379. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  380. package/dist/react-native/api/broker/index.d.ts +22 -0
  381. package/dist/react-native/api/broker/index.d.ts.map +1 -0
  382. package/dist/react-native/api/broker/index.js +82 -0
  383. package/dist/react-native/api/broker/index.js.map +1 -0
  384. package/dist/react-native/api/brokerAuthentication/index.d.ts +22 -0
  385. package/dist/react-native/api/brokerAuthentication/index.d.ts.map +1 -0
  386. package/dist/react-native/api/brokerAuthentication/index.js +90 -0
  387. package/dist/react-native/api/brokerAuthentication/index.js.map +1 -0
  388. package/dist/react-native/api/brokerAuthorization/index.d.ts +22 -0
  389. package/dist/react-native/api/brokerAuthorization/index.d.ts.map +1 -0
  390. package/dist/react-native/api/brokerAuthorization/index.js +90 -0
  391. package/dist/react-native/api/brokerAuthorization/index.js.map +1 -0
  392. package/dist/react-native/api/brokerListener/index.d.ts +22 -0
  393. package/dist/react-native/api/brokerListener/index.d.ts.map +1 -0
  394. package/dist/react-native/api/brokerListener/index.js +86 -0
  395. package/dist/react-native/api/brokerListener/index.js.map +1 -0
  396. package/dist/react-native/api/dataflow/index.d.ts +22 -0
  397. package/dist/react-native/api/dataflow/index.d.ts.map +1 -0
  398. package/dist/react-native/api/dataflow/index.js +82 -0
  399. package/dist/react-native/api/dataflow/index.js.map +1 -0
  400. package/dist/react-native/api/dataflowEndpoint/index.d.ts +22 -0
  401. package/dist/react-native/api/dataflowEndpoint/index.d.ts.map +1 -0
  402. package/dist/react-native/api/dataflowEndpoint/index.js +90 -0
  403. package/dist/react-native/api/dataflowEndpoint/index.js.map +1 -0
  404. package/dist/react-native/api/dataflowProfile/index.d.ts +22 -0
  405. package/dist/react-native/api/dataflowProfile/index.d.ts.map +1 -0
  406. package/dist/react-native/api/dataflowProfile/index.js +86 -0
  407. package/dist/react-native/api/dataflowProfile/index.js.map +1 -0
  408. package/dist/react-native/api/index.d.ts +12 -0
  409. package/dist/react-native/api/index.d.ts.map +1 -0
  410. package/dist/react-native/api/index.js +13 -0
  411. package/dist/react-native/api/index.js.map +1 -0
  412. package/dist/react-native/api/instance/index.d.ts +30 -0
  413. package/dist/react-native/api/instance/index.d.ts.map +1 -0
  414. package/dist/react-native/api/instance/index.js +115 -0
  415. package/dist/react-native/api/instance/index.js.map +1 -0
  416. package/dist/react-native/api/ioTOperationsContext.d.ts +13 -0
  417. package/dist/react-native/api/ioTOperationsContext.d.ts.map +1 -0
  418. package/dist/react-native/api/ioTOperationsContext.js +35 -0
  419. package/dist/react-native/api/ioTOperationsContext.js.map +1 -0
  420. package/dist/react-native/api/operations/index.d.ts +9 -0
  421. package/dist/react-native/api/operations/index.d.ts.map +1 -0
  422. package/dist/react-native/api/operations/index.js +22 -0
  423. package/dist/react-native/api/operations/index.js.map +1 -0
  424. package/dist/react-native/api/options.d.ts +139 -0
  425. package/dist/react-native/api/options.d.ts.map +1 -0
  426. package/dist/react-native/api/options.js +4 -0
  427. package/dist/react-native/api/options.js.map +1 -0
  428. package/dist/react-native/classic/broker/index.d.ts +24 -0
  429. package/dist/react-native/classic/broker/index.d.ts.map +1 -0
  430. package/dist/react-native/classic/broker/index.js +15 -0
  431. package/dist/react-native/classic/broker/index.js.map +1 -0
  432. package/dist/react-native/classic/brokerAuthentication/index.d.ts +24 -0
  433. package/dist/react-native/classic/brokerAuthentication/index.d.ts.map +1 -0
  434. package/dist/react-native/classic/brokerAuthentication/index.js +15 -0
  435. package/dist/react-native/classic/brokerAuthentication/index.js.map +1 -0
  436. package/dist/react-native/classic/brokerAuthorization/index.d.ts +24 -0
  437. package/dist/react-native/classic/brokerAuthorization/index.d.ts.map +1 -0
  438. package/dist/react-native/classic/brokerAuthorization/index.js +15 -0
  439. package/dist/react-native/classic/brokerAuthorization/index.js.map +1 -0
  440. package/dist/react-native/classic/brokerListener/index.d.ts +24 -0
  441. package/dist/react-native/classic/brokerListener/index.d.ts.map +1 -0
  442. package/dist/react-native/classic/brokerListener/index.js +15 -0
  443. package/dist/react-native/classic/brokerListener/index.js.map +1 -0
  444. package/dist/react-native/classic/dataflow/index.d.ts +24 -0
  445. package/dist/react-native/classic/dataflow/index.d.ts.map +1 -0
  446. package/dist/react-native/classic/dataflow/index.js +15 -0
  447. package/dist/react-native/classic/dataflow/index.js.map +1 -0
  448. package/dist/react-native/classic/dataflowEndpoint/index.d.ts +24 -0
  449. package/dist/react-native/classic/dataflowEndpoint/index.d.ts.map +1 -0
  450. package/dist/react-native/classic/dataflowEndpoint/index.js +15 -0
  451. package/dist/react-native/classic/dataflowEndpoint/index.js.map +1 -0
  452. package/dist/react-native/classic/dataflowProfile/index.d.ts +24 -0
  453. package/dist/react-native/classic/dataflowProfile/index.d.ts.map +1 -0
  454. package/dist/react-native/classic/dataflowProfile/index.js +15 -0
  455. package/dist/react-native/classic/dataflowProfile/index.js.map +1 -0
  456. package/dist/react-native/classic/index.d.ts +10 -0
  457. package/dist/react-native/classic/index.d.ts.map +1 -0
  458. package/dist/react-native/classic/index.js +4 -0
  459. package/dist/react-native/classic/index.js.map +1 -0
  460. package/dist/react-native/classic/instance/index.d.ts +30 -0
  461. package/dist/react-native/classic/instance/index.d.ts.map +1 -0
  462. package/dist/react-native/classic/instance/index.js +17 -0
  463. package/dist/react-native/classic/instance/index.js.map +1 -0
  464. package/dist/react-native/classic/operations/index.d.ts +14 -0
  465. package/dist/react-native/classic/operations/index.d.ts.map +1 -0
  466. package/dist/react-native/classic/operations/index.js +12 -0
  467. package/dist/react-native/classic/operations/index.js.map +1 -0
  468. package/dist/react-native/helpers/serializerHelpers.d.ts +3 -0
  469. package/dist/react-native/helpers/serializerHelpers.d.ts.map +1 -0
  470. package/dist/react-native/helpers/serializerHelpers.js +24 -0
  471. package/dist/react-native/helpers/serializerHelpers.js.map +1 -0
  472. package/dist/react-native/index.d.ts +8 -0
  473. package/dist/react-native/index.d.ts.map +1 -0
  474. package/dist/react-native/index.js +6 -0
  475. package/dist/react-native/index.js.map +1 -0
  476. package/dist/react-native/ioTOperationsClient.d.ts +39 -0
  477. package/dist/react-native/ioTOperationsClient.d.ts.map +1 -0
  478. package/dist/react-native/ioTOperationsClient.js +34 -0
  479. package/dist/react-native/ioTOperationsClient.js.map +1 -0
  480. package/dist/react-native/logger.d.ts +2 -0
  481. package/dist/react-native/logger.d.ts.map +1 -0
  482. package/dist/react-native/logger.js +5 -0
  483. package/dist/react-native/logger.js.map +1 -0
  484. package/dist/react-native/models/index.d.ts +2 -0
  485. package/dist/react-native/models/index.d.ts.map +1 -0
  486. package/dist/react-native/models/index.js +4 -0
  487. package/dist/react-native/models/index.js.map +1 -0
  488. package/dist/react-native/models/models.d.ts +1921 -0
  489. package/dist/react-native/models/models.d.ts.map +1 -0
  490. package/dist/react-native/models/models.js +2343 -0
  491. package/dist/react-native/models/models.js.map +1 -0
  492. package/dist/react-native/package.json +3 -0
  493. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  494. package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
  495. package/dist/react-native/restorePollerHelpers.js +160 -0
  496. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  497. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  498. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
  499. package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
  500. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  501. package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
  502. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
  503. package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
  504. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  505. package/package.json +159 -0
  506. package/review/arm-iotoperations-models.api.md +1086 -0
  507. package/review/arm-iotoperations.api.md +1369 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/brokerListener/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,OAAO,EAEL,gCAAgC,EAChC,kCAAkC,EAElC,6CAA6C,GAC9C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,sBAAsB,CACpC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,YAAoB,EACpB,UAAkB,EAClB,YAAoB,EACpB,UAA2C,EAAE,cAAc,EAAE,EAAE,EAAE;IAEjE,OAAO,OAAO;SACX,IAAI,CACH,6KAA6K,EAC7K,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,YAAY,CACb;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,6BAA6B,CACjD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACzD,CAAC;AAED,m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,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,OAAO,CACR,EACH,6CAA6C,EAC7C,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n BrokerListenerCreateOrUpdateOptionalParams,\n BrokerListenerDeleteOptionalParams,\n BrokerListenerGetOptionalParams,\n BrokerListenerListByResourceGroupOptionalParams,\n IoTOperationsContext as Client,\n} from \"../index.js\";\nimport {\n BrokerListenerResource,\n brokerListenerResourceSerializer,\n brokerListenerResourceDeserializer,\n _BrokerListenerResourceListResult,\n _brokerListenerResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _brokerListenerGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n brokerName: string,\n listenerName: string,\n options: BrokerListenerGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners/{listenerName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n brokerName,\n listenerName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _brokerListenerGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<BrokerListenerResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return brokerListenerResourceDeserializer(result.body);\n}\n\n/** Get a BrokerListenerResource */\nexport async function brokerListenerGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n brokerName: string,\n listenerName: string,\n options: BrokerListenerGetOptionalParams = { requestOptions: {} },\n): Promise<BrokerListenerResource> {\n const result = await _brokerListenerGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n brokerName,\n listenerName,\n options,\n );\n return _brokerListenerGetDeserialize(result);\n}\n\nexport function _brokerListenerCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n brokerName: string,\n listenerName: string,\n resource: BrokerListenerResource,\n options: BrokerListenerCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners/{listenerName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n brokerName,\n listenerName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: brokerListenerResourceSerializer(resource),\n });\n}\n\nexport async function _brokerListenerCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<BrokerListenerResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return brokerListenerResourceDeserializer(result.body);\n}\n\n/** Create a BrokerListenerResource */\nexport function brokerListenerCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n brokerName: string,\n listenerName: string,\n resource: BrokerListenerResource,\n options: BrokerListenerCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<BrokerListenerResource>, BrokerListenerResource> {\n return getLongRunningPoller(context, _brokerListenerCreateOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _brokerListenerCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n brokerName,\n listenerName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<BrokerListenerResource>, BrokerListenerResource>;\n}\n\nexport function _brokerListenerDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n brokerName: string,\n listenerName: string,\n options: BrokerListenerDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners/{listenerName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n brokerName,\n listenerName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _brokerListenerDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a BrokerListenerResource */\nexport function brokerListenerDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n brokerName: string,\n listenerName: string,\n options: BrokerListenerDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _brokerListenerDeleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _brokerListenerDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n brokerName,\n listenerName,\n options,\n ),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _brokerListenerListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n brokerName: string,\n options: BrokerListenerListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n brokerName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _brokerListenerListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_BrokerListenerResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _brokerListenerResourceListResultDeserializer(result.body);\n}\n\n/** List BrokerListenerResource resources by BrokerResource */\nexport function brokerListenerListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n brokerName: string,\n options: BrokerListenerListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<BrokerListenerResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _brokerListenerListByResourceGroupSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n brokerName,\n options,\n ),\n _brokerListenerListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -0,0 +1,22 @@
1
+ import { IoTOperationsContext as Client, DataflowCreateOrUpdateOptionalParams, DataflowDeleteOptionalParams, DataflowGetOptionalParams, DataflowListByResourceGroupOptionalParams } from "../index.js";
2
+ import { DataflowResource, _DataflowResourceListResult } from "../../models/models.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ import { PollerLike, OperationState } from "@azure/core-lro";
6
+ export declare function _dataflowGetSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, dataflowName: string, options?: DataflowGetOptionalParams): StreamableMethod;
7
+ export declare function _dataflowGetDeserialize(result: PathUncheckedResponse): Promise<DataflowResource>;
8
+ /** Get a DataflowResource */
9
+ export declare function dataflowGet(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, dataflowName: string, options?: DataflowGetOptionalParams): Promise<DataflowResource>;
10
+ export declare function _dataflowCreateOrUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, dataflowName: string, resource: DataflowResource, options?: DataflowCreateOrUpdateOptionalParams): StreamableMethod;
11
+ export declare function _dataflowCreateOrUpdateDeserialize(result: PathUncheckedResponse): Promise<DataflowResource>;
12
+ /** Create a DataflowResource */
13
+ export declare function dataflowCreateOrUpdate(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, dataflowName: string, resource: DataflowResource, options?: DataflowCreateOrUpdateOptionalParams): PollerLike<OperationState<DataflowResource>, DataflowResource>;
14
+ export declare function _dataflowDeleteSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, dataflowName: string, options?: DataflowDeleteOptionalParams): StreamableMethod;
15
+ export declare function _dataflowDeleteDeserialize(result: PathUncheckedResponse): Promise<void>;
16
+ /** Delete a DataflowResource */
17
+ export declare function dataflowDelete(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, dataflowName: string, options?: DataflowDeleteOptionalParams): PollerLike<OperationState<void>, void>;
18
+ export declare function _dataflowListByResourceGroupSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, options?: DataflowListByResourceGroupOptionalParams): StreamableMethod;
19
+ export declare function _dataflowListByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_DataflowResourceListResult>;
20
+ /** List DataflowResource resources by DataflowProfileResource */
21
+ export declare function dataflowListByResourceGroup(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, options?: DataflowListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DataflowResource>;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
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uCAAuC,CAC3D,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,2BAA2B,CAAC,CAOtC;AAED,iEAAiE;AACjE,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,GAAE,yCAAkE,GAC1E,0BAA0B,CAAC,gBAAgB,CAAC,CAgB9C"}
@@ -0,0 +1,82 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { dataflowResourceSerializer, dataflowResourceDeserializer, _dataflowResourceListResultDeserializer, } from "../../models/models.js";
4
+ import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
5
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _dataflowGetSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName, options = { requestOptions: {} }) {
8
+ return context
9
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}", subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName)
10
+ .get(Object.assign({}, operationOptionsToRequestParameters(options)));
11
+ }
12
+ export async function _dataflowGetDeserialize(result) {
13
+ const expectedStatuses = ["200"];
14
+ if (!expectedStatuses.includes(result.status)) {
15
+ throw createRestError(result);
16
+ }
17
+ return dataflowResourceDeserializer(result.body);
18
+ }
19
+ /** Get a DataflowResource */
20
+ export async function dataflowGet(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName, options = { requestOptions: {} }) {
21
+ const result = await _dataflowGetSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName, options);
22
+ return _dataflowGetDeserialize(result);
23
+ }
24
+ export function _dataflowCreateOrUpdateSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName, resource, options = { requestOptions: {} }) {
25
+ return context
26
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}", subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName)
27
+ .put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: dataflowResourceSerializer(resource) }));
28
+ }
29
+ export async function _dataflowCreateOrUpdateDeserialize(result) {
30
+ const expectedStatuses = ["200", "201"];
31
+ if (!expectedStatuses.includes(result.status)) {
32
+ throw createRestError(result);
33
+ }
34
+ return dataflowResourceDeserializer(result.body);
35
+ }
36
+ /** Create a DataflowResource */
37
+ export function dataflowCreateOrUpdate(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName, resource, options = { requestOptions: {} }) {
38
+ return getLongRunningPoller(context, _dataflowCreateOrUpdateDeserialize, ["200", "201"], {
39
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
40
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
41
+ getInitialResponse: () => _dataflowCreateOrUpdateSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName, resource, options),
42
+ resourceLocationConfig: "azure-async-operation",
43
+ });
44
+ }
45
+ export function _dataflowDeleteSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName, options = { requestOptions: {} }) {
46
+ return context
47
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}", subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName)
48
+ .delete(Object.assign({}, operationOptionsToRequestParameters(options)));
49
+ }
50
+ export async function _dataflowDeleteDeserialize(result) {
51
+ const expectedStatuses = ["202", "204", "200"];
52
+ if (!expectedStatuses.includes(result.status)) {
53
+ throw createRestError(result);
54
+ }
55
+ return;
56
+ }
57
+ /** Delete a DataflowResource */
58
+ export function dataflowDelete(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName, options = { requestOptions: {} }) {
59
+ return getLongRunningPoller(context, _dataflowDeleteDeserialize, ["202", "204", "200"], {
60
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
61
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
62
+ getInitialResponse: () => _dataflowDeleteSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, dataflowName, options),
63
+ resourceLocationConfig: "location",
64
+ });
65
+ }
66
+ export function _dataflowListByResourceGroupSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, options = { requestOptions: {} }) {
67
+ return context
68
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows", subscriptionId, resourceGroupName, instanceName, dataflowProfileName)
69
+ .get(Object.assign({}, operationOptionsToRequestParameters(options)));
70
+ }
71
+ export async function _dataflowListByResourceGroupDeserialize(result) {
72
+ const expectedStatuses = ["200"];
73
+ if (!expectedStatuses.includes(result.status)) {
74
+ throw createRestError(result);
75
+ }
76
+ return _dataflowResourceListResultDeserializer(result.body);
77
+ }
78
+ /** List DataflowResource resources by DataflowProfileResource */
79
+ export function dataflowListByResourceGroup(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, options = { requestOptions: {} }) {
80
+ return buildPagedAsyncIterator(context, () => _dataflowListByResourceGroupSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, options), _dataflowListByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
81
+ }
82
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":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.\n// Licensed under the MIT License.\n\nimport {\n IoTOperationsContext as Client,\n DataflowCreateOrUpdateOptionalParams,\n DataflowDeleteOptionalParams,\n DataflowGetOptionalParams,\n DataflowListByResourceGroupOptionalParams,\n} from \"../index.js\";\nimport {\n DataflowResource,\n dataflowResourceSerializer,\n dataflowResourceDeserializer,\n _DataflowResourceListResult,\n _dataflowResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _dataflowGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n dataflowName: string,\n options: DataflowGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n dataflowName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _dataflowGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataflowResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return dataflowResourceDeserializer(result.body);\n}\n\n/** Get a DataflowResource */\nexport async function dataflowGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n dataflowName: string,\n options: DataflowGetOptionalParams = { requestOptions: {} },\n): Promise<DataflowResource> {\n const result = await _dataflowGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n dataflowName,\n options,\n );\n return _dataflowGetDeserialize(result);\n}\n\nexport function _dataflowCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n dataflowName: string,\n resource: DataflowResource,\n options: DataflowCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n dataflowName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: dataflowResourceSerializer(resource),\n });\n}\n\nexport async function _dataflowCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataflowResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return dataflowResourceDeserializer(result.body);\n}\n\n/** Create a DataflowResource */\nexport function dataflowCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n dataflowName: string,\n resource: DataflowResource,\n options: DataflowCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<DataflowResource>, DataflowResource> {\n return getLongRunningPoller(context, _dataflowCreateOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _dataflowCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n dataflowName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<DataflowResource>, DataflowResource>;\n}\n\nexport function _dataflowDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n dataflowName: string,\n options: DataflowDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n dataflowName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _dataflowDeleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a DataflowResource */\nexport function dataflowDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n dataflowName: string,\n options: DataflowDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _dataflowDeleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _dataflowDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n dataflowName,\n options,\n ),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _dataflowListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n options: DataflowListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _dataflowListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_DataflowResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _dataflowResourceListResultDeserializer(result.body);\n}\n\n/** List DataflowResource resources by DataflowProfileResource */\nexport function dataflowListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n options: DataflowListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<DataflowResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _dataflowListByResourceGroupSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n options,\n ),\n _dataflowListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -0,0 +1,22 @@
1
+ import { IoTOperationsContext as Client, DataflowEndpointCreateOrUpdateOptionalParams, DataflowEndpointDeleteOptionalParams, DataflowEndpointGetOptionalParams, DataflowEndpointListByResourceGroupOptionalParams } from "../index.js";
2
+ import { DataflowEndpointResource, _DataflowEndpointResourceListResult } from "../../models/models.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ import { PollerLike, OperationState } from "@azure/core-lro";
6
+ export declare function _dataflowEndpointGetSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowEndpointName: string, options?: DataflowEndpointGetOptionalParams): StreamableMethod;
7
+ export declare function _dataflowEndpointGetDeserialize(result: PathUncheckedResponse): Promise<DataflowEndpointResource>;
8
+ /** Get a DataflowEndpointResource */
9
+ export declare function dataflowEndpointGet(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowEndpointName: string, options?: DataflowEndpointGetOptionalParams): Promise<DataflowEndpointResource>;
10
+ export declare function _dataflowEndpointCreateOrUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowEndpointName: string, resource: DataflowEndpointResource, options?: DataflowEndpointCreateOrUpdateOptionalParams): StreamableMethod;
11
+ export declare function _dataflowEndpointCreateOrUpdateDeserialize(result: PathUncheckedResponse): Promise<DataflowEndpointResource>;
12
+ /** Create a DataflowEndpointResource */
13
+ export declare function dataflowEndpointCreateOrUpdate(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowEndpointName: string, resource: DataflowEndpointResource, options?: DataflowEndpointCreateOrUpdateOptionalParams): PollerLike<OperationState<DataflowEndpointResource>, DataflowEndpointResource>;
14
+ export declare function _dataflowEndpointDeleteSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowEndpointName: string, options?: DataflowEndpointDeleteOptionalParams): StreamableMethod;
15
+ export declare function _dataflowEndpointDeleteDeserialize(result: PathUncheckedResponse): Promise<void>;
16
+ /** Delete a DataflowEndpointResource */
17
+ export declare function dataflowEndpointDelete(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowEndpointName: string, options?: DataflowEndpointDeleteOptionalParams): PollerLike<OperationState<void>, void>;
18
+ export declare function _dataflowEndpointListByResourceGroupSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, options?: DataflowEndpointListByResourceGroupOptionalParams): StreamableMethod;
19
+ export declare function _dataflowEndpointListByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_DataflowEndpointResourceListResult>;
20
+ /** List DataflowEndpointResource resources by InstanceResource */
21
+ export declare function dataflowEndpointListByResourceGroup(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, options?: DataflowEndpointListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DataflowEndpointResource>;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/dataflowEndpoint/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,IAAI,MAAM,EAC9B,4CAA4C,EAC5C,oCA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the MIT License.
3
+ import { dataflowEndpointResourceSerializer, dataflowEndpointResourceDeserializer, _dataflowEndpointResourceListResultDeserializer, } from "../../models/models.js";
4
+ import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
5
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _dataflowEndpointGetSend(context, subscriptionId, resourceGroupName, instanceName, dataflowEndpointName, options = { requestOptions: {} }) {
8
+ return context
9
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}", subscriptionId, resourceGroupName, instanceName, dataflowEndpointName)
10
+ .get(Object.assign({}, operationOptionsToRequestParameters(options)));
11
+ }
12
+ export async function _dataflowEndpointGetDeserialize(result) {
13
+ const expectedStatuses = ["200"];
14
+ if (!expectedStatuses.includes(result.status)) {
15
+ throw createRestError(result);
16
+ }
17
+ return dataflowEndpointResourceDeserializer(result.body);
18
+ }
19
+ /** Get a DataflowEndpointResource */
20
+ export async function dataflowEndpointGet(context, subscriptionId, resourceGroupName, instanceName, dataflowEndpointName, options = { requestOptions: {} }) {
21
+ const result = await _dataflowEndpointGetSend(context, subscriptionId, resourceGroupName, instanceName, dataflowEndpointName, options);
22
+ return _dataflowEndpointGetDeserialize(result);
23
+ }
24
+ export function _dataflowEndpointCreateOrUpdateSend(context, subscriptionId, resourceGroupName, instanceName, dataflowEndpointName, resource, options = {
25
+ requestOptions: {},
26
+ }) {
27
+ return context
28
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}", subscriptionId, resourceGroupName, instanceName, dataflowEndpointName)
29
+ .put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: dataflowEndpointResourceSerializer(resource) }));
30
+ }
31
+ export async function _dataflowEndpointCreateOrUpdateDeserialize(result) {
32
+ const expectedStatuses = ["200", "201"];
33
+ if (!expectedStatuses.includes(result.status)) {
34
+ throw createRestError(result);
35
+ }
36
+ return dataflowEndpointResourceDeserializer(result.body);
37
+ }
38
+ /** Create a DataflowEndpointResource */
39
+ export function dataflowEndpointCreateOrUpdate(context, subscriptionId, resourceGroupName, instanceName, dataflowEndpointName, resource, options = {
40
+ requestOptions: {},
41
+ }) {
42
+ return getLongRunningPoller(context, _dataflowEndpointCreateOrUpdateDeserialize, ["200", "201"], {
43
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
44
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
45
+ getInitialResponse: () => _dataflowEndpointCreateOrUpdateSend(context, subscriptionId, resourceGroupName, instanceName, dataflowEndpointName, resource, options),
46
+ resourceLocationConfig: "azure-async-operation",
47
+ });
48
+ }
49
+ export function _dataflowEndpointDeleteSend(context, subscriptionId, resourceGroupName, instanceName, dataflowEndpointName, options = { requestOptions: {} }) {
50
+ return context
51
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}", subscriptionId, resourceGroupName, instanceName, dataflowEndpointName)
52
+ .delete(Object.assign({}, operationOptionsToRequestParameters(options)));
53
+ }
54
+ export async function _dataflowEndpointDeleteDeserialize(result) {
55
+ const expectedStatuses = ["202", "204", "200"];
56
+ if (!expectedStatuses.includes(result.status)) {
57
+ throw createRestError(result);
58
+ }
59
+ return;
60
+ }
61
+ /** Delete a DataflowEndpointResource */
62
+ export function dataflowEndpointDelete(context, subscriptionId, resourceGroupName, instanceName, dataflowEndpointName, options = { requestOptions: {} }) {
63
+ return getLongRunningPoller(context, _dataflowEndpointDeleteDeserialize, ["202", "204", "200"], {
64
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
65
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
66
+ getInitialResponse: () => _dataflowEndpointDeleteSend(context, subscriptionId, resourceGroupName, instanceName, dataflowEndpointName, options),
67
+ resourceLocationConfig: "location",
68
+ });
69
+ }
70
+ export function _dataflowEndpointListByResourceGroupSend(context, subscriptionId, resourceGroupName, instanceName, options = {
71
+ requestOptions: {},
72
+ }) {
73
+ return context
74
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints", subscriptionId, resourceGroupName, instanceName)
75
+ .get(Object.assign({}, operationOptionsToRequestParameters(options)));
76
+ }
77
+ export async function _dataflowEndpointListByResourceGroupDeserialize(result) {
78
+ const expectedStatuses = ["200"];
79
+ if (!expectedStatuses.includes(result.status)) {
80
+ throw createRestError(result);
81
+ }
82
+ return _dataflowEndpointResourceListResultDeserializer(result.body);
83
+ }
84
+ /** List DataflowEndpointResource resources by InstanceResource */
85
+ export function dataflowEndpointListByResourceGroup(context, subscriptionId, resourceGroupName, instanceName, options = {
86
+ requestOptions: {},
87
+ }) {
88
+ return buildPagedAsyncIterator(context, () => _dataflowEndpointListByResourceGroupSend(context, subscriptionId, resourceGroupName, instanceName, options), _dataflowEndpointListByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
89
+ }
90
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/dataflowEndpoint/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,OAAO,EAEL,kCAAkC,EAClC,oCAAoC,EAEpC,+CAA+C,GAChD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAA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7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,+CAA+C,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACtE,CAAC;AAED,kEAAkE;AAClE,MAAM,UAAU,mCAAmC,CACjD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,YAAoB,EACpB,UAA6D;IAC3D,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CACH,wCAAwC,CACtC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,OAAO,CACR,EACH,+CAA+C,EAC/C,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n IoTOperationsContext as Client,\n DataflowEndpointCreateOrUpdateOptionalParams,\n DataflowEndpointDeleteOptionalParams,\n DataflowEndpointGetOptionalParams,\n DataflowEndpointListByResourceGroupOptionalParams,\n} from \"../index.js\";\nimport {\n DataflowEndpointResource,\n dataflowEndpointResourceSerializer,\n dataflowEndpointResourceDeserializer,\n _DataflowEndpointResourceListResult,\n _dataflowEndpointResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _dataflowEndpointGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowEndpointName: string,\n options: DataflowEndpointGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowEndpointName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _dataflowEndpointGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataflowEndpointResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return dataflowEndpointResourceDeserializer(result.body);\n}\n\n/** Get a DataflowEndpointResource */\nexport async function dataflowEndpointGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowEndpointName: string,\n options: DataflowEndpointGetOptionalParams = { requestOptions: {} },\n): Promise<DataflowEndpointResource> {\n const result = await _dataflowEndpointGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowEndpointName,\n options,\n );\n return _dataflowEndpointGetDeserialize(result);\n}\n\nexport function _dataflowEndpointCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowEndpointName: string,\n resource: DataflowEndpointResource,\n options: DataflowEndpointCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowEndpointName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: dataflowEndpointResourceSerializer(resource),\n });\n}\n\nexport async function _dataflowEndpointCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataflowEndpointResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return dataflowEndpointResourceDeserializer(result.body);\n}\n\n/** Create a DataflowEndpointResource */\nexport function dataflowEndpointCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowEndpointName: string,\n resource: DataflowEndpointResource,\n options: DataflowEndpointCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<DataflowEndpointResource>, DataflowEndpointResource> {\n return getLongRunningPoller(context, _dataflowEndpointCreateOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _dataflowEndpointCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowEndpointName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<DataflowEndpointResource>, DataflowEndpointResource>;\n}\n\nexport function _dataflowEndpointDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowEndpointName: string,\n options: DataflowEndpointDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowEndpointName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _dataflowEndpointDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a DataflowEndpointResource */\nexport function dataflowEndpointDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowEndpointName: string,\n options: DataflowEndpointDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _dataflowEndpointDeleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _dataflowEndpointDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowEndpointName,\n options,\n ),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _dataflowEndpointListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n options: DataflowEndpointListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _dataflowEndpointListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_DataflowEndpointResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _dataflowEndpointResourceListResultDeserializer(result.body);\n}\n\n/** List DataflowEndpointResource resources by InstanceResource */\nexport function dataflowEndpointListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n options: DataflowEndpointListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<DataflowEndpointResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _dataflowEndpointListByResourceGroupSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n options,\n ),\n _dataflowEndpointListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -0,0 +1,22 @@
1
+ import { IoTOperationsContext as Client, DataflowProfileCreateOrUpdateOptionalParams, DataflowProfileDeleteOptionalParams, DataflowProfileGetOptionalParams, DataflowProfileListByResourceGroupOptionalParams } from "../index.js";
2
+ import { DataflowProfileResource, _DataflowProfileResourceListResult } from "../../models/models.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ import { PollerLike, OperationState } from "@azure/core-lro";
6
+ export declare function _dataflowProfileGetSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, options?: DataflowProfileGetOptionalParams): StreamableMethod;
7
+ export declare function _dataflowProfileGetDeserialize(result: PathUncheckedResponse): Promise<DataflowProfileResource>;
8
+ /** Get a DataflowProfileResource */
9
+ export declare function dataflowProfileGet(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, options?: DataflowProfileGetOptionalParams): Promise<DataflowProfileResource>;
10
+ export declare function _dataflowProfileCreateOrUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, resource: DataflowProfileResource, options?: DataflowProfileCreateOrUpdateOptionalParams): StreamableMethod;
11
+ export declare function _dataflowProfileCreateOrUpdateDeserialize(result: PathUncheckedResponse): Promise<DataflowProfileResource>;
12
+ /** Create a DataflowProfileResource */
13
+ export declare function dataflowProfileCreateOrUpdate(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, resource: DataflowProfileResource, options?: DataflowProfileCreateOrUpdateOptionalParams): PollerLike<OperationState<DataflowProfileResource>, DataflowProfileResource>;
14
+ export declare function _dataflowProfileDeleteSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, options?: DataflowProfileDeleteOptionalParams): StreamableMethod;
15
+ export declare function _dataflowProfileDeleteDeserialize(result: PathUncheckedResponse): Promise<void>;
16
+ /** Delete a DataflowProfileResource */
17
+ export declare function dataflowProfileDelete(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, dataflowProfileName: string, options?: DataflowProfileDeleteOptionalParams): PollerLike<OperationState<void>, void>;
18
+ export declare function _dataflowProfileListByResourceGroupSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, options?: DataflowProfileListByResourceGroupOptionalParams): StreamableMethod;
19
+ export declare function _dataflowProfileListByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_DataflowProfileResourceListResult>;
20
+ /** List DataflowProfileResource resources by InstanceResource */
21
+ export declare function dataflowProfileListByResourceGroup(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, options?: DataflowProfileListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DataflowProfileResource>;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/dataflowProfile/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,IAAI,MAAM,EAC9B,2CAA2C,EAC3C,mCAAmC,EACnC,gCAAgC,EAChC,gDAAgD,EACjD,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,uBAAuB,EAGvB,kCAAkC,EAEnC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,GAAE,gCAAyD,GACjE,gBAAgB,CAUlB;AAED,wBAAsB,8BAA8B,CAClD,MAAM,EAAE,qBAAqB,GA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,EACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,GAAE,mCAA4D,GACpE,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAexC;AAED,wBAAgB,uCAAuC,CACrD,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,GAAE,gDAER,GACA,gBAAgB,CASlB;AAED,wBAAsB,8CAA8C,CAClE,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,kCAAkC,CAAC,CAO7C;AAED,iEAAiE;AACjE,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,GAAE,gDAER,GACA,0BAA0B,CAAC,uBAAuB,CAAC,CAerD"}
@@ -0,0 +1,86 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { dataflowProfileResourceSerializer, dataflowProfileResourceDeserializer, _dataflowProfileResourceListResultDeserializer, } from "../../models/models.js";
4
+ import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
5
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _dataflowProfileGetSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, options = { requestOptions: {} }) {
8
+ return context
9
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}", subscriptionId, resourceGroupName, instanceName, dataflowProfileName)
10
+ .get(Object.assign({}, operationOptionsToRequestParameters(options)));
11
+ }
12
+ export async function _dataflowProfileGetDeserialize(result) {
13
+ const expectedStatuses = ["200"];
14
+ if (!expectedStatuses.includes(result.status)) {
15
+ throw createRestError(result);
16
+ }
17
+ return dataflowProfileResourceDeserializer(result.body);
18
+ }
19
+ /** Get a DataflowProfileResource */
20
+ export async function dataflowProfileGet(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, options = { requestOptions: {} }) {
21
+ const result = await _dataflowProfileGetSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, options);
22
+ return _dataflowProfileGetDeserialize(result);
23
+ }
24
+ export function _dataflowProfileCreateOrUpdateSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, resource, options = { requestOptions: {} }) {
25
+ return context
26
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}", subscriptionId, resourceGroupName, instanceName, dataflowProfileName)
27
+ .put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: dataflowProfileResourceSerializer(resource) }));
28
+ }
29
+ export async function _dataflowProfileCreateOrUpdateDeserialize(result) {
30
+ const expectedStatuses = ["200", "201"];
31
+ if (!expectedStatuses.includes(result.status)) {
32
+ throw createRestError(result);
33
+ }
34
+ return dataflowProfileResourceDeserializer(result.body);
35
+ }
36
+ /** Create a DataflowProfileResource */
37
+ export function dataflowProfileCreateOrUpdate(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, resource, options = { requestOptions: {} }) {
38
+ return getLongRunningPoller(context, _dataflowProfileCreateOrUpdateDeserialize, ["200", "201"], {
39
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
40
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
41
+ getInitialResponse: () => _dataflowProfileCreateOrUpdateSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, resource, options),
42
+ resourceLocationConfig: "azure-async-operation",
43
+ });
44
+ }
45
+ export function _dataflowProfileDeleteSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, options = { requestOptions: {} }) {
46
+ return context
47
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}", subscriptionId, resourceGroupName, instanceName, dataflowProfileName)
48
+ .delete(Object.assign({}, operationOptionsToRequestParameters(options)));
49
+ }
50
+ export async function _dataflowProfileDeleteDeserialize(result) {
51
+ const expectedStatuses = ["202", "204", "200"];
52
+ if (!expectedStatuses.includes(result.status)) {
53
+ throw createRestError(result);
54
+ }
55
+ return;
56
+ }
57
+ /** Delete a DataflowProfileResource */
58
+ export function dataflowProfileDelete(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, options = { requestOptions: {} }) {
59
+ return getLongRunningPoller(context, _dataflowProfileDeleteDeserialize, ["202", "204", "200"], {
60
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
61
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
62
+ getInitialResponse: () => _dataflowProfileDeleteSend(context, subscriptionId, resourceGroupName, instanceName, dataflowProfileName, options),
63
+ resourceLocationConfig: "location",
64
+ });
65
+ }
66
+ export function _dataflowProfileListByResourceGroupSend(context, subscriptionId, resourceGroupName, instanceName, options = {
67
+ requestOptions: {},
68
+ }) {
69
+ return context
70
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles", subscriptionId, resourceGroupName, instanceName)
71
+ .get(Object.assign({}, operationOptionsToRequestParameters(options)));
72
+ }
73
+ export async function _dataflowProfileListByResourceGroupDeserialize(result) {
74
+ const expectedStatuses = ["200"];
75
+ if (!expectedStatuses.includes(result.status)) {
76
+ throw createRestError(result);
77
+ }
78
+ return _dataflowProfileResourceListResultDeserializer(result.body);
79
+ }
80
+ /** List DataflowProfileResource resources by InstanceResource */
81
+ export function dataflowProfileListByResourceGroup(context, subscriptionId, resourceGroupName, instanceName, options = {
82
+ requestOptions: {},
83
+ }) {
84
+ return buildPagedAsyncIterator(context, () => _dataflowProfileListByResourceGroupSend(context, subscriptionId, resourceGroupName, instanceName, options), _dataflowProfileListByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
85
+ }
86
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/dataflowProfile/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,OAAO,EAEL,iCAAiC,EACjC,mCAAmC,EAEnC,8CAA8C,GAC/C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,uBAAuB,CACrC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,YAAoB,EACpB,mBAA2B,EAC3B,UAA4C,EAAE,cAAc,EAAE,EAAE,EAAE;IAElE,OAAO,OAAO;SACX,IAAI,CACH,sKAAsK,EACtK,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,CACpB;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAClD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,mCAAmC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC1D,CAAC;AAED,oCAAoC;AACpC,MAAM,CAAC,KAAK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AC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n IoTOperationsContext as Client,\n DataflowProfileCreateOrUpdateOptionalParams,\n DataflowProfileDeleteOptionalParams,\n DataflowProfileGetOptionalParams,\n DataflowProfileListByResourceGroupOptionalParams,\n} from \"../index.js\";\nimport {\n DataflowProfileResource,\n dataflowProfileResourceSerializer,\n dataflowProfileResourceDeserializer,\n _DataflowProfileResourceListResult,\n _dataflowProfileResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _dataflowProfileGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n options: DataflowProfileGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _dataflowProfileGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataflowProfileResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return dataflowProfileResourceDeserializer(result.body);\n}\n\n/** Get a DataflowProfileResource */\nexport async function dataflowProfileGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n options: DataflowProfileGetOptionalParams = { requestOptions: {} },\n): Promise<DataflowProfileResource> {\n const result = await _dataflowProfileGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n options,\n );\n return _dataflowProfileGetDeserialize(result);\n}\n\nexport function _dataflowProfileCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n resource: DataflowProfileResource,\n options: DataflowProfileCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: dataflowProfileResourceSerializer(resource),\n });\n}\n\nexport async function _dataflowProfileCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<DataflowProfileResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return dataflowProfileResourceDeserializer(result.body);\n}\n\n/** Create a DataflowProfileResource */\nexport function dataflowProfileCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n resource: DataflowProfileResource,\n options: DataflowProfileCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<DataflowProfileResource>, DataflowProfileResource> {\n return getLongRunningPoller(context, _dataflowProfileCreateOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _dataflowProfileCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<DataflowProfileResource>, DataflowProfileResource>;\n}\n\nexport function _dataflowProfileDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n options: DataflowProfileDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _dataflowProfileDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a DataflowProfileResource */\nexport function dataflowProfileDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n dataflowProfileName: string,\n options: DataflowProfileDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _dataflowProfileDeleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _dataflowProfileDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n dataflowProfileName,\n options,\n ),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _dataflowProfileListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n options: DataflowProfileListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles\",\n subscriptionId,\n resourceGroupName,\n instanceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _dataflowProfileListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_DataflowProfileResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _dataflowProfileResourceListResultDeserializer(result.body);\n}\n\n/** List DataflowProfileResource resources by InstanceResource */\nexport function dataflowProfileListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n instanceName: string,\n options: DataflowProfileListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<DataflowProfileResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _dataflowProfileListByResourceGroupSend(\n context,\n subscriptionId,\n resourceGroupName,\n instanceName,\n options,\n ),\n _dataflowProfileListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -0,0 +1,12 @@
1
+ export { createIoTOperations, IoTOperationsContext, IoTOperationsClientOptionalParams, } from "./ioTOperationsContext.js";
2
+ export { OperationsListOptionalParams, InstanceGetOptionalParams, InstanceCreateOrUpdateOptionalParams, InstanceUpdateOptionalParams, InstanceDeleteOptionalParams, InstanceListByResourceGroupOptionalParams, InstanceListBySubscriptionOptionalParams, BrokerGetOptionalParams, BrokerCreateOrUpdateOptionalParams, BrokerDeleteOptionalParams, BrokerListByResourceGroupOptionalParams, BrokerListenerGetOptionalParams, BrokerListenerCreateOrUpdateOptionalParams, BrokerListenerDeleteOptionalParams, BrokerListenerListByResourceGroupOptionalParams, BrokerAuthenticationGetOptionalParams, BrokerAuthenticationCreateOrUpdateOptionalParams, BrokerAuthenticationDeleteOptionalParams, BrokerAuthenticationListByResourceGroupOptionalParams, BrokerAuthorizationGetOptionalParams, BrokerAuthorizationCreateOrUpdateOptionalParams, BrokerAuthorizationDeleteOptionalParams, BrokerAuthorizationListByResourceGroupOptionalParams, DataflowProfileGetOptionalParams, DataflowProfileCreateOrUpdateOptionalParams, DataflowProfileDeleteOptionalParams, DataflowProfileListByResourceGroupOptionalParams, DataflowGetOptionalParams, DataflowCreateOrUpdateOptionalParams, DataflowDeleteOptionalParams, DataflowListByResourceGroupOptionalParams, DataflowEndpointGetOptionalParams, DataflowEndpointCreateOrUpdateOptionalParams, DataflowEndpointDeleteOptionalParams, DataflowEndpointListByResourceGroupOptionalParams, } from "./options.js";
3
+ export { brokerGet, brokerCreateOrUpdate, brokerDelete, brokerListByResourceGroup, } from "./broker/index.js";
4
+ export { brokerAuthenticationGet, brokerAuthenticationCreateOrUpdate, brokerAuthenticationDelete, brokerAuthenticationListByResourceGroup, } from "./brokerAuthentication/index.js";
5
+ export { brokerAuthorizationGet, brokerAuthorizationCreateOrUpdate, brokerAuthorizationDelete, brokerAuthorizationListByResourceGroup, } from "./brokerAuthorization/index.js";
6
+ export { brokerListenerGet, brokerListenerCreateOrUpdate, brokerListenerDelete, brokerListenerListByResourceGroup, } from "./brokerListener/index.js";
7
+ export { dataflowGet, dataflowCreateOrUpdate, dataflowDelete, dataflowListByResourceGroup, } from "./dataflow/index.js";
8
+ export { dataflowEndpointGet, dataflowEndpointCreateOrUpdate, dataflowEndpointDelete, dataflowEndpointListByResourceGroup, } from "./dataflowEndpoint/index.js";
9
+ export { dataflowProfileGet, dataflowProfileCreateOrUpdate, dataflowProfileDelete, dataflowProfileListByResourceGroup, } from "./dataflowProfile/index.js";
10
+ export { instanceGet, instanceCreateOrUpdate, instanceUpdate, instanceDelete, instanceListByResourceGroup, instanceListBySubscription, } from "./instance/index.js";
11
+ export { operationsList } from "./operations/index.js";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,iCAAiC,GAClC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EACzB,oCAAoC,EACpC,4BAA4B,EAC5B,4BAA4B,EAC5B,yCAAyC,EACzC,wCAAw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AAE,cAAc,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,13 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { createIoTOperations, } from "./ioTOperationsContext.js";
4
+ export { brokerGet, brokerCreateOrUpdate, brokerDelete, brokerListByResourceGroup, } from "./broker/index.js";
5
+ export { brokerAuthenticationGet, brokerAuthenticationCreateOrUpdate, brokerAuthenticationDelete, brokerAuthenticationListByResourceGroup, } from "./brokerAuthentication/index.js";
6
+ export { brokerAuthorizationGet, brokerAuthorizationCreateOrUpdate, brokerAuthorizationDelete, brokerAuthorizationListByResourceGroup, } from "./brokerAuthorization/index.js";
7
+ export { brokerListenerGet, brokerListenerCreateOrUpdate, brokerListenerDelete, brokerListenerListByResourceGroup, } from "./brokerListener/index.js";
8
+ export { dataflowGet, dataflowCreateOrUpdate, dataflowDelete, dataflowListByResourceGroup, } from "./dataflow/index.js";
9
+ export { dataflowEndpointGet, dataflowEndpointCreateOrUpdate, dataflowEndpointDelete, dataflowEndpointListByResourceGroup, } from "./dataflowEndpoint/index.js";
10
+ export { dataflowProfileGet, dataflowProfileCreateOrUpdate, dataflowProfileDelete, dataflowProfileListByResourceGroup, } from "./dataflowProfile/index.js";
11
+ export { instanceGet, instanceCreateOrUpdate, instanceUpdate, instanceDelete, instanceListByResourceGroup, instanceListBySubscription, } from "./instance/index.js";
12
+ export { operationsList } from "./operations/index.js";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,mBAAmB,GAGpB,MAAM,2BAA2B,CAAC;AAsCnC,OAAO,EACL,SAAS,EACT,oBAAoB,EACpB,YAAY,EACZ,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,0BAA0B,EAC1B,uCAAuC,GACxC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,sBAAsB,EACtB,iCAAiC,EACjC,yBAAyB,EACzB,sCAAsC,GACvC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,iBAAiB,EACjB,4BAA4B,EAC5B,oBAAoB,EACpB,iCAAiC,GAClC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,8BAA8B,EAC9B,sBAAsB,EACtB,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,kBAAkB,EAClB,6BAA6B,EAC7B,qBAAqB,EACrB,kCAAkC,GACnC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createIoTOperations,\n IoTOperationsContext,\n IoTOperationsClientOptionalParams,\n} from \"./ioTOperationsContext.js\";\nexport {\n OperationsListOptionalParams,\n InstanceGetOptionalParams,\n InstanceCreateOrUpdateOptionalParams,\n InstanceUpdateOptionalParams,\n InstanceDeleteOptionalParams,\n InstanceListByResourceGroupOptionalParams,\n InstanceListBySubscriptionOptionalParams,\n BrokerGetOptionalParams,\n BrokerCreateOrUpdateOptionalParams,\n BrokerDeleteOptionalParams,\n BrokerListByResourceGroupOptionalParams,\n BrokerListenerGetOptionalParams,\n BrokerListenerCreateOrUpdateOptionalParams,\n BrokerListenerDeleteOptionalParams,\n BrokerListenerListByResourceGroupOptionalParams,\n BrokerAuthenticationGetOptionalParams,\n BrokerAuthenticationCreateOrUpdateOptionalParams,\n BrokerAuthenticationDeleteOptionalParams,\n BrokerAuthenticationListByResourceGroupOptionalParams,\n BrokerAuthorizationGetOptionalParams,\n BrokerAuthorizationCreateOrUpdateOptionalParams,\n BrokerAuthorizationDeleteOptionalParams,\n BrokerAuthorizationListByResourceGroupOptionalParams,\n DataflowProfileGetOptionalParams,\n DataflowProfileCreateOrUpdateOptionalParams,\n DataflowProfileDeleteOptionalParams,\n DataflowProfileListByResourceGroupOptionalParams,\n DataflowGetOptionalParams,\n DataflowCreateOrUpdateOptionalParams,\n DataflowDeleteOptionalParams,\n DataflowListByResourceGroupOptionalParams,\n DataflowEndpointGetOptionalParams,\n DataflowEndpointCreateOrUpdateOptionalParams,\n DataflowEndpointDeleteOptionalParams,\n DataflowEndpointListByResourceGroupOptionalParams,\n} from \"./options.js\";\nexport {\n brokerGet,\n brokerCreateOrUpdate,\n brokerDelete,\n brokerListByResourceGroup,\n} from \"./broker/index.js\";\nexport {\n brokerAuthenticationGet,\n brokerAuthenticationCreateOrUpdate,\n brokerAuthenticationDelete,\n brokerAuthenticationListByResourceGroup,\n} from \"./brokerAuthentication/index.js\";\nexport {\n brokerAuthorizationGet,\n brokerAuthorizationCreateOrUpdate,\n brokerAuthorizationDelete,\n brokerAuthorizationListByResourceGroup,\n} from \"./brokerAuthorization/index.js\";\nexport {\n brokerListenerGet,\n brokerListenerCreateOrUpdate,\n brokerListenerDelete,\n brokerListenerListByResourceGroup,\n} from \"./brokerListener/index.js\";\nexport {\n dataflowGet,\n dataflowCreateOrUpdate,\n dataflowDelete,\n dataflowListByResourceGroup,\n} from \"./dataflow/index.js\";\nexport {\n dataflowEndpointGet,\n dataflowEndpointCreateOrUpdate,\n dataflowEndpointDelete,\n dataflowEndpointListByResourceGroup,\n} from \"./dataflowEndpoint/index.js\";\nexport {\n dataflowProfileGet,\n dataflowProfileCreateOrUpdate,\n dataflowProfileDelete,\n dataflowProfileListByResourceGroup,\n} from \"./dataflowProfile/index.js\";\nexport {\n instanceGet,\n instanceCreateOrUpdate,\n instanceUpdate,\n instanceDelete,\n instanceListByResourceGroup,\n instanceListBySubscription,\n} from \"./instance/index.js\";\nexport { operationsList } from \"./operations/index.js\";\n"]}
@@ -0,0 +1,30 @@
1
+ import { IoTOperationsContext as Client, InstanceCreateOrUpdateOptionalParams, InstanceDeleteOptionalParams, InstanceGetOptionalParams, InstanceListByResourceGroupOptionalParams, InstanceListBySubscriptionOptionalParams, InstanceUpdateOptionalParams } from "../index.js";
2
+ import { InstanceResource, InstancePatchModel, _InstanceResourceListResult } from "../../models/models.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ import { PollerLike, OperationState } from "@azure/core-lro";
6
+ export declare function _instanceGetSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, options?: InstanceGetOptionalParams): StreamableMethod;
7
+ export declare function _instanceGetDeserialize(result: PathUncheckedResponse): Promise<InstanceResource>;
8
+ /** Get a InstanceResource */
9
+ export declare function instanceGet(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, options?: InstanceGetOptionalParams): Promise<InstanceResource>;
10
+ export declare function _instanceCreateOrUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, resource: InstanceResource, options?: InstanceCreateOrUpdateOptionalParams): StreamableMethod;
11
+ export declare function _instanceCreateOrUpdateDeserialize(result: PathUncheckedResponse): Promise<InstanceResource>;
12
+ /** Create a InstanceResource */
13
+ export declare function instanceCreateOrUpdate(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, resource: InstanceResource, options?: InstanceCreateOrUpdateOptionalParams): PollerLike<OperationState<InstanceResource>, InstanceResource>;
14
+ export declare function _instanceUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, properties: InstancePatchModel, options?: InstanceUpdateOptionalParams): StreamableMethod;
15
+ export declare function _instanceUpdateDeserialize(result: PathUncheckedResponse): Promise<InstanceResource>;
16
+ /** Update a InstanceResource */
17
+ export declare function instanceUpdate(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, properties: InstancePatchModel, options?: InstanceUpdateOptionalParams): Promise<InstanceResource>;
18
+ export declare function _instanceDeleteSend(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, options?: InstanceDeleteOptionalParams): StreamableMethod;
19
+ export declare function _instanceDeleteDeserialize(result: PathUncheckedResponse): Promise<void>;
20
+ /** Delete a InstanceResource */
21
+ export declare function instanceDelete(context: Client, subscriptionId: string, resourceGroupName: string, instanceName: string, options?: InstanceDeleteOptionalParams): PollerLike<OperationState<void>, void>;
22
+ export declare function _instanceListByResourceGroupSend(context: Client, subscriptionId: string, resourceGroupName: string, options?: InstanceListByResourceGroupOptionalParams): StreamableMethod;
23
+ export declare function _instanceListByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_InstanceResourceListResult>;
24
+ /** List InstanceResource resources by resource group */
25
+ export declare function instanceListByResourceGroup(context: Client, subscriptionId: string, resourceGroupName: string, options?: InstanceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<InstanceResource>;
26
+ export declare function _instanceListBySubscriptionSend(context: Client, subscriptionId: string, options?: InstanceListBySubscriptionOptionalParams): StreamableMethod;
27
+ export declare function _instanceListBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_InstanceResourceListResult>;
28
+ /** List InstanceResource resources by subscription ID */
29
+ export declare function instanceListBySubscription(context: Client, subscriptionId: string, options?: InstanceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<InstanceResource>;
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/instance/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,IAAI,MAAM,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,yBAAyB,EACzB,yCAAyC,EACzC,wCAAwC,EACxC,4BAA4B,EAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,g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