@azure/arm-informaticadatamanagement 1.0.1-alpha.20250207.1 → 1.0.1-alpha.20250210.2

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 (361) hide show
  1. package/README.md +23 -16
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/{dist-esm/src → dist/browser}/informaticaDataManagement.d.ts +2 -2
  7. package/dist/browser/informaticaDataManagement.d.ts.map +1 -0
  8. package/{dist-esm/src → dist/browser}/informaticaDataManagement.js +15 -18
  9. package/dist/browser/informaticaDataManagement.js.map +1 -0
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/dist/browser/models/mappers.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  14. package/dist/browser/models/parameters.js.map +1 -0
  15. package/dist/browser/operations/index.d.ts +4 -0
  16. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  17. package/{dist-esm/src → dist/browser}/operations/index.js +3 -3
  18. package/dist/browser/operations/index.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  20. package/dist/browser/operations/operations.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  22. package/dist/browser/operations/operations.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/organizations.d.ts +3 -3
  24. package/dist/browser/operations/organizations.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/organizations.js +79 -87
  26. package/dist/browser/operations/organizations.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/serverlessRuntimes.d.ts +3 -3
  28. package/dist/browser/operations/serverlessRuntimes.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/serverlessRuntimes.js +88 -96
  30. package/dist/browser/operations/serverlessRuntimes.js.map +1 -0
  31. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  32. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  33. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +3 -3
  34. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  36. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  37. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/organizations.d.ts +1 -1
  39. package/dist/browser/operationsInterfaces/organizations.d.ts.map +1 -0
  40. package/dist/browser/operationsInterfaces/organizations.js.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operationsInterfaces/serverlessRuntimes.d.ts +1 -1
  42. package/dist/browser/operationsInterfaces/serverlessRuntimes.d.ts.map +1 -0
  43. package/dist/browser/operationsInterfaces/serverlessRuntimes.js.map +1 -0
  44. package/dist/browser/package.json +3 -0
  45. package/dist/browser/pagingHelper.js.map +1 -0
  46. package/dist/commonjs/index.d.ts +5 -0
  47. package/dist/commonjs/index.d.ts.map +1 -0
  48. package/dist/commonjs/index.js +19 -0
  49. package/dist/commonjs/index.js.map +1 -0
  50. package/dist/commonjs/informaticaDataManagement.d.ts +22 -0
  51. package/dist/commonjs/informaticaDataManagement.d.ts.map +1 -0
  52. package/dist/commonjs/informaticaDataManagement.js +104 -0
  53. package/dist/commonjs/informaticaDataManagement.js.map +1 -0
  54. package/dist/commonjs/lroImpl.d.ts +11 -0
  55. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  56. package/dist/commonjs/lroImpl.js +17 -0
  57. package/dist/commonjs/lroImpl.js.map +1 -0
  58. package/{types/arm-informaticadatamanagement.d.ts → dist/commonjs/models/index.d.ts} +908 -1221
  59. package/dist/commonjs/models/index.d.ts.map +1 -0
  60. package/dist/commonjs/models/index.js +81 -0
  61. package/dist/commonjs/models/index.js.map +1 -0
  62. package/dist/commonjs/models/mappers.d.ts +58 -0
  63. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  64. package/dist/commonjs/models/mappers.js +1938 -0
  65. package/dist/commonjs/models/mappers.js.map +1 -0
  66. package/dist/commonjs/models/parameters.d.ts +15 -0
  67. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  68. package/dist/commonjs/models/parameters.js +136 -0
  69. package/dist/commonjs/models/parameters.js.map +1 -0
  70. package/dist/commonjs/operations/index.d.ts +4 -0
  71. package/dist/commonjs/operations/index.d.ts.map +1 -0
  72. package/dist/commonjs/operations/index.js +14 -0
  73. package/dist/commonjs/operations/index.js.map +1 -0
  74. package/dist/commonjs/operations/operations.d.ts +32 -0
  75. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  76. package/dist/commonjs/operations/operations.js +137 -0
  77. package/dist/commonjs/operations/operations.js.map +1 -0
  78. package/dist/commonjs/operations/organizations.d.ts +113 -0
  79. package/dist/commonjs/operations/organizations.d.ts.map +1 -0
  80. package/dist/commonjs/operations/organizations.js +553 -0
  81. package/dist/commonjs/operations/organizations.js.map +1 -0
  82. package/dist/commonjs/operations/serverlessRuntimes.d.ts +115 -0
  83. package/dist/commonjs/operations/serverlessRuntimes.d.ts.map +1 -0
  84. package/dist/commonjs/operations/serverlessRuntimes.js +509 -0
  85. package/dist/commonjs/operations/serverlessRuntimes.js.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  87. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  88. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  89. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  90. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  91. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  93. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  94. package/dist/commonjs/operationsInterfaces/organizations.d.ts +77 -0
  95. package/dist/commonjs/operationsInterfaces/organizations.d.ts.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/organizations.js +10 -0
  97. package/dist/commonjs/operationsInterfaces/organizations.js.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/serverlessRuntimes.d.ts +89 -0
  99. package/dist/commonjs/operationsInterfaces/serverlessRuntimes.d.ts.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/serverlessRuntimes.js +10 -0
  101. package/dist/commonjs/operationsInterfaces/serverlessRuntimes.js.map +1 -0
  102. package/dist/commonjs/package.json +3 -0
  103. package/dist/commonjs/pagingHelper.d.ts +13 -0
  104. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  105. package/dist/commonjs/pagingHelper.js +36 -0
  106. package/dist/commonjs/pagingHelper.js.map +1 -0
  107. package/dist/esm/index.d.ts +5 -0
  108. package/dist/esm/index.d.ts.map +1 -0
  109. package/{src/index.ts → dist/esm/index.js} +5 -5
  110. package/dist/esm/index.js.map +1 -0
  111. package/dist/esm/informaticaDataManagement.d.ts +22 -0
  112. package/dist/esm/informaticaDataManagement.d.ts.map +1 -0
  113. package/dist/esm/informaticaDataManagement.js +99 -0
  114. package/dist/esm/informaticaDataManagement.js.map +1 -0
  115. package/dist/esm/lroImpl.d.ts +11 -0
  116. package/dist/esm/lroImpl.d.ts.map +1 -0
  117. package/dist/esm/lroImpl.js +14 -0
  118. package/dist/esm/lroImpl.js.map +1 -0
  119. package/dist/esm/models/index.d.ts +908 -0
  120. package/dist/esm/models/index.d.ts.map +1 -0
  121. package/dist/esm/models/index.js +78 -0
  122. package/dist/esm/models/index.js.map +1 -0
  123. package/dist/esm/models/mappers.d.ts +58 -0
  124. package/dist/esm/models/mappers.d.ts.map +1 -0
  125. package/dist/esm/models/mappers.js +1934 -0
  126. package/dist/esm/models/mappers.js.map +1 -0
  127. package/dist/esm/models/parameters.d.ts +15 -0
  128. package/dist/esm/models/parameters.d.ts.map +1 -0
  129. package/dist/esm/models/parameters.js +133 -0
  130. package/dist/esm/models/parameters.js.map +1 -0
  131. package/dist/esm/operations/index.d.ts +4 -0
  132. package/dist/esm/operations/index.d.ts.map +1 -0
  133. package/dist/esm/operations/index.js +11 -0
  134. package/dist/esm/operations/index.js.map +1 -0
  135. package/dist/esm/operations/operations.d.ts +32 -0
  136. package/dist/esm/operations/operations.d.ts.map +1 -0
  137. package/dist/esm/operations/operations.js +133 -0
  138. package/dist/esm/operations/operations.js.map +1 -0
  139. package/dist/esm/operations/organizations.d.ts +113 -0
  140. package/dist/esm/operations/organizations.d.ts.map +1 -0
  141. package/dist/esm/operations/organizations.js +549 -0
  142. package/dist/esm/operations/organizations.js.map +1 -0
  143. package/dist/esm/operations/serverlessRuntimes.d.ts +115 -0
  144. package/dist/esm/operations/serverlessRuntimes.d.ts.map +1 -0
  145. package/dist/esm/operations/serverlessRuntimes.js +505 -0
  146. package/dist/esm/operations/serverlessRuntimes.js.map +1 -0
  147. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  148. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  149. package/dist/esm/operationsInterfaces/index.js +11 -0
  150. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  151. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  152. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  153. package/{src/operations/index.ts → dist/esm/operationsInterfaces/operations.js} +2 -4
  154. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  155. package/dist/esm/operationsInterfaces/organizations.d.ts +77 -0
  156. package/dist/esm/operationsInterfaces/organizations.d.ts.map +1 -0
  157. package/dist/esm/operationsInterfaces/organizations.js +9 -0
  158. package/dist/esm/operationsInterfaces/organizations.js.map +1 -0
  159. package/dist/esm/operationsInterfaces/serverlessRuntimes.d.ts +89 -0
  160. package/dist/esm/operationsInterfaces/serverlessRuntimes.d.ts.map +1 -0
  161. package/dist/esm/operationsInterfaces/serverlessRuntimes.js +9 -0
  162. package/dist/esm/operationsInterfaces/serverlessRuntimes.js.map +1 -0
  163. package/dist/esm/package.json +3 -0
  164. package/dist/esm/pagingHelper.d.ts +13 -0
  165. package/dist/esm/pagingHelper.d.ts.map +1 -0
  166. package/dist/esm/pagingHelper.js +32 -0
  167. package/dist/esm/pagingHelper.js.map +1 -0
  168. package/dist/react-native/index.d.ts +5 -0
  169. package/dist/react-native/index.d.ts.map +1 -0
  170. package/dist/react-native/index.js +13 -0
  171. package/dist/react-native/index.js.map +1 -0
  172. package/dist/react-native/informaticaDataManagement.d.ts +22 -0
  173. package/dist/react-native/informaticaDataManagement.d.ts.map +1 -0
  174. package/dist/react-native/informaticaDataManagement.js +99 -0
  175. package/dist/react-native/informaticaDataManagement.js.map +1 -0
  176. package/dist/react-native/lroImpl.d.ts +11 -0
  177. package/dist/react-native/lroImpl.d.ts.map +1 -0
  178. package/dist/react-native/lroImpl.js +14 -0
  179. package/dist/react-native/lroImpl.js.map +1 -0
  180. package/dist/react-native/models/index.d.ts +908 -0
  181. package/dist/react-native/models/index.d.ts.map +1 -0
  182. package/dist/react-native/models/index.js +78 -0
  183. package/dist/react-native/models/index.js.map +1 -0
  184. package/dist/react-native/models/mappers.d.ts +58 -0
  185. package/dist/react-native/models/mappers.d.ts.map +1 -0
  186. package/dist/react-native/models/mappers.js +1934 -0
  187. package/dist/react-native/models/mappers.js.map +1 -0
  188. package/dist/react-native/models/parameters.d.ts +15 -0
  189. package/dist/react-native/models/parameters.d.ts.map +1 -0
  190. package/dist/react-native/models/parameters.js +133 -0
  191. package/dist/react-native/models/parameters.js.map +1 -0
  192. package/dist/react-native/operations/index.d.ts +4 -0
  193. package/dist/react-native/operations/index.d.ts.map +1 -0
  194. package/dist/react-native/operations/index.js +11 -0
  195. package/dist/react-native/operations/index.js.map +1 -0
  196. package/dist/react-native/operations/operations.d.ts +32 -0
  197. package/dist/react-native/operations/operations.d.ts.map +1 -0
  198. package/dist/react-native/operations/operations.js +133 -0
  199. package/dist/react-native/operations/operations.js.map +1 -0
  200. package/dist/react-native/operations/organizations.d.ts +113 -0
  201. package/dist/react-native/operations/organizations.d.ts.map +1 -0
  202. package/dist/react-native/operations/organizations.js +549 -0
  203. package/dist/react-native/operations/organizations.js.map +1 -0
  204. package/dist/react-native/operations/serverlessRuntimes.d.ts +115 -0
  205. package/dist/react-native/operations/serverlessRuntimes.d.ts.map +1 -0
  206. package/dist/react-native/operations/serverlessRuntimes.js +505 -0
  207. package/dist/react-native/operations/serverlessRuntimes.js.map +1 -0
  208. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  209. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  210. package/dist/react-native/operationsInterfaces/index.js +11 -0
  211. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  212. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  213. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  214. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  215. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  216. package/dist/react-native/operationsInterfaces/organizations.d.ts +77 -0
  217. package/dist/react-native/operationsInterfaces/organizations.d.ts.map +1 -0
  218. package/dist/react-native/operationsInterfaces/organizations.js +9 -0
  219. package/dist/react-native/operationsInterfaces/organizations.js.map +1 -0
  220. package/dist/react-native/operationsInterfaces/serverlessRuntimes.d.ts +89 -0
  221. package/dist/react-native/operationsInterfaces/serverlessRuntimes.d.ts.map +1 -0
  222. package/dist/react-native/operationsInterfaces/serverlessRuntimes.js +9 -0
  223. package/dist/react-native/operationsInterfaces/serverlessRuntimes.js.map +1 -0
  224. package/dist/react-native/package.json +3 -0
  225. package/dist/react-native/pagingHelper.d.ts +13 -0
  226. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  227. package/dist/react-native/pagingHelper.js +32 -0
  228. package/dist/react-native/pagingHelper.js.map +1 -0
  229. package/package.json +70 -42
  230. package/dist/index.js +0 -3563
  231. package/dist/index.js.map +0 -1
  232. package/dist/index.min.js +0 -1
  233. package/dist/index.min.js.map +0 -1
  234. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  235. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  236. package/dist-esm/samples-dev/operationsListSample.js +0 -82
  237. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  238. package/dist-esm/samples-dev/organizationsCreateOrUpdateSample.d.ts +0 -2
  239. package/dist-esm/samples-dev/organizationsCreateOrUpdateSample.d.ts.map +0 -1
  240. package/dist-esm/samples-dev/organizationsCreateOrUpdateSample.js +0 -90
  241. package/dist-esm/samples-dev/organizationsCreateOrUpdateSample.js.map +0 -1
  242. package/dist-esm/samples-dev/organizationsDeleteSample.d.ts +0 -2
  243. package/dist-esm/samples-dev/organizationsDeleteSample.d.ts.map +0 -1
  244. package/dist-esm/samples-dev/organizationsDeleteSample.js +0 -54
  245. package/dist-esm/samples-dev/organizationsDeleteSample.js.map +0 -1
  246. package/dist-esm/samples-dev/organizationsGetAllServerlessRuntimesSample.d.ts +0 -2
  247. package/dist-esm/samples-dev/organizationsGetAllServerlessRuntimesSample.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/organizationsGetAllServerlessRuntimesSample.js +0 -54
  249. package/dist-esm/samples-dev/organizationsGetAllServerlessRuntimesSample.js.map +0 -1
  250. package/dist-esm/samples-dev/organizationsGetSample.d.ts +0 -2
  251. package/dist-esm/samples-dev/organizationsGetSample.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/organizationsGetSample.js +0 -54
  253. package/dist-esm/samples-dev/organizationsGetSample.js.map +0 -1
  254. package/dist-esm/samples-dev/organizationsGetServerlessMetadataSample.d.ts +0 -2
  255. package/dist-esm/samples-dev/organizationsGetServerlessMetadataSample.d.ts.map +0 -1
  256. package/dist-esm/samples-dev/organizationsGetServerlessMetadataSample.js +0 -54
  257. package/dist-esm/samples-dev/organizationsGetServerlessMetadataSample.js.map +0 -1
  258. package/dist-esm/samples-dev/organizationsListByResourceGroupSample.d.ts +0 -2
  259. package/dist-esm/samples-dev/organizationsListByResourceGroupSample.d.ts.map +0 -1
  260. package/dist-esm/samples-dev/organizationsListByResourceGroupSample.js +0 -84
  261. package/dist-esm/samples-dev/organizationsListByResourceGroupSample.js.map +0 -1
  262. package/dist-esm/samples-dev/organizationsListBySubscriptionSample.d.ts +0 -2
  263. package/dist-esm/samples-dev/organizationsListBySubscriptionSample.d.ts.map +0 -1
  264. package/dist-esm/samples-dev/organizationsListBySubscriptionSample.js +0 -82
  265. package/dist-esm/samples-dev/organizationsListBySubscriptionSample.js.map +0 -1
  266. package/dist-esm/samples-dev/organizationsUpdateSample.d.ts +0 -2
  267. package/dist-esm/samples-dev/organizationsUpdateSample.d.ts.map +0 -1
  268. package/dist-esm/samples-dev/organizationsUpdateSample.js +0 -80
  269. package/dist-esm/samples-dev/organizationsUpdateSample.js.map +0 -1
  270. package/dist-esm/samples-dev/serverlessRuntimesCheckDependenciesSample.d.ts +0 -2
  271. package/dist-esm/samples-dev/serverlessRuntimesCheckDependenciesSample.d.ts.map +0 -1
  272. package/dist-esm/samples-dev/serverlessRuntimesCheckDependenciesSample.js +0 -56
  273. package/dist-esm/samples-dev/serverlessRuntimesCheckDependenciesSample.js.map +0 -1
  274. package/dist-esm/samples-dev/serverlessRuntimesCreateOrUpdateSample.d.ts +0 -2
  275. package/dist-esm/samples-dev/serverlessRuntimesCreateOrUpdateSample.d.ts.map +0 -1
  276. package/dist-esm/samples-dev/serverlessRuntimesCreateOrUpdateSample.js +0 -106
  277. package/dist-esm/samples-dev/serverlessRuntimesCreateOrUpdateSample.js.map +0 -1
  278. package/dist-esm/samples-dev/serverlessRuntimesDeleteSample.d.ts +0 -2
  279. package/dist-esm/samples-dev/serverlessRuntimesDeleteSample.d.ts.map +0 -1
  280. package/dist-esm/samples-dev/serverlessRuntimesDeleteSample.js +0 -37
  281. package/dist-esm/samples-dev/serverlessRuntimesDeleteSample.js.map +0 -1
  282. package/dist-esm/samples-dev/serverlessRuntimesGetSample.d.ts +0 -2
  283. package/dist-esm/samples-dev/serverlessRuntimesGetSample.d.ts.map +0 -1
  284. package/dist-esm/samples-dev/serverlessRuntimesGetSample.js +0 -56
  285. package/dist-esm/samples-dev/serverlessRuntimesGetSample.js.map +0 -1
  286. package/dist-esm/samples-dev/serverlessRuntimesListByInformaticaOrganizationResourceSample.d.ts +0 -2
  287. package/dist-esm/samples-dev/serverlessRuntimesListByInformaticaOrganizationResourceSample.d.ts.map +0 -1
  288. package/dist-esm/samples-dev/serverlessRuntimesListByInformaticaOrganizationResourceSample.js +0 -52
  289. package/dist-esm/samples-dev/serverlessRuntimesListByInformaticaOrganizationResourceSample.js.map +0 -1
  290. package/dist-esm/samples-dev/serverlessRuntimesServerlessResourceByIdSample.d.ts +0 -2
  291. package/dist-esm/samples-dev/serverlessRuntimesServerlessResourceByIdSample.d.ts.map +0 -1
  292. package/dist-esm/samples-dev/serverlessRuntimesServerlessResourceByIdSample.js +0 -37
  293. package/dist-esm/samples-dev/serverlessRuntimesServerlessResourceByIdSample.js.map +0 -1
  294. package/dist-esm/samples-dev/serverlessRuntimesStartFailedServerlessRuntimeSample.d.ts +0 -2
  295. package/dist-esm/samples-dev/serverlessRuntimesStartFailedServerlessRuntimeSample.d.ts.map +0 -1
  296. package/dist-esm/samples-dev/serverlessRuntimesStartFailedServerlessRuntimeSample.js +0 -37
  297. package/dist-esm/samples-dev/serverlessRuntimesStartFailedServerlessRuntimeSample.js.map +0 -1
  298. package/dist-esm/samples-dev/serverlessRuntimesUpdateSample.d.ts +0 -2
  299. package/dist-esm/samples-dev/serverlessRuntimesUpdateSample.d.ts.map +0 -1
  300. package/dist-esm/samples-dev/serverlessRuntimesUpdateSample.js +0 -107
  301. package/dist-esm/samples-dev/serverlessRuntimesUpdateSample.js.map +0 -1
  302. package/dist-esm/src/index.d.ts +0 -5
  303. package/dist-esm/src/index.js.map +0 -1
  304. package/dist-esm/src/informaticaDataManagement.d.ts.map +0 -1
  305. package/dist-esm/src/informaticaDataManagement.js.map +0 -1
  306. package/dist-esm/src/lroImpl.js.map +0 -1
  307. package/dist-esm/src/models/index.js.map +0 -1
  308. package/dist-esm/src/models/mappers.js.map +0 -1
  309. package/dist-esm/src/models/parameters.js.map +0 -1
  310. package/dist-esm/src/operations/index.d.ts +0 -4
  311. package/dist-esm/src/operations/index.js.map +0 -1
  312. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  313. package/dist-esm/src/operations/operations.js.map +0 -1
  314. package/dist-esm/src/operations/organizations.d.ts.map +0 -1
  315. package/dist-esm/src/operations/organizations.js.map +0 -1
  316. package/dist-esm/src/operations/serverlessRuntimes.d.ts.map +0 -1
  317. package/dist-esm/src/operations/serverlessRuntimes.js.map +0 -1
  318. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  319. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  320. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  321. package/dist-esm/src/operationsInterfaces/organizations.d.ts.map +0 -1
  322. package/dist-esm/src/operationsInterfaces/organizations.js.map +0 -1
  323. package/dist-esm/src/operationsInterfaces/serverlessRuntimes.d.ts.map +0 -1
  324. package/dist-esm/src/operationsInterfaces/serverlessRuntimes.js.map +0 -1
  325. package/dist-esm/src/pagingHelper.js.map +0 -1
  326. package/dist-esm/test/informaticadatamanagement_operations_test.spec.d.ts +0 -4
  327. package/dist-esm/test/informaticadatamanagement_operations_test.spec.d.ts.map +0 -1
  328. package/dist-esm/test/informaticadatamanagement_operations_test.spec.js +0 -74
  329. package/dist-esm/test/informaticadatamanagement_operations_test.spec.js.map +0 -1
  330. package/src/informaticaDataManagement.ts +0 -153
  331. package/src/lroImpl.ts +0 -38
  332. package/src/models/index.ts +0 -1041
  333. package/src/models/mappers.ts +0 -2020
  334. package/src/models/parameters.ts +0 -156
  335. package/src/operations/operations.ts +0 -149
  336. package/src/operations/organizations.ts +0 -723
  337. package/src/operations/serverlessRuntimes.ts +0 -707
  338. package/src/operationsInterfaces/index.ts +0 -11
  339. package/src/operationsInterfaces/operations.ts +0 -22
  340. package/src/operationsInterfaces/organizations.ts +0 -153
  341. package/src/operationsInterfaces/serverlessRuntimes.ts +0 -177
  342. package/src/pagingHelper.ts +0 -39
  343. package/tsconfig.json +0 -33
  344. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  345. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  346. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  347. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  348. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  349. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  350. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  351. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  352. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  353. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  354. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  355. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  356. /package/{dist-esm/src → dist/browser}/operationsInterfaces/organizations.js +0 -0
  357. /package/{dist-esm/src → dist/browser}/operationsInterfaces/serverlessRuntimes.js +0 -0
  358. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  359. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  360. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  361. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,113 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Organizations } from "../operationsInterfaces/index.js";
3
+ import { InformaticaDataManagement } from "../informaticaDataManagement.js";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import { InformaticaOrganizationResource, OrganizationsListBySubscriptionOptionalParams, OrganizationsListByResourceGroupOptionalParams, OrganizationsGetOptionalParams, OrganizationsGetResponse, OrganizationsCreateOrUpdateOptionalParams, OrganizationsCreateOrUpdateResponse, InformaticaOrganizationResourceUpdate, OrganizationsUpdateOptionalParams, OrganizationsUpdateResponse, OrganizationsDeleteOptionalParams, OrganizationsDeleteResponse, OrganizationsGetAllServerlessRuntimesOptionalParams, OrganizationsGetAllServerlessRuntimesResponse, OrganizationsGetServerlessMetadataOptionalParams, OrganizationsGetServerlessMetadataResponse } from "../models/index.js";
6
+ /** Class containing Organizations operations. */
7
+ export declare class OrganizationsImpl implements Organizations {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class Organizations class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: InformaticaDataManagement);
14
+ /**
15
+ * List InformaticaOrganizationResource resources by subscription ID
16
+ * @param options The options parameters.
17
+ */
18
+ listBySubscription(options?: OrganizationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<InformaticaOrganizationResource>;
19
+ private listBySubscriptionPagingPage;
20
+ private listBySubscriptionPagingAll;
21
+ /**
22
+ * List InformaticaOrganizationResource resources by resource group
23
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
24
+ * @param options The options parameters.
25
+ */
26
+ listByResourceGroup(resourceGroupName: string, options?: OrganizationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<InformaticaOrganizationResource>;
27
+ private listByResourceGroupPagingPage;
28
+ private listByResourceGroupPagingAll;
29
+ /**
30
+ * List InformaticaOrganizationResource resources by subscription ID
31
+ * @param options The options parameters.
32
+ */
33
+ private _listBySubscription;
34
+ /**
35
+ * List InformaticaOrganizationResource resources by resource group
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param options The options parameters.
38
+ */
39
+ private _listByResourceGroup;
40
+ /**
41
+ * Get a InformaticaOrganizationResource
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param organizationName Name of the Organizations resource
44
+ * @param options The options parameters.
45
+ */
46
+ get(resourceGroupName: string, organizationName: string, options?: OrganizationsGetOptionalParams): Promise<OrganizationsGetResponse>;
47
+ /**
48
+ * Create a InformaticaOrganizationResource
49
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
50
+ * @param organizationName Name of the Organizations resource
51
+ * @param resource Resource create parameters.
52
+ * @param options The options parameters.
53
+ */
54
+ beginCreateOrUpdate(resourceGroupName: string, organizationName: string, resource: InformaticaOrganizationResource, options?: OrganizationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<OrganizationsCreateOrUpdateResponse>, OrganizationsCreateOrUpdateResponse>>;
55
+ /**
56
+ * Create a InformaticaOrganizationResource
57
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
58
+ * @param organizationName Name of the Organizations resource
59
+ * @param resource Resource create parameters.
60
+ * @param options The options parameters.
61
+ */
62
+ beginCreateOrUpdateAndWait(resourceGroupName: string, organizationName: string, resource: InformaticaOrganizationResource, options?: OrganizationsCreateOrUpdateOptionalParams): Promise<OrganizationsCreateOrUpdateResponse>;
63
+ /**
64
+ * Update a InformaticaOrganizationResource
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param organizationName Name of the Organizations resource
67
+ * @param properties The resource properties to be updated.
68
+ * @param options The options parameters.
69
+ */
70
+ update(resourceGroupName: string, organizationName: string, properties: InformaticaOrganizationResourceUpdate, options?: OrganizationsUpdateOptionalParams): Promise<OrganizationsUpdateResponse>;
71
+ /**
72
+ * Delete a InformaticaOrganizationResource
73
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
74
+ * @param organizationName Name of the Organizations resource
75
+ * @param options The options parameters.
76
+ */
77
+ beginDelete(resourceGroupName: string, organizationName: string, options?: OrganizationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<OrganizationsDeleteResponse>, OrganizationsDeleteResponse>>;
78
+ /**
79
+ * Delete a InformaticaOrganizationResource
80
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
81
+ * @param organizationName Name of the Organizations resource
82
+ * @param options The options parameters.
83
+ */
84
+ beginDeleteAndWait(resourceGroupName: string, organizationName: string, options?: OrganizationsDeleteOptionalParams): Promise<OrganizationsDeleteResponse>;
85
+ /**
86
+ * Gets all serverless runtime resources in a given informatica organization resource.
87
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
88
+ * @param organizationName Name of the Organizations resource
89
+ * @param options The options parameters.
90
+ */
91
+ getAllServerlessRuntimes(resourceGroupName: string, organizationName: string, options?: OrganizationsGetAllServerlessRuntimesOptionalParams): Promise<OrganizationsGetAllServerlessRuntimesResponse>;
92
+ /**
93
+ * Gets Metadata of the serverless runtime environment.
94
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
95
+ * @param organizationName Name of the Organizations resource
96
+ * @param options The options parameters.
97
+ */
98
+ getServerlessMetadata(resourceGroupName: string, organizationName: string, options?: OrganizationsGetServerlessMetadataOptionalParams): Promise<OrganizationsGetServerlessMetadataResponse>;
99
+ /**
100
+ * ListBySubscriptionNext
101
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
102
+ * @param options The options parameters.
103
+ */
104
+ private _listBySubscriptionNext;
105
+ /**
106
+ * ListByResourceGroupNext
107
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
108
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
109
+ * @param options The options parameters.
110
+ */
111
+ private _listByResourceGroupNext;
112
+ }
113
+ //# sourceMappingURL=organizations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../../src/operations/organizations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,+BAA+B,EAE/B,6CAA6C,EAG7C,8CAA8C,EAE9C,8BAA8B,EAC9B,wBAAwB,EACxB,yCAAyC,EACzC,mCAAmC,EACnC,qCAAqC,EACrC,iCAAiC,EACjC,2BAA2B,EAC3B,iCAAiC,EACjC,2BAA2B,EAC3B,mDAAmD,EACnD,6CAA6C,EAC7C,gDAAgD,EAChD,0CAA0C,EAG3C,MAAM,oBAAoB,CAAC;AAG5B,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,+BAA+B,CAAC;YAkB/C,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,+BAA+B,CAAC;YAsB/C,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAOpC;;;;;;OAMG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,+BAA+B,EACzC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,mCAAmC,CAAC,EACnD,mCAAmC,CACpC,CACF;IAwDD;;;;;;OAMG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,+BAA+B,EACzC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAU/C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,qCAAqC,EACjD,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAOvC;;;;;OAKG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,2BAA2B,CAAC,EAC3C,2BAA2B,CAC5B,CACF;IAwDD;;;;;OAKG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IASvC;;;;;OAKG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;IAOzD;;;;;OAKG;IACH,qBAAqB,CACnB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;IAOtD;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -0,0 +1,549 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ import { createHttpPoller, } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl.js";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing Organizations operations. */
17
+ export class OrganizationsImpl {
18
+ /**
19
+ * Initialize a new instance of the class Organizations class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * List InformaticaOrganizationResource resources by subscription ID
27
+ * @param options The options parameters.
28
+ */
29
+ listBySubscription(options) {
30
+ const iter = this.listBySubscriptionPagingAll(options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: (settings) => {
39
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ throw new Error("maxPageSize is not supported by this operation.");
41
+ }
42
+ return this.listBySubscriptionPagingPage(options, settings);
43
+ },
44
+ };
45
+ }
46
+ listBySubscriptionPagingPage(options, settings) {
47
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
48
+ let result;
49
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
+ if (!continuationToken) {
51
+ result = yield __await(this._listBySubscription(options));
52
+ let page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ setContinuationToken(page, continuationToken);
55
+ yield yield __await(page);
56
+ }
57
+ while (continuationToken) {
58
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
59
+ continuationToken = result.nextLink;
60
+ let page = result.value || [];
61
+ setContinuationToken(page, continuationToken);
62
+ yield yield __await(page);
63
+ }
64
+ });
65
+ }
66
+ listBySubscriptionPagingAll(options) {
67
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
68
+ var _a, e_1, _b, _c;
69
+ try {
70
+ for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
71
+ _c = _f.value;
72
+ _d = false;
73
+ const page = _c;
74
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
75
+ }
76
+ }
77
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
78
+ finally {
79
+ try {
80
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
81
+ }
82
+ finally { if (e_1) throw e_1.error; }
83
+ }
84
+ });
85
+ }
86
+ /**
87
+ * List InformaticaOrganizationResource resources by resource group
88
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
89
+ * @param options The options parameters.
90
+ */
91
+ listByResourceGroup(resourceGroupName, options) {
92
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
93
+ return {
94
+ next() {
95
+ return iter.next();
96
+ },
97
+ [Symbol.asyncIterator]() {
98
+ return this;
99
+ },
100
+ byPage: (settings) => {
101
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
102
+ throw new Error("maxPageSize is not supported by this operation.");
103
+ }
104
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
105
+ },
106
+ };
107
+ }
108
+ listByResourceGroupPagingPage(resourceGroupName, options, settings) {
109
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
110
+ let result;
111
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
112
+ if (!continuationToken) {
113
+ result = yield __await(this._listByResourceGroup(resourceGroupName, options));
114
+ let page = result.value || [];
115
+ continuationToken = result.nextLink;
116
+ setContinuationToken(page, continuationToken);
117
+ yield yield __await(page);
118
+ }
119
+ while (continuationToken) {
120
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
121
+ continuationToken = result.nextLink;
122
+ let page = result.value || [];
123
+ setContinuationToken(page, continuationToken);
124
+ yield yield __await(page);
125
+ }
126
+ });
127
+ }
128
+ listByResourceGroupPagingAll(resourceGroupName, options) {
129
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
130
+ var _a, e_2, _b, _c;
131
+ try {
132
+ for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
133
+ _c = _f.value;
134
+ _d = false;
135
+ const page = _c;
136
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
137
+ }
138
+ }
139
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
140
+ finally {
141
+ try {
142
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
143
+ }
144
+ finally { if (e_2) throw e_2.error; }
145
+ }
146
+ });
147
+ }
148
+ /**
149
+ * List InformaticaOrganizationResource resources by subscription ID
150
+ * @param options The options parameters.
151
+ */
152
+ _listBySubscription(options) {
153
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
154
+ }
155
+ /**
156
+ * List InformaticaOrganizationResource resources by resource group
157
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
158
+ * @param options The options parameters.
159
+ */
160
+ _listByResourceGroup(resourceGroupName, options) {
161
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
162
+ }
163
+ /**
164
+ * Get a InformaticaOrganizationResource
165
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
166
+ * @param organizationName Name of the Organizations resource
167
+ * @param options The options parameters.
168
+ */
169
+ get(resourceGroupName, organizationName, options) {
170
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, options }, getOperationSpec);
171
+ }
172
+ /**
173
+ * Create a InformaticaOrganizationResource
174
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
175
+ * @param organizationName Name of the Organizations resource
176
+ * @param resource Resource create parameters.
177
+ * @param options The options parameters.
178
+ */
179
+ async beginCreateOrUpdate(resourceGroupName, organizationName, resource, options) {
180
+ const directSendOperation = async (args, spec) => {
181
+ return this.client.sendOperationRequest(args, spec);
182
+ };
183
+ const sendOperationFn = async (args, spec) => {
184
+ var _a;
185
+ let currentRawResponse = undefined;
186
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
187
+ const callback = (rawResponse, flatResponse) => {
188
+ currentRawResponse = rawResponse;
189
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
190
+ };
191
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
192
+ const flatResponse = await directSendOperation(updatedArgs, spec);
193
+ return {
194
+ flatResponse,
195
+ rawResponse: {
196
+ statusCode: currentRawResponse.status,
197
+ body: currentRawResponse.parsedBody,
198
+ headers: currentRawResponse.headers.toJSON(),
199
+ },
200
+ };
201
+ };
202
+ const lro = createLroSpec({
203
+ sendOperationFn,
204
+ args: { resourceGroupName, organizationName, resource, options },
205
+ spec: createOrUpdateOperationSpec,
206
+ });
207
+ const poller = await createHttpPoller(lro, {
208
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
209
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
210
+ resourceLocationConfig: "azure-async-operation",
211
+ });
212
+ await poller.poll();
213
+ return poller;
214
+ }
215
+ /**
216
+ * Create a InformaticaOrganizationResource
217
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
218
+ * @param organizationName Name of the Organizations resource
219
+ * @param resource Resource create parameters.
220
+ * @param options The options parameters.
221
+ */
222
+ async beginCreateOrUpdateAndWait(resourceGroupName, organizationName, resource, options) {
223
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, organizationName, resource, options);
224
+ return poller.pollUntilDone();
225
+ }
226
+ /**
227
+ * Update a InformaticaOrganizationResource
228
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
229
+ * @param organizationName Name of the Organizations resource
230
+ * @param properties The resource properties to be updated.
231
+ * @param options The options parameters.
232
+ */
233
+ update(resourceGroupName, organizationName, properties, options) {
234
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, properties, options }, updateOperationSpec);
235
+ }
236
+ /**
237
+ * Delete a InformaticaOrganizationResource
238
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
239
+ * @param organizationName Name of the Organizations resource
240
+ * @param options The options parameters.
241
+ */
242
+ async beginDelete(resourceGroupName, organizationName, options) {
243
+ const directSendOperation = async (args, spec) => {
244
+ return this.client.sendOperationRequest(args, spec);
245
+ };
246
+ const sendOperationFn = async (args, spec) => {
247
+ var _a;
248
+ let currentRawResponse = undefined;
249
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
250
+ const callback = (rawResponse, flatResponse) => {
251
+ currentRawResponse = rawResponse;
252
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
253
+ };
254
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
255
+ const flatResponse = await directSendOperation(updatedArgs, spec);
256
+ return {
257
+ flatResponse,
258
+ rawResponse: {
259
+ statusCode: currentRawResponse.status,
260
+ body: currentRawResponse.parsedBody,
261
+ headers: currentRawResponse.headers.toJSON(),
262
+ },
263
+ };
264
+ };
265
+ const lro = createLroSpec({
266
+ sendOperationFn,
267
+ args: { resourceGroupName, organizationName, options },
268
+ spec: deleteOperationSpec,
269
+ });
270
+ const poller = await createHttpPoller(lro, {
271
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
272
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
273
+ resourceLocationConfig: "location",
274
+ });
275
+ await poller.poll();
276
+ return poller;
277
+ }
278
+ /**
279
+ * Delete a InformaticaOrganizationResource
280
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
281
+ * @param organizationName Name of the Organizations resource
282
+ * @param options The options parameters.
283
+ */
284
+ async beginDeleteAndWait(resourceGroupName, organizationName, options) {
285
+ const poller = await this.beginDelete(resourceGroupName, organizationName, options);
286
+ return poller.pollUntilDone();
287
+ }
288
+ /**
289
+ * Gets all serverless runtime resources in a given informatica organization resource.
290
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
291
+ * @param organizationName Name of the Organizations resource
292
+ * @param options The options parameters.
293
+ */
294
+ getAllServerlessRuntimes(resourceGroupName, organizationName, options) {
295
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, options }, getAllServerlessRuntimesOperationSpec);
296
+ }
297
+ /**
298
+ * Gets Metadata of the serverless runtime environment.
299
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
300
+ * @param organizationName Name of the Organizations resource
301
+ * @param options The options parameters.
302
+ */
303
+ getServerlessMetadata(resourceGroupName, organizationName, options) {
304
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, options }, getServerlessMetadataOperationSpec);
305
+ }
306
+ /**
307
+ * ListBySubscriptionNext
308
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
309
+ * @param options The options parameters.
310
+ */
311
+ _listBySubscriptionNext(nextLink, options) {
312
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
313
+ }
314
+ /**
315
+ * ListByResourceGroupNext
316
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
317
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
318
+ * @param options The options parameters.
319
+ */
320
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
321
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
322
+ }
323
+ }
324
+ // Operation Specifications
325
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
326
+ const listBySubscriptionOperationSpec = {
327
+ path: "/subscriptions/{subscriptionId}/providers/Informatica.DataManagement/organizations",
328
+ httpMethod: "GET",
329
+ responses: {
330
+ 200: {
331
+ bodyMapper: Mappers.InformaticaOrganizationResourceListResult,
332
+ },
333
+ default: {
334
+ bodyMapper: Mappers.ErrorResponse,
335
+ },
336
+ },
337
+ queryParameters: [Parameters.apiVersion],
338
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
339
+ headerParameters: [Parameters.accept],
340
+ serializer,
341
+ };
342
+ const listByResourceGroupOperationSpec = {
343
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations",
344
+ httpMethod: "GET",
345
+ responses: {
346
+ 200: {
347
+ bodyMapper: Mappers.InformaticaOrganizationResourceListResult,
348
+ },
349
+ default: {
350
+ bodyMapper: Mappers.ErrorResponse,
351
+ },
352
+ },
353
+ queryParameters: [Parameters.apiVersion],
354
+ urlParameters: [
355
+ Parameters.$host,
356
+ Parameters.subscriptionId,
357
+ Parameters.resourceGroupName,
358
+ ],
359
+ headerParameters: [Parameters.accept],
360
+ serializer,
361
+ };
362
+ const getOperationSpec = {
363
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}",
364
+ httpMethod: "GET",
365
+ responses: {
366
+ 200: {
367
+ bodyMapper: Mappers.InformaticaOrganizationResource,
368
+ },
369
+ default: {
370
+ bodyMapper: Mappers.ErrorResponse,
371
+ },
372
+ },
373
+ queryParameters: [Parameters.apiVersion],
374
+ urlParameters: [
375
+ Parameters.$host,
376
+ Parameters.subscriptionId,
377
+ Parameters.resourceGroupName,
378
+ Parameters.organizationName,
379
+ ],
380
+ headerParameters: [Parameters.accept],
381
+ serializer,
382
+ };
383
+ const createOrUpdateOperationSpec = {
384
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}",
385
+ httpMethod: "PUT",
386
+ responses: {
387
+ 200: {
388
+ bodyMapper: Mappers.InformaticaOrganizationResource,
389
+ },
390
+ 201: {
391
+ bodyMapper: Mappers.InformaticaOrganizationResource,
392
+ },
393
+ 202: {
394
+ bodyMapper: Mappers.InformaticaOrganizationResource,
395
+ },
396
+ 204: {
397
+ bodyMapper: Mappers.InformaticaOrganizationResource,
398
+ },
399
+ default: {
400
+ bodyMapper: Mappers.ErrorResponse,
401
+ },
402
+ },
403
+ requestBody: Parameters.resource,
404
+ queryParameters: [Parameters.apiVersion],
405
+ urlParameters: [
406
+ Parameters.$host,
407
+ Parameters.subscriptionId,
408
+ Parameters.resourceGroupName,
409
+ Parameters.organizationName,
410
+ ],
411
+ headerParameters: [Parameters.accept, Parameters.contentType],
412
+ mediaType: "json",
413
+ serializer,
414
+ };
415
+ const updateOperationSpec = {
416
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}",
417
+ httpMethod: "PATCH",
418
+ responses: {
419
+ 200: {
420
+ bodyMapper: Mappers.InformaticaOrganizationResource,
421
+ },
422
+ default: {
423
+ bodyMapper: Mappers.ErrorResponse,
424
+ },
425
+ },
426
+ requestBody: Parameters.properties,
427
+ queryParameters: [Parameters.apiVersion],
428
+ urlParameters: [
429
+ Parameters.$host,
430
+ Parameters.subscriptionId,
431
+ Parameters.resourceGroupName,
432
+ Parameters.organizationName,
433
+ ],
434
+ headerParameters: [Parameters.accept, Parameters.contentType],
435
+ mediaType: "json",
436
+ serializer,
437
+ };
438
+ const deleteOperationSpec = {
439
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}",
440
+ httpMethod: "DELETE",
441
+ responses: {
442
+ 200: {
443
+ headersMapper: Mappers.OrganizationsDeleteHeaders,
444
+ },
445
+ 201: {
446
+ headersMapper: Mappers.OrganizationsDeleteHeaders,
447
+ },
448
+ 202: {
449
+ headersMapper: Mappers.OrganizationsDeleteHeaders,
450
+ },
451
+ 204: {
452
+ headersMapper: Mappers.OrganizationsDeleteHeaders,
453
+ },
454
+ default: {
455
+ bodyMapper: Mappers.ErrorResponse,
456
+ },
457
+ },
458
+ queryParameters: [Parameters.apiVersion],
459
+ urlParameters: [
460
+ Parameters.$host,
461
+ Parameters.subscriptionId,
462
+ Parameters.resourceGroupName,
463
+ Parameters.organizationName,
464
+ ],
465
+ headerParameters: [Parameters.accept],
466
+ serializer,
467
+ };
468
+ const getAllServerlessRuntimesOperationSpec = {
469
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/getAllServerlessRuntimes",
470
+ httpMethod: "POST",
471
+ responses: {
472
+ 200: {
473
+ bodyMapper: Mappers.InformaticaServerlessRuntimeResourceList,
474
+ },
475
+ default: {
476
+ bodyMapper: Mappers.ErrorResponse,
477
+ },
478
+ },
479
+ queryParameters: [Parameters.apiVersion],
480
+ urlParameters: [
481
+ Parameters.$host,
482
+ Parameters.subscriptionId,
483
+ Parameters.resourceGroupName,
484
+ Parameters.organizationName,
485
+ ],
486
+ headerParameters: [Parameters.accept],
487
+ serializer,
488
+ };
489
+ const getServerlessMetadataOperationSpec = {
490
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/getServerlessMetadata",
491
+ httpMethod: "POST",
492
+ responses: {
493
+ 200: {
494
+ bodyMapper: Mappers.ServerlessMetadataResponse,
495
+ },
496
+ default: {
497
+ bodyMapper: Mappers.ErrorResponse,
498
+ },
499
+ },
500
+ queryParameters: [Parameters.apiVersion],
501
+ urlParameters: [
502
+ Parameters.$host,
503
+ Parameters.subscriptionId,
504
+ Parameters.resourceGroupName,
505
+ Parameters.organizationName,
506
+ ],
507
+ headerParameters: [Parameters.accept],
508
+ serializer,
509
+ };
510
+ const listBySubscriptionNextOperationSpec = {
511
+ path: "{nextLink}",
512
+ httpMethod: "GET",
513
+ responses: {
514
+ 200: {
515
+ bodyMapper: Mappers.InformaticaOrganizationResourceListResult,
516
+ },
517
+ default: {
518
+ bodyMapper: Mappers.ErrorResponse,
519
+ },
520
+ },
521
+ urlParameters: [
522
+ Parameters.$host,
523
+ Parameters.nextLink,
524
+ Parameters.subscriptionId,
525
+ ],
526
+ headerParameters: [Parameters.accept],
527
+ serializer,
528
+ };
529
+ const listByResourceGroupNextOperationSpec = {
530
+ path: "{nextLink}",
531
+ httpMethod: "GET",
532
+ responses: {
533
+ 200: {
534
+ bodyMapper: Mappers.InformaticaOrganizationResourceListResult,
535
+ },
536
+ default: {
537
+ bodyMapper: Mappers.ErrorResponse,
538
+ },
539
+ },
540
+ urlParameters: [
541
+ Parameters.$host,
542
+ Parameters.nextLink,
543
+ Parameters.subscriptionId,
544
+ Parameters.resourceGroupName,
545
+ ],
546
+ headerParameters: [Parameters.accept],
547
+ serializer,
548
+ };
549
+ //# sourceMappingURL=organizations.js.map