@azure/arm-datafactory 7.9.0 → 9.0.0-alpha.20211112.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +66 -78
  4. package/dist/index.js +30517 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/dataFactoryManagementClient.d.ts +34 -0
  9. package/dist-esm/src/dataFactoryManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/dataFactoryManagementClient.js +41 -0
  11. package/dist-esm/src/dataFactoryManagementClient.js.map +1 -0
  12. package/dist-esm/src/dataFactoryManagementClientContext.d.ts +16 -0
  13. package/dist-esm/src/dataFactoryManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/dataFactoryManagementClientContext.js +49 -0
  15. package/dist-esm/src/dataFactoryManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +10786 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/dist-esm/src/models/index.js +699 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +1183 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +16410 -15651
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +58 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +454 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/activityRuns.d.ts +22 -0
  37. package/dist-esm/src/operations/activityRuns.d.ts.map +1 -0
  38. package/dist-esm/src/operations/activityRuns.js +58 -0
  39. package/dist-esm/src/operations/activityRuns.js.map +1 -0
  40. package/dist-esm/src/operations/dataFlowDebugSession.d.ts +87 -0
  41. package/dist-esm/src/operations/dataFlowDebugSession.d.ts.map +1 -0
  42. package/dist-esm/src/operations/dataFlowDebugSession.js +369 -0
  43. package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -0
  44. package/dist-esm/src/operations/dataFlows.d.ts +63 -0
  45. package/dist-esm/src/operations/dataFlows.d.ts.map +1 -0
  46. package/dist-esm/src/operations/dataFlows.js +239 -0
  47. package/dist-esm/src/operations/dataFlows.js.map +1 -0
  48. package/dist-esm/src/operations/datasets.d.ts +63 -0
  49. package/dist-esm/src/operations/datasets.d.ts.map +1 -0
  50. package/dist-esm/src/operations/datasets.js +240 -0
  51. package/dist-esm/src/operations/datasets.js.map +1 -0
  52. package/dist-esm/src/operations/exposureControl.d.ts +36 -0
  53. package/dist-esm/src/operations/exposureControl.d.ts.map +1 -0
  54. package/dist-esm/src/operations/exposureControl.js +120 -0
  55. package/dist-esm/src/operations/exposureControl.js.map +1 -0
  56. package/dist-esm/src/operations/factories.d.ts +106 -0
  57. package/dist-esm/src/operations/factories.d.ts.map +1 -0
  58. package/dist-esm/src/operations/factories.js +458 -0
  59. package/dist-esm/src/operations/factories.js.map +1 -0
  60. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  61. package/dist-esm/src/operations/index.d.ts.map +1 -0
  62. package/{esm → dist-esm/src}/operations/index.js +1 -2
  63. package/dist-esm/src/operations/index.js.map +1 -0
  64. package/dist-esm/src/operations/integrationRuntimeNodes.d.ts +50 -0
  65. package/dist-esm/src/operations/integrationRuntimeNodes.d.ts.map +1 -0
  66. package/dist-esm/src/operations/integrationRuntimeNodes.js +186 -0
  67. package/dist-esm/src/operations/integrationRuntimeNodes.js.map +1 -0
  68. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.d.ts +39 -0
  69. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.d.ts.map +1 -0
  70. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js +143 -0
  71. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js.map +1 -0
  72. package/dist-esm/src/operations/integrationRuntimes.d.ts +195 -0
  73. package/dist-esm/src/operations/integrationRuntimes.d.ts.map +1 -0
  74. package/dist-esm/src/operations/integrationRuntimes.js +793 -0
  75. package/dist-esm/src/operations/integrationRuntimes.js.map +1 -0
  76. package/dist-esm/src/operations/linkedServices.d.ts +63 -0
  77. package/dist-esm/src/operations/linkedServices.d.ts.map +1 -0
  78. package/dist-esm/src/operations/linkedServices.js +246 -0
  79. package/dist-esm/src/operations/linkedServices.js.map +1 -0
  80. package/dist-esm/src/operations/managedPrivateEndpoints.d.ts +69 -0
  81. package/dist-esm/src/operations/managedPrivateEndpoints.d.ts.map +1 -0
  82. package/dist-esm/src/operations/managedPrivateEndpoints.js +275 -0
  83. package/dist-esm/src/operations/managedPrivateEndpoints.js.map +1 -0
  84. package/dist-esm/src/operations/managedVirtualNetworks.d.ts +55 -0
  85. package/dist-esm/src/operations/managedVirtualNetworks.d.ts.map +1 -0
  86. package/dist-esm/src/operations/managedVirtualNetworks.js +214 -0
  87. package/dist-esm/src/operations/managedVirtualNetworks.js.map +1 -0
  88. package/dist-esm/src/operations/operations.d.ts +32 -0
  89. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  90. package/dist-esm/src/operations/operations.js +120 -0
  91. package/dist-esm/src/operations/operations.js.map +1 -0
  92. package/dist-esm/src/operations/pipelineRuns.d.ts +37 -0
  93. package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -0
  94. package/dist-esm/src/operations/pipelineRuns.js +118 -0
  95. package/dist-esm/src/operations/pipelineRuns.js.map +1 -0
  96. package/dist-esm/src/operations/pipelines.d.ts +71 -0
  97. package/dist-esm/src/operations/pipelines.d.ts.map +1 -0
  98. package/dist-esm/src/operations/pipelines.js +280 -0
  99. package/dist-esm/src/operations/pipelines.js.map +1 -0
  100. package/dist-esm/src/operations/privateEndPointConnections.d.ts +38 -0
  101. package/dist-esm/src/operations/privateEndPointConnections.d.ts.map +1 -0
  102. package/dist-esm/src/operations/privateEndPointConnections.js +137 -0
  103. package/dist-esm/src/operations/privateEndPointConnections.js.map +1 -0
  104. package/dist-esm/src/operations/privateEndpointConnection.d.ts +38 -0
  105. package/dist-esm/src/operations/privateEndpointConnection.d.ts.map +1 -0
  106. package/dist-esm/src/operations/privateEndpointConnection.js +141 -0
  107. package/dist-esm/src/operations/privateEndpointConnection.js.map +1 -0
  108. package/dist-esm/src/operations/privateLinkResources.d.ts +20 -0
  109. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  110. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  111. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  112. package/dist-esm/src/operations/triggerRuns.d.ts +39 -0
  113. package/dist-esm/src/operations/triggerRuns.d.ts.map +1 -0
  114. package/dist-esm/src/operations/triggerRuns.js +120 -0
  115. package/dist-esm/src/operations/triggerRuns.js.map +1 -0
  116. package/dist-esm/src/operations/triggers.d.ts +144 -0
  117. package/dist-esm/src/operations/triggers.d.ts.map +1 -0
  118. package/dist-esm/src/operations/triggers.js +619 -0
  119. package/dist-esm/src/operations/triggers.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/activityRuns.d.ts +14 -0
  121. package/dist-esm/src/operationsInterfaces/activityRuns.d.ts.map +1 -0
  122. package/{src/models/triggerRunsMappers.ts → dist-esm/src/operationsInterfaces/activityRuns.js} +2 -10
  123. package/dist-esm/src/operationsInterfaces/activityRuns.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.d.ts +62 -0
  125. package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -0
  126. package/{src/models/activityRunsMappers.ts → dist-esm/src/operationsInterfaces/dataFlowDebugSession.js} +2 -10
  127. package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/dataFlows.d.ts +38 -0
  129. package/dist-esm/src/operationsInterfaces/dataFlows.d.ts.map +1 -0
  130. package/{src/models/integrationRuntimeNodesMappers.ts → dist-esm/src/operationsInterfaces/dataFlows.js} +2 -8
  131. package/dist-esm/src/operationsInterfaces/dataFlows.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/datasets.d.ts +38 -0
  133. package/dist-esm/src/operationsInterfaces/datasets.d.ts.map +1 -0
  134. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/datasets.js} +2 -1
  135. package/dist-esm/src/operationsInterfaces/datasets.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/exposureControl.d.ts +28 -0
  137. package/dist-esm/src/operationsInterfaces/exposureControl.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/exposureControl.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/exposureControl.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/factories.d.ts +70 -0
  141. package/dist-esm/src/operationsInterfaces/factories.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/factories.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/factories.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/index.d.ts +21 -0
  145. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/index.js +28 -0
  147. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/integrationRuntimeNodes.d.ts +42 -0
  149. package/dist-esm/src/operationsInterfaces/integrationRuntimeNodes.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/integrationRuntimeNodes.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/integrationRuntimeNodes.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/integrationRuntimeObjectMetadata.d.ts +31 -0
  153. package/dist-esm/src/operationsInterfaces/integrationRuntimeObjectMetadata.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/integrationRuntimeObjectMetadata.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/integrationRuntimeObjectMetadata.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/integrationRuntimes.d.ts +170 -0
  157. package/dist-esm/src/operationsInterfaces/integrationRuntimes.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/integrationRuntimes.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/integrationRuntimes.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/linkedServices.d.ts +38 -0
  161. package/dist-esm/src/operationsInterfaces/linkedServices.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/linkedServices.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/linkedServices.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.d.ts +42 -0
  165. package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/managedVirtualNetworks.d.ts +30 -0
  169. package/dist-esm/src/operationsInterfaces/managedVirtualNetworks.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/managedVirtualNetworks.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/managedVirtualNetworks.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  173. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +29 -0
  177. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/pipelineRuns.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/pipelines.d.ts +46 -0
  181. package/dist-esm/src/operationsInterfaces/pipelines.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/pipelines.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/pipelines.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/privateEndPointConnections.d.ts +13 -0
  185. package/dist-esm/src/operationsInterfaces/privateEndPointConnections.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/privateEndPointConnections.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/privateEndPointConnections.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/privateEndpointConnection.d.ts +30 -0
  189. package/dist-esm/src/operationsInterfaces/privateEndpointConnection.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/privateEndpointConnection.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/privateEndpointConnection.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +12 -0
  193. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  196. package/dist-esm/src/operationsInterfaces/triggerRuns.d.ts +31 -0
  197. package/dist-esm/src/operationsInterfaces/triggerRuns.d.ts.map +1 -0
  198. package/dist-esm/src/operationsInterfaces/triggerRuns.js +9 -0
  199. package/dist-esm/src/operationsInterfaces/triggerRuns.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/triggers.d.ts +119 -0
  201. package/dist-esm/src/operationsInterfaces/triggers.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/triggers.js +9 -0
  203. package/dist-esm/src/operationsInterfaces/triggers.js.map +1 -0
  204. package/dist-esm/test/sampleTest.d.ts +2 -0
  205. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  206. package/dist-esm/test/sampleTest.js +40 -0
  207. package/dist-esm/test/sampleTest.js.map +1 -0
  208. package/package.json +64 -22
  209. package/review/arm-datafactory.api.md +8221 -0
  210. package/rollup.config.js +181 -30
  211. package/src/dataFactoryManagementClient.ts +98 -69
  212. package/src/dataFactoryManagementClientContext.ts +45 -42
  213. package/src/index.ts +13 -0
  214. package/src/lroImpl.ts +34 -0
  215. package/src/models/index.ts +11494 -27665
  216. package/src/models/mappers.ts +17202 -16326
  217. package/src/models/parameters.ts +376 -159
  218. package/src/operations/activityRuns.ts +40 -62
  219. package/src/operations/dataFlowDebugSession.ts +383 -264
  220. package/src/operations/dataFlows.ts +201 -210
  221. package/src/operations/datasets.ts +199 -208
  222. package/src/operations/exposureControl.ts +85 -148
  223. package/src/operations/factories.ts +353 -452
  224. package/src/operations/index.ts +1 -2
  225. package/src/operations/integrationRuntimeNodes.ts +104 -167
  226. package/src/operations/integrationRuntimeObjectMetadata.ts +141 -96
  227. package/src/operations/integrationRuntimes.ts +658 -682
  228. package/src/operations/linkedServices.ts +198 -201
  229. package/src/operations/managedPrivateEndpoints.ts +214 -194
  230. package/src/operations/managedVirtualNetworks.ts +178 -162
  231. package/src/operations/operations.ts +82 -70
  232. package/src/operations/pipelineRuns.ts +81 -139
  233. package/src/operations/pipelines.ts +229 -269
  234. package/src/operations/privateEndPointConnections.ts +131 -79
  235. package/src/operations/privateEndpointConnection.ts +82 -122
  236. package/src/operations/privateLinkResources.ts +34 -48
  237. package/src/operations/triggerRuns.ts +85 -147
  238. package/src/operations/triggers.ts +605 -419
  239. package/src/operationsInterfaces/activityRuns.ts +32 -0
  240. package/src/operationsInterfaces/dataFlowDebugSession.ts +129 -0
  241. package/src/operationsInterfaces/dataFlows.ts +75 -0
  242. package/src/operationsInterfaces/datasets.ts +75 -0
  243. package/src/operationsInterfaces/exposureControl.ts +59 -0
  244. package/src/operationsInterfaces/factories.ts +137 -0
  245. package/src/operationsInterfaces/index.ts +28 -0
  246. package/src/operationsInterfaces/integrationRuntimeNodes.ts +84 -0
  247. package/src/operationsInterfaces/integrationRuntimeObjectMetadata.ts +64 -0
  248. package/src/operationsInterfaces/integrationRuntimes.ts +319 -0
  249. package/src/operationsInterfaces/linkedServices.ts +75 -0
  250. package/src/operationsInterfaces/managedPrivateEndpoints.ts +83 -0
  251. package/src/operationsInterfaces/managedVirtualNetworks.ts +61 -0
  252. package/src/operationsInterfaces/operations.ts +22 -0
  253. package/src/operationsInterfaces/pipelineRuns.ts +59 -0
  254. package/src/operationsInterfaces/pipelines.ts +90 -0
  255. package/src/operationsInterfaces/privateEndPointConnections.ts +29 -0
  256. package/src/operationsInterfaces/privateEndpointConnection.ts +61 -0
  257. package/src/operationsInterfaces/privateLinkResources.ts +27 -0
  258. package/src/operationsInterfaces/triggerRuns.ts +62 -0
  259. package/src/operationsInterfaces/triggers.ts +227 -0
  260. package/tsconfig.json +3 -3
  261. package/types/arm-datafactory.d.ts +12785 -0
  262. package/types/tsdoc-metadata.json +11 -0
  263. package/dist/arm-datafactory.js +0 -35840
  264. package/dist/arm-datafactory.js.map +0 -1
  265. package/dist/arm-datafactory.min.js +0 -1
  266. package/dist/arm-datafactory.min.js.map +0 -1
  267. package/esm/dataFactoryManagementClient.d.ts +0 -43
  268. package/esm/dataFactoryManagementClient.d.ts.map +0 -1
  269. package/esm/dataFactoryManagementClient.js +0 -56
  270. package/esm/dataFactoryManagementClient.js.map +0 -1
  271. package/esm/dataFactoryManagementClientContext.d.ts +0 -22
  272. package/esm/dataFactoryManagementClientContext.d.ts.map +0 -1
  273. package/esm/dataFactoryManagementClientContext.js +0 -60
  274. package/esm/dataFactoryManagementClientContext.js.map +0 -1
  275. package/esm/models/activityRunsMappers.d.ts +0 -2
  276. package/esm/models/activityRunsMappers.d.ts.map +0 -1
  277. package/esm/models/activityRunsMappers.js +0 -9
  278. package/esm/models/activityRunsMappers.js.map +0 -1
  279. package/esm/models/dataFlowDebugSessionMappers.d.ts +0 -2
  280. package/esm/models/dataFlowDebugSessionMappers.d.ts.map +0 -1
  281. package/esm/models/dataFlowDebugSessionMappers.js +0 -9
  282. package/esm/models/dataFlowDebugSessionMappers.js.map +0 -1
  283. package/esm/models/dataFlowsMappers.d.ts +0 -2
  284. package/esm/models/dataFlowsMappers.d.ts.map +0 -1
  285. package/esm/models/dataFlowsMappers.js +0 -9
  286. package/esm/models/dataFlowsMappers.js.map +0 -1
  287. package/esm/models/datasetsMappers.d.ts +0 -2
  288. package/esm/models/datasetsMappers.d.ts.map +0 -1
  289. package/esm/models/datasetsMappers.js +0 -9
  290. package/esm/models/datasetsMappers.js.map +0 -1
  291. package/esm/models/exposureControlMappers.d.ts +0 -2
  292. package/esm/models/exposureControlMappers.d.ts.map +0 -1
  293. package/esm/models/exposureControlMappers.js +0 -9
  294. package/esm/models/exposureControlMappers.js.map +0 -1
  295. package/esm/models/factoriesMappers.d.ts +0 -2
  296. package/esm/models/factoriesMappers.d.ts.map +0 -1
  297. package/esm/models/factoriesMappers.js +0 -9
  298. package/esm/models/factoriesMappers.js.map +0 -1
  299. package/esm/models/index.d.ts +0 -28497
  300. package/esm/models/index.d.ts.map +0 -1
  301. package/esm/models/index.js.map +0 -1
  302. package/esm/models/integrationRuntimeNodesMappers.d.ts +0 -2
  303. package/esm/models/integrationRuntimeNodesMappers.d.ts.map +0 -1
  304. package/esm/models/integrationRuntimeNodesMappers.js +0 -9
  305. package/esm/models/integrationRuntimeNodesMappers.js.map +0 -1
  306. package/esm/models/integrationRuntimeObjectMetadataMappers.d.ts +0 -2
  307. package/esm/models/integrationRuntimeObjectMetadataMappers.d.ts.map +0 -1
  308. package/esm/models/integrationRuntimeObjectMetadataMappers.js +0 -9
  309. package/esm/models/integrationRuntimeObjectMetadataMappers.js.map +0 -1
  310. package/esm/models/integrationRuntimesMappers.d.ts +0 -2
  311. package/esm/models/integrationRuntimesMappers.d.ts.map +0 -1
  312. package/esm/models/integrationRuntimesMappers.js +0 -9
  313. package/esm/models/integrationRuntimesMappers.js.map +0 -1
  314. package/esm/models/linkedServicesMappers.d.ts +0 -2
  315. package/esm/models/linkedServicesMappers.d.ts.map +0 -1
  316. package/esm/models/linkedServicesMappers.js +0 -9
  317. package/esm/models/linkedServicesMappers.js.map +0 -1
  318. package/esm/models/managedPrivateEndpointsMappers.d.ts +0 -2
  319. package/esm/models/managedPrivateEndpointsMappers.d.ts.map +0 -1
  320. package/esm/models/managedPrivateEndpointsMappers.js +0 -9
  321. package/esm/models/managedPrivateEndpointsMappers.js.map +0 -1
  322. package/esm/models/managedVirtualNetworksMappers.d.ts +0 -2
  323. package/esm/models/managedVirtualNetworksMappers.d.ts.map +0 -1
  324. package/esm/models/managedVirtualNetworksMappers.js +0 -9
  325. package/esm/models/managedVirtualNetworksMappers.js.map +0 -1
  326. package/esm/models/mappers.d.ts +0 -1164
  327. package/esm/models/mappers.d.ts.map +0 -1
  328. package/esm/models/mappers.js.map +0 -1
  329. package/esm/models/operationsMappers.d.ts +0 -2
  330. package/esm/models/operationsMappers.d.ts.map +0 -1
  331. package/esm/models/operationsMappers.js +0 -9
  332. package/esm/models/operationsMappers.js.map +0 -1
  333. package/esm/models/parameters.d.ts +0 -27
  334. package/esm/models/parameters.d.ts.map +0 -1
  335. package/esm/models/parameters.js +0 -329
  336. package/esm/models/parameters.js.map +0 -1
  337. package/esm/models/pipelineRunsMappers.d.ts +0 -2
  338. package/esm/models/pipelineRunsMappers.d.ts.map +0 -1
  339. package/esm/models/pipelineRunsMappers.js +0 -9
  340. package/esm/models/pipelineRunsMappers.js.map +0 -1
  341. package/esm/models/pipelinesMappers.d.ts +0 -2
  342. package/esm/models/pipelinesMappers.d.ts.map +0 -1
  343. package/esm/models/pipelinesMappers.js +0 -9
  344. package/esm/models/pipelinesMappers.js.map +0 -1
  345. package/esm/models/privateEndPointConnectionsMappers.d.ts +0 -2
  346. package/esm/models/privateEndPointConnectionsMappers.d.ts.map +0 -1
  347. package/esm/models/privateEndPointConnectionsMappers.js +0 -9
  348. package/esm/models/privateEndPointConnectionsMappers.js.map +0 -1
  349. package/esm/models/privateEndpointConnectionMappers.d.ts +0 -2
  350. package/esm/models/privateEndpointConnectionMappers.d.ts.map +0 -1
  351. package/esm/models/privateEndpointConnectionMappers.js +0 -9
  352. package/esm/models/privateEndpointConnectionMappers.js.map +0 -1
  353. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  354. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  355. package/esm/models/privateLinkResourcesMappers.js +0 -9
  356. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  357. package/esm/models/triggerRunsMappers.d.ts +0 -2
  358. package/esm/models/triggerRunsMappers.d.ts.map +0 -1
  359. package/esm/models/triggerRunsMappers.js +0 -9
  360. package/esm/models/triggerRunsMappers.js.map +0 -1
  361. package/esm/models/triggersMappers.d.ts +0 -2
  362. package/esm/models/triggersMappers.d.ts.map +0 -1
  363. package/esm/models/triggersMappers.js +0 -9
  364. package/esm/models/triggersMappers.js.map +0 -1
  365. package/esm/operations/activityRuns.d.ts +0 -40
  366. package/esm/operations/activityRuns.d.ts.map +0 -1
  367. package/esm/operations/activityRuns.js +0 -65
  368. package/esm/operations/activityRuns.js.map +0 -1
  369. package/esm/operations/dataFlowDebugSession.d.ts +0 -137
  370. package/esm/operations/dataFlowDebugSession.d.ts.map +0 -1
  371. package/esm/operations/dataFlowDebugSession.js +0 -279
  372. package/esm/operations/dataFlowDebugSession.js.map +0 -1
  373. package/esm/operations/dataFlows.d.ts +0 -127
  374. package/esm/operations/dataFlows.d.ts.map +0 -1
  375. package/esm/operations/dataFlows.js +0 -192
  376. package/esm/operations/dataFlows.js.map +0 -1
  377. package/esm/operations/datasets.d.ts +0 -127
  378. package/esm/operations/datasets.d.ts.map +0 -1
  379. package/esm/operations/datasets.js +0 -193
  380. package/esm/operations/datasets.js.map +0 -1
  381. package/esm/operations/exposureControl.d.ts +0 -82
  382. package/esm/operations/exposureControl.d.ts.map +0 -1
  383. package/esm/operations/exposureControl.js +0 -133
  384. package/esm/operations/exposureControl.js.map +0 -1
  385. package/esm/operations/factories.d.ts +0 -241
  386. package/esm/operations/factories.d.ts.map +0 -1
  387. package/esm/operations/factories.js +0 -383
  388. package/esm/operations/factories.js.map +0 -1
  389. package/esm/operations/index.d.ts.map +0 -1
  390. package/esm/operations/index.js.map +0 -1
  391. package/esm/operations/integrationRuntimeNodes.d.ts +0 -127
  392. package/esm/operations/integrationRuntimeNodes.d.ts.map +0 -1
  393. package/esm/operations/integrationRuntimeNodes.js +0 -171
  394. package/esm/operations/integrationRuntimeNodes.js.map +0 -1
  395. package/esm/operations/integrationRuntimeObjectMetadata.d.ts +0 -57
  396. package/esm/operations/integrationRuntimeObjectMetadata.d.ts.map +0 -1
  397. package/esm/operations/integrationRuntimeObjectMetadata.js +0 -120
  398. package/esm/operations/integrationRuntimeObjectMetadata.js.map +0 -1
  399. package/esm/operations/integrationRuntimes.d.ts +0 -425
  400. package/esm/operations/integrationRuntimes.d.ts.map +0 -1
  401. package/esm/operations/integrationRuntimes.js +0 -643
  402. package/esm/operations/integrationRuntimes.js.map +0 -1
  403. package/esm/operations/linkedServices.d.ts +0 -127
  404. package/esm/operations/linkedServices.d.ts.map +0 -1
  405. package/esm/operations/linkedServices.js +0 -193
  406. package/esm/operations/linkedServices.js.map +0 -1
  407. package/esm/operations/managedPrivateEndpoints.d.ts +0 -139
  408. package/esm/operations/managedPrivateEndpoints.d.ts.map +0 -1
  409. package/esm/operations/managedPrivateEndpoints.js +0 -200
  410. package/esm/operations/managedPrivateEndpoints.js.map +0 -1
  411. package/esm/operations/managedVirtualNetworks.d.ts +0 -103
  412. package/esm/operations/managedVirtualNetworks.d.ts.map +0 -1
  413. package/esm/operations/managedVirtualNetworks.js +0 -160
  414. package/esm/operations/managedVirtualNetworks.js.map +0 -1
  415. package/esm/operations/operations.d.ts +0 -46
  416. package/esm/operations/operations.d.ts.map +0 -1
  417. package/esm/operations/operations.js +0 -79
  418. package/esm/operations/operations.js.map +0 -1
  419. package/esm/operations/pipelineRuns.d.ts +0 -85
  420. package/esm/operations/pipelineRuns.d.ts.map +0 -1
  421. package/esm/operations/pipelineRuns.js +0 -128
  422. package/esm/operations/pipelineRuns.js.map +0 -1
  423. package/esm/operations/pipelines.d.ts +0 -151
  424. package/esm/operations/pipelines.d.ts.map +0 -1
  425. package/esm/operations/pipelines.js +0 -247
  426. package/esm/operations/pipelines.js.map +0 -1
  427. package/esm/operations/privateEndPointConnections.d.ts +0 -52
  428. package/esm/operations/privateEndPointConnections.d.ts.map +0 -1
  429. package/esm/operations/privateEndPointConnections.js +0 -86
  430. package/esm/operations/privateEndPointConnections.js.map +0 -1
  431. package/esm/operations/privateEndpointConnection.d.ts +0 -88
  432. package/esm/operations/privateEndpointConnection.d.ts.map +0 -1
  433. package/esm/operations/privateEndpointConnection.js +0 -132
  434. package/esm/operations/privateEndpointConnection.js.map +0 -1
  435. package/esm/operations/privateLinkResources.d.ts +0 -34
  436. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  437. package/esm/operations/privateLinkResources.js +0 -57
  438. package/esm/operations/privateLinkResources.js.map +0 -1
  439. package/esm/operations/triggerRuns.d.ts +0 -91
  440. package/esm/operations/triggerRuns.d.ts.map +0 -1
  441. package/esm/operations/triggerRuns.js +0 -129
  442. package/esm/operations/triggerRuns.js.map +0 -1
  443. package/esm/operations/triggers.d.ts +0 -248
  444. package/esm/operations/triggers.d.ts.map +0 -1
  445. package/esm/operations/triggers.js +0 -472
  446. package/esm/operations/triggers.js.map +0 -1
  447. package/src/models/dataFlowDebugSessionMappers.ts +0 -296
  448. package/src/models/dataFlowsMappers.ts +0 -588
  449. package/src/models/datasetsMappers.ts +0 -588
  450. package/src/models/exposureControlMappers.ts +0 -16
  451. package/src/models/factoriesMappers.ts +0 -595
  452. package/src/models/integrationRuntimeObjectMetadataMappers.ts +0 -23
  453. package/src/models/integrationRuntimesMappers.ts +0 -605
  454. package/src/models/linkedServicesMappers.ts +0 -588
  455. package/src/models/managedPrivateEndpointsMappers.ts +0 -588
  456. package/src/models/managedVirtualNetworksMappers.ts +0 -588
  457. package/src/models/operationsMappers.ts +0 -20
  458. package/src/models/pipelineRunsMappers.ts +0 -18
  459. package/src/models/pipelinesMappers.ts +0 -589
  460. package/src/models/privateEndPointConnectionsMappers.ts +0 -588
  461. package/src/models/privateEndpointConnectionMappers.ts +0 -587
  462. package/src/models/privateLinkResourcesMappers.ts +0 -588
  463. package/src/models/triggersMappers.ts +0 -591
@@ -3,24 +3,64 @@
3
3
  * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
7
  */
9
8
 
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as msRestAzure from "@azure/ms-rest-azure-js";
12
- import * as Models from "../models";
13
- import * as Mappers from "../models/integrationRuntimesMappers";
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { IntegrationRuntimes } from "../operationsInterfaces";
11
+ import * as coreClient from "@azure/core-client";
12
+ import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
14
  import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
15
+ import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
16
+ import { LroImpl } from "../lroImpl";
17
+ import {
18
+ IntegrationRuntimeResource,
19
+ IntegrationRuntimesListByFactoryNextOptionalParams,
20
+ IntegrationRuntimesListByFactoryOptionalParams,
21
+ IntegrationRuntimesListByFactoryResponse,
22
+ IntegrationRuntimesCreateOrUpdateOptionalParams,
23
+ IntegrationRuntimesCreateOrUpdateResponse,
24
+ IntegrationRuntimesGetOptionalParams,
25
+ IntegrationRuntimesGetResponse,
26
+ UpdateIntegrationRuntimeRequest,
27
+ IntegrationRuntimesUpdateOptionalParams,
28
+ IntegrationRuntimesUpdateResponse,
29
+ IntegrationRuntimesDeleteOptionalParams,
30
+ IntegrationRuntimesGetStatusOptionalParams,
31
+ IntegrationRuntimesGetStatusResponse,
32
+ IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,
33
+ IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse,
34
+ IntegrationRuntimesGetConnectionInfoOptionalParams,
35
+ IntegrationRuntimesGetConnectionInfoResponse,
36
+ IntegrationRuntimeRegenerateKeyParameters,
37
+ IntegrationRuntimesRegenerateAuthKeyOptionalParams,
38
+ IntegrationRuntimesRegenerateAuthKeyResponse,
39
+ IntegrationRuntimesListAuthKeysOptionalParams,
40
+ IntegrationRuntimesListAuthKeysResponse,
41
+ IntegrationRuntimesStartOptionalParams,
42
+ IntegrationRuntimesStartResponse,
43
+ IntegrationRuntimesStopOptionalParams,
44
+ IntegrationRuntimesSyncCredentialsOptionalParams,
45
+ IntegrationRuntimesGetMonitoringDataOptionalParams,
46
+ IntegrationRuntimesGetMonitoringDataResponse,
47
+ IntegrationRuntimesUpgradeOptionalParams,
48
+ LinkedIntegrationRuntimeRequest,
49
+ IntegrationRuntimesRemoveLinksOptionalParams,
50
+ CreateLinkedIntegrationRuntimeRequest,
51
+ IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams,
52
+ IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse,
53
+ IntegrationRuntimesListByFactoryNextResponse
54
+ } from "../models";
16
55
 
17
- /** Class representing a IntegrationRuntimes. */
18
- export class IntegrationRuntimes {
56
+ /// <reference lib="esnext.asynciterable" />
57
+ /** Class containing IntegrationRuntimes operations. */
58
+ export class IntegrationRuntimesImpl implements IntegrationRuntimes {
19
59
  private readonly client: DataFactoryManagementClientContext;
20
60
 
21
61
  /**
22
- * Create a IntegrationRuntimes.
23
- * @param {DataFactoryManagementClientContext} client Reference to the service client.
62
+ * Initialize a new instance of the class IntegrationRuntimes class.
63
+ * @param client Reference to the service client
24
64
  */
25
65
  constructor(client: DataFactoryManagementClientContext) {
26
66
  this.client = client;
@@ -30,62 +70,105 @@ export class IntegrationRuntimes {
30
70
  * Lists integration runtimes.
31
71
  * @param resourceGroupName The resource group name.
32
72
  * @param factoryName The factory name.
33
- * @param [options] The optional parameters
34
- * @returns Promise<Models.IntegrationRuntimesListByFactoryResponse>
73
+ * @param options The options parameters.
35
74
  */
36
- listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise<Models.IntegrationRuntimesListByFactoryResponse>;
37
- /**
38
- * @param resourceGroupName The resource group name.
39
- * @param factoryName The factory name.
40
- * @param callback The callback
41
- */
42
- listByFactory(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback<Models.IntegrationRuntimeListResponse>): void;
43
- /**
44
- * @param resourceGroupName The resource group name.
45
- * @param factoryName The factory name.
46
- * @param options The optional parameters
47
- * @param callback The callback
48
- */
49
- listByFactory(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IntegrationRuntimeListResponse>): void;
50
- listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IntegrationRuntimeListResponse>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeListResponse>): Promise<Models.IntegrationRuntimesListByFactoryResponse> {
51
- return this.client.sendOperationRequest(
52
- {
75
+ public listByFactory(
76
+ resourceGroupName: string,
77
+ factoryName: string,
78
+ options?: IntegrationRuntimesListByFactoryOptionalParams
79
+ ): PagedAsyncIterableIterator<IntegrationRuntimeResource> {
80
+ const iter = this.listByFactoryPagingAll(
81
+ resourceGroupName,
82
+ factoryName,
83
+ options
84
+ );
85
+ return {
86
+ next() {
87
+ return iter.next();
88
+ },
89
+ [Symbol.asyncIterator]() {
90
+ return this;
91
+ },
92
+ byPage: () => {
93
+ return this.listByFactoryPagingPage(
94
+ resourceGroupName,
95
+ factoryName,
96
+ options
97
+ );
98
+ }
99
+ };
100
+ }
101
+
102
+ private async *listByFactoryPagingPage(
103
+ resourceGroupName: string,
104
+ factoryName: string,
105
+ options?: IntegrationRuntimesListByFactoryOptionalParams
106
+ ): AsyncIterableIterator<IntegrationRuntimeResource[]> {
107
+ let result = await this._listByFactory(
108
+ resourceGroupName,
109
+ factoryName,
110
+ options
111
+ );
112
+ yield result.value || [];
113
+ let continuationToken = result.nextLink;
114
+ while (continuationToken) {
115
+ result = await this._listByFactoryNext(
53
116
  resourceGroupName,
54
117
  factoryName,
118
+ continuationToken,
55
119
  options
56
- },
57
- listByFactoryOperationSpec,
58
- callback) as Promise<Models.IntegrationRuntimesListByFactoryResponse>;
120
+ );
121
+ continuationToken = result.nextLink;
122
+ yield result.value || [];
123
+ }
124
+ }
125
+
126
+ private async *listByFactoryPagingAll(
127
+ resourceGroupName: string,
128
+ factoryName: string,
129
+ options?: IntegrationRuntimesListByFactoryOptionalParams
130
+ ): AsyncIterableIterator<IntegrationRuntimeResource> {
131
+ for await (const page of this.listByFactoryPagingPage(
132
+ resourceGroupName,
133
+ factoryName,
134
+ options
135
+ )) {
136
+ yield* page;
137
+ }
59
138
  }
60
139
 
61
140
  /**
62
- * Creates or updates an integration runtime.
63
- * @param resourceGroupName The resource group name.
64
- * @param factoryName The factory name.
65
- * @param integrationRuntimeName The integration runtime name.
66
- * @param integrationRuntime Integration runtime resource definition.
67
- * @param [options] The optional parameters
68
- * @returns Promise<Models.IntegrationRuntimesCreateOrUpdateResponse>
69
- */
70
- createOrUpdate(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, options?: Models.IntegrationRuntimesCreateOrUpdateOptionalParams): Promise<Models.IntegrationRuntimesCreateOrUpdateResponse>;
71
- /**
141
+ * Lists integration runtimes.
72
142
  * @param resourceGroupName The resource group name.
73
143
  * @param factoryName The factory name.
74
- * @param integrationRuntimeName The integration runtime name.
75
- * @param integrationRuntime Integration runtime resource definition.
76
- * @param callback The callback
144
+ * @param options The options parameters.
77
145
  */
78
- createOrUpdate(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, callback: msRest.ServiceCallback<Models.IntegrationRuntimeResource>): void;
146
+ private _listByFactory(
147
+ resourceGroupName: string,
148
+ factoryName: string,
149
+ options?: IntegrationRuntimesListByFactoryOptionalParams
150
+ ): Promise<IntegrationRuntimesListByFactoryResponse> {
151
+ return this.client.sendOperationRequest(
152
+ { resourceGroupName, factoryName, options },
153
+ listByFactoryOperationSpec
154
+ );
155
+ }
156
+
79
157
  /**
158
+ * Creates or updates an integration runtime.
80
159
  * @param resourceGroupName The resource group name.
81
160
  * @param factoryName The factory name.
82
161
  * @param integrationRuntimeName The integration runtime name.
83
162
  * @param integrationRuntime Integration runtime resource definition.
84
- * @param options The optional parameters
85
- * @param callback The callback
163
+ * @param options The options parameters.
86
164
  */
87
- createOrUpdate(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, options: Models.IntegrationRuntimesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback<Models.IntegrationRuntimeResource>): void;
88
- createOrUpdate(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, options?: Models.IntegrationRuntimesCreateOrUpdateOptionalParams | msRest.ServiceCallback<Models.IntegrationRuntimeResource>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeResource>): Promise<Models.IntegrationRuntimesCreateOrUpdateResponse> {
165
+ createOrUpdate(
166
+ resourceGroupName: string,
167
+ factoryName: string,
168
+ integrationRuntimeName: string,
169
+ integrationRuntime: IntegrationRuntimeResource,
170
+ options?: IntegrationRuntimesCreateOrUpdateOptionalParams
171
+ ): Promise<IntegrationRuntimesCreateOrUpdateResponse> {
89
172
  return this.client.sendOperationRequest(
90
173
  {
91
174
  resourceGroupName,
@@ -94,8 +177,8 @@ export class IntegrationRuntimes {
94
177
  integrationRuntime,
95
178
  options
96
179
  },
97
- createOrUpdateOperationSpec,
98
- callback) as Promise<Models.IntegrationRuntimesCreateOrUpdateResponse>;
180
+ createOrUpdateOperationSpec
181
+ );
99
182
  }
100
183
 
101
184
  /**
@@ -103,35 +186,18 @@ export class IntegrationRuntimes {
103
186
  * @param resourceGroupName The resource group name.
104
187
  * @param factoryName The factory name.
105
188
  * @param integrationRuntimeName The integration runtime name.
106
- * @param [options] The optional parameters
107
- * @returns Promise<Models.IntegrationRuntimesGetResponse>
108
- */
109
- get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimesGetOptionalParams): Promise<Models.IntegrationRuntimesGetResponse>;
110
- /**
111
- * @param resourceGroupName The resource group name.
112
- * @param factoryName The factory name.
113
- * @param integrationRuntimeName The integration runtime name.
114
- * @param callback The callback
189
+ * @param options The options parameters.
115
190
  */
116
- get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback<Models.IntegrationRuntimeResource>): void;
117
- /**
118
- * @param resourceGroupName The resource group name.
119
- * @param factoryName The factory name.
120
- * @param integrationRuntimeName The integration runtime name.
121
- * @param options The optional parameters
122
- * @param callback The callback
123
- */
124
- get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: Models.IntegrationRuntimesGetOptionalParams, callback: msRest.ServiceCallback<Models.IntegrationRuntimeResource>): void;
125
- get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimesGetOptionalParams | msRest.ServiceCallback<Models.IntegrationRuntimeResource>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeResource>): Promise<Models.IntegrationRuntimesGetResponse> {
191
+ get(
192
+ resourceGroupName: string,
193
+ factoryName: string,
194
+ integrationRuntimeName: string,
195
+ options?: IntegrationRuntimesGetOptionalParams
196
+ ): Promise<IntegrationRuntimesGetResponse> {
126
197
  return this.client.sendOperationRequest(
127
- {
128
- resourceGroupName,
129
- factoryName,
130
- integrationRuntimeName,
131
- options
132
- },
133
- getOperationSpec,
134
- callback) as Promise<Models.IntegrationRuntimesGetResponse>;
198
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
199
+ getOperationSpec
200
+ );
135
201
  }
136
202
 
137
203
  /**
@@ -140,28 +206,15 @@ export class IntegrationRuntimes {
140
206
  * @param factoryName The factory name.
141
207
  * @param integrationRuntimeName The integration runtime name.
142
208
  * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime.
143
- * @param [options] The optional parameters
144
- * @returns Promise<Models.IntegrationRuntimesUpdateResponse>
145
- */
146
- update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: Models.UpdateIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase): Promise<Models.IntegrationRuntimesUpdateResponse>;
147
- /**
148
- * @param resourceGroupName The resource group name.
149
- * @param factoryName The factory name.
150
- * @param integrationRuntimeName The integration runtime name.
151
- * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime.
152
- * @param callback The callback
209
+ * @param options The options parameters.
153
210
  */
154
- update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: Models.UpdateIntegrationRuntimeRequest, callback: msRest.ServiceCallback<Models.IntegrationRuntimeResource>): void;
155
- /**
156
- * @param resourceGroupName The resource group name.
157
- * @param factoryName The factory name.
158
- * @param integrationRuntimeName The integration runtime name.
159
- * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime.
160
- * @param options The optional parameters
161
- * @param callback The callback
162
- */
163
- update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: Models.UpdateIntegrationRuntimeRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IntegrationRuntimeResource>): void;
164
- update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: Models.UpdateIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IntegrationRuntimeResource>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeResource>): Promise<Models.IntegrationRuntimesUpdateResponse> {
211
+ update(
212
+ resourceGroupName: string,
213
+ factoryName: string,
214
+ integrationRuntimeName: string,
215
+ updateIntegrationRuntimeRequest: UpdateIntegrationRuntimeRequest,
216
+ options?: IntegrationRuntimesUpdateOptionalParams
217
+ ): Promise<IntegrationRuntimesUpdateResponse> {
165
218
  return this.client.sendOperationRequest(
166
219
  {
167
220
  resourceGroupName,
@@ -170,8 +223,8 @@ export class IntegrationRuntimes {
170
223
  updateIntegrationRuntimeRequest,
171
224
  options
172
225
  },
173
- updateOperationSpec,
174
- callback) as Promise<Models.IntegrationRuntimesUpdateResponse>;
226
+ updateOperationSpec
227
+ );
175
228
  }
176
229
 
177
230
  /**
@@ -179,35 +232,18 @@ export class IntegrationRuntimes {
179
232
  * @param resourceGroupName The resource group name.
180
233
  * @param factoryName The factory name.
181
234
  * @param integrationRuntimeName The integration runtime name.
182
- * @param [options] The optional parameters
183
- * @returns Promise<msRest.RestResponse>
184
- */
185
- deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
186
- /**
187
- * @param resourceGroupName The resource group name.
188
- * @param factoryName The factory name.
189
- * @param integrationRuntimeName The integration runtime name.
190
- * @param callback The callback
235
+ * @param options The options parameters.
191
236
  */
192
- deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback<void>): void;
193
- /**
194
- * @param resourceGroupName The resource group name.
195
- * @param factoryName The factory name.
196
- * @param integrationRuntimeName The integration runtime name.
197
- * @param options The optional parameters
198
- * @param callback The callback
199
- */
200
- deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
201
- deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
237
+ delete(
238
+ resourceGroupName: string,
239
+ factoryName: string,
240
+ integrationRuntimeName: string,
241
+ options?: IntegrationRuntimesDeleteOptionalParams
242
+ ): Promise<void> {
202
243
  return this.client.sendOperationRequest(
203
- {
204
- resourceGroupName,
205
- factoryName,
206
- integrationRuntimeName,
207
- options
208
- },
209
- deleteMethodOperationSpec,
210
- callback);
244
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
245
+ deleteOperationSpec
246
+ );
211
247
  }
212
248
 
213
249
  /**
@@ -215,72 +251,59 @@ export class IntegrationRuntimes {
215
251
  * @param resourceGroupName The resource group name.
216
252
  * @param factoryName The factory name.
217
253
  * @param integrationRuntimeName The integration runtime name.
218
- * @param [options] The optional parameters
219
- * @returns Promise<Models.IntegrationRuntimesGetStatusResponse>
220
- */
221
- getStatus(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<Models.IntegrationRuntimesGetStatusResponse>;
222
- /**
223
- * @param resourceGroupName The resource group name.
224
- * @param factoryName The factory name.
225
- * @param integrationRuntimeName The integration runtime name.
226
- * @param callback The callback
254
+ * @param options The options parameters.
227
255
  */
228
- getStatus(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback<Models.IntegrationRuntimeStatusResponse>): void;
229
- /**
230
- * @param resourceGroupName The resource group name.
231
- * @param factoryName The factory name.
232
- * @param integrationRuntimeName The integration runtime name.
233
- * @param options The optional parameters
234
- * @param callback The callback
235
- */
236
- getStatus(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IntegrationRuntimeStatusResponse>): void;
237
- getStatus(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IntegrationRuntimeStatusResponse>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeStatusResponse>): Promise<Models.IntegrationRuntimesGetStatusResponse> {
256
+ getStatus(
257
+ resourceGroupName: string,
258
+ factoryName: string,
259
+ integrationRuntimeName: string,
260
+ options?: IntegrationRuntimesGetStatusOptionalParams
261
+ ): Promise<IntegrationRuntimesGetStatusResponse> {
238
262
  return this.client.sendOperationRequest(
239
- {
240
- resourceGroupName,
241
- factoryName,
242
- integrationRuntimeName,
243
- options
244
- },
245
- getStatusOperationSpec,
246
- callback) as Promise<Models.IntegrationRuntimesGetStatusResponse>;
263
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
264
+ getStatusOperationSpec
265
+ );
247
266
  }
248
267
 
249
268
  /**
250
- * Gets the on-premises integration runtime connection information for encrypting the on-premises
251
- * data source credentials.
269
+ * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.
252
270
  * @param resourceGroupName The resource group name.
253
271
  * @param factoryName The factory name.
254
272
  * @param integrationRuntimeName The integration runtime name.
255
- * @param [options] The optional parameters
256
- * @returns Promise<Models.IntegrationRuntimesGetConnectionInfoResponse>
273
+ * @param options The options parameters.
257
274
  */
258
- getConnectionInfo(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<Models.IntegrationRuntimesGetConnectionInfoResponse>;
259
- /**
260
- * @param resourceGroupName The resource group name.
261
- * @param factoryName The factory name.
262
- * @param integrationRuntimeName The integration runtime name.
263
- * @param callback The callback
264
- */
265
- getConnectionInfo(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback<Models.IntegrationRuntimeConnectionInfo>): void;
275
+ listOutboundNetworkDependenciesEndpoints(
276
+ resourceGroupName: string,
277
+ factoryName: string,
278
+ integrationRuntimeName: string,
279
+ options?: IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams
280
+ ): Promise<
281
+ IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse
282
+ > {
283
+ return this.client.sendOperationRequest(
284
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
285
+ listOutboundNetworkDependenciesEndpointsOperationSpec
286
+ );
287
+ }
288
+
266
289
  /**
290
+ * Gets the on-premises integration runtime connection information for encrypting the on-premises data
291
+ * source credentials.
267
292
  * @param resourceGroupName The resource group name.
268
293
  * @param factoryName The factory name.
269
294
  * @param integrationRuntimeName The integration runtime name.
270
- * @param options The optional parameters
271
- * @param callback The callback
295
+ * @param options The options parameters.
272
296
  */
273
- getConnectionInfo(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IntegrationRuntimeConnectionInfo>): void;
274
- getConnectionInfo(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IntegrationRuntimeConnectionInfo>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeConnectionInfo>): Promise<Models.IntegrationRuntimesGetConnectionInfoResponse> {
297
+ getConnectionInfo(
298
+ resourceGroupName: string,
299
+ factoryName: string,
300
+ integrationRuntimeName: string,
301
+ options?: IntegrationRuntimesGetConnectionInfoOptionalParams
302
+ ): Promise<IntegrationRuntimesGetConnectionInfoResponse> {
275
303
  return this.client.sendOperationRequest(
276
- {
277
- resourceGroupName,
278
- factoryName,
279
- integrationRuntimeName,
280
- options
281
- },
282
- getConnectionInfoOperationSpec,
283
- callback) as Promise<Models.IntegrationRuntimesGetConnectionInfoResponse>;
304
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
305
+ getConnectionInfoOperationSpec
306
+ );
284
307
  }
285
308
 
286
309
  /**
@@ -288,32 +311,17 @@ export class IntegrationRuntimes {
288
311
  * @param resourceGroupName The resource group name.
289
312
  * @param factoryName The factory name.
290
313
  * @param integrationRuntimeName The integration runtime name.
291
- * @param regenerateKeyParameters The parameters for regenerating integration runtime
292
- * authentication key.
293
- * @param [options] The optional parameters
294
- * @returns Promise<Models.IntegrationRuntimesRegenerateAuthKeyResponse>
295
- */
296
- regenerateAuthKey(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, regenerateKeyParameters: Models.IntegrationRuntimeRegenerateKeyParameters, options?: msRest.RequestOptionsBase): Promise<Models.IntegrationRuntimesRegenerateAuthKeyResponse>;
297
- /**
298
- * @param resourceGroupName The resource group name.
299
- * @param factoryName The factory name.
300
- * @param integrationRuntimeName The integration runtime name.
301
- * @param regenerateKeyParameters The parameters for regenerating integration runtime
302
- * authentication key.
303
- * @param callback The callback
304
- */
305
- regenerateAuthKey(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, regenerateKeyParameters: Models.IntegrationRuntimeRegenerateKeyParameters, callback: msRest.ServiceCallback<Models.IntegrationRuntimeAuthKeys>): void;
306
- /**
307
- * @param resourceGroupName The resource group name.
308
- * @param factoryName The factory name.
309
- * @param integrationRuntimeName The integration runtime name.
310
- * @param regenerateKeyParameters The parameters for regenerating integration runtime
311
- * authentication key.
312
- * @param options The optional parameters
313
- * @param callback The callback
314
+ * @param regenerateKeyParameters The parameters for regenerating integration runtime authentication
315
+ * key.
316
+ * @param options The options parameters.
314
317
  */
315
- regenerateAuthKey(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, regenerateKeyParameters: Models.IntegrationRuntimeRegenerateKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IntegrationRuntimeAuthKeys>): void;
316
- regenerateAuthKey(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, regenerateKeyParameters: Models.IntegrationRuntimeRegenerateKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IntegrationRuntimeAuthKeys>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeAuthKeys>): Promise<Models.IntegrationRuntimesRegenerateAuthKeyResponse> {
318
+ regenerateAuthKey(
319
+ resourceGroupName: string,
320
+ factoryName: string,
321
+ integrationRuntimeName: string,
322
+ regenerateKeyParameters: IntegrationRuntimeRegenerateKeyParameters,
323
+ options?: IntegrationRuntimesRegenerateAuthKeyOptionalParams
324
+ ): Promise<IntegrationRuntimesRegenerateAuthKeyResponse> {
317
325
  return this.client.sendOperationRequest(
318
326
  {
319
327
  resourceGroupName,
@@ -322,8 +330,8 @@ export class IntegrationRuntimes {
322
330
  regenerateKeyParameters,
323
331
  options
324
332
  },
325
- regenerateAuthKeyOperationSpec,
326
- callback) as Promise<Models.IntegrationRuntimesRegenerateAuthKeyResponse>;
333
+ regenerateAuthKeyOperationSpec
334
+ );
327
335
  }
328
336
 
329
337
  /**
@@ -331,35 +339,18 @@ export class IntegrationRuntimes {
331
339
  * @param resourceGroupName The resource group name.
332
340
  * @param factoryName The factory name.
333
341
  * @param integrationRuntimeName The integration runtime name.
334
- * @param [options] The optional parameters
335
- * @returns Promise<Models.IntegrationRuntimesListAuthKeysResponse>
342
+ * @param options The options parameters.
336
343
  */
337
- listAuthKeys(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<Models.IntegrationRuntimesListAuthKeysResponse>;
338
- /**
339
- * @param resourceGroupName The resource group name.
340
- * @param factoryName The factory name.
341
- * @param integrationRuntimeName The integration runtime name.
342
- * @param callback The callback
343
- */
344
- listAuthKeys(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback<Models.IntegrationRuntimeAuthKeys>): void;
345
- /**
346
- * @param resourceGroupName The resource group name.
347
- * @param factoryName The factory name.
348
- * @param integrationRuntimeName The integration runtime name.
349
- * @param options The optional parameters
350
- * @param callback The callback
351
- */
352
- listAuthKeys(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IntegrationRuntimeAuthKeys>): void;
353
- listAuthKeys(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IntegrationRuntimeAuthKeys>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeAuthKeys>): Promise<Models.IntegrationRuntimesListAuthKeysResponse> {
344
+ listAuthKeys(
345
+ resourceGroupName: string,
346
+ factoryName: string,
347
+ integrationRuntimeName: string,
348
+ options?: IntegrationRuntimesListAuthKeysOptionalParams
349
+ ): Promise<IntegrationRuntimesListAuthKeysResponse> {
354
350
  return this.client.sendOperationRequest(
355
- {
356
- resourceGroupName,
357
- factoryName,
358
- integrationRuntimeName,
359
- options
360
- },
361
- listAuthKeysOperationSpec,
362
- callback) as Promise<Models.IntegrationRuntimesListAuthKeysResponse>;
351
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
352
+ listAuthKeysOperationSpec
353
+ );
363
354
  }
364
355
 
365
356
  /**
@@ -367,101 +358,216 @@ export class IntegrationRuntimes {
367
358
  * @param resourceGroupName The resource group name.
368
359
  * @param factoryName The factory name.
369
360
  * @param integrationRuntimeName The integration runtime name.
370
- * @param [options] The optional parameters
371
- * @returns Promise<Models.IntegrationRuntimesStartResponse>
361
+ * @param options The options parameters.
372
362
  */
373
- start(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<Models.IntegrationRuntimesStartResponse> {
374
- return this.beginStart(resourceGroupName,factoryName,integrationRuntimeName,options)
375
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.IntegrationRuntimesStartResponse>;
363
+ async beginStart(
364
+ resourceGroupName: string,
365
+ factoryName: string,
366
+ integrationRuntimeName: string,
367
+ options?: IntegrationRuntimesStartOptionalParams
368
+ ): Promise<
369
+ PollerLike<
370
+ PollOperationState<IntegrationRuntimesStartResponse>,
371
+ IntegrationRuntimesStartResponse
372
+ >
373
+ > {
374
+ const directSendOperation = async (
375
+ args: coreClient.OperationArguments,
376
+ spec: coreClient.OperationSpec
377
+ ): Promise<IntegrationRuntimesStartResponse> => {
378
+ return this.client.sendOperationRequest(args, spec);
379
+ };
380
+ const sendOperation = async (
381
+ args: coreClient.OperationArguments,
382
+ spec: coreClient.OperationSpec
383
+ ) => {
384
+ let currentRawResponse:
385
+ | coreClient.FullOperationResponse
386
+ | undefined = undefined;
387
+ const providedCallback = args.options?.onResponse;
388
+ const callback: coreClient.RawResponseCallback = (
389
+ rawResponse: coreClient.FullOperationResponse,
390
+ flatResponse: unknown
391
+ ) => {
392
+ currentRawResponse = rawResponse;
393
+ providedCallback?.(rawResponse, flatResponse);
394
+ };
395
+ const updatedArgs = {
396
+ ...args,
397
+ options: {
398
+ ...args.options,
399
+ onResponse: callback
400
+ }
401
+ };
402
+ const flatResponse = await directSendOperation(updatedArgs, spec);
403
+ return {
404
+ flatResponse,
405
+ rawResponse: {
406
+ statusCode: currentRawResponse!.status,
407
+ body: currentRawResponse!.parsedBody,
408
+ headers: currentRawResponse!.headers.toJSON()
409
+ }
410
+ };
411
+ };
412
+
413
+ const lro = new LroImpl(
414
+ sendOperation,
415
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
416
+ startOperationSpec
417
+ );
418
+ return new LroEngine(lro, {
419
+ resumeFrom: options?.resumeFrom,
420
+ intervalInMs: options?.updateIntervalInMs
421
+ });
376
422
  }
377
423
 
378
424
  /**
379
- * Stops a ManagedReserved type integration runtime.
425
+ * Starts a ManagedReserved type integration runtime.
380
426
  * @param resourceGroupName The resource group name.
381
427
  * @param factoryName The factory name.
382
428
  * @param integrationRuntimeName The integration runtime name.
383
- * @param [options] The optional parameters
384
- * @returns Promise<msRest.RestResponse>
429
+ * @param options The options parameters.
385
430
  */
386
- stop(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
387
- return this.beginStop(resourceGroupName,factoryName,integrationRuntimeName,options)
388
- .then(lroPoller => lroPoller.pollUntilFinished());
431
+ async beginStartAndWait(
432
+ resourceGroupName: string,
433
+ factoryName: string,
434
+ integrationRuntimeName: string,
435
+ options?: IntegrationRuntimesStartOptionalParams
436
+ ): Promise<IntegrationRuntimesStartResponse> {
437
+ const poller = await this.beginStart(
438
+ resourceGroupName,
439
+ factoryName,
440
+ integrationRuntimeName,
441
+ options
442
+ );
443
+ return poller.pollUntilDone();
389
444
  }
390
445
 
391
446
  /**
392
- * Force the integration runtime to synchronize credentials across integration runtime nodes, and
393
- * this will override the credentials across all worker nodes with those available on the
394
- * dispatcher node. If you already have the latest credential backup file, you should manually
395
- * import it (preferred) on any self-hosted integration runtime node than using this API directly.
447
+ * Stops a ManagedReserved type integration runtime.
396
448
  * @param resourceGroupName The resource group name.
397
449
  * @param factoryName The factory name.
398
450
  * @param integrationRuntimeName The integration runtime name.
399
- * @param [options] The optional parameters
400
- * @returns Promise<msRest.RestResponse>
451
+ * @param options The options parameters.
401
452
  */
402
- syncCredentials(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
453
+ async beginStop(
454
+ resourceGroupName: string,
455
+ factoryName: string,
456
+ integrationRuntimeName: string,
457
+ options?: IntegrationRuntimesStopOptionalParams
458
+ ): Promise<PollerLike<PollOperationState<void>, void>> {
459
+ const directSendOperation = async (
460
+ args: coreClient.OperationArguments,
461
+ spec: coreClient.OperationSpec
462
+ ): Promise<void> => {
463
+ return this.client.sendOperationRequest(args, spec);
464
+ };
465
+ const sendOperation = async (
466
+ args: coreClient.OperationArguments,
467
+ spec: coreClient.OperationSpec
468
+ ) => {
469
+ let currentRawResponse:
470
+ | coreClient.FullOperationResponse
471
+ | undefined = undefined;
472
+ const providedCallback = args.options?.onResponse;
473
+ const callback: coreClient.RawResponseCallback = (
474
+ rawResponse: coreClient.FullOperationResponse,
475
+ flatResponse: unknown
476
+ ) => {
477
+ currentRawResponse = rawResponse;
478
+ providedCallback?.(rawResponse, flatResponse);
479
+ };
480
+ const updatedArgs = {
481
+ ...args,
482
+ options: {
483
+ ...args.options,
484
+ onResponse: callback
485
+ }
486
+ };
487
+ const flatResponse = await directSendOperation(updatedArgs, spec);
488
+ return {
489
+ flatResponse,
490
+ rawResponse: {
491
+ statusCode: currentRawResponse!.status,
492
+ body: currentRawResponse!.parsedBody,
493
+ headers: currentRawResponse!.headers.toJSON()
494
+ }
495
+ };
496
+ };
497
+
498
+ const lro = new LroImpl(
499
+ sendOperation,
500
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
501
+ stopOperationSpec
502
+ );
503
+ return new LroEngine(lro, {
504
+ resumeFrom: options?.resumeFrom,
505
+ intervalInMs: options?.updateIntervalInMs
506
+ });
507
+ }
508
+
403
509
  /**
510
+ * Stops a ManagedReserved type integration runtime.
404
511
  * @param resourceGroupName The resource group name.
405
512
  * @param factoryName The factory name.
406
513
  * @param integrationRuntimeName The integration runtime name.
407
- * @param callback The callback
514
+ * @param options The options parameters.
408
515
  */
409
- syncCredentials(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback<void>): void;
516
+ async beginStopAndWait(
517
+ resourceGroupName: string,
518
+ factoryName: string,
519
+ integrationRuntimeName: string,
520
+ options?: IntegrationRuntimesStopOptionalParams
521
+ ): Promise<void> {
522
+ const poller = await this.beginStop(
523
+ resourceGroupName,
524
+ factoryName,
525
+ integrationRuntimeName,
526
+ options
527
+ );
528
+ return poller.pollUntilDone();
529
+ }
530
+
410
531
  /**
532
+ * Force the integration runtime to synchronize credentials across integration runtime nodes, and this
533
+ * will override the credentials across all worker nodes with those available on the dispatcher node.
534
+ * If you already have the latest credential backup file, you should manually import it (preferred) on
535
+ * any self-hosted integration runtime node than using this API directly.
411
536
  * @param resourceGroupName The resource group name.
412
537
  * @param factoryName The factory name.
413
538
  * @param integrationRuntimeName The integration runtime name.
414
- * @param options The optional parameters
415
- * @param callback The callback
539
+ * @param options The options parameters.
416
540
  */
417
- syncCredentials(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
418
- syncCredentials(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
541
+ syncCredentials(
542
+ resourceGroupName: string,
543
+ factoryName: string,
544
+ integrationRuntimeName: string,
545
+ options?: IntegrationRuntimesSyncCredentialsOptionalParams
546
+ ): Promise<void> {
419
547
  return this.client.sendOperationRequest(
420
- {
421
- resourceGroupName,
422
- factoryName,
423
- integrationRuntimeName,
424
- options
425
- },
426
- syncCredentialsOperationSpec,
427
- callback);
548
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
549
+ syncCredentialsOperationSpec
550
+ );
428
551
  }
429
552
 
430
553
  /**
431
- * Get the integration runtime monitoring data, which includes the monitor data for all the nodes
432
- * under this integration runtime.
433
- * @param resourceGroupName The resource group name.
434
- * @param factoryName The factory name.
435
- * @param integrationRuntimeName The integration runtime name.
436
- * @param [options] The optional parameters
437
- * @returns Promise<Models.IntegrationRuntimesGetMonitoringDataResponse>
438
- */
439
- getMonitoringData(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<Models.IntegrationRuntimesGetMonitoringDataResponse>;
440
- /**
554
+ * Get the integration runtime monitoring data, which includes the monitor data for all the nodes under
555
+ * this integration runtime.
441
556
  * @param resourceGroupName The resource group name.
442
557
  * @param factoryName The factory name.
443
558
  * @param integrationRuntimeName The integration runtime name.
444
- * @param callback The callback
559
+ * @param options The options parameters.
445
560
  */
446
- getMonitoringData(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback<Models.IntegrationRuntimeMonitoringData>): void;
447
- /**
448
- * @param resourceGroupName The resource group name.
449
- * @param factoryName The factory name.
450
- * @param integrationRuntimeName The integration runtime name.
451
- * @param options The optional parameters
452
- * @param callback The callback
453
- */
454
- getMonitoringData(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IntegrationRuntimeMonitoringData>): void;
455
- getMonitoringData(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IntegrationRuntimeMonitoringData>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeMonitoringData>): Promise<Models.IntegrationRuntimesGetMonitoringDataResponse> {
561
+ getMonitoringData(
562
+ resourceGroupName: string,
563
+ factoryName: string,
564
+ integrationRuntimeName: string,
565
+ options?: IntegrationRuntimesGetMonitoringDataOptionalParams
566
+ ): Promise<IntegrationRuntimesGetMonitoringDataResponse> {
456
567
  return this.client.sendOperationRequest(
457
- {
458
- resourceGroupName,
459
- factoryName,
460
- integrationRuntimeName,
461
- options
462
- },
463
- getMonitoringDataOperationSpec,
464
- callback) as Promise<Models.IntegrationRuntimesGetMonitoringDataResponse>;
568
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
569
+ getMonitoringDataOperationSpec
570
+ );
465
571
  }
466
572
 
467
573
  /**
@@ -469,35 +575,18 @@ export class IntegrationRuntimes {
469
575
  * @param resourceGroupName The resource group name.
470
576
  * @param factoryName The factory name.
471
577
  * @param integrationRuntimeName The integration runtime name.
472
- * @param [options] The optional parameters
473
- * @returns Promise<msRest.RestResponse>
474
- */
475
- upgrade(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
476
- /**
477
- * @param resourceGroupName The resource group name.
478
- * @param factoryName The factory name.
479
- * @param integrationRuntimeName The integration runtime name.
480
- * @param callback The callback
578
+ * @param options The options parameters.
481
579
  */
482
- upgrade(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback<void>): void;
483
- /**
484
- * @param resourceGroupName The resource group name.
485
- * @param factoryName The factory name.
486
- * @param integrationRuntimeName The integration runtime name.
487
- * @param options The optional parameters
488
- * @param callback The callback
489
- */
490
- upgrade(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
491
- upgrade(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
580
+ upgrade(
581
+ resourceGroupName: string,
582
+ factoryName: string,
583
+ integrationRuntimeName: string,
584
+ options?: IntegrationRuntimesUpgradeOptionalParams
585
+ ): Promise<void> {
492
586
  return this.client.sendOperationRequest(
493
- {
494
- resourceGroupName,
495
- factoryName,
496
- integrationRuntimeName,
497
- options
498
- },
499
- upgradeOperationSpec,
500
- callback);
587
+ { resourceGroupName, factoryName, integrationRuntimeName, options },
588
+ upgradeOperationSpec
589
+ );
501
590
  }
502
591
 
503
592
  /**
@@ -507,28 +596,15 @@ export class IntegrationRuntimes {
507
596
  * @param factoryName The factory name.
508
597
  * @param integrationRuntimeName The integration runtime name.
509
598
  * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime.
510
- * @param [options] The optional parameters
511
- * @returns Promise<msRest.RestResponse>
599
+ * @param options The options parameters.
512
600
  */
513
- removeLinks(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, linkedIntegrationRuntimeRequest: Models.LinkedIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
514
- /**
515
- * @param resourceGroupName The resource group name.
516
- * @param factoryName The factory name.
517
- * @param integrationRuntimeName The integration runtime name.
518
- * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime.
519
- * @param callback The callback
520
- */
521
- removeLinks(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, linkedIntegrationRuntimeRequest: Models.LinkedIntegrationRuntimeRequest, callback: msRest.ServiceCallback<void>): void;
522
- /**
523
- * @param resourceGroupName The resource group name.
524
- * @param factoryName The factory name.
525
- * @param integrationRuntimeName The integration runtime name.
526
- * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime.
527
- * @param options The optional parameters
528
- * @param callback The callback
529
- */
530
- removeLinks(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, linkedIntegrationRuntimeRequest: Models.LinkedIntegrationRuntimeRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
531
- removeLinks(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, linkedIntegrationRuntimeRequest: Models.LinkedIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
601
+ removeLinks(
602
+ resourceGroupName: string,
603
+ factoryName: string,
604
+ integrationRuntimeName: string,
605
+ linkedIntegrationRuntimeRequest: LinkedIntegrationRuntimeRequest,
606
+ options?: IntegrationRuntimesRemoveLinksOptionalParams
607
+ ): Promise<void> {
532
608
  return this.client.sendOperationRequest(
533
609
  {
534
610
  resourceGroupName,
@@ -537,8 +613,8 @@ export class IntegrationRuntimes {
537
613
  linkedIntegrationRuntimeRequest,
538
614
  options
539
615
  },
540
- removeLinksOperationSpec,
541
- callback);
616
+ removeLinksOperationSpec
617
+ );
542
618
  }
543
619
 
544
620
  /**
@@ -547,28 +623,15 @@ export class IntegrationRuntimes {
547
623
  * @param factoryName The factory name.
548
624
  * @param integrationRuntimeName The integration runtime name.
549
625
  * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties.
550
- * @param [options] The optional parameters
551
- * @returns Promise<Models.IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse>
552
- */
553
- createLinkedIntegrationRuntime(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, createLinkedIntegrationRuntimeRequest: Models.CreateLinkedIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase): Promise<Models.IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse>;
554
- /**
555
- * @param resourceGroupName The resource group name.
556
- * @param factoryName The factory name.
557
- * @param integrationRuntimeName The integration runtime name.
558
- * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties.
559
- * @param callback The callback
560
- */
561
- createLinkedIntegrationRuntime(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, createLinkedIntegrationRuntimeRequest: Models.CreateLinkedIntegrationRuntimeRequest, callback: msRest.ServiceCallback<Models.IntegrationRuntimeStatusResponse>): void;
562
- /**
563
- * @param resourceGroupName The resource group name.
564
- * @param factoryName The factory name.
565
- * @param integrationRuntimeName The integration runtime name.
566
- * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties.
567
- * @param options The optional parameters
568
- * @param callback The callback
626
+ * @param options The options parameters.
569
627
  */
570
- createLinkedIntegrationRuntime(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, createLinkedIntegrationRuntimeRequest: Models.CreateLinkedIntegrationRuntimeRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IntegrationRuntimeStatusResponse>): void;
571
- createLinkedIntegrationRuntime(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, createLinkedIntegrationRuntimeRequest: Models.CreateLinkedIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IntegrationRuntimeStatusResponse>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeStatusResponse>): Promise<Models.IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse> {
628
+ createLinkedIntegrationRuntime(
629
+ resourceGroupName: string,
630
+ factoryName: string,
631
+ integrationRuntimeName: string,
632
+ createLinkedIntegrationRuntimeRequest: CreateLinkedIntegrationRuntimeRequest,
633
+ options?: IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams
634
+ ): Promise<IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse> {
572
635
  return this.client.sendOperationRequest(
573
636
  {
574
637
  resourceGroupName,
@@ -577,95 +640,36 @@ export class IntegrationRuntimes {
577
640
  createLinkedIntegrationRuntimeRequest,
578
641
  options
579
642
  },
580
- createLinkedIntegrationRuntimeOperationSpec,
581
- callback) as Promise<Models.IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse>;
643
+ createLinkedIntegrationRuntimeOperationSpec
644
+ );
582
645
  }
583
646
 
584
647
  /**
585
- * Starts a ManagedReserved type integration runtime.
586
- * @param resourceGroupName The resource group name.
587
- * @param factoryName The factory name.
588
- * @param integrationRuntimeName The integration runtime name.
589
- * @param [options] The optional parameters
590
- * @returns Promise<msRestAzure.LROPoller>
591
- */
592
- beginStart(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
593
- return this.client.sendLRORequest(
594
- {
595
- resourceGroupName,
596
- factoryName,
597
- integrationRuntimeName,
598
- options
599
- },
600
- beginStartOperationSpec,
601
- options);
602
- }
603
-
604
- /**
605
- * Stops a ManagedReserved type integration runtime.
648
+ * ListByFactoryNext
606
649
  * @param resourceGroupName The resource group name.
607
650
  * @param factoryName The factory name.
608
- * @param integrationRuntimeName The integration runtime name.
609
- * @param [options] The optional parameters
610
- * @returns Promise<msRestAzure.LROPoller>
611
- */
612
- beginStop(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
613
- return this.client.sendLRORequest(
614
- {
615
- resourceGroupName,
616
- factoryName,
617
- integrationRuntimeName,
618
- options
619
- },
620
- beginStopOperationSpec,
621
- options);
622
- }
623
-
624
- /**
625
- * Lists integration runtimes.
626
- * @param nextPageLink The NextLink from the previous successful call to List operation.
627
- * @param [options] The optional parameters
628
- * @returns Promise<Models.IntegrationRuntimesListByFactoryNextResponse>
629
- */
630
- listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.IntegrationRuntimesListByFactoryNextResponse>;
631
- /**
632
- * @param nextPageLink The NextLink from the previous successful call to List operation.
633
- * @param callback The callback
651
+ * @param nextLink The nextLink from the previous successful call to the ListByFactory method.
652
+ * @param options The options parameters.
634
653
  */
635
- listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.IntegrationRuntimeListResponse>): void;
636
- /**
637
- * @param nextPageLink The NextLink from the previous successful call to List operation.
638
- * @param options The optional parameters
639
- * @param callback The callback
640
- */
641
- listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IntegrationRuntimeListResponse>): void;
642
- listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IntegrationRuntimeListResponse>, callback?: msRest.ServiceCallback<Models.IntegrationRuntimeListResponse>): Promise<Models.IntegrationRuntimesListByFactoryNextResponse> {
654
+ private _listByFactoryNext(
655
+ resourceGroupName: string,
656
+ factoryName: string,
657
+ nextLink: string,
658
+ options?: IntegrationRuntimesListByFactoryNextOptionalParams
659
+ ): Promise<IntegrationRuntimesListByFactoryNextResponse> {
643
660
  return this.client.sendOperationRequest(
644
- {
645
- nextPageLink,
646
- options
647
- },
648
- listByFactoryNextOperationSpec,
649
- callback) as Promise<Models.IntegrationRuntimesListByFactoryNextResponse>;
661
+ { resourceGroupName, factoryName, nextLink, options },
662
+ listByFactoryNextOperationSpec
663
+ );
650
664
  }
651
665
  }
652
-
653
666
  // Operation Specifications
654
- const serializer = new msRest.Serializer(Mappers);
655
- const listByFactoryOperationSpec: msRest.OperationSpec = {
667
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
668
+
669
+ const listByFactoryOperationSpec: coreClient.OperationSpec = {
670
+ path:
671
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes",
656
672
  httpMethod: "GET",
657
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes",
658
- urlParameters: [
659
- Parameters.subscriptionId,
660
- Parameters.resourceGroupName,
661
- Parameters.factoryName
662
- ],
663
- queryParameters: [
664
- Parameters.apiVersion
665
- ],
666
- headerParameters: [
667
- Parameters.acceptLanguage
668
- ],
669
673
  responses: {
670
674
  200: {
671
675
  bodyMapper: Mappers.IntegrationRuntimeListResponse
@@ -674,32 +678,20 @@ const listByFactoryOperationSpec: msRest.OperationSpec = {
674
678
  bodyMapper: Mappers.CloudError
675
679
  }
676
680
  },
677
- serializer
678
- };
679
-
680
- const createOrUpdateOperationSpec: msRest.OperationSpec = {
681
- httpMethod: "PUT",
682
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
681
+ queryParameters: [Parameters.apiVersion],
683
682
  urlParameters: [
683
+ Parameters.$host,
684
684
  Parameters.subscriptionId,
685
685
  Parameters.resourceGroupName,
686
- Parameters.factoryName,
687
- Parameters.integrationRuntimeName
688
- ],
689
- queryParameters: [
690
- Parameters.apiVersion
691
- ],
692
- headerParameters: [
693
- Parameters.ifMatch,
694
- Parameters.acceptLanguage
686
+ Parameters.factoryName
695
687
  ],
696
- requestBody: {
697
- parameterPath: "integrationRuntime",
698
- mapper: {
699
- ...Mappers.IntegrationRuntimeResource,
700
- required: true
701
- }
702
- },
688
+ headerParameters: [Parameters.accept],
689
+ serializer
690
+ };
691
+ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
692
+ path:
693
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
694
+ httpMethod: "PUT",
703
695
  responses: {
704
696
  200: {
705
697
  bodyMapper: Mappers.IntegrationRuntimeResource
@@ -708,25 +700,27 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
708
700
  bodyMapper: Mappers.CloudError
709
701
  }
710
702
  },
711
- serializer
712
- };
713
-
714
- const getOperationSpec: msRest.OperationSpec = {
715
- httpMethod: "GET",
716
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
703
+ requestBody: Parameters.integrationRuntime,
704
+ queryParameters: [Parameters.apiVersion],
717
705
  urlParameters: [
706
+ Parameters.$host,
718
707
  Parameters.subscriptionId,
719
708
  Parameters.resourceGroupName,
720
709
  Parameters.factoryName,
721
710
  Parameters.integrationRuntimeName
722
711
  ],
723
- queryParameters: [
724
- Parameters.apiVersion
725
- ],
726
712
  headerParameters: [
727
- Parameters.ifNoneMatch,
728
- Parameters.acceptLanguage
713
+ Parameters.accept,
714
+ Parameters.contentType,
715
+ Parameters.ifMatch
729
716
  ],
717
+ mediaType: "json",
718
+ serializer
719
+ };
720
+ const getOperationSpec: coreClient.OperationSpec = {
721
+ path:
722
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
723
+ httpMethod: "GET",
730
724
  responses: {
731
725
  200: {
732
726
  bodyMapper: Mappers.IntegrationRuntimeResource
@@ -736,31 +730,21 @@ const getOperationSpec: msRest.OperationSpec = {
736
730
  bodyMapper: Mappers.CloudError
737
731
  }
738
732
  },
739
- serializer
740
- };
741
-
742
- const updateOperationSpec: msRest.OperationSpec = {
743
- httpMethod: "PATCH",
744
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
733
+ queryParameters: [Parameters.apiVersion],
745
734
  urlParameters: [
735
+ Parameters.$host,
746
736
  Parameters.subscriptionId,
747
737
  Parameters.resourceGroupName,
748
738
  Parameters.factoryName,
749
739
  Parameters.integrationRuntimeName
750
740
  ],
751
- queryParameters: [
752
- Parameters.apiVersion
753
- ],
754
- headerParameters: [
755
- Parameters.acceptLanguage
756
- ],
757
- requestBody: {
758
- parameterPath: "updateIntegrationRuntimeRequest",
759
- mapper: {
760
- ...Mappers.UpdateIntegrationRuntimeRequest,
761
- required: true
762
- }
763
- },
741
+ headerParameters: [Parameters.accept, Parameters.ifNoneMatch],
742
+ serializer
743
+ };
744
+ const updateOperationSpec: coreClient.OperationSpec = {
745
+ path:
746
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
747
+ httpMethod: "PATCH",
764
748
  responses: {
765
749
  200: {
766
750
  bodyMapper: Mappers.IntegrationRuntimeResource
@@ -769,24 +753,23 @@ const updateOperationSpec: msRest.OperationSpec = {
769
753
  bodyMapper: Mappers.CloudError
770
754
  }
771
755
  },
772
- serializer
773
- };
774
-
775
- const deleteMethodOperationSpec: msRest.OperationSpec = {
776
- httpMethod: "DELETE",
777
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
756
+ requestBody: Parameters.updateIntegrationRuntimeRequest,
757
+ queryParameters: [Parameters.apiVersion],
778
758
  urlParameters: [
759
+ Parameters.$host,
779
760
  Parameters.subscriptionId,
780
761
  Parameters.resourceGroupName,
781
762
  Parameters.factoryName,
782
763
  Parameters.integrationRuntimeName
783
764
  ],
784
- queryParameters: [
785
- Parameters.apiVersion
786
- ],
787
- headerParameters: [
788
- Parameters.acceptLanguage
789
- ],
765
+ headerParameters: [Parameters.accept, Parameters.contentType],
766
+ mediaType: "json",
767
+ serializer
768
+ };
769
+ const deleteOperationSpec: coreClient.OperationSpec = {
770
+ path:
771
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}",
772
+ httpMethod: "DELETE",
790
773
  responses: {
791
774
  200: {},
792
775
  204: {},
@@ -794,24 +777,21 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
794
777
  bodyMapper: Mappers.CloudError
795
778
  }
796
779
  },
797
- serializer
798
- };
799
-
800
- const getStatusOperationSpec: msRest.OperationSpec = {
801
- httpMethod: "POST",
802
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus",
780
+ queryParameters: [Parameters.apiVersion],
803
781
  urlParameters: [
782
+ Parameters.$host,
804
783
  Parameters.subscriptionId,
805
784
  Parameters.resourceGroupName,
806
785
  Parameters.factoryName,
807
786
  Parameters.integrationRuntimeName
808
787
  ],
809
- queryParameters: [
810
- Parameters.apiVersion
811
- ],
812
- headerParameters: [
813
- Parameters.acceptLanguage
814
- ],
788
+ headerParameters: [Parameters.accept],
789
+ serializer
790
+ };
791
+ const getStatusOperationSpec: coreClient.OperationSpec = {
792
+ path:
793
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus",
794
+ httpMethod: "POST",
815
795
  responses: {
816
796
  200: {
817
797
  bodyMapper: Mappers.IntegrationRuntimeStatusResponse
@@ -820,83 +800,68 @@ const getStatusOperationSpec: msRest.OperationSpec = {
820
800
  bodyMapper: Mappers.CloudError
821
801
  }
822
802
  },
823
- serializer
824
- };
825
-
826
- const getConnectionInfoOperationSpec: msRest.OperationSpec = {
827
- httpMethod: "POST",
828
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo",
803
+ queryParameters: [Parameters.apiVersion],
829
804
  urlParameters: [
805
+ Parameters.$host,
830
806
  Parameters.subscriptionId,
831
807
  Parameters.resourceGroupName,
832
808
  Parameters.factoryName,
833
809
  Parameters.integrationRuntimeName
834
810
  ],
835
- queryParameters: [
836
- Parameters.apiVersion
837
- ],
838
- headerParameters: [
839
- Parameters.acceptLanguage
840
- ],
811
+ headerParameters: [Parameters.accept],
812
+ serializer
813
+ };
814
+ const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = {
815
+ path:
816
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints",
817
+ httpMethod: "GET",
841
818
  responses: {
842
819
  200: {
843
- bodyMapper: Mappers.IntegrationRuntimeConnectionInfo
820
+ bodyMapper:
821
+ Mappers.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse
844
822
  },
845
823
  default: {
846
824
  bodyMapper: Mappers.CloudError
847
825
  }
848
826
  },
849
- serializer
850
- };
851
-
852
- const regenerateAuthKeyOperationSpec: msRest.OperationSpec = {
853
- httpMethod: "POST",
854
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey",
827
+ queryParameters: [Parameters.apiVersion],
855
828
  urlParameters: [
829
+ Parameters.$host,
856
830
  Parameters.subscriptionId,
857
831
  Parameters.resourceGroupName,
858
832
  Parameters.factoryName,
859
833
  Parameters.integrationRuntimeName
860
834
  ],
861
- queryParameters: [
862
- Parameters.apiVersion
863
- ],
864
- headerParameters: [
865
- Parameters.acceptLanguage
866
- ],
867
- requestBody: {
868
- parameterPath: "regenerateKeyParameters",
869
- mapper: {
870
- ...Mappers.IntegrationRuntimeRegenerateKeyParameters,
871
- required: true
872
- }
873
- },
835
+ headerParameters: [Parameters.accept],
836
+ serializer
837
+ };
838
+ const getConnectionInfoOperationSpec: coreClient.OperationSpec = {
839
+ path:
840
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo",
841
+ httpMethod: "POST",
874
842
  responses: {
875
843
  200: {
876
- bodyMapper: Mappers.IntegrationRuntimeAuthKeys
844
+ bodyMapper: Mappers.IntegrationRuntimeConnectionInfo
877
845
  },
878
846
  default: {
879
847
  bodyMapper: Mappers.CloudError
880
848
  }
881
849
  },
882
- serializer
883
- };
884
-
885
- const listAuthKeysOperationSpec: msRest.OperationSpec = {
886
- httpMethod: "POST",
887
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys",
850
+ queryParameters: [Parameters.apiVersion],
888
851
  urlParameters: [
852
+ Parameters.$host,
889
853
  Parameters.subscriptionId,
890
854
  Parameters.resourceGroupName,
891
855
  Parameters.factoryName,
892
856
  Parameters.integrationRuntimeName
893
857
  ],
894
- queryParameters: [
895
- Parameters.apiVersion
896
- ],
897
- headerParameters: [
898
- Parameters.acceptLanguage
899
- ],
858
+ headerParameters: [Parameters.accept],
859
+ serializer
860
+ };
861
+ const regenerateAuthKeyOperationSpec: coreClient.OperationSpec = {
862
+ path:
863
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey",
864
+ httpMethod: "POST",
900
865
  responses: {
901
866
  200: {
902
867
  bodyMapper: Mappers.IntegrationRuntimeAuthKeys
@@ -905,212 +870,214 @@ const listAuthKeysOperationSpec: msRest.OperationSpec = {
905
870
  bodyMapper: Mappers.CloudError
906
871
  }
907
872
  },
908
- serializer
909
- };
910
-
911
- const syncCredentialsOperationSpec: msRest.OperationSpec = {
912
- httpMethod: "POST",
913
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials",
873
+ requestBody: Parameters.regenerateKeyParameters,
874
+ queryParameters: [Parameters.apiVersion],
914
875
  urlParameters: [
876
+ Parameters.$host,
915
877
  Parameters.subscriptionId,
916
878
  Parameters.resourceGroupName,
917
879
  Parameters.factoryName,
918
880
  Parameters.integrationRuntimeName
919
881
  ],
920
- queryParameters: [
921
- Parameters.apiVersion
922
- ],
923
- headerParameters: [
924
- Parameters.acceptLanguage
925
- ],
882
+ headerParameters: [Parameters.accept, Parameters.contentType],
883
+ mediaType: "json",
884
+ serializer
885
+ };
886
+ const listAuthKeysOperationSpec: coreClient.OperationSpec = {
887
+ path:
888
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys",
889
+ httpMethod: "POST",
926
890
  responses: {
927
- 200: {},
891
+ 200: {
892
+ bodyMapper: Mappers.IntegrationRuntimeAuthKeys
893
+ },
928
894
  default: {
929
895
  bodyMapper: Mappers.CloudError
930
896
  }
931
897
  },
932
- serializer
933
- };
934
-
935
- const getMonitoringDataOperationSpec: msRest.OperationSpec = {
936
- httpMethod: "POST",
937
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData",
898
+ queryParameters: [Parameters.apiVersion],
938
899
  urlParameters: [
900
+ Parameters.$host,
939
901
  Parameters.subscriptionId,
940
902
  Parameters.resourceGroupName,
941
903
  Parameters.factoryName,
942
904
  Parameters.integrationRuntimeName
943
905
  ],
944
- queryParameters: [
945
- Parameters.apiVersion
946
- ],
947
- headerParameters: [
948
- Parameters.acceptLanguage
949
- ],
906
+ headerParameters: [Parameters.accept],
907
+ serializer
908
+ };
909
+ const startOperationSpec: coreClient.OperationSpec = {
910
+ path:
911
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start",
912
+ httpMethod: "POST",
950
913
  responses: {
951
914
  200: {
952
- bodyMapper: Mappers.IntegrationRuntimeMonitoringData
915
+ bodyMapper: Mappers.IntegrationRuntimeStatusResponse
916
+ },
917
+ 201: {
918
+ bodyMapper: Mappers.IntegrationRuntimeStatusResponse
919
+ },
920
+ 202: {
921
+ bodyMapper: Mappers.IntegrationRuntimeStatusResponse
922
+ },
923
+ 204: {
924
+ bodyMapper: Mappers.IntegrationRuntimeStatusResponse
953
925
  },
954
926
  default: {
955
927
  bodyMapper: Mappers.CloudError
956
928
  }
957
929
  },
958
- serializer
959
- };
960
-
961
- const upgradeOperationSpec: msRest.OperationSpec = {
962
- httpMethod: "POST",
963
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade",
930
+ queryParameters: [Parameters.apiVersion],
964
931
  urlParameters: [
932
+ Parameters.$host,
965
933
  Parameters.subscriptionId,
966
934
  Parameters.resourceGroupName,
967
935
  Parameters.factoryName,
968
936
  Parameters.integrationRuntimeName
969
937
  ],
970
- queryParameters: [
971
- Parameters.apiVersion
972
- ],
973
- headerParameters: [
974
- Parameters.acceptLanguage
975
- ],
938
+ headerParameters: [Parameters.accept],
939
+ serializer
940
+ };
941
+ const stopOperationSpec: coreClient.OperationSpec = {
942
+ path:
943
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop",
944
+ httpMethod: "POST",
976
945
  responses: {
977
946
  200: {},
947
+ 201: {},
948
+ 202: {},
949
+ 204: {},
978
950
  default: {
979
951
  bodyMapper: Mappers.CloudError
980
952
  }
981
953
  },
982
- serializer
983
- };
984
-
985
- const removeLinksOperationSpec: msRest.OperationSpec = {
986
- httpMethod: "POST",
987
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks",
954
+ queryParameters: [Parameters.apiVersion],
988
955
  urlParameters: [
956
+ Parameters.$host,
989
957
  Parameters.subscriptionId,
990
958
  Parameters.resourceGroupName,
991
959
  Parameters.factoryName,
992
960
  Parameters.integrationRuntimeName
993
961
  ],
994
- queryParameters: [
995
- Parameters.apiVersion
996
- ],
997
- headerParameters: [
998
- Parameters.acceptLanguage
999
- ],
1000
- requestBody: {
1001
- parameterPath: "linkedIntegrationRuntimeRequest",
1002
- mapper: {
1003
- ...Mappers.LinkedIntegrationRuntimeRequest,
1004
- required: true
1005
- }
1006
- },
962
+ headerParameters: [Parameters.accept],
963
+ serializer
964
+ };
965
+ const syncCredentialsOperationSpec: coreClient.OperationSpec = {
966
+ path:
967
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials",
968
+ httpMethod: "POST",
1007
969
  responses: {
1008
970
  200: {},
1009
971
  default: {
1010
972
  bodyMapper: Mappers.CloudError
1011
973
  }
1012
974
  },
1013
- serializer
1014
- };
1015
-
1016
- const createLinkedIntegrationRuntimeOperationSpec: msRest.OperationSpec = {
1017
- httpMethod: "POST",
1018
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime",
975
+ queryParameters: [Parameters.apiVersion],
1019
976
  urlParameters: [
977
+ Parameters.$host,
1020
978
  Parameters.subscriptionId,
1021
979
  Parameters.resourceGroupName,
1022
980
  Parameters.factoryName,
1023
981
  Parameters.integrationRuntimeName
1024
982
  ],
1025
- queryParameters: [
1026
- Parameters.apiVersion
1027
- ],
1028
- headerParameters: [
1029
- Parameters.acceptLanguage
1030
- ],
1031
- requestBody: {
1032
- parameterPath: "createLinkedIntegrationRuntimeRequest",
1033
- mapper: {
1034
- ...Mappers.CreateLinkedIntegrationRuntimeRequest,
1035
- required: true
1036
- }
1037
- },
983
+ headerParameters: [Parameters.accept],
984
+ serializer
985
+ };
986
+ const getMonitoringDataOperationSpec: coreClient.OperationSpec = {
987
+ path:
988
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData",
989
+ httpMethod: "POST",
1038
990
  responses: {
1039
991
  200: {
1040
- bodyMapper: Mappers.IntegrationRuntimeStatusResponse
992
+ bodyMapper: Mappers.IntegrationRuntimeMonitoringData
1041
993
  },
1042
994
  default: {
1043
995
  bodyMapper: Mappers.CloudError
1044
996
  }
1045
997
  },
1046
- serializer
1047
- };
1048
-
1049
- const beginStartOperationSpec: msRest.OperationSpec = {
1050
- httpMethod: "POST",
1051
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start",
998
+ queryParameters: [Parameters.apiVersion],
1052
999
  urlParameters: [
1000
+ Parameters.$host,
1053
1001
  Parameters.subscriptionId,
1054
1002
  Parameters.resourceGroupName,
1055
1003
  Parameters.factoryName,
1056
1004
  Parameters.integrationRuntimeName
1057
1005
  ],
1058
- queryParameters: [
1059
- Parameters.apiVersion
1060
- ],
1061
- headerParameters: [
1062
- Parameters.acceptLanguage
1063
- ],
1006
+ headerParameters: [Parameters.accept],
1007
+ serializer
1008
+ };
1009
+ const upgradeOperationSpec: coreClient.OperationSpec = {
1010
+ path:
1011
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade",
1012
+ httpMethod: "POST",
1064
1013
  responses: {
1065
- 200: {
1066
- bodyMapper: Mappers.IntegrationRuntimeStatusResponse
1067
- },
1068
- 202: {},
1014
+ 200: {},
1069
1015
  default: {
1070
1016
  bodyMapper: Mappers.CloudError
1071
1017
  }
1072
1018
  },
1019
+ queryParameters: [Parameters.apiVersion],
1020
+ urlParameters: [
1021
+ Parameters.$host,
1022
+ Parameters.subscriptionId,
1023
+ Parameters.resourceGroupName,
1024
+ Parameters.factoryName,
1025
+ Parameters.integrationRuntimeName
1026
+ ],
1027
+ headerParameters: [Parameters.accept],
1073
1028
  serializer
1074
1029
  };
1075
-
1076
- const beginStopOperationSpec: msRest.OperationSpec = {
1030
+ const removeLinksOperationSpec: coreClient.OperationSpec = {
1031
+ path:
1032
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks",
1077
1033
  httpMethod: "POST",
1078
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop",
1034
+ responses: {
1035
+ 200: {},
1036
+ default: {
1037
+ bodyMapper: Mappers.CloudError
1038
+ }
1039
+ },
1040
+ requestBody: Parameters.linkedIntegrationRuntimeRequest,
1041
+ queryParameters: [Parameters.apiVersion],
1079
1042
  urlParameters: [
1043
+ Parameters.$host,
1080
1044
  Parameters.subscriptionId,
1081
1045
  Parameters.resourceGroupName,
1082
1046
  Parameters.factoryName,
1083
1047
  Parameters.integrationRuntimeName
1084
1048
  ],
1085
- queryParameters: [
1086
- Parameters.apiVersion
1087
- ],
1088
- headerParameters: [
1089
- Parameters.acceptLanguage
1090
- ],
1049
+ headerParameters: [Parameters.accept, Parameters.contentType],
1050
+ mediaType: "json",
1051
+ serializer
1052
+ };
1053
+ const createLinkedIntegrationRuntimeOperationSpec: coreClient.OperationSpec = {
1054
+ path:
1055
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime",
1056
+ httpMethod: "POST",
1091
1057
  responses: {
1092
- 200: {},
1093
- 202: {},
1058
+ 200: {
1059
+ bodyMapper: Mappers.IntegrationRuntimeStatusResponse
1060
+ },
1094
1061
  default: {
1095
1062
  bodyMapper: Mappers.CloudError
1096
1063
  }
1097
1064
  },
1065
+ requestBody: Parameters.createLinkedIntegrationRuntimeRequest,
1066
+ queryParameters: [Parameters.apiVersion],
1067
+ urlParameters: [
1068
+ Parameters.$host,
1069
+ Parameters.subscriptionId,
1070
+ Parameters.resourceGroupName,
1071
+ Parameters.factoryName,
1072
+ Parameters.integrationRuntimeName
1073
+ ],
1074
+ headerParameters: [Parameters.accept, Parameters.contentType],
1075
+ mediaType: "json",
1098
1076
  serializer
1099
1077
  };
1100
-
1101
- const listByFactoryNextOperationSpec: msRest.OperationSpec = {
1102
- httpMethod: "GET",
1103
- baseUrl: "https://management.azure.com",
1078
+ const listByFactoryNextOperationSpec: coreClient.OperationSpec = {
1104
1079
  path: "{nextLink}",
1105
- urlParameters: [
1106
- Parameters.nextPageLink
1107
- ],
1108
- queryParameters: [
1109
- Parameters.apiVersion
1110
- ],
1111
- headerParameters: [
1112
- Parameters.acceptLanguage
1113
- ],
1080
+ httpMethod: "GET",
1114
1081
  responses: {
1115
1082
  200: {
1116
1083
  bodyMapper: Mappers.IntegrationRuntimeListResponse
@@ -1119,5 +1086,14 @@ const listByFactoryNextOperationSpec: msRest.OperationSpec = {
1119
1086
  bodyMapper: Mappers.CloudError
1120
1087
  }
1121
1088
  },
1089
+ queryParameters: [Parameters.apiVersion],
1090
+ urlParameters: [
1091
+ Parameters.$host,
1092
+ Parameters.nextLink,
1093
+ Parameters.subscriptionId,
1094
+ Parameters.resourceGroupName,
1095
+ Parameters.factoryName
1096
+ ],
1097
+ headerParameters: [Parameters.accept],
1122
1098
  serializer
1123
1099
  };