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