@azure/arm-datafactory 19.0.0-alpha.20250619.1 → 19.0.0-alpha.20250718.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/dist/browser/dataFactoryManagementClient.js +36 -5
  2. package/dist/browser/dataFactoryManagementClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +7 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +6377 -2917
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/activityRuns.js +1 -0
  8. package/dist/browser/operations/activityRuns.js.map +1 -1
  9. package/dist/browser/operations/changeDataCapture.js +23 -40
  10. package/dist/browser/operations/changeDataCapture.js.map +1 -1
  11. package/dist/browser/operations/credentialOperations.js +23 -40
  12. package/dist/browser/operations/credentialOperations.js.map +1 -1
  13. package/dist/browser/operations/dataFlowDebugSession.js +45 -52
  14. package/dist/browser/operations/dataFlowDebugSession.js.map +1 -1
  15. package/dist/browser/operations/dataFlows.js +23 -40
  16. package/dist/browser/operations/dataFlows.js.map +1 -1
  17. package/dist/browser/operations/datasets.js +23 -40
  18. package/dist/browser/operations/datasets.js.map +1 -1
  19. package/dist/browser/operations/exposureControl.js +1 -0
  20. package/dist/browser/operations/exposureControl.js.map +1 -1
  21. package/dist/browser/operations/factories.js +45 -79
  22. package/dist/browser/operations/factories.js.map +1 -1
  23. package/dist/browser/operations/globalParameters.js +23 -40
  24. package/dist/browser/operations/globalParameters.js.map +1 -1
  25. package/dist/browser/operations/integrationRuntimeNodes.js +1 -0
  26. package/dist/browser/operations/integrationRuntimeNodes.js.map +1 -1
  27. package/dist/browser/operations/integrationRuntimeObjectMetadata.js +12 -6
  28. package/dist/browser/operations/integrationRuntimeObjectMetadata.js.map +1 -1
  29. package/dist/browser/operations/integrationRuntimes.js +45 -52
  30. package/dist/browser/operations/integrationRuntimes.js.map +1 -1
  31. package/dist/browser/operations/linkedServices.js +23 -40
  32. package/dist/browser/operations/linkedServices.js.map +1 -1
  33. package/dist/browser/operations/managedPrivateEndpoints.js +23 -40
  34. package/dist/browser/operations/managedPrivateEndpoints.js.map +1 -1
  35. package/dist/browser/operations/managedVirtualNetworks.js +23 -40
  36. package/dist/browser/operations/managedVirtualNetworks.js.map +1 -1
  37. package/dist/browser/operations/operations.js +23 -40
  38. package/dist/browser/operations/operations.js.map +1 -1
  39. package/dist/browser/operations/pipelineRuns.js +1 -0
  40. package/dist/browser/operations/pipelineRuns.js.map +1 -1
  41. package/dist/browser/operations/pipelines.js +23 -40
  42. package/dist/browser/operations/pipelines.js.map +1 -1
  43. package/dist/browser/operations/privateEndPointConnections.js +23 -40
  44. package/dist/browser/operations/privateEndPointConnections.js.map +1 -1
  45. package/dist/browser/operations/privateEndpointConnection.js +1 -0
  46. package/dist/browser/operations/privateEndpointConnection.js.map +1 -1
  47. package/dist/browser/operations/privateLinkResources.js +1 -0
  48. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  49. package/dist/browser/operations/triggerRuns.js +1 -0
  50. package/dist/browser/operations/triggerRuns.js.map +1 -1
  51. package/dist/browser/operations/triggers.js +67 -64
  52. package/dist/browser/operations/triggers.js.map +1 -1
  53. package/dist/browser/pagingHelper.js +2 -4
  54. package/dist/browser/pagingHelper.js.map +1 -1
  55. package/dist/commonjs/dataFactoryManagementClient.js +36 -5
  56. package/dist/commonjs/dataFactoryManagementClient.js.map +1 -1
  57. package/dist/commonjs/lroImpl.js +7 -3
  58. package/dist/commonjs/lroImpl.js.map +1 -1
  59. package/dist/commonjs/models/mappers.js +6377 -2917
  60. package/dist/commonjs/models/mappers.js.map +1 -1
  61. package/dist/commonjs/operations/activityRuns.js +1 -0
  62. package/dist/commonjs/operations/activityRuns.js.map +1 -1
  63. package/dist/commonjs/operations/changeDataCapture.js +23 -39
  64. package/dist/commonjs/operations/changeDataCapture.js.map +1 -1
  65. package/dist/commonjs/operations/credentialOperations.js +23 -39
  66. package/dist/commonjs/operations/credentialOperations.js.map +1 -1
  67. package/dist/commonjs/operations/dataFlowDebugSession.js +45 -51
  68. package/dist/commonjs/operations/dataFlowDebugSession.js.map +1 -1
  69. package/dist/commonjs/operations/dataFlows.js +23 -39
  70. package/dist/commonjs/operations/dataFlows.js.map +1 -1
  71. package/dist/commonjs/operations/datasets.js +23 -39
  72. package/dist/commonjs/operations/datasets.js.map +1 -1
  73. package/dist/commonjs/operations/exposureControl.js +1 -0
  74. package/dist/commonjs/operations/exposureControl.js.map +1 -1
  75. package/dist/commonjs/operations/factories.js +45 -78
  76. package/dist/commonjs/operations/factories.js.map +1 -1
  77. package/dist/commonjs/operations/globalParameters.js +23 -39
  78. package/dist/commonjs/operations/globalParameters.js.map +1 -1
  79. package/dist/commonjs/operations/integrationRuntimeNodes.js +1 -0
  80. package/dist/commonjs/operations/integrationRuntimeNodes.js.map +1 -1
  81. package/dist/commonjs/operations/integrationRuntimeObjectMetadata.js +12 -6
  82. package/dist/commonjs/operations/integrationRuntimeObjectMetadata.js.map +1 -1
  83. package/dist/commonjs/operations/integrationRuntimes.js +45 -51
  84. package/dist/commonjs/operations/integrationRuntimes.js.map +1 -1
  85. package/dist/commonjs/operations/linkedServices.js +23 -39
  86. package/dist/commonjs/operations/linkedServices.js.map +1 -1
  87. package/dist/commonjs/operations/managedPrivateEndpoints.js +23 -39
  88. package/dist/commonjs/operations/managedPrivateEndpoints.js.map +1 -1
  89. package/dist/commonjs/operations/managedVirtualNetworks.js +23 -39
  90. package/dist/commonjs/operations/managedVirtualNetworks.js.map +1 -1
  91. package/dist/commonjs/operations/operations.js +23 -39
  92. package/dist/commonjs/operations/operations.js.map +1 -1
  93. package/dist/commonjs/operations/pipelineRuns.js +1 -0
  94. package/dist/commonjs/operations/pipelineRuns.js.map +1 -1
  95. package/dist/commonjs/operations/pipelines.js +23 -39
  96. package/dist/commonjs/operations/pipelines.js.map +1 -1
  97. package/dist/commonjs/operations/privateEndPointConnections.js +23 -39
  98. package/dist/commonjs/operations/privateEndPointConnections.js.map +1 -1
  99. package/dist/commonjs/operations/privateEndpointConnection.js +1 -0
  100. package/dist/commonjs/operations/privateEndpointConnection.js.map +1 -1
  101. package/dist/commonjs/operations/privateLinkResources.js +1 -0
  102. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  103. package/dist/commonjs/operations/triggerRuns.js +1 -0
  104. package/dist/commonjs/operations/triggerRuns.js.map +1 -1
  105. package/dist/commonjs/operations/triggers.js +67 -63
  106. package/dist/commonjs/operations/triggers.js.map +1 -1
  107. package/dist/commonjs/pagingHelper.js +2 -4
  108. package/dist/commonjs/pagingHelper.js.map +1 -1
  109. package/dist/commonjs/tsdoc-metadata.json +11 -11
  110. package/dist/esm/dataFactoryManagementClient.js +36 -5
  111. package/dist/esm/dataFactoryManagementClient.js.map +1 -1
  112. package/dist/esm/lroImpl.js +7 -3
  113. package/dist/esm/lroImpl.js.map +1 -1
  114. package/dist/esm/models/mappers.js +6377 -2917
  115. package/dist/esm/models/mappers.js.map +1 -1
  116. package/dist/esm/operations/activityRuns.js +1 -0
  117. package/dist/esm/operations/activityRuns.js.map +1 -1
  118. package/dist/esm/operations/changeDataCapture.js +23 -40
  119. package/dist/esm/operations/changeDataCapture.js.map +1 -1
  120. package/dist/esm/operations/credentialOperations.js +23 -40
  121. package/dist/esm/operations/credentialOperations.js.map +1 -1
  122. package/dist/esm/operations/dataFlowDebugSession.js +45 -52
  123. package/dist/esm/operations/dataFlowDebugSession.js.map +1 -1
  124. package/dist/esm/operations/dataFlows.js +23 -40
  125. package/dist/esm/operations/dataFlows.js.map +1 -1
  126. package/dist/esm/operations/datasets.js +23 -40
  127. package/dist/esm/operations/datasets.js.map +1 -1
  128. package/dist/esm/operations/exposureControl.js +1 -0
  129. package/dist/esm/operations/exposureControl.js.map +1 -1
  130. package/dist/esm/operations/factories.js +45 -79
  131. package/dist/esm/operations/factories.js.map +1 -1
  132. package/dist/esm/operations/globalParameters.js +23 -40
  133. package/dist/esm/operations/globalParameters.js.map +1 -1
  134. package/dist/esm/operations/integrationRuntimeNodes.js +1 -0
  135. package/dist/esm/operations/integrationRuntimeNodes.js.map +1 -1
  136. package/dist/esm/operations/integrationRuntimeObjectMetadata.js +12 -6
  137. package/dist/esm/operations/integrationRuntimeObjectMetadata.js.map +1 -1
  138. package/dist/esm/operations/integrationRuntimes.js +45 -52
  139. package/dist/esm/operations/integrationRuntimes.js.map +1 -1
  140. package/dist/esm/operations/linkedServices.js +23 -40
  141. package/dist/esm/operations/linkedServices.js.map +1 -1
  142. package/dist/esm/operations/managedPrivateEndpoints.js +23 -40
  143. package/dist/esm/operations/managedPrivateEndpoints.js.map +1 -1
  144. package/dist/esm/operations/managedVirtualNetworks.js +23 -40
  145. package/dist/esm/operations/managedVirtualNetworks.js.map +1 -1
  146. package/dist/esm/operations/operations.js +23 -40
  147. package/dist/esm/operations/operations.js.map +1 -1
  148. package/dist/esm/operations/pipelineRuns.js +1 -0
  149. package/dist/esm/operations/pipelineRuns.js.map +1 -1
  150. package/dist/esm/operations/pipelines.js +23 -40
  151. package/dist/esm/operations/pipelines.js.map +1 -1
  152. package/dist/esm/operations/privateEndPointConnections.js +23 -40
  153. package/dist/esm/operations/privateEndPointConnections.js.map +1 -1
  154. package/dist/esm/operations/privateEndpointConnection.js +1 -0
  155. package/dist/esm/operations/privateEndpointConnection.js.map +1 -1
  156. package/dist/esm/operations/privateLinkResources.js +1 -0
  157. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  158. package/dist/esm/operations/triggerRuns.js +1 -0
  159. package/dist/esm/operations/triggerRuns.js.map +1 -1
  160. package/dist/esm/operations/triggers.js +67 -64
  161. package/dist/esm/operations/triggers.js.map +1 -1
  162. package/dist/esm/pagingHelper.js +2 -4
  163. package/dist/esm/pagingHelper.js.map +1 -1
  164. package/dist/react-native/dataFactoryManagementClient.js +36 -5
  165. package/dist/react-native/dataFactoryManagementClient.js.map +1 -1
  166. package/dist/react-native/lroImpl.js +7 -3
  167. package/dist/react-native/lroImpl.js.map +1 -1
  168. package/dist/react-native/models/mappers.js +6377 -2917
  169. package/dist/react-native/models/mappers.js.map +1 -1
  170. package/dist/react-native/operations/activityRuns.js +1 -0
  171. package/dist/react-native/operations/activityRuns.js.map +1 -1
  172. package/dist/react-native/operations/changeDataCapture.js +23 -40
  173. package/dist/react-native/operations/changeDataCapture.js.map +1 -1
  174. package/dist/react-native/operations/credentialOperations.js +23 -40
  175. package/dist/react-native/operations/credentialOperations.js.map +1 -1
  176. package/dist/react-native/operations/dataFlowDebugSession.js +45 -52
  177. package/dist/react-native/operations/dataFlowDebugSession.js.map +1 -1
  178. package/dist/react-native/operations/dataFlows.js +23 -40
  179. package/dist/react-native/operations/dataFlows.js.map +1 -1
  180. package/dist/react-native/operations/datasets.js +23 -40
  181. package/dist/react-native/operations/datasets.js.map +1 -1
  182. package/dist/react-native/operations/exposureControl.js +1 -0
  183. package/dist/react-native/operations/exposureControl.js.map +1 -1
  184. package/dist/react-native/operations/factories.js +45 -79
  185. package/dist/react-native/operations/factories.js.map +1 -1
  186. package/dist/react-native/operations/globalParameters.js +23 -40
  187. package/dist/react-native/operations/globalParameters.js.map +1 -1
  188. package/dist/react-native/operations/integrationRuntimeNodes.js +1 -0
  189. package/dist/react-native/operations/integrationRuntimeNodes.js.map +1 -1
  190. package/dist/react-native/operations/integrationRuntimeObjectMetadata.js +12 -6
  191. package/dist/react-native/operations/integrationRuntimeObjectMetadata.js.map +1 -1
  192. package/dist/react-native/operations/integrationRuntimes.js +45 -52
  193. package/dist/react-native/operations/integrationRuntimes.js.map +1 -1
  194. package/dist/react-native/operations/linkedServices.js +23 -40
  195. package/dist/react-native/operations/linkedServices.js.map +1 -1
  196. package/dist/react-native/operations/managedPrivateEndpoints.js +23 -40
  197. package/dist/react-native/operations/managedPrivateEndpoints.js.map +1 -1
  198. package/dist/react-native/operations/managedVirtualNetworks.js +23 -40
  199. package/dist/react-native/operations/managedVirtualNetworks.js.map +1 -1
  200. package/dist/react-native/operations/operations.js +23 -40
  201. package/dist/react-native/operations/operations.js.map +1 -1
  202. package/dist/react-native/operations/pipelineRuns.js +1 -0
  203. package/dist/react-native/operations/pipelineRuns.js.map +1 -1
  204. package/dist/react-native/operations/pipelines.js +23 -40
  205. package/dist/react-native/operations/pipelines.js.map +1 -1
  206. package/dist/react-native/operations/privateEndPointConnections.js +23 -40
  207. package/dist/react-native/operations/privateEndPointConnections.js.map +1 -1
  208. package/dist/react-native/operations/privateEndpointConnection.js +1 -0
  209. package/dist/react-native/operations/privateEndpointConnection.js.map +1 -1
  210. package/dist/react-native/operations/privateLinkResources.js +1 -0
  211. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  212. package/dist/react-native/operations/triggerRuns.js +1 -0
  213. package/dist/react-native/operations/triggerRuns.js.map +1 -1
  214. package/dist/react-native/operations/triggers.js +67 -64
  215. package/dist/react-native/operations/triggers.js.map +1 -1
  216. package/dist/react-native/pagingHelper.js +2 -4
  217. package/dist/react-native/pagingHelper.js.map +1 -1
  218. package/package.json +2 -2
  219. /package/review/{arm-datafactory.api.md → arm-datafactory-node.api.md} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"integrationRuntimeObjectMetadata.js","sourceRoot":"","sources":["../../../src/operations/integrationRuntimeObjectMetadata.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAQ9C,oEAAoE;AACpE,MAAa,oCAAoC;IAK/C;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,YAAY,CAChB,iBAAyB,EACzB,WAAmB,EACnB,sBAA8B,EAC9B,OAA+D;QAO/D,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EAC4B,EAAE;YAC5D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,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CAAC,WAAW;QACtB,UAAU,CAAC,sBAAsB;KAClC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,2LAA2L;IACjM,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,kBAAkB;IAC1C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,sBAAsB;KAClC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { IntegrationRuntimeObjectMetadata } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataFactoryManagementClient } from \"../dataFactoryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n IntegrationRuntimeObjectMetadataRefreshResponse,\n IntegrationRuntimeObjectMetadataGetOptionalParams,\n IntegrationRuntimeObjectMetadataGetResponse,\n} from \"../models/index.js\";\n\n/** Class containing IntegrationRuntimeObjectMetadata operations. */\nexport class IntegrationRuntimeObjectMetadataImpl\n implements IntegrationRuntimeObjectMetadata\n{\n private readonly client: DataFactoryManagementClient;\n\n /**\n * Initialize a new instance of the class IntegrationRuntimeObjectMetadata class.\n * @param client Reference to the service client\n */\n constructor(client: DataFactoryManagementClient) {\n this.client = client;\n }\n\n /**\n * Refresh a SSIS integration runtime object metadata.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginRefresh(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<IntegrationRuntimeObjectMetadataRefreshResponse>,\n IntegrationRuntimeObjectMetadataRefreshResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<IntegrationRuntimeObjectMetadataRefreshResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: refreshOperationSpec,\n });\n const poller = await createHttpPoller<\n IntegrationRuntimeObjectMetadataRefreshResponse,\n OperationState<IntegrationRuntimeObjectMetadataRefreshResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Refresh a SSIS integration runtime object metadata.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginRefreshAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n ): Promise<IntegrationRuntimeObjectMetadataRefreshResponse> {\n const poller = await this.beginRefresh(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a SSIS integration runtime object metadata by specified path. The return is pageable metadata\n * list.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataGetOptionalParams,\n ): Promise<IntegrationRuntimeObjectMetadataGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst refreshOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 201: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 202: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 204: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SsisObjectMetadataListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.getMetadataRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
1
+ {"version":3,"file":"integrationRuntimeObjectMetadata.js","sourceRoot":"","sources":["../../../src/operations/integrationRuntimeObjectMetadata.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAQ9C,oEAAoE;AACpE,MAAa,oCAAoC;IAG9B,MAAM,CAA8B;IAErD;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,YAAY,CAChB,iBAAyB,EACzB,WAAmB,EACnB,sBAA8B,EAC9B,OAA+D;QAO/D,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EAC4B,EAAE;YAC5D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,E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C,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,2LAA2L;IACjM,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,kBAAkB;IAC1C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,sBAAsB;KAClC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { IntegrationRuntimeObjectMetadata } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataFactoryManagementClient } from \"../dataFactoryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n IntegrationRuntimeObjectMetadataRefreshResponse,\n IntegrationRuntimeObjectMetadataGetOptionalParams,\n IntegrationRuntimeObjectMetadataGetResponse,\n} from \"../models/index.js\";\n\n/** Class containing IntegrationRuntimeObjectMetadata operations. */\nexport class IntegrationRuntimeObjectMetadataImpl\n implements IntegrationRuntimeObjectMetadata\n{\n private readonly client: DataFactoryManagementClient;\n\n /**\n * Initialize a new instance of the class IntegrationRuntimeObjectMetadata class.\n * @param client Reference to the service client\n */\n constructor(client: DataFactoryManagementClient) {\n this.client = client;\n }\n\n /**\n * Refresh a SSIS integration runtime object metadata.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginRefresh(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<IntegrationRuntimeObjectMetadataRefreshResponse>,\n IntegrationRuntimeObjectMetadataRefreshResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<IntegrationRuntimeObjectMetadataRefreshResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: refreshOperationSpec,\n });\n const poller = await createHttpPoller<\n IntegrationRuntimeObjectMetadataRefreshResponse,\n OperationState<IntegrationRuntimeObjectMetadataRefreshResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Refresh a SSIS integration runtime object metadata.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginRefreshAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n ): Promise<IntegrationRuntimeObjectMetadataRefreshResponse> {\n const poller = await this.beginRefresh(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a SSIS integration runtime object metadata by specified path. The return is pageable metadata\n * list.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataGetOptionalParams,\n ): Promise<IntegrationRuntimeObjectMetadataGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst refreshOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 201: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 202: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 204: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SsisObjectMetadataListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.getMetadataRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
18
18
  /// <reference lib="esnext.asynciterable" />
19
19
  /** Class containing IntegrationRuntimes operations. */
20
20
  class IntegrationRuntimesImpl {
21
+ client;
21
22
  /**
22
23
  * Initialize a new instance of the class IntegrationRuntimes class.
23
24
  * @param client Reference to the service client
@@ -41,52 +42,35 @@ class IntegrationRuntimesImpl {
41
42
  return this;
42
43
  },
43
44
  byPage: (settings) => {
44
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
45
+ if (settings?.maxPageSize) {
45
46
  throw new Error("maxPageSize is not supported by this operation.");
46
47
  }
47
48
  return this.listByFactoryPagingPage(resourceGroupName, factoryName, options, settings);
48
49
  },
49
50
  };
50
51
  }
51
- listByFactoryPagingPage(resourceGroupName, factoryName, options, settings) {
52
- return tslib_1.__asyncGenerator(this, arguments, function* listByFactoryPagingPage_1() {
53
- let result;
54
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
55
- if (!continuationToken) {
56
- result = yield tslib_1.__await(this._listByFactory(resourceGroupName, factoryName, options));
57
- let page = result.value || [];
58
- continuationToken = result.nextLink;
59
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
- yield yield tslib_1.__await(page);
61
- }
62
- while (continuationToken) {
63
- result = yield tslib_1.__await(this._listByFactoryNext(resourceGroupName, factoryName, continuationToken, options));
64
- continuationToken = result.nextLink;
65
- let page = result.value || [];
66
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
67
- yield yield tslib_1.__await(page);
68
- }
69
- });
52
+ async *listByFactoryPagingPage(resourceGroupName, factoryName, options, settings) {
53
+ let result;
54
+ let continuationToken = settings?.continuationToken;
55
+ if (!continuationToken) {
56
+ result = await this._listByFactory(resourceGroupName, factoryName, options);
57
+ let page = result.value || [];
58
+ continuationToken = result.nextLink;
59
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
+ yield page;
61
+ }
62
+ while (continuationToken) {
63
+ result = await this._listByFactoryNext(resourceGroupName, factoryName, continuationToken, options);
64
+ continuationToken = result.nextLink;
65
+ let page = result.value || [];
66
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
67
+ yield page;
68
+ }
70
69
  }
71
- listByFactoryPagingAll(resourceGroupName, factoryName, options) {
72
- return tslib_1.__asyncGenerator(this, arguments, function* listByFactoryPagingAll_1() {
73
- var _a, e_1, _b, _c;
74
- try {
75
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByFactoryPagingPage(resourceGroupName, factoryName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
76
- _c = _f.value;
77
- _d = false;
78
- const page = _c;
79
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
80
- }
81
- }
82
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
83
- finally {
84
- try {
85
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
86
- }
87
- finally { if (e_1) throw e_1.error; }
88
- }
89
- });
70
+ async *listByFactoryPagingAll(resourceGroupName, factoryName, options) {
71
+ for await (const page of this.listByFactoryPagingPage(resourceGroupName, factoryName, options)) {
72
+ yield* page;
73
+ }
90
74
  }
91
75
  /**
92
76
  * Lists integration runtimes.
@@ -222,14 +206,19 @@ class IntegrationRuntimesImpl {
222
206
  return this.client.sendOperationRequest(args, spec);
223
207
  };
224
208
  const sendOperationFn = async (args, spec) => {
225
- var _a;
226
209
  let currentRawResponse = undefined;
227
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
210
+ const providedCallback = args.options?.onResponse;
228
211
  const callback = (rawResponse, flatResponse) => {
229
212
  currentRawResponse = rawResponse;
230
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
213
+ providedCallback?.(rawResponse, flatResponse);
214
+ };
215
+ const updatedArgs = {
216
+ ...args,
217
+ options: {
218
+ ...args.options,
219
+ onResponse: callback,
220
+ },
231
221
  };
232
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
233
222
  const flatResponse = await directSendOperation(updatedArgs, spec);
234
223
  return {
235
224
  flatResponse,
@@ -246,8 +235,8 @@ class IntegrationRuntimesImpl {
246
235
  spec: startOperationSpec,
247
236
  });
248
237
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
249
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
250
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
238
+ restoreFrom: options?.resumeFrom,
239
+ intervalInMs: options?.updateIntervalInMs,
251
240
  });
252
241
  await poller.poll();
253
242
  return poller;
@@ -275,14 +264,19 @@ class IntegrationRuntimesImpl {
275
264
  return this.client.sendOperationRequest(args, spec);
276
265
  };
277
266
  const sendOperationFn = async (args, spec) => {
278
- var _a;
279
267
  let currentRawResponse = undefined;
280
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
268
+ const providedCallback = args.options?.onResponse;
281
269
  const callback = (rawResponse, flatResponse) => {
282
270
  currentRawResponse = rawResponse;
283
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
271
+ providedCallback?.(rawResponse, flatResponse);
272
+ };
273
+ const updatedArgs = {
274
+ ...args,
275
+ options: {
276
+ ...args.options,
277
+ onResponse: callback,
278
+ },
284
279
  };
285
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
286
280
  const flatResponse = await directSendOperation(updatedArgs, spec);
287
281
  return {
288
282
  flatResponse,
@@ -299,8 +293,8 @@ class IntegrationRuntimesImpl {
299
293
  spec: stopOperationSpec,
300
294
  });
301
295
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
302
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
303
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
296
+ restoreFrom: options?.resumeFrom,
297
+ intervalInMs: options?.updateIntervalInMs,
304
298
  });
305
299
  await poller.poll();
306
300
  return poller;
@@ -1 +1 @@
1
- {"version":3,"file":"integrationRuntimes.js","sourceRoot":"","sources":["../../../src/operations/integrationRuntimes.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAwC9C,4CAA4C;AAC5C,uDAAuD;AACvD,MAAa,uBAAuB;IAGlC;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAAwD;QAExD,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CA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IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { IntegrationRuntimes } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataFactoryManagementClient } from \"../dataFactoryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n IntegrationRuntimeResource,\n IntegrationRuntimesListByFactoryNextOptionalParams,\n IntegrationRuntimesListByFactoryOptionalParams,\n IntegrationRuntimesListByFactoryResponse,\n IntegrationRuntimesCreateOrUpdateOptionalParams,\n IntegrationRuntimesCreateOrUpdateResponse,\n IntegrationRuntimesGetOptionalParams,\n IntegrationRuntimesGetResponse,\n UpdateIntegrationRuntimeRequest,\n IntegrationRuntimesUpdateOptionalParams,\n IntegrationRuntimesUpdateResponse,\n IntegrationRuntimesDeleteOptionalParams,\n IntegrationRuntimesGetStatusOptionalParams,\n IntegrationRuntimesGetStatusResponse,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse,\n IntegrationRuntimesGetConnectionInfoOptionalParams,\n IntegrationRuntimesGetConnectionInfoResponse,\n IntegrationRuntimeRegenerateKeyParameters,\n IntegrationRuntimesRegenerateAuthKeyOptionalParams,\n IntegrationRuntimesRegenerateAuthKeyResponse,\n IntegrationRuntimesListAuthKeysOptionalParams,\n IntegrationRuntimesListAuthKeysResponse,\n IntegrationRuntimesStartOptionalParams,\n IntegrationRuntimesStartResponse,\n IntegrationRuntimesStopOptionalParams,\n IntegrationRuntimesSyncCredentialsOptionalParams,\n IntegrationRuntimesGetMonitoringDataOptionalParams,\n IntegrationRuntimesGetMonitoringDataResponse,\n IntegrationRuntimesUpgradeOptionalParams,\n LinkedIntegrationRuntimeRequest,\n IntegrationRuntimesRemoveLinksOptionalParams,\n CreateLinkedIntegrationRuntimeRequest,\n IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams,\n IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse,\n IntegrationRuntimesListByFactoryNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing IntegrationRuntimes operations. */\nexport class IntegrationRuntimesImpl implements IntegrationRuntimes {\n private readonly client: DataFactoryManagementClient;\n\n /**\n * Initialize a new instance of the class IntegrationRuntimes class.\n * @param client Reference to the service client\n */\n constructor(client: DataFactoryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists integration runtimes.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param options The options parameters.\n */\n public listByFactory(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): PagedAsyncIterableIterator<IntegrationRuntimeResource> {\n const iter = this.listByFactoryPagingAll(\n resourceGroupName,\n factoryName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByFactoryPagingPage(\n resourceGroupName,\n factoryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByFactoryPagingPage(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<IntegrationRuntimeResource[]> {\n let result: IntegrationRuntimesListByFactoryResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByFactory(\n resourceGroupName,\n factoryName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByFactoryNext(\n resourceGroupName,\n factoryName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByFactoryPagingAll(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): AsyncIterableIterator<IntegrationRuntimeResource> {\n for await (const page of this.listByFactoryPagingPage(\n resourceGroupName,\n factoryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists integration runtimes.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param options The options parameters.\n */\n private _listByFactory(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): Promise<IntegrationRuntimesListByFactoryResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, options },\n listByFactoryOperationSpec,\n );\n }\n\n /**\n * Creates or updates an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param integrationRuntime Integration runtime resource definition.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n integrationRuntime: IntegrationRuntimeResource,\n options?: IntegrationRuntimesCreateOrUpdateOptionalParams,\n ): Promise<IntegrationRuntimesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n integrationRuntime,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Gets an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetOptionalParams,\n ): Promise<IntegrationRuntimesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n updateIntegrationRuntimeRequest: UpdateIntegrationRuntimeRequest,\n options?: IntegrationRuntimesUpdateOptionalParams,\n ): Promise<IntegrationRuntimesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n updateIntegrationRuntimeRequest,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets detailed status information for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getStatus(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetStatusOptionalParams,\n ): Promise<IntegrationRuntimesGetStatusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getStatusOperationSpec,\n );\n }\n\n /**\n * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n listOutboundNetworkDependenciesEndpoints(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,\n ): Promise<IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n listOutboundNetworkDependenciesEndpointsOperationSpec,\n );\n }\n\n /**\n * Gets the on-premises integration runtime connection information for encrypting the on-premises data\n * source credentials.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getConnectionInfo(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetConnectionInfoOptionalParams,\n ): Promise<IntegrationRuntimesGetConnectionInfoResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getConnectionInfoOperationSpec,\n );\n }\n\n /**\n * Regenerates the authentication key for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param regenerateKeyParameters The parameters for regenerating integration runtime authentication\n * key.\n * @param options The options parameters.\n */\n regenerateAuthKey(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n regenerateKeyParameters: IntegrationRuntimeRegenerateKeyParameters,\n options?: IntegrationRuntimesRegenerateAuthKeyOptionalParams,\n ): Promise<IntegrationRuntimesRegenerateAuthKeyResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n regenerateKeyParameters,\n options,\n },\n regenerateAuthKeyOperationSpec,\n );\n }\n\n /**\n * Retrieves the authentication keys for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n listAuthKeys(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesListAuthKeysOptionalParams,\n ): Promise<IntegrationRuntimesListAuthKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n listAuthKeysOperationSpec,\n );\n }\n\n /**\n * Starts a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<IntegrationRuntimesStartResponse>,\n IntegrationRuntimesStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<IntegrationRuntimesStartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: startOperationSpec,\n });\n const poller = await createHttpPoller<\n IntegrationRuntimesStartResponse,\n OperationState<IntegrationRuntimesStartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Starts a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams,\n ): Promise<IntegrationRuntimesStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Stops a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStop(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: stopOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Stops a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStopAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams,\n ): Promise<void> {\n const poller = await this.beginStop(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Force the integration runtime to synchronize credentials across integration runtime nodes, and this\n * will override the credentials across all worker nodes with those available on the dispatcher node.\n * If you already have the latest credential backup file, you should manually import it (preferred) on\n * any self-hosted integration runtime node than using this API directly.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n syncCredentials(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesSyncCredentialsOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n syncCredentialsOperationSpec,\n );\n }\n\n /**\n * Get the integration runtime monitoring data, which includes the monitor data for all the nodes under\n * this integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getMonitoringData(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetMonitoringDataOptionalParams,\n ): Promise<IntegrationRuntimesGetMonitoringDataResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getMonitoringDataOperationSpec,\n );\n }\n\n /**\n * Upgrade self-hosted integration runtime to latest version if availability.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n upgrade(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesUpgradeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n upgradeOperationSpec,\n );\n }\n\n /**\n * Remove all linked integration runtimes under specific data factory in a self-hosted integration\n * runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime.\n * @param options The options parameters.\n */\n removeLinks(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n linkedIntegrationRuntimeRequest: LinkedIntegrationRuntimeRequest,\n options?: IntegrationRuntimesRemoveLinksOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n linkedIntegrationRuntimeRequest,\n options,\n },\n removeLinksOperationSpec,\n );\n }\n\n /**\n * Create a linked integration runtime entry in a shared integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties.\n * @param options The options parameters.\n */\n createLinkedIntegrationRuntime(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n createLinkedIntegrationRuntimeRequest: CreateLinkedIntegrationRuntimeRequest,\n options?: IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams,\n ): Promise<IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n createLinkedIntegrationRuntimeRequest,\n options,\n },\n createLinkedIntegrationRuntimeOperationSpec,\n );\n }\n\n /**\n * ListByFactoryNext\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param nextLink The nextLink from the previous successful call to the ListByFactory method.\n * @param options The options parameters.\n */\n private _listByFactoryNext(\n resourceGroupName: string,\n factoryName: string,\n nextLink: string,\n options?: IntegrationRuntimesListByFactoryNextOptionalParams,\n ): Promise<IntegrationRuntimesListByFactoryNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, nextLink, options },\n listByFactoryNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByFactoryOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.integrationRuntime,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n 304: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.ifNoneMatch],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.updateIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec =\n {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper:\n Mappers.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n };\nconst getConnectionInfoOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeConnectionInfo,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regenerateAuthKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeAuthKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.regenerateKeyParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listAuthKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeAuthKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 201: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 202: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 204: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst syncCredentialsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getMonitoringDataOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeMonitoringData,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst upgradeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst removeLinksOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.linkedIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst createLinkedIntegrationRuntimeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.createLinkedIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByFactoryNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"integrationRuntimes.js","sourceRoot":"","sources":["../../../src/operations/integrationRuntimes.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAwC9C,4CAA4C;AAC5C,uDAAuD;AACvD,MAAa,uBAAuB;IACjB,MAAM,CAA8B;IAErD;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAAwD;QAExD,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,WAAW,EACX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AC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,sBAAsB;KAClC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { IntegrationRuntimes } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataFactoryManagementClient } from \"../dataFactoryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n IntegrationRuntimeResource,\n IntegrationRuntimesListByFactoryNextOptionalParams,\n IntegrationRuntimesListByFactoryOptionalParams,\n IntegrationRuntimesListByFactoryResponse,\n IntegrationRuntimesCreateOrUpdateOptionalParams,\n IntegrationRuntimesCreateOrUpdateResponse,\n IntegrationRuntimesGetOptionalParams,\n IntegrationRuntimesGetResponse,\n UpdateIntegrationRuntimeRequest,\n IntegrationRuntimesUpdateOptionalParams,\n IntegrationRuntimesUpdateResponse,\n IntegrationRuntimesDeleteOptionalParams,\n IntegrationRuntimesGetStatusOptionalParams,\n IntegrationRuntimesGetStatusResponse,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse,\n IntegrationRuntimesGetConnectionInfoOptionalParams,\n IntegrationRuntimesGetConnectionInfoResponse,\n IntegrationRuntimeRegenerateKeyParameters,\n IntegrationRuntimesRegenerateAuthKeyOptionalParams,\n IntegrationRuntimesRegenerateAuthKeyResponse,\n IntegrationRuntimesListAuthKeysOptionalParams,\n IntegrationRuntimesListAuthKeysResponse,\n IntegrationRuntimesStartOptionalParams,\n IntegrationRuntimesStartResponse,\n IntegrationRuntimesStopOptionalParams,\n IntegrationRuntimesSyncCredentialsOptionalParams,\n IntegrationRuntimesGetMonitoringDataOptionalParams,\n IntegrationRuntimesGetMonitoringDataResponse,\n IntegrationRuntimesUpgradeOptionalParams,\n LinkedIntegrationRuntimeRequest,\n IntegrationRuntimesRemoveLinksOptionalParams,\n CreateLinkedIntegrationRuntimeRequest,\n IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams,\n IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse,\n IntegrationRuntimesListByFactoryNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing IntegrationRuntimes operations. */\nexport class IntegrationRuntimesImpl implements IntegrationRuntimes {\n private readonly client: DataFactoryManagementClient;\n\n /**\n * Initialize a new instance of the class IntegrationRuntimes class.\n * @param client Reference to the service client\n */\n constructor(client: DataFactoryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists integration runtimes.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param options The options parameters.\n */\n public listByFactory(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): PagedAsyncIterableIterator<IntegrationRuntimeResource> {\n const iter = this.listByFactoryPagingAll(\n resourceGroupName,\n factoryName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByFactoryPagingPage(\n resourceGroupName,\n factoryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByFactoryPagingPage(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<IntegrationRuntimeResource[]> {\n let result: IntegrationRuntimesListByFactoryResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByFactory(\n resourceGroupName,\n factoryName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByFactoryNext(\n resourceGroupName,\n factoryName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByFactoryPagingAll(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): AsyncIterableIterator<IntegrationRuntimeResource> {\n for await (const page of this.listByFactoryPagingPage(\n resourceGroupName,\n factoryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists integration runtimes.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param options The options parameters.\n */\n private _listByFactory(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): Promise<IntegrationRuntimesListByFactoryResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, options },\n listByFactoryOperationSpec,\n );\n }\n\n /**\n * Creates or updates an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param integrationRuntime Integration runtime resource definition.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n integrationRuntime: IntegrationRuntimeResource,\n options?: IntegrationRuntimesCreateOrUpdateOptionalParams,\n ): Promise<IntegrationRuntimesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n integrationRuntime,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Gets an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetOptionalParams,\n ): Promise<IntegrationRuntimesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n updateIntegrationRuntimeRequest: UpdateIntegrationRuntimeRequest,\n options?: IntegrationRuntimesUpdateOptionalParams,\n ): Promise<IntegrationRuntimesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n updateIntegrationRuntimeRequest,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets detailed status information for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getStatus(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetStatusOptionalParams,\n ): Promise<IntegrationRuntimesGetStatusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getStatusOperationSpec,\n );\n }\n\n /**\n * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n listOutboundNetworkDependenciesEndpoints(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,\n ): Promise<IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n listOutboundNetworkDependenciesEndpointsOperationSpec,\n );\n }\n\n /**\n * Gets the on-premises integration runtime connection information for encrypting the on-premises data\n * source credentials.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getConnectionInfo(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetConnectionInfoOptionalParams,\n ): Promise<IntegrationRuntimesGetConnectionInfoResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getConnectionInfoOperationSpec,\n );\n }\n\n /**\n * Regenerates the authentication key for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param regenerateKeyParameters The parameters for regenerating integration runtime authentication\n * key.\n * @param options The options parameters.\n */\n regenerateAuthKey(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n regenerateKeyParameters: IntegrationRuntimeRegenerateKeyParameters,\n options?: IntegrationRuntimesRegenerateAuthKeyOptionalParams,\n ): Promise<IntegrationRuntimesRegenerateAuthKeyResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n regenerateKeyParameters,\n options,\n },\n regenerateAuthKeyOperationSpec,\n );\n }\n\n /**\n * Retrieves the authentication keys for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n listAuthKeys(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesListAuthKeysOptionalParams,\n ): Promise<IntegrationRuntimesListAuthKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n listAuthKeysOperationSpec,\n );\n }\n\n /**\n * Starts a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<IntegrationRuntimesStartResponse>,\n IntegrationRuntimesStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<IntegrationRuntimesStartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: startOperationSpec,\n });\n const poller = await createHttpPoller<\n IntegrationRuntimesStartResponse,\n OperationState<IntegrationRuntimesStartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Starts a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams,\n ): Promise<IntegrationRuntimesStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Stops a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStop(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: stopOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Stops a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStopAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams,\n ): Promise<void> {\n const poller = await this.beginStop(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Force the integration runtime to synchronize credentials across integration runtime nodes, and this\n * will override the credentials across all worker nodes with those available on the dispatcher node.\n * If you already have the latest credential backup file, you should manually import it (preferred) on\n * any self-hosted integration runtime node than using this API directly.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n syncCredentials(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesSyncCredentialsOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n syncCredentialsOperationSpec,\n );\n }\n\n /**\n * Get the integration runtime monitoring data, which includes the monitor data for all the nodes under\n * this integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getMonitoringData(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetMonitoringDataOptionalParams,\n ): Promise<IntegrationRuntimesGetMonitoringDataResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getMonitoringDataOperationSpec,\n );\n }\n\n /**\n * Upgrade self-hosted integration runtime to latest version if availability.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n upgrade(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesUpgradeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n upgradeOperationSpec,\n );\n }\n\n /**\n * Remove all linked integration runtimes under specific data factory in a self-hosted integration\n * runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime.\n * @param options The options parameters.\n */\n removeLinks(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n linkedIntegrationRuntimeRequest: LinkedIntegrationRuntimeRequest,\n options?: IntegrationRuntimesRemoveLinksOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n linkedIntegrationRuntimeRequest,\n options,\n },\n removeLinksOperationSpec,\n );\n }\n\n /**\n * Create a linked integration runtime entry in a shared integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties.\n * @param options The options parameters.\n */\n createLinkedIntegrationRuntime(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n createLinkedIntegrationRuntimeRequest: CreateLinkedIntegrationRuntimeRequest,\n options?: IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams,\n ): Promise<IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n createLinkedIntegrationRuntimeRequest,\n options,\n },\n createLinkedIntegrationRuntimeOperationSpec,\n );\n }\n\n /**\n * ListByFactoryNext\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param nextLink The nextLink from the previous successful call to the ListByFactory method.\n * @param options The options parameters.\n */\n private _listByFactoryNext(\n resourceGroupName: string,\n factoryName: string,\n nextLink: string,\n options?: IntegrationRuntimesListByFactoryNextOptionalParams,\n ): Promise<IntegrationRuntimesListByFactoryNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, nextLink, options },\n listByFactoryNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByFactoryOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.integrationRuntime,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n 304: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.ifNoneMatch],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.updateIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec =\n {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper:\n Mappers.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n };\nconst getConnectionInfoOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeConnectionInfo,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regenerateAuthKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeAuthKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.regenerateKeyParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listAuthKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeAuthKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 201: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 202: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 204: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst syncCredentialsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getMonitoringDataOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeMonitoringData,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst upgradeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst removeLinksOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.linkedIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst createLinkedIntegrationRuntimeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.createLinkedIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByFactoryNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
16
  /// <reference lib="esnext.asynciterable" />
17
17
  /** Class containing LinkedServices operations. */
18
18
  class LinkedServicesImpl {
19
+ client;
19
20
  /**
20
21
  * Initialize a new instance of the class LinkedServices class.
21
22
  * @param client Reference to the service client
@@ -39,52 +40,35 @@ class LinkedServicesImpl {
39
40
  return this;
40
41
  },
41
42
  byPage: (settings) => {
42
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
+ if (settings?.maxPageSize) {
43
44
  throw new Error("maxPageSize is not supported by this operation.");
44
45
  }
45
46
  return this.listByFactoryPagingPage(resourceGroupName, factoryName, options, settings);
46
47
  },
47
48
  };
48
49
  }
49
- listByFactoryPagingPage(resourceGroupName, factoryName, options, settings) {
50
- return tslib_1.__asyncGenerator(this, arguments, function* listByFactoryPagingPage_1() {
51
- let result;
52
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
- if (!continuationToken) {
54
- result = yield tslib_1.__await(this._listByFactory(resourceGroupName, factoryName, options));
55
- let page = result.value || [];
56
- continuationToken = result.nextLink;
57
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
- yield yield tslib_1.__await(page);
59
- }
60
- while (continuationToken) {
61
- result = yield tslib_1.__await(this._listByFactoryNext(resourceGroupName, factoryName, continuationToken, options));
62
- continuationToken = result.nextLink;
63
- let page = result.value || [];
64
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
- yield yield tslib_1.__await(page);
66
- }
67
- });
50
+ async *listByFactoryPagingPage(resourceGroupName, factoryName, options, settings) {
51
+ let result;
52
+ let continuationToken = settings?.continuationToken;
53
+ if (!continuationToken) {
54
+ result = await this._listByFactory(resourceGroupName, factoryName, options);
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
+ yield page;
59
+ }
60
+ while (continuationToken) {
61
+ result = await this._listByFactoryNext(resourceGroupName, factoryName, continuationToken, options);
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
+ yield page;
66
+ }
68
67
  }
69
- listByFactoryPagingAll(resourceGroupName, factoryName, options) {
70
- return tslib_1.__asyncGenerator(this, arguments, function* listByFactoryPagingAll_1() {
71
- var _a, e_1, _b, _c;
72
- try {
73
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByFactoryPagingPage(resourceGroupName, factoryName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
74
- _c = _f.value;
75
- _d = false;
76
- const page = _c;
77
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
78
- }
79
- }
80
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
- finally {
82
- try {
83
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
84
- }
85
- finally { if (e_1) throw e_1.error; }
86
- }
87
- });
68
+ async *listByFactoryPagingAll(resourceGroupName, factoryName, options) {
69
+ for await (const page of this.listByFactoryPagingPage(resourceGroupName, factoryName, options)) {
70
+ yield* page;
71
+ }
88
72
  }
89
73
  /**
90
74
  * Lists linked services.