@azure/arm-datafactory 20.0.0-beta.1 → 20.0.0

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 (351) hide show
  1. package/dist/browser/api/dataFactoryManagementContext.js +1 -1
  2. package/dist/browser/api/dataFactoryManagementContext.js.map +1 -1
  3. package/dist/browser/models/models.js.map +1 -1
  4. package/dist/browser/restorePollerHelpers.js.map +1 -1
  5. package/dist/commonjs/api/dataFactoryManagementContext.js +1 -1
  6. package/dist/commonjs/api/dataFactoryManagementContext.js.map +1 -1
  7. package/dist/commonjs/models/models.js.map +2 -2
  8. package/dist/commonjs/restorePollerHelpers.js.map +2 -2
  9. package/dist/commonjs/tsdoc-metadata.json +1 -1
  10. package/dist/esm/api/dataFactoryManagementContext.js +1 -1
  11. package/dist/esm/api/dataFactoryManagementContext.js.map +1 -1
  12. package/dist/esm/models/models.js.map +1 -1
  13. package/dist/esm/restorePollerHelpers.js.map +1 -1
  14. package/package.json +23 -125
  15. package/dist/react-native/api/activityRuns/index.d.ts +0 -3
  16. package/dist/react-native/api/activityRuns/index.js +0 -4
  17. package/dist/react-native/api/activityRuns/index.js.map +0 -1
  18. package/dist/react-native/api/activityRuns/operations.d.ts +0 -9
  19. package/dist/react-native/api/activityRuns/operations.js +0 -37
  20. package/dist/react-native/api/activityRuns/operations.js.map +0 -1
  21. package/dist/react-native/api/activityRuns/options.d.ts +0 -5
  22. package/dist/react-native/api/activityRuns/options.js +0 -4
  23. package/dist/react-native/api/activityRuns/options.js.map +0 -1
  24. package/dist/react-native/api/changeDataCapture/index.d.ts +0 -3
  25. package/dist/react-native/api/changeDataCapture/index.js +0 -4
  26. package/dist/react-native/api/changeDataCapture/index.js.map +0 -1
  27. package/dist/react-native/api/changeDataCapture/operations.d.ts +0 -34
  28. package/dist/react-native/api/changeDataCapture/operations.js +0 -209
  29. package/dist/react-native/api/changeDataCapture/operations.js.map +0 -1
  30. package/dist/react-native/api/changeDataCapture/options.d.ts +0 -27
  31. package/dist/react-native/api/changeDataCapture/options.js +0 -4
  32. package/dist/react-native/api/changeDataCapture/options.js.map +0 -1
  33. package/dist/react-native/api/credentialOperations/index.d.ts +0 -3
  34. package/dist/react-native/api/credentialOperations/index.js +0 -4
  35. package/dist/react-native/api/credentialOperations/index.js.map +0 -1
  36. package/dist/react-native/api/credentialOperations/operations.d.ts +0 -22
  37. package/dist/react-native/api/credentialOperations/operations.js +0 -128
  38. package/dist/react-native/api/credentialOperations/operations.js.map +0 -1
  39. package/dist/react-native/api/credentialOperations/options.d.ts +0 -18
  40. package/dist/react-native/api/credentialOperations/options.js +0 -4
  41. package/dist/react-native/api/credentialOperations/options.js.map +0 -1
  42. package/dist/react-native/api/dataFactoryManagementContext.d.ts +0 -20
  43. package/dist/react-native/api/dataFactoryManagementContext.js +0 -23
  44. package/dist/react-native/api/dataFactoryManagementContext.js.map +0 -1
  45. package/dist/react-native/api/dataFlowDebugSession/index.d.ts +0 -3
  46. package/dist/react-native/api/dataFlowDebugSession/index.js +0 -4
  47. package/dist/react-native/api/dataFlowDebugSession/index.js.map +0 -1
  48. package/dist/react-native/api/dataFlowDebugSession/operations.d.ts +0 -27
  49. package/dist/react-native/api/dataFlowDebugSession/operations.js +0 -164
  50. package/dist/react-native/api/dataFlowDebugSession/operations.js.map +0 -1
  51. package/dist/react-native/api/dataFlowDebugSession/options.d.ts +0 -21
  52. package/dist/react-native/api/dataFlowDebugSession/options.js +0 -4
  53. package/dist/react-native/api/dataFlowDebugSession/options.js.map +0 -1
  54. package/dist/react-native/api/dataFlows/index.d.ts +0 -3
  55. package/dist/react-native/api/dataFlows/index.js +0 -4
  56. package/dist/react-native/api/dataFlows/index.js.map +0 -1
  57. package/dist/react-native/api/dataFlows/operations.d.ts +0 -22
  58. package/dist/react-native/api/dataFlows/operations.js +0 -128
  59. package/dist/react-native/api/dataFlows/operations.js.map +0 -1
  60. package/dist/react-native/api/dataFlows/options.d.ts +0 -18
  61. package/dist/react-native/api/dataFlows/options.js +0 -4
  62. package/dist/react-native/api/dataFlows/options.js.map +0 -1
  63. package/dist/react-native/api/datasets/index.d.ts +0 -3
  64. package/dist/react-native/api/datasets/index.js +0 -4
  65. package/dist/react-native/api/datasets/index.js.map +0 -1
  66. package/dist/react-native/api/datasets/operations.d.ts +0 -22
  67. package/dist/react-native/api/datasets/operations.js +0 -128
  68. package/dist/react-native/api/datasets/operations.js.map +0 -1
  69. package/dist/react-native/api/datasets/options.d.ts +0 -18
  70. package/dist/react-native/api/datasets/options.js +0 -4
  71. package/dist/react-native/api/datasets/options.js.map +0 -1
  72. package/dist/react-native/api/exposureControl/index.d.ts +0 -3
  73. package/dist/react-native/api/exposureControl/index.js +0 -4
  74. package/dist/react-native/api/exposureControl/index.js.map +0 -1
  75. package/dist/react-native/api/exposureControl/operations.d.ts +0 -17
  76. package/dist/react-native/api/exposureControl/operations.js +0 -95
  77. package/dist/react-native/api/exposureControl/operations.js.map +0 -1
  78. package/dist/react-native/api/exposureControl/options.d.ts +0 -11
  79. package/dist/react-native/api/exposureControl/options.js +0 -4
  80. package/dist/react-native/api/exposureControl/options.js.map +0 -1
  81. package/dist/react-native/api/factories/index.d.ts +0 -3
  82. package/dist/react-native/api/factories/index.js +0 -4
  83. package/dist/react-native/api/factories/index.js.map +0 -1
  84. package/dist/react-native/api/factories/operations.d.ts +0 -42
  85. package/dist/react-native/api/factories/operations.js +0 -268
  86. package/dist/react-native/api/factories/operations.js.map +0 -1
  87. package/dist/react-native/api/factories/options.d.ts +0 -33
  88. package/dist/react-native/api/factories/options.js +0 -4
  89. package/dist/react-native/api/factories/options.js.map +0 -1
  90. package/dist/react-native/api/globalParameters/index.d.ts +0 -3
  91. package/dist/react-native/api/globalParameters/index.js +0 -4
  92. package/dist/react-native/api/globalParameters/index.js.map +0 -1
  93. package/dist/react-native/api/globalParameters/operations.d.ts +0 -22
  94. package/dist/react-native/api/globalParameters/operations.js +0 -120
  95. package/dist/react-native/api/globalParameters/operations.js.map +0 -1
  96. package/dist/react-native/api/globalParameters/options.d.ts +0 -14
  97. package/dist/react-native/api/globalParameters/options.js +0 -4
  98. package/dist/react-native/api/globalParameters/options.js.map +0 -1
  99. package/dist/react-native/api/index.d.ts +0 -3
  100. package/dist/react-native/api/index.js +0 -4
  101. package/dist/react-native/api/index.js.map +0 -1
  102. package/dist/react-native/api/integrationRuntime/index.d.ts +0 -3
  103. package/dist/react-native/api/integrationRuntime/index.js +0 -4
  104. package/dist/react-native/api/integrationRuntime/index.js.map +0 -1
  105. package/dist/react-native/api/integrationRuntime/operations.d.ts +0 -14
  106. package/dist/react-native/api/integrationRuntime/operations.js +0 -77
  107. package/dist/react-native/api/integrationRuntime/operations.js.map +0 -1
  108. package/dist/react-native/api/integrationRuntime/options.d.ts +0 -12
  109. package/dist/react-native/api/integrationRuntime/options.js +0 -4
  110. package/dist/react-native/api/integrationRuntime/options.js.map +0 -1
  111. package/dist/react-native/api/integrationRuntimeNodes/index.d.ts +0 -3
  112. package/dist/react-native/api/integrationRuntimeNodes/index.js +0 -4
  113. package/dist/react-native/api/integrationRuntimeNodes/index.js.map +0 -1
  114. package/dist/react-native/api/integrationRuntimeNodes/operations.d.ts +0 -21
  115. package/dist/react-native/api/integrationRuntimeNodes/operations.js +0 -125
  116. package/dist/react-native/api/integrationRuntimeNodes/operations.js.map +0 -1
  117. package/dist/react-native/api/integrationRuntimeNodes/options.d.ts +0 -14
  118. package/dist/react-native/api/integrationRuntimeNodes/options.js +0 -4
  119. package/dist/react-native/api/integrationRuntimeNodes/options.js.map +0 -1
  120. package/dist/react-native/api/integrationRuntimeObjectMetadata/index.d.ts +0 -3
  121. package/dist/react-native/api/integrationRuntimeObjectMetadata/index.js +0 -4
  122. package/dist/react-native/api/integrationRuntimeObjectMetadata/index.js.map +0 -1
  123. package/dist/react-native/api/integrationRuntimeObjectMetadata/operations.d.ts +0 -14
  124. package/dist/react-native/api/integrationRuntimeObjectMetadata/operations.js +0 -74
  125. package/dist/react-native/api/integrationRuntimeObjectMetadata/operations.js.map +0 -1
  126. package/dist/react-native/api/integrationRuntimeObjectMetadata/options.d.ts +0 -13
  127. package/dist/react-native/api/integrationRuntimeObjectMetadata/options.js +0 -4
  128. package/dist/react-native/api/integrationRuntimeObjectMetadata/options.js.map +0 -1
  129. package/dist/react-native/api/integrationRuntimes/index.d.ts +0 -3
  130. package/dist/react-native/api/integrationRuntimes/index.js +0 -4
  131. package/dist/react-native/api/integrationRuntimes/index.js.map +0 -1
  132. package/dist/react-native/api/integrationRuntimes/operations.d.ts +0 -75
  133. package/dist/react-native/api/integrationRuntimes/operations.js +0 -518
  134. package/dist/react-native/api/integrationRuntimes/operations.js.map +0 -1
  135. package/dist/react-native/api/integrationRuntimes/options.d.ts +0 -61
  136. package/dist/react-native/api/integrationRuntimes/options.js +0 -4
  137. package/dist/react-native/api/integrationRuntimes/options.js.map +0 -1
  138. package/dist/react-native/api/linkedServices/index.d.ts +0 -3
  139. package/dist/react-native/api/linkedServices/index.js +0 -4
  140. package/dist/react-native/api/linkedServices/index.js.map +0 -1
  141. package/dist/react-native/api/linkedServices/operations.d.ts +0 -22
  142. package/dist/react-native/api/linkedServices/operations.js +0 -128
  143. package/dist/react-native/api/linkedServices/operations.js.map +0 -1
  144. package/dist/react-native/api/linkedServices/options.d.ts +0 -18
  145. package/dist/react-native/api/linkedServices/options.js +0 -4
  146. package/dist/react-native/api/linkedServices/options.js.map +0 -1
  147. package/dist/react-native/api/managedPrivateEndpoints/index.d.ts +0 -3
  148. package/dist/react-native/api/managedPrivateEndpoints/index.js +0 -4
  149. package/dist/react-native/api/managedPrivateEndpoints/index.js.map +0 -1
  150. package/dist/react-native/api/managedPrivateEndpoints/operations.d.ts +0 -22
  151. package/dist/react-native/api/managedPrivateEndpoints/operations.js +0 -132
  152. package/dist/react-native/api/managedPrivateEndpoints/operations.js.map +0 -1
  153. package/dist/react-native/api/managedPrivateEndpoints/options.d.ts +0 -18
  154. package/dist/react-native/api/managedPrivateEndpoints/options.js +0 -4
  155. package/dist/react-native/api/managedPrivateEndpoints/options.js.map +0 -1
  156. package/dist/react-native/api/managedVirtualNetworks/index.d.ts +0 -3
  157. package/dist/react-native/api/managedVirtualNetworks/index.js +0 -4
  158. package/dist/react-native/api/managedVirtualNetworks/index.js.map +0 -1
  159. package/dist/react-native/api/managedVirtualNetworks/operations.d.ts +0 -18
  160. package/dist/react-native/api/managedVirtualNetworks/operations.js +0 -102
  161. package/dist/react-native/api/managedVirtualNetworks/operations.js.map +0 -1
  162. package/dist/react-native/api/managedVirtualNetworks/options.d.ts +0 -15
  163. package/dist/react-native/api/managedVirtualNetworks/options.js +0 -4
  164. package/dist/react-native/api/managedVirtualNetworks/options.js.map +0 -1
  165. package/dist/react-native/api/operations/index.d.ts +0 -3
  166. package/dist/react-native/api/operations/index.js +0 -4
  167. package/dist/react-native/api/operations/index.js.map +0 -1
  168. package/dist/react-native/api/operations/operations.d.ts +0 -10
  169. package/dist/react-native/api/operations/operations.js +0 -31
  170. package/dist/react-native/api/operations/operations.js.map +0 -1
  171. package/dist/react-native/api/operations/options.d.ts +0 -5
  172. package/dist/react-native/api/operations/options.js +0 -4
  173. package/dist/react-native/api/operations/options.js.map +0 -1
  174. package/dist/react-native/api/pipelineRuns/index.d.ts +0 -3
  175. package/dist/react-native/api/pipelineRuns/index.js +0 -4
  176. package/dist/react-native/api/pipelineRuns/index.js.map +0 -1
  177. package/dist/react-native/api/pipelineRuns/operations.d.ts +0 -17
  178. package/dist/react-native/api/pipelineRuns/operations.js +0 -92
  179. package/dist/react-native/api/pipelineRuns/operations.js.map +0 -1
  180. package/dist/react-native/api/pipelineRuns/options.d.ts +0 -13
  181. package/dist/react-native/api/pipelineRuns/options.js +0 -4
  182. package/dist/react-native/api/pipelineRuns/options.js.map +0 -1
  183. package/dist/react-native/api/pipelines/index.d.ts +0 -3
  184. package/dist/react-native/api/pipelines/index.js +0 -4
  185. package/dist/react-native/api/pipelines/index.js.map +0 -1
  186. package/dist/react-native/api/pipelines/operations.d.ts +0 -26
  187. package/dist/react-native/api/pipelines/operations.js +0 -163
  188. package/dist/react-native/api/pipelines/operations.js.map +0 -1
  189. package/dist/react-native/api/pipelines/options.d.ts +0 -31
  190. package/dist/react-native/api/pipelines/options.js +0 -4
  191. package/dist/react-native/api/pipelines/options.js.map +0 -1
  192. package/dist/react-native/api/privateEndPointConnections/index.d.ts +0 -3
  193. package/dist/react-native/api/privateEndPointConnections/index.js +0 -4
  194. package/dist/react-native/api/privateEndPointConnections/index.js.map +0 -1
  195. package/dist/react-native/api/privateEndPointConnections/operations.d.ts +0 -10
  196. package/dist/react-native/api/privateEndPointConnections/operations.js +0 -34
  197. package/dist/react-native/api/privateEndPointConnections/operations.js.map +0 -1
  198. package/dist/react-native/api/privateEndPointConnections/options.d.ts +0 -5
  199. package/dist/react-native/api/privateEndPointConnections/options.js +0 -4
  200. package/dist/react-native/api/privateEndPointConnections/options.js.map +0 -1
  201. package/dist/react-native/api/privateEndpointConnection/index.d.ts +0 -3
  202. package/dist/react-native/api/privateEndpointConnection/index.js +0 -4
  203. package/dist/react-native/api/privateEndpointConnection/index.js.map +0 -1
  204. package/dist/react-native/api/privateEndpointConnection/operations.d.ts +0 -17
  205. package/dist/react-native/api/privateEndpointConnection/operations.js +0 -100
  206. package/dist/react-native/api/privateEndpointConnection/operations.js.map +0 -1
  207. package/dist/react-native/api/privateEndpointConnection/options.d.ts +0 -15
  208. package/dist/react-native/api/privateEndpointConnection/options.js +0 -4
  209. package/dist/react-native/api/privateEndpointConnection/options.js.map +0 -1
  210. package/dist/react-native/api/privateLinkResources/index.d.ts +0 -3
  211. package/dist/react-native/api/privateLinkResources/index.js +0 -4
  212. package/dist/react-native/api/privateLinkResources/index.js.map +0 -1
  213. package/dist/react-native/api/privateLinkResources/operations.d.ts +0 -9
  214. package/dist/react-native/api/privateLinkResources/operations.js +0 -34
  215. package/dist/react-native/api/privateLinkResources/operations.js.map +0 -1
  216. package/dist/react-native/api/privateLinkResources/options.d.ts +0 -5
  217. package/dist/react-native/api/privateLinkResources/options.js +0 -4
  218. package/dist/react-native/api/privateLinkResources/options.js.map +0 -1
  219. package/dist/react-native/api/triggerRuns/index.d.ts +0 -3
  220. package/dist/react-native/api/triggerRuns/index.js +0 -4
  221. package/dist/react-native/api/triggerRuns/index.js.map +0 -1
  222. package/dist/react-native/api/triggerRuns/operations.d.ts +0 -17
  223. package/dist/react-native/api/triggerRuns/operations.js +0 -90
  224. package/dist/react-native/api/triggerRuns/operations.js.map +0 -1
  225. package/dist/react-native/api/triggerRuns/options.d.ts +0 -11
  226. package/dist/react-native/api/triggerRuns/options.js +0 -4
  227. package/dist/react-native/api/triggerRuns/options.js.map +0 -1
  228. package/dist/react-native/api/triggers/index.d.ts +0 -3
  229. package/dist/react-native/api/triggers/index.js +0 -4
  230. package/dist/react-native/api/triggers/index.js.map +0 -1
  231. package/dist/react-native/api/triggers/operations.d.ts +0 -47
  232. package/dist/react-native/api/triggers/operations.js +0 -318
  233. package/dist/react-native/api/triggers/operations.js.map +0 -1
  234. package/dist/react-native/api/triggers/options.d.ts +0 -44
  235. package/dist/react-native/api/triggers/options.js +0 -4
  236. package/dist/react-native/api/triggers/options.js.map +0 -1
  237. package/dist/react-native/classic/activityRuns/index.d.ts +0 -10
  238. package/dist/react-native/classic/activityRuns/index.js +0 -14
  239. package/dist/react-native/classic/activityRuns/index.js.map +0 -1
  240. package/dist/react-native/classic/changeDataCapture/index.d.ts +0 -23
  241. package/dist/react-native/classic/changeDataCapture/index.js +0 -20
  242. package/dist/react-native/classic/changeDataCapture/index.js.map +0 -1
  243. package/dist/react-native/classic/credentialOperations/index.d.ts +0 -17
  244. package/dist/react-native/classic/credentialOperations/index.js +0 -17
  245. package/dist/react-native/classic/credentialOperations/index.js.map +0 -1
  246. package/dist/react-native/classic/dataFlowDebugSession/index.d.ts +0 -29
  247. package/dist/react-native/classic/dataFlowDebugSession/index.js +0 -35
  248. package/dist/react-native/classic/dataFlowDebugSession/index.js.map +0 -1
  249. package/dist/react-native/classic/dataFlows/index.d.ts +0 -17
  250. package/dist/react-native/classic/dataFlows/index.js +0 -17
  251. package/dist/react-native/classic/dataFlows/index.js.map +0 -1
  252. package/dist/react-native/classic/datasets/index.d.ts +0 -17
  253. package/dist/react-native/classic/datasets/index.js +0 -17
  254. package/dist/react-native/classic/datasets/index.js.map +0 -1
  255. package/dist/react-native/classic/exposureControl/index.d.ts +0 -14
  256. package/dist/react-native/classic/exposureControl/index.js +0 -16
  257. package/dist/react-native/classic/exposureControl/index.js.map +0 -1
  258. package/dist/react-native/classic/factories/index.d.ts +0 -27
  259. package/dist/react-native/classic/factories/index.js +0 -22
  260. package/dist/react-native/classic/factories/index.js.map +0 -1
  261. package/dist/react-native/classic/globalParameters/index.d.ts +0 -17
  262. package/dist/react-native/classic/globalParameters/index.js +0 -17
  263. package/dist/react-native/classic/globalParameters/index.js.map +0 -1
  264. package/dist/react-native/classic/index.d.ts +0 -25
  265. package/dist/react-native/classic/index.js +0 -4
  266. package/dist/react-native/classic/index.js.map +0 -1
  267. package/dist/react-native/classic/integrationRuntime/index.d.ts +0 -22
  268. package/dist/react-native/classic/integrationRuntime/index.js +0 -32
  269. package/dist/react-native/classic/integrationRuntime/index.js.map +0 -1
  270. package/dist/react-native/classic/integrationRuntimeNodes/index.d.ts +0 -16
  271. package/dist/react-native/classic/integrationRuntimeNodes/index.js +0 -17
  272. package/dist/react-native/classic/integrationRuntimeNodes/index.js.map +0 -1
  273. package/dist/react-native/classic/integrationRuntimeObjectMetadata/index.d.ts +0 -18
  274. package/dist/react-native/classic/integrationRuntimeObjectMetadata/index.js +0 -24
  275. package/dist/react-native/classic/integrationRuntimeObjectMetadata/index.js.map +0 -1
  276. package/dist/react-native/classic/integrationRuntimes/index.d.ts +0 -53
  277. package/dist/react-native/classic/integrationRuntimes/index.js +0 -47
  278. package/dist/react-native/classic/integrationRuntimes/index.js.map +0 -1
  279. package/dist/react-native/classic/linkedServices/index.d.ts +0 -17
  280. package/dist/react-native/classic/linkedServices/index.js +0 -17
  281. package/dist/react-native/classic/linkedServices/index.js.map +0 -1
  282. package/dist/react-native/classic/managedPrivateEndpoints/index.d.ts +0 -17
  283. package/dist/react-native/classic/managedPrivateEndpoints/index.js +0 -17
  284. package/dist/react-native/classic/managedPrivateEndpoints/index.js.map +0 -1
  285. package/dist/react-native/classic/managedVirtualNetworks/index.d.ts +0 -15
  286. package/dist/react-native/classic/managedVirtualNetworks/index.js +0 -16
  287. package/dist/react-native/classic/managedVirtualNetworks/index.js.map +0 -1
  288. package/dist/react-native/classic/operations/index.d.ts +0 -11
  289. package/dist/react-native/classic/operations/index.js +0 -14
  290. package/dist/react-native/classic/operations/index.js.map +0 -1
  291. package/dist/react-native/classic/pipelineRuns/index.d.ts +0 -14
  292. package/dist/react-native/classic/pipelineRuns/index.js +0 -16
  293. package/dist/react-native/classic/pipelineRuns/index.js.map +0 -1
  294. package/dist/react-native/classic/pipelines/index.d.ts +0 -19
  295. package/dist/react-native/classic/pipelines/index.js +0 -18
  296. package/dist/react-native/classic/pipelines/index.js.map +0 -1
  297. package/dist/react-native/classic/privateEndPointConnections/index.d.ts +0 -11
  298. package/dist/react-native/classic/privateEndPointConnections/index.js +0 -14
  299. package/dist/react-native/classic/privateEndPointConnections/index.js.map +0 -1
  300. package/dist/react-native/classic/privateEndpointConnection/index.d.ts +0 -14
  301. package/dist/react-native/classic/privateEndpointConnection/index.js +0 -16
  302. package/dist/react-native/classic/privateEndpointConnection/index.js.map +0 -1
  303. package/dist/react-native/classic/privateLinkResources/index.d.ts +0 -10
  304. package/dist/react-native/classic/privateLinkResources/index.js +0 -14
  305. package/dist/react-native/classic/privateLinkResources/index.js.map +0 -1
  306. package/dist/react-native/classic/triggerRuns/index.d.ts +0 -14
  307. package/dist/react-native/classic/triggerRuns/index.js +0 -16
  308. package/dist/react-native/classic/triggerRuns/index.js.map +0 -1
  309. package/dist/react-native/classic/triggers/index.d.ts +0 -47
  310. package/dist/react-native/classic/triggers/index.js +0 -56
  311. package/dist/react-native/classic/triggers/index.js.map +0 -1
  312. package/dist/react-native/dataFactoryManagementClient.d.ts +0 -84
  313. package/dist/react-native/dataFactoryManagementClient.js +0 -124
  314. package/dist/react-native/dataFactoryManagementClient.js.map +0 -1
  315. package/dist/react-native/index.d.ts +0 -38
  316. package/dist/react-native/index.js +0 -8
  317. package/dist/react-native/index.js.map +0 -1
  318. package/dist/react-native/logger.d.ts +0 -2
  319. package/dist/react-native/logger.js +0 -5
  320. package/dist/react-native/logger.js.map +0 -1
  321. package/dist/react-native/models/index.d.ts +0 -3
  322. package/dist/react-native/models/index.js +0 -4
  323. package/dist/react-native/models/index.js.map +0 -1
  324. package/dist/react-native/models/models.d.ts +0 -20816
  325. package/dist/react-native/models/models.js +0 -43469
  326. package/dist/react-native/models/models.js.map +0 -1
  327. package/dist/react-native/package.json +0 -3
  328. package/dist/react-native/restorePollerHelpers.d.ts +0 -21
  329. package/dist/react-native/restorePollerHelpers.js +0 -108
  330. package/dist/react-native/restorePollerHelpers.js.map +0 -1
  331. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +0 -22
  332. package/dist/react-native/static-helpers/cloudSettingHelpers.js +0 -38
  333. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +0 -1
  334. package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -74
  335. package/dist/react-native/static-helpers/pagingHelpers.js +0 -143
  336. package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
  337. package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -34
  338. package/dist/react-native/static-helpers/pollingHelpers.js +0 -95
  339. package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
  340. package/dist/react-native/static-helpers/serialization/check-prop-undefined.d.ts +0 -8
  341. package/dist/react-native/static-helpers/serialization/check-prop-undefined.js +0 -17
  342. package/dist/react-native/static-helpers/serialization/check-prop-undefined.js.map +0 -1
  343. package/dist/react-native/static-helpers/serialization/serialize-record.d.ts +0 -2
  344. package/dist/react-native/static-helpers/serialization/serialize-record.js +0 -19
  345. package/dist/react-native/static-helpers/serialization/serialize-record.js.map +0 -1
  346. package/dist/react-native/static-helpers/simplePollerHelpers.d.ts +0 -73
  347. package/dist/react-native/static-helpers/simplePollerHelpers.js +0 -44
  348. package/dist/react-native/static-helpers/simplePollerHelpers.js.map +0 -1
  349. package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
  350. package/dist/react-native/static-helpers/urlTemplate.js +0 -200
  351. package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/pipelineRuns/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,sBAAsB,EAEtB,6BAA6B,EAE7B,qCAAqC,EAErC,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAMxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,WAAW,CACzB,OAAe,EACf,iBAAyB,EACzB,WAAmB,EACnB,KAAa,EACb,UAA4C,EAAE,cAAc,EAAE,EAAE,EAAE;IAElE,MAAM,IAAI,GAAG,iBAAiB,CAC5B,oLAAoL,EACpL;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,iBAAiB,EAAE,iBAAiB;QACpC,WAAW,EAAE,WAAW;QACxB,KAAK,EAAE,KAAK;QACZ,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,YAAY;QACnD,WAAW,EAAE,OAAO,EAAE,WAAW;KAClC,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,mCAAmC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AACtF,CAAC;AAED,MAA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CAAC,CAAC,IAAI,CAAC;QAC7B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO,EAAE;QAC3E,IAAI,EAAE,6BAA6B,CAAC,gBAAgB,CAAC;KACtD,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAEpD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,qCAAqC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC;AAED,2EAA2E;AAC3E,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,OAAe,EACf,iBAAyB,EACzB,WAAmB,EACnB,gBAAqC,EACrC,UAAoD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE1E,MAAM,MAAM,GAAG,MAAM,mBAAmB,CACtC,OAAO,EACP,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,OAAO,CACR,CAAC;IACF,OAAO,0BAA0B,CAAC,MAAM,CAAC,CAAC;AAC5C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DataFactoryManagementContext as Client } from \"../index.js\";\nimport {\n cloudErrorDeserializer,\n RunFilterParameters,\n runFilterParametersSerializer,\n PipelineRunsQueryResponse,\n pipelineRunsQueryResponseDeserializer,\n PipelineRun,\n pipelineRunDeserializer,\n} from \"../../models/models.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n PipelineRunsCancelOptionalParams,\n PipelineRunsGetOptionalParams,\n PipelineRunsQueryByFactoryOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _cancelSend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n runId: string,\n options: PipelineRunsCancelOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/cancel{?api%2Dversion,isRecursive}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n runId: runId,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n isRecursive: options?.isRecursive,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _cancelDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Cancel a pipeline run by its run ID. */\nexport async function cancel(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n runId: string,\n options: PipelineRunsCancelOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _cancelSend(context, resourceGroupName, factoryName, runId, options);\n return _cancelDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n runId: string,\n options: PipelineRunsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n runId: runId,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<PipelineRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return pipelineRunDeserializer(result.body);\n}\n\n/** Get a pipeline run by its run ID. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n runId: string,\n options: PipelineRunsGetOptionalParams = { requestOptions: {} },\n): Promise<PipelineRun> {\n const result = await _getSend(context, resourceGroupName, factoryName, runId, options);\n return _getDeserialize(result);\n}\n\nexport function _queryByFactorySend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n filterParameters: RunFilterParameters,\n options: PipelineRunsQueryByFactoryOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: runFilterParametersSerializer(filterParameters),\n });\n}\n\nexport async function _queryByFactoryDeserialize(\n result: PathUncheckedResponse,\n): Promise<PipelineRunsQueryResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return pipelineRunsQueryResponseDeserializer(result.body);\n}\n\n/** Query pipeline runs in the factory based on input filter conditions. */\nexport async function queryByFactory(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n filterParameters: RunFilterParameters,\n options: PipelineRunsQueryByFactoryOptionalParams = { requestOptions: {} },\n): Promise<PipelineRunsQueryResponse> {\n const result = await _queryByFactorySend(\n context,\n resourceGroupName,\n factoryName,\n filterParameters,\n options,\n );\n return _queryByFactoryDeserialize(result);\n}\n"]}
@@ -1,13 +0,0 @@
1
- import { OperationOptions } from "@azure-rest/core-client";
2
- /** Optional parameters. */
3
- export interface PipelineRunsCancelOptionalParams extends OperationOptions {
4
- /** If true, cancel all the Child pipelines that are triggered by the current pipeline. */
5
- isRecursive?: boolean;
6
- }
7
- /** Optional parameters. */
8
- export interface PipelineRunsGetOptionalParams extends OperationOptions {
9
- }
10
- /** Optional parameters. */
11
- export interface PipelineRunsQueryByFactoryOptionalParams extends OperationOptions {
12
- }
13
- //# sourceMappingURL=options.d.ts.map
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export {};
4
- //# sourceMappingURL=options.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/pipelineRuns/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PipelineRunsCancelOptionalParams extends OperationOptions {\n /** If true, cancel all the Child pipelines that are triggered by the current pipeline. */\n isRecursive?: boolean;\n}\n\n/** Optional parameters. */\nexport interface PipelineRunsGetOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface PipelineRunsQueryByFactoryOptionalParams extends OperationOptions {}\n"]}
@@ -1,3 +0,0 @@
1
- export { createRun, listByFactory, $delete, createOrUpdate, get } from "./operations.js";
2
- export type { PipelinesCreateRunOptionalParams, PipelinesListByFactoryOptionalParams, PipelinesDeleteOptionalParams, PipelinesCreateOrUpdateOptionalParams, PipelinesGetOptionalParams, } from "./options.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export { createRun, listByFactory, $delete, createOrUpdate, get } from "./operations.js";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/pipelines/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { createRun, listByFactory, $delete, createOrUpdate, get } from \"./operations.js\";\nexport type {\n PipelinesCreateRunOptionalParams,\n PipelinesListByFactoryOptionalParams,\n PipelinesDeleteOptionalParams,\n PipelinesCreateOrUpdateOptionalParams,\n PipelinesGetOptionalParams,\n} from \"./options.js\";\n"]}
@@ -1,26 +0,0 @@
1
- import { DataFactoryManagementContext as Client } from "../index.js";
2
- import { PipelineResource, _PipelineListResponse, CreateRunResponse } from "../../models/models.js";
3
- import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
- import { PipelinesCreateRunOptionalParams, PipelinesListByFactoryOptionalParams, PipelinesDeleteOptionalParams, PipelinesCreateOrUpdateOptionalParams, PipelinesGetOptionalParams } from "./options.js";
5
- import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
- export declare function _createRunSend(context: Client, resourceGroupName: string, factoryName: string, pipelineName: string, options?: PipelinesCreateRunOptionalParams): StreamableMethod;
7
- export declare function _createRunDeserialize(result: PathUncheckedResponse): Promise<CreateRunResponse>;
8
- /** Creates a run of a pipeline. */
9
- export declare function createRun(context: Client, resourceGroupName: string, factoryName: string, pipelineName: string, options?: PipelinesCreateRunOptionalParams): Promise<CreateRunResponse>;
10
- export declare function _listByFactorySend(context: Client, resourceGroupName: string, factoryName: string, options?: PipelinesListByFactoryOptionalParams): StreamableMethod;
11
- export declare function _listByFactoryDeserialize(result: PathUncheckedResponse): Promise<_PipelineListResponse>;
12
- /** Lists pipelines. */
13
- export declare function listByFactory(context: Client, resourceGroupName: string, factoryName: string, options?: PipelinesListByFactoryOptionalParams): PagedAsyncIterableIterator<PipelineResource>;
14
- export declare function _$deleteSend(context: Client, resourceGroupName: string, factoryName: string, pipelineName: string, options?: PipelinesDeleteOptionalParams): StreamableMethod;
15
- export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
16
- /** Deletes a pipeline. */
17
- export declare function $delete(context: Client, resourceGroupName: string, factoryName: string, pipelineName: string, options?: PipelinesDeleteOptionalParams): Promise<void>;
18
- export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, factoryName: string, pipelineName: string, pipeline: PipelineResource, options?: PipelinesCreateOrUpdateOptionalParams): StreamableMethod;
19
- export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<PipelineResource>;
20
- /** Creates or updates a pipeline. */
21
- export declare function createOrUpdate(context: Client, resourceGroupName: string, factoryName: string, pipelineName: string, pipeline: PipelineResource, options?: PipelinesCreateOrUpdateOptionalParams): Promise<PipelineResource>;
22
- export declare function _getSend(context: Client, resourceGroupName: string, factoryName: string, pipelineName: string, options?: PipelinesGetOptionalParams): StreamableMethod;
23
- export declare function _getDeserialize(result: PathUncheckedResponse): Promise<PipelineResource>;
24
- /** Gets a pipeline. */
25
- export declare function get(context: Client, resourceGroupName: string, factoryName: string, pipelineName: string, options?: PipelinesGetOptionalParams): Promise<PipelineResource>;
26
- //# sourceMappingURL=operations.d.ts.map
@@ -1,163 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import { cloudErrorDeserializer, pipelineResourceSerializer, pipelineResourceDeserializer, _pipelineListResponseDeserializer, createRunResponseDeserializer, } from "../../models/models.js";
4
- import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
- import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
- import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
- export function _createRunSend(context, resourceGroupName, factoryName, pipelineName, options = { requestOptions: {} }) {
8
- const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}/createRun{?api%2Dversion,referencePipelineRunId,isRecovery,startActivityName,startFromFailure}", {
9
- subscriptionId: context.subscriptionId,
10
- resourceGroupName: resourceGroupName,
11
- factoryName: factoryName,
12
- pipelineName: pipelineName,
13
- "api%2Dversion": context.apiVersion ?? "2018-06-01",
14
- referencePipelineRunId: options?.referencePipelineRunId,
15
- isRecovery: options?.isRecovery,
16
- startActivityName: options?.startActivityName,
17
- startFromFailure: options?.startFromFailure,
18
- }, {
19
- allowReserved: options?.requestOptions?.skipUrlEncoding,
20
- });
21
- return context.path(path).post({
22
- ...operationOptionsToRequestParameters(options),
23
- contentType: "application/json",
24
- headers: { accept: "application/json", ...options.requestOptions?.headers },
25
- body: !options["parameters"] ? options["parameters"] : options["parameters"],
26
- });
27
- }
28
- export async function _createRunDeserialize(result) {
29
- const expectedStatuses = ["200"];
30
- if (!expectedStatuses.includes(result.status)) {
31
- const error = createRestError(result);
32
- error.details = cloudErrorDeserializer(result.body);
33
- throw error;
34
- }
35
- return createRunResponseDeserializer(result.body);
36
- }
37
- /** Creates a run of a pipeline. */
38
- export async function createRun(context, resourceGroupName, factoryName, pipelineName, options = { requestOptions: {} }) {
39
- const result = await _createRunSend(context, resourceGroupName, factoryName, pipelineName, options);
40
- return _createRunDeserialize(result);
41
- }
42
- export function _listByFactorySend(context, resourceGroupName, factoryName, options = { requestOptions: {} }) {
43
- const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines{?api%2Dversion}", {
44
- subscriptionId: context.subscriptionId,
45
- resourceGroupName: resourceGroupName,
46
- factoryName: factoryName,
47
- "api%2Dversion": context.apiVersion ?? "2018-06-01",
48
- }, {
49
- allowReserved: options?.requestOptions?.skipUrlEncoding,
50
- });
51
- return context.path(path).get({
52
- ...operationOptionsToRequestParameters(options),
53
- headers: { accept: "application/json", ...options.requestOptions?.headers },
54
- });
55
- }
56
- export async function _listByFactoryDeserialize(result) {
57
- const expectedStatuses = ["200"];
58
- if (!expectedStatuses.includes(result.status)) {
59
- const error = createRestError(result);
60
- error.details = cloudErrorDeserializer(result.body);
61
- throw error;
62
- }
63
- return _pipelineListResponseDeserializer(result.body);
64
- }
65
- /** Lists pipelines. */
66
- export function listByFactory(context, resourceGroupName, factoryName, options = { requestOptions: {} }) {
67
- return buildPagedAsyncIterator(context, () => _listByFactorySend(context, resourceGroupName, factoryName, options), _listByFactoryDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2018-06-01" });
68
- }
69
- export function _$deleteSend(context, resourceGroupName, factoryName, pipelineName, options = { requestOptions: {} }) {
70
- const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}{?api%2Dversion}", {
71
- subscriptionId: context.subscriptionId,
72
- resourceGroupName: resourceGroupName,
73
- factoryName: factoryName,
74
- pipelineName: pipelineName,
75
- "api%2Dversion": context.apiVersion ?? "2018-06-01",
76
- }, {
77
- allowReserved: options?.requestOptions?.skipUrlEncoding,
78
- });
79
- return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
80
- }
81
- export async function _$deleteDeserialize(result) {
82
- const expectedStatuses = ["200", "204"];
83
- if (!expectedStatuses.includes(result.status)) {
84
- const error = createRestError(result);
85
- error.details = cloudErrorDeserializer(result.body);
86
- throw error;
87
- }
88
- return;
89
- }
90
- /** Deletes a pipeline. */
91
- export async function $delete(context, resourceGroupName, factoryName, pipelineName, options = { requestOptions: {} }) {
92
- const result = await _$deleteSend(context, resourceGroupName, factoryName, pipelineName, options);
93
- return _$deleteDeserialize(result);
94
- }
95
- export function _createOrUpdateSend(context, resourceGroupName, factoryName, pipelineName, pipeline, options = { requestOptions: {} }) {
96
- const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}{?api%2Dversion}", {
97
- subscriptionId: context.subscriptionId,
98
- resourceGroupName: resourceGroupName,
99
- factoryName: factoryName,
100
- pipelineName: pipelineName,
101
- "api%2Dversion": context.apiVersion ?? "2018-06-01",
102
- }, {
103
- allowReserved: options?.requestOptions?.skipUrlEncoding,
104
- });
105
- return context.path(path).put({
106
- ...operationOptionsToRequestParameters(options),
107
- contentType: "application/json",
108
- headers: {
109
- ...(options?.ifMatch !== undefined ? { "if-match": options?.ifMatch } : {}),
110
- accept: "application/json",
111
- ...options.requestOptions?.headers,
112
- },
113
- body: pipelineResourceSerializer(pipeline),
114
- });
115
- }
116
- export async function _createOrUpdateDeserialize(result) {
117
- const expectedStatuses = ["200"];
118
- if (!expectedStatuses.includes(result.status)) {
119
- const error = createRestError(result);
120
- error.details = cloudErrorDeserializer(result.body);
121
- throw error;
122
- }
123
- return pipelineResourceDeserializer(result.body);
124
- }
125
- /** Creates or updates a pipeline. */
126
- export async function createOrUpdate(context, resourceGroupName, factoryName, pipelineName, pipeline, options = { requestOptions: {} }) {
127
- const result = await _createOrUpdateSend(context, resourceGroupName, factoryName, pipelineName, pipeline, options);
128
- return _createOrUpdateDeserialize(result);
129
- }
130
- export function _getSend(context, resourceGroupName, factoryName, pipelineName, options = { requestOptions: {} }) {
131
- const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}{?api%2Dversion}", {
132
- subscriptionId: context.subscriptionId,
133
- resourceGroupName: resourceGroupName,
134
- factoryName: factoryName,
135
- pipelineName: pipelineName,
136
- "api%2Dversion": context.apiVersion ?? "2018-06-01",
137
- }, {
138
- allowReserved: options?.requestOptions?.skipUrlEncoding,
139
- });
140
- return context.path(path).get({
141
- ...operationOptionsToRequestParameters(options),
142
- headers: {
143
- ...(options?.ifNoneMatch !== undefined ? { "if-none-match": options?.ifNoneMatch } : {}),
144
- accept: "application/json",
145
- ...options.requestOptions?.headers,
146
- },
147
- });
148
- }
149
- export async function _getDeserialize(result) {
150
- const expectedStatuses = ["200", "304"];
151
- if (!expectedStatuses.includes(result.status)) {
152
- const error = createRestError(result);
153
- error.details = cloudErrorDeserializer(result.body);
154
- throw error;
155
- }
156
- return pipelineResourceDeserializer(result.body);
157
- }
158
- /** Gets a pipeline. */
159
- export async function get(context, resourceGroupName, factoryName, pipelineName, options = { requestOptions: {} }) {
160
- const result = await _getSend(context, resourceGroupName, factoryName, pipelineName, options);
161
- return _getDeserialize(result);
162
- }
163
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/pipelines/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,sBAAsB,EAEtB,0BAA0B,EAC1B,4BAA4B,EAE5B,iCAAiC,EAEjC,6BAA6B,GAC9B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAQxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,cA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EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;IAC9F,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DataFactoryManagementContext as Client } from \"../index.js\";\nimport {\n cloudErrorDeserializer,\n PipelineResource,\n pipelineResourceSerializer,\n pipelineResourceDeserializer,\n _PipelineListResponse,\n _pipelineListResponseDeserializer,\n CreateRunResponse,\n createRunResponseDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n PipelinesCreateRunOptionalParams,\n PipelinesListByFactoryOptionalParams,\n PipelinesDeleteOptionalParams,\n PipelinesCreateOrUpdateOptionalParams,\n PipelinesGetOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _createRunSend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n pipelineName: string,\n options: PipelinesCreateRunOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}/createRun{?api%2Dversion,referencePipelineRunId,isRecovery,startActivityName,startFromFailure}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n pipelineName: pipelineName,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n referencePipelineRunId: options?.referencePipelineRunId,\n isRecovery: options?.isRecovery,\n startActivityName: options?.startActivityName,\n startFromFailure: options?.startFromFailure,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: !options[\"parameters\"] ? options[\"parameters\"] : options[\"parameters\"],\n });\n}\n\nexport async function _createRunDeserialize(\n result: PathUncheckedResponse,\n): Promise<CreateRunResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return createRunResponseDeserializer(result.body);\n}\n\n/** Creates a run of a pipeline. */\nexport async function createRun(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n pipelineName: string,\n options: PipelinesCreateRunOptionalParams = { requestOptions: {} },\n): Promise<CreateRunResponse> {\n const result = await _createRunSend(\n context,\n resourceGroupName,\n factoryName,\n pipelineName,\n options,\n );\n return _createRunDeserialize(result);\n}\n\nexport function _listByFactorySend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n options: PipelinesListByFactoryOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByFactoryDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PipelineListResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return _pipelineListResponseDeserializer(result.body);\n}\n\n/** Lists pipelines. */\nexport function listByFactory(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n options: PipelinesListByFactoryOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<PipelineResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listByFactorySend(context, resourceGroupName, factoryName, options),\n _listByFactoryDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2018-06-01\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n pipelineName: string,\n options: PipelinesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n pipelineName: pipelineName,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Deletes a pipeline. */\nexport async function $delete(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n pipelineName: string,\n options: PipelinesDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, resourceGroupName, factoryName, pipelineName, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n pipelineName: string,\n pipeline: PipelineResource,\n options: PipelinesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n pipelineName: pipelineName,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n ...(options?.ifMatch !== undefined ? { \"if-match\": options?.ifMatch } : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: pipelineResourceSerializer(pipeline),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PipelineResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return pipelineResourceDeserializer(result.body);\n}\n\n/** Creates or updates a pipeline. */\nexport async function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n pipelineName: string,\n pipeline: PipelineResource,\n options: PipelinesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<PipelineResource> {\n const result = await _createOrUpdateSend(\n context,\n resourceGroupName,\n factoryName,\n pipelineName,\n pipeline,\n options,\n );\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n pipelineName: string,\n options: PipelinesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n pipelineName: pipelineName,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n ...(options?.ifNoneMatch !== undefined ? { \"if-none-match\": options?.ifNoneMatch } : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<PipelineResource> {\n const expectedStatuses = [\"200\", \"304\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return pipelineResourceDeserializer(result.body);\n}\n\n/** Gets a pipeline. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n pipelineName: string,\n options: PipelinesGetOptionalParams = { requestOptions: {} },\n): Promise<PipelineResource> {\n const result = await _getSend(context, resourceGroupName, factoryName, pipelineName, options);\n return _getDeserialize(result);\n}\n"]}
@@ -1,31 +0,0 @@
1
- import { OperationOptions } from "@azure-rest/core-client";
2
- /** Optional parameters. */
3
- export interface PipelinesCreateRunOptionalParams extends OperationOptions {
4
- /** The pipeline run identifier. If run ID is specified the parameters of the specified run will be used to create a new run. */
5
- referencePipelineRunId?: string;
6
- /** Recovery mode flag. If recovery mode is set to true, the specified referenced pipeline run and the new run will be grouped under the same groupId. */
7
- isRecovery?: boolean;
8
- /** In recovery mode, the rerun will start from this activity. If not specified, all activities will run. */
9
- startActivityName?: string;
10
- /** In recovery mode, if set to true, the rerun will start from failed activities. The property will be used only if startActivityName is not specified. */
11
- startFromFailure?: boolean;
12
- /** Parameters of the pipeline run. These parameters will be used only if the runId is not specified. */
13
- parameters?: Record<string, any>;
14
- }
15
- /** Optional parameters. */
16
- export interface PipelinesListByFactoryOptionalParams extends OperationOptions {
17
- }
18
- /** Optional parameters. */
19
- export interface PipelinesDeleteOptionalParams extends OperationOptions {
20
- }
21
- /** Optional parameters. */
22
- export interface PipelinesCreateOrUpdateOptionalParams extends OperationOptions {
23
- /** ETag of the pipeline entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */
24
- ifMatch?: string;
25
- }
26
- /** Optional parameters. */
27
- export interface PipelinesGetOptionalParams extends OperationOptions {
28
- /** ETag of the pipeline entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */
29
- ifNoneMatch?: string;
30
- }
31
- //# sourceMappingURL=options.d.ts.map
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export {};
4
- //# sourceMappingURL=options.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/pipelines/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PipelinesCreateRunOptionalParams extends OperationOptions {\n /** The pipeline run identifier. If run ID is specified the parameters of the specified run will be used to create a new run. */\n referencePipelineRunId?: string;\n /** Recovery mode flag. If recovery mode is set to true, the specified referenced pipeline run and the new run will be grouped under the same groupId. */\n isRecovery?: boolean;\n /** In recovery mode, the rerun will start from this activity. If not specified, all activities will run. */\n startActivityName?: string;\n /** In recovery mode, if set to true, the rerun will start from failed activities. The property will be used only if startActivityName is not specified. */\n startFromFailure?: boolean;\n /** Parameters of the pipeline run. These parameters will be used only if the runId is not specified. */\n parameters?: Record<string, any>;\n}\n\n/** Optional parameters. */\nexport interface PipelinesListByFactoryOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface PipelinesDeleteOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface PipelinesCreateOrUpdateOptionalParams extends OperationOptions {\n /** ETag of the pipeline entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */\n ifMatch?: string;\n}\n\n/** Optional parameters. */\nexport interface PipelinesGetOptionalParams extends OperationOptions {\n /** ETag of the pipeline entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */\n ifNoneMatch?: string;\n}\n"]}
@@ -1,3 +0,0 @@
1
- export { listByFactory } from "./operations.js";
2
- export type { PrivateEndPointConnectionsListByFactoryOptionalParams } from "./options.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export { listByFactory } from "./operations.js";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateEndPointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByFactory } from \"./operations.js\";\nexport type { PrivateEndPointConnectionsListByFactoryOptionalParams } from \"./options.js\";\n"]}
@@ -1,10 +0,0 @@
1
- import { DataFactoryManagementContext as Client } from "../index.js";
2
- import { PrivateEndpointConnectionResource, _PrivateEndpointConnectionListResponse } from "../../models/models.js";
3
- import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
- import { PrivateEndPointConnectionsListByFactoryOptionalParams } from "./options.js";
5
- import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
- export declare function _listByFactorySend(context: Client, resourceGroupName: string, factoryName: string, options?: PrivateEndPointConnectionsListByFactoryOptionalParams): StreamableMethod;
7
- export declare function _listByFactoryDeserialize(result: PathUncheckedResponse): Promise<_PrivateEndpointConnectionListResponse>;
8
- /** Lists Private endpoint connections */
9
- export declare function listByFactory(context: Client, resourceGroupName: string, factoryName: string, options?: PrivateEndPointConnectionsListByFactoryOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionResource>;
10
- //# sourceMappingURL=operations.d.ts.map
@@ -1,34 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import { cloudErrorDeserializer, _privateEndpointConnectionListResponseDeserializer, } from "../../models/models.js";
4
- import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
- import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
- import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
- export function _listByFactorySend(context, resourceGroupName, factoryName, options = { requestOptions: {} }) {
8
- const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections{?api%2Dversion}", {
9
- subscriptionId: context.subscriptionId,
10
- resourceGroupName: resourceGroupName,
11
- factoryName: factoryName,
12
- "api%2Dversion": context.apiVersion ?? "2018-06-01",
13
- }, {
14
- allowReserved: options?.requestOptions?.skipUrlEncoding,
15
- });
16
- return context.path(path).get({
17
- ...operationOptionsToRequestParameters(options),
18
- headers: { accept: "application/json", ...options.requestOptions?.headers },
19
- });
20
- }
21
- export async function _listByFactoryDeserialize(result) {
22
- const expectedStatuses = ["200"];
23
- if (!expectedStatuses.includes(result.status)) {
24
- const error = createRestError(result);
25
- error.details = cloudErrorDeserializer(result.body);
26
- throw error;
27
- }
28
- return _privateEndpointConnectionListResponseDeserializer(result.body);
29
- }
30
- /** Lists Private endpoint connections */
31
- export function listByFactory(context, resourceGroupName, factoryName, options = { requestOptions: {} }) {
32
- return buildPagedAsyncIterator(context, () => _listByFactorySend(context, resourceGroupName, factoryName, options), _listByFactoryDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2018-06-01" });
33
- }
34
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/privateEndPointConnections/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,sBAAsB,EAGtB,kDAAkD,GACnD,MAAM,wBAAwB,CA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a,CAC3B,OAAe,EACf,iBAAyB,EACzB,WAAmB,EACnB,UAAiE,EAAE,cAAc,EAAE,EAAE,EAAE;IAEvF,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,EAC1E,yBAAyB,EACzB,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,IAAI,YAAY,EAAE,CAChG,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DataFactoryManagementContext as Client } from \"../index.js\";\nimport {\n cloudErrorDeserializer,\n PrivateEndpointConnectionResource,\n _PrivateEndpointConnectionListResponse,\n _privateEndpointConnectionListResponseDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport { PrivateEndPointConnectionsListByFactoryOptionalParams } from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listByFactorySend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n options: PrivateEndPointConnectionsListByFactoryOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByFactoryDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateEndpointConnectionListResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return _privateEndpointConnectionListResponseDeserializer(result.body);\n}\n\n/** Lists Private endpoint connections */\nexport function listByFactory(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n options: PrivateEndPointConnectionsListByFactoryOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<PrivateEndpointConnectionResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listByFactorySend(context, resourceGroupName, factoryName, options),\n _listByFactoryDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2018-06-01\" },\n );\n}\n"]}
@@ -1,5 +0,0 @@
1
- import { OperationOptions } from "@azure-rest/core-client";
2
- /** Optional parameters. */
3
- export interface PrivateEndPointConnectionsListByFactoryOptionalParams extends OperationOptions {
4
- }
5
- //# sourceMappingURL=options.d.ts.map
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export {};
4
- //# sourceMappingURL=options.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/privateEndPointConnections/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PrivateEndPointConnectionsListByFactoryOptionalParams extends OperationOptions {}\n"]}
@@ -1,3 +0,0 @@
1
- export { $delete, createOrUpdate, get } from "./operations.js";
2
- export type { PrivateEndpointConnectionDeleteOptionalParams, PrivateEndpointConnectionCreateOrUpdateOptionalParams, PrivateEndpointConnectionGetOptionalParams, } from "./options.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export { $delete, createOrUpdate, get } from "./operations.js";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnection/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { $delete, createOrUpdate, get } from \"./operations.js\";\nexport type {\n PrivateEndpointConnectionDeleteOptionalParams,\n PrivateEndpointConnectionCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionGetOptionalParams,\n} from \"./options.js\";\n"]}
@@ -1,17 +0,0 @@
1
- import { DataFactoryManagementContext as Client } from "../index.js";
2
- import { PrivateEndpointConnectionResource, PrivateLinkConnectionApprovalRequestResource } from "../../models/models.js";
3
- import { PrivateEndpointConnectionDeleteOptionalParams, PrivateEndpointConnectionCreateOrUpdateOptionalParams, PrivateEndpointConnectionGetOptionalParams } from "./options.js";
4
- import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
- export declare function _$deleteSend(context: Client, resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionDeleteOptionalParams): StreamableMethod;
6
- export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
7
- /** Deletes a private endpoint connection */
8
- export declare function $delete(context: Client, resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionDeleteOptionalParams): Promise<void>;
9
- export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: PrivateEndpointConnectionCreateOrUpdateOptionalParams): StreamableMethod;
10
- export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<PrivateEndpointConnectionResource>;
11
- /** Approves or rejects a private endpoint connection */
12
- export declare function createOrUpdate(context: Client, resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: PrivateEndpointConnectionCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionResource>;
13
- export declare function _getSend(context: Client, resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionGetOptionalParams): StreamableMethod;
14
- export declare function _getDeserialize(result: PathUncheckedResponse): Promise<PrivateEndpointConnectionResource>;
15
- /** Gets a private endpoint connection */
16
- export declare function get(context: Client, resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionGetOptionalParams): Promise<PrivateEndpointConnectionResource>;
17
- //# sourceMappingURL=operations.d.ts.map
@@ -1,100 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import { cloudErrorDeserializer, privateEndpointConnectionResourceDeserializer, privateLinkConnectionApprovalRequestResourceSerializer, } from "../../models/models.js";
4
- import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
5
- import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
6
- export function _$deleteSend(context, resourceGroupName, factoryName, privateEndpointConnectionName, options = { requestOptions: {} }) {
7
- const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}{?api%2Dversion}", {
8
- subscriptionId: context.subscriptionId,
9
- resourceGroupName: resourceGroupName,
10
- factoryName: factoryName,
11
- privateEndpointConnectionName: privateEndpointConnectionName,
12
- "api%2Dversion": context.apiVersion ?? "2018-06-01",
13
- }, {
14
- allowReserved: options?.requestOptions?.skipUrlEncoding,
15
- });
16
- return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
17
- }
18
- export async function _$deleteDeserialize(result) {
19
- const expectedStatuses = ["200", "204"];
20
- if (!expectedStatuses.includes(result.status)) {
21
- const error = createRestError(result);
22
- error.details = cloudErrorDeserializer(result.body);
23
- throw error;
24
- }
25
- return;
26
- }
27
- /** Deletes a private endpoint connection */
28
- export async function $delete(context, resourceGroupName, factoryName, privateEndpointConnectionName, options = { requestOptions: {} }) {
29
- const result = await _$deleteSend(context, resourceGroupName, factoryName, privateEndpointConnectionName, options);
30
- return _$deleteDeserialize(result);
31
- }
32
- export function _createOrUpdateSend(context, resourceGroupName, factoryName, privateEndpointConnectionName, privateEndpointWrapper, options = { requestOptions: {} }) {
33
- const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}{?api%2Dversion}", {
34
- subscriptionId: context.subscriptionId,
35
- resourceGroupName: resourceGroupName,
36
- factoryName: factoryName,
37
- privateEndpointConnectionName: privateEndpointConnectionName,
38
- "api%2Dversion": context.apiVersion ?? "2018-06-01",
39
- }, {
40
- allowReserved: options?.requestOptions?.skipUrlEncoding,
41
- });
42
- return context.path(path).put({
43
- ...operationOptionsToRequestParameters(options),
44
- contentType: "application/json",
45
- headers: {
46
- ...(options?.ifMatch !== undefined ? { "if-match": options?.ifMatch } : {}),
47
- accept: "application/json",
48
- ...options.requestOptions?.headers,
49
- },
50
- body: privateLinkConnectionApprovalRequestResourceSerializer(privateEndpointWrapper),
51
- });
52
- }
53
- export async function _createOrUpdateDeserialize(result) {
54
- const expectedStatuses = ["200"];
55
- if (!expectedStatuses.includes(result.status)) {
56
- const error = createRestError(result);
57
- error.details = cloudErrorDeserializer(result.body);
58
- throw error;
59
- }
60
- return privateEndpointConnectionResourceDeserializer(result.body);
61
- }
62
- /** Approves or rejects a private endpoint connection */
63
- export async function createOrUpdate(context, resourceGroupName, factoryName, privateEndpointConnectionName, privateEndpointWrapper, options = { requestOptions: {} }) {
64
- const result = await _createOrUpdateSend(context, resourceGroupName, factoryName, privateEndpointConnectionName, privateEndpointWrapper, options);
65
- return _createOrUpdateDeserialize(result);
66
- }
67
- export function _getSend(context, resourceGroupName, factoryName, privateEndpointConnectionName, options = { requestOptions: {} }) {
68
- const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}{?api%2Dversion}", {
69
- subscriptionId: context.subscriptionId,
70
- resourceGroupName: resourceGroupName,
71
- factoryName: factoryName,
72
- privateEndpointConnectionName: privateEndpointConnectionName,
73
- "api%2Dversion": context.apiVersion ?? "2018-06-01",
74
- }, {
75
- allowReserved: options?.requestOptions?.skipUrlEncoding,
76
- });
77
- return context.path(path).get({
78
- ...operationOptionsToRequestParameters(options),
79
- headers: {
80
- ...(options?.ifNoneMatch !== undefined ? { "if-none-match": options?.ifNoneMatch } : {}),
81
- accept: "application/json",
82
- ...options.requestOptions?.headers,
83
- },
84
- });
85
- }
86
- export async function _getDeserialize(result) {
87
- const expectedStatuses = ["200"];
88
- if (!expectedStatuses.includes(result.status)) {
89
- const error = createRestError(result);
90
- error.details = cloudErrorDeserializer(result.body);
91
- throw error;
92
- }
93
- return privateEndpointConnectionResourceDeserializer(result.body);
94
- }
95
- /** Gets a private endpoint connection */
96
- export async function get(context, resourceGroupName, factoryName, privateEndpointConnectionName, options = { requestOptions: {} }) {
97
- const result = await _getSend(context, resourceGroupName, factoryName, privateEndpointConnectionName, options);
98
- return _getDeserialize(result);
99
- }
100
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnection/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,sBAAsB,EAE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AAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACxF,MAAM,EAAE,kBAAkB;YAC1B,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO;SACnC;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAEpD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,6CAA6C,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACpE,CAAC;AAED,yCAAyC;AACzC,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,WAAmB,EACnB,6BAAqC,EACrC,UAAsD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE5E,MAAM,MAAM,GAAG,MAAM,QAAQ,CAC3B,OAAO,EACP,iBAAiB,EACjB,WAAW,EACX,6BAA6B,EAC7B,OAAO,CACR,CAAC;IACF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DataFactoryManagementContext as Client } from \"../index.js\";\nimport {\n cloudErrorDeserializer,\n PrivateEndpointConnectionResource,\n privateEndpointConnectionResourceDeserializer,\n PrivateLinkConnectionApprovalRequestResource,\n privateLinkConnectionApprovalRequestResourceSerializer,\n} from \"../../models/models.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n PrivateEndpointConnectionDeleteOptionalParams,\n PrivateEndpointConnectionCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionGetOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n privateEndpointConnectionName: privateEndpointConnectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Deletes a private endpoint connection */\nexport async function $delete(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(\n context,\n resourceGroupName,\n factoryName,\n privateEndpointConnectionName,\n options,\n );\n return _$deleteDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n privateEndpointConnectionName: string,\n privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource,\n options: PrivateEndpointConnectionCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n privateEndpointConnectionName: privateEndpointConnectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n ...(options?.ifMatch !== undefined ? { \"if-match\": options?.ifMatch } : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: privateLinkConnectionApprovalRequestResourceSerializer(privateEndpointWrapper),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnectionResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return privateEndpointConnectionResourceDeserializer(result.body);\n}\n\n/** Approves or rejects a private endpoint connection */\nexport async function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n privateEndpointConnectionName: string,\n privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource,\n options: PrivateEndpointConnectionCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<PrivateEndpointConnectionResource> {\n const result = await _createOrUpdateSend(\n context,\n resourceGroupName,\n factoryName,\n privateEndpointConnectionName,\n privateEndpointWrapper,\n options,\n );\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n factoryName: factoryName,\n privateEndpointConnectionName: privateEndpointConnectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2018-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n ...(options?.ifNoneMatch !== undefined ? { \"if-none-match\": options?.ifNoneMatch } : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnectionResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = cloudErrorDeserializer(result.body);\n\n throw error;\n }\n\n return privateEndpointConnectionResourceDeserializer(result.body);\n}\n\n/** Gets a private endpoint connection */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n factoryName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionGetOptionalParams = { requestOptions: {} },\n): Promise<PrivateEndpointConnectionResource> {\n const result = await _getSend(\n context,\n resourceGroupName,\n factoryName,\n privateEndpointConnectionName,\n options,\n );\n return _getDeserialize(result);\n}\n"]}