@azure/synapse-artifacts 1.0.0-beta.15 → 1.0.0-beta.17
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/LICENSE +4 -4
- package/README.md +9 -13
- package/dist/browser/artifactsClient.d.ts +40 -0
- package/dist/browser/artifactsClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/artifactsClient.js +37 -9
- package/dist/browser/artifactsClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.d.ts +11 -0
- package/dist/browser/lroImpl.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -0
- package/{types/synapse-artifacts.d.ts → dist/browser/models/index.d.ts} +13692 -15069
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +124 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.d.ts +1310 -0
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +10306 -5084
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/parameters.d.ts +70 -0
- package/dist/browser/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/bigDataPools.d.ts +24 -0
- package/dist/browser/operations/bigDataPools.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/bigDataPools.js +6 -5
- package/dist/browser/operations/bigDataPools.js.map +1 -0
- package/dist/browser/operations/dataFlowDebugSession.d.ts +70 -0
- package/dist/browser/operations/dataFlowDebugSession.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/dataFlowDebugSession.js +57 -64
- package/dist/browser/operations/dataFlowDebugSession.js.map +1 -0
- package/dist/browser/operations/dataFlowOperations.d.ts +80 -0
- package/dist/browser/operations/dataFlowOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/dataFlowOperations.js +69 -75
- package/dist/browser/operations/dataFlowOperations.js.map +1 -0
- package/dist/browser/operations/datasetOperations.d.ts +79 -0
- package/dist/browser/operations/datasetOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/datasetOperations.js +69 -75
- package/dist/browser/operations/datasetOperations.js.map +1 -0
- package/dist/browser/operations/index.d.ts +25 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +32 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/dist/browser/operations/integrationRuntimes.d.ts +24 -0
- package/dist/browser/operations/integrationRuntimes.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/integrationRuntimes.js +6 -5
- package/dist/browser/operations/integrationRuntimes.js.map +1 -0
- package/dist/browser/operations/kqlScriptOperations.d.ts +60 -0
- package/dist/browser/operations/kqlScriptOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/kqlScriptOperations.js +43 -27
- package/dist/browser/operations/kqlScriptOperations.js.map +1 -0
- package/dist/browser/operations/kqlScripts.d.ts +32 -0
- package/dist/browser/operations/kqlScripts.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/kqlScripts.js +29 -46
- package/dist/browser/operations/kqlScripts.js.map +1 -0
- package/dist/browser/operations/library.d.ts +98 -0
- package/dist/browser/operations/library.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/library.js +70 -72
- package/dist/browser/operations/library.js.map +1 -0
- package/dist/browser/operations/linkConnectionOperations.d.ts +112 -0
- package/dist/browser/operations/linkConnectionOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/linkConnectionOperations.js +41 -58
- package/dist/browser/operations/linkConnectionOperations.js.map +1 -0
- package/dist/browser/operations/linkedServiceOperations.d.ts +80 -0
- package/dist/browser/operations/linkedServiceOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/linkedServiceOperations.js +69 -75
- package/dist/browser/operations/linkedServiceOperations.js.map +1 -0
- package/dist/browser/operations/metastore.d.ts +40 -0
- package/dist/browser/operations/metastore.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/metastore.js +8 -7
- package/dist/browser/operations/metastore.js.map +1 -0
- package/dist/browser/operations/notebookOperationResult.d.ts +19 -0
- package/dist/browser/operations/notebookOperationResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/notebookOperationResult.js +5 -4
- package/dist/browser/operations/notebookOperationResult.js.map +1 -0
- package/dist/browser/operations/notebookOperations.d.ts +99 -0
- package/dist/browser/operations/notebookOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/notebookOperations.js +93 -116
- package/dist/browser/operations/notebookOperations.js.map +1 -0
- package/dist/browser/operations/pipelineOperations.d.ts +86 -0
- package/dist/browser/operations/pipelineOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/pipelineOperations.js +70 -76
- package/dist/browser/operations/pipelineOperations.js.map +1 -0
- package/dist/browser/operations/pipelineRunOperations.d.ts +39 -0
- package/dist/browser/operations/pipelineRunOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/pipelineRunOperations.js +9 -12
- package/dist/browser/operations/pipelineRunOperations.js.map +1 -0
- package/dist/browser/operations/runNotebook.d.ts +51 -0
- package/dist/browser/operations/runNotebook.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/runNotebook.js +31 -20
- package/dist/browser/operations/runNotebook.js.map +1 -0
- package/dist/browser/operations/sparkConfigurationOperations.d.ts +80 -0
- package/dist/browser/operations/sparkConfigurationOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/sparkConfigurationOperations.js +69 -75
- package/dist/browser/operations/sparkConfigurationOperations.js.map +1 -0
- package/dist/browser/operations/sparkJobDefinitionOperations.d.ts +104 -0
- package/dist/browser/operations/sparkJobDefinitionOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/sparkJobDefinitionOperations.js +93 -89
- package/dist/browser/operations/sparkJobDefinitionOperations.js.map +1 -0
- package/dist/browser/operations/sqlPools.d.ts +24 -0
- package/dist/browser/operations/sqlPools.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/sqlPools.js +6 -5
- package/dist/browser/operations/sqlPools.js.map +1 -0
- package/dist/browser/operations/sqlScriptOperations.d.ts +80 -0
- package/dist/browser/operations/sqlScriptOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/sqlScriptOperations.js +69 -75
- package/dist/browser/operations/sqlScriptOperations.js.map +1 -0
- package/dist/browser/operations/triggerOperations.d.ts +119 -0
- package/dist/browser/operations/triggerOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/triggerOperations.js +106 -97
- package/dist/browser/operations/triggerOperations.js.map +1 -0
- package/dist/browser/operations/triggerRunOperations.d.ts +33 -0
- package/dist/browser/operations/triggerRunOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/triggerRunOperations.js +9 -16
- package/dist/browser/operations/triggerRunOperations.js.map +1 -0
- package/dist/browser/operations/workspaceGitRepoManagement.d.ts +19 -0
- package/dist/browser/operations/workspaceGitRepoManagement.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaceGitRepoManagement.js +6 -9
- package/dist/browser/operations/workspaceGitRepoManagement.js.map +1 -0
- package/dist/browser/operations/workspaceOperations.d.ts +18 -0
- package/dist/browser/operations/workspaceOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaceOperations.js +5 -4
- package/dist/browser/operations/workspaceOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/bigDataPools.d.ts +16 -0
- package/dist/browser/operationsInterfaces/bigDataPools.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/bigDataPools.js.map +1 -0
- package/dist/browser/operationsInterfaces/dataFlowDebugSession.d.ts +48 -0
- package/dist/browser/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/dataFlowDebugSession.js.map +1 -0
- package/dist/browser/operationsInterfaces/dataFlowOperations.d.ts +58 -0
- package/dist/browser/operationsInterfaces/dataFlowOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/dataFlowOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/datasetOperations.d.ts +58 -0
- package/dist/browser/operationsInterfaces/datasetOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/datasetOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +25 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +32 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/operationsInterfaces/integrationRuntimes.d.ts +16 -0
- package/dist/browser/operationsInterfaces/integrationRuntimes.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/integrationRuntimes.js.map +1 -0
- package/dist/browser/operationsInterfaces/kqlScriptOperations.d.ts +52 -0
- package/dist/browser/operationsInterfaces/kqlScriptOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/kqlScriptOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/kqlScripts.d.ts +11 -0
- package/dist/browser/operationsInterfaces/kqlScripts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/kqlScripts.js.map +1 -0
- package/dist/browser/operationsInterfaces/library.d.ts +77 -0
- package/dist/browser/operationsInterfaces/library.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/library.js.map +1 -0
- package/dist/browser/operationsInterfaces/linkConnectionOperations.d.ts +91 -0
- package/dist/browser/operationsInterfaces/linkConnectionOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/linkConnectionOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/linkedServiceOperations.d.ts +58 -0
- package/dist/browser/operationsInterfaces/linkedServiceOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/linkedServiceOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/metastore.d.ts +32 -0
- package/dist/browser/operationsInterfaces/metastore.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/metastore.js.map +1 -0
- package/dist/browser/operationsInterfaces/notebookOperationResult.d.ts +11 -0
- package/dist/browser/operationsInterfaces/notebookOperationResult.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/notebookOperationResult.js.map +1 -0
- package/dist/browser/operationsInterfaces/notebookOperations.d.ts +63 -0
- package/dist/browser/operationsInterfaces/notebookOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/notebookOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/pipelineOperations.d.ts +64 -0
- package/dist/browser/operationsInterfaces/pipelineOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/pipelineOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/pipelineRunOperations.d.ts +31 -0
- package/dist/browser/operationsInterfaces/pipelineRunOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/pipelineRunOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/runNotebook.d.ts +43 -0
- package/dist/browser/operationsInterfaces/runNotebook.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/runNotebook.js.map +1 -0
- package/dist/browser/operationsInterfaces/sparkConfigurationOperations.d.ts +58 -0
- package/dist/browser/operationsInterfaces/sparkConfigurationOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/sparkConfigurationOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/sparkJobDefinitionOperations.d.ts +82 -0
- package/dist/browser/operationsInterfaces/sparkJobDefinitionOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/sqlPools.d.ts +16 -0
- package/dist/browser/operationsInterfaces/sqlPools.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/sqlPools.js.map +1 -0
- package/dist/browser/operationsInterfaces/sqlScriptOperations.d.ts +58 -0
- package/dist/browser/operationsInterfaces/sqlScriptOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/sqlScriptOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/triggerOperations.d.ts +98 -0
- package/dist/browser/operationsInterfaces/triggerOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/triggerOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/triggerRunOperations.d.ts +25 -0
- package/dist/browser/operationsInterfaces/triggerRunOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/triggerRunOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/workspaceGitRepoManagement.d.ts +11 -0
- package/dist/browser/operationsInterfaces/workspaceGitRepoManagement.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workspaceGitRepoManagement.js.map +1 -0
- package/dist/browser/operationsInterfaces/workspaceOperations.d.ts +10 -0
- package/dist/browser/operationsInterfaces/workspaceOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workspaceOperations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/browser/tracing.d.ts +2 -0
- package/dist/browser/tracing.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/tracing.js +1 -1
- package/{dist-esm/src → dist/browser}/tracing.js.map +1 -1
- package/dist/commonjs/artifactsClient.d.ts +40 -0
- package/dist/commonjs/artifactsClient.d.ts.map +1 -0
- package/dist/commonjs/artifactsClient.js +128 -0
- package/dist/commonjs/artifactsClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +28 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +13692 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +1443 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +1310 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +30754 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +70 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +573 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/bigDataPools.d.ts +24 -0
- package/dist/commonjs/operations/bigDataPools.d.ts.map +1 -0
- package/dist/commonjs/operations/bigDataPools.js +81 -0
- package/dist/commonjs/operations/bigDataPools.js.map +1 -0
- package/dist/commonjs/operations/dataFlowDebugSession.d.ts +70 -0
- package/dist/commonjs/operations/dataFlowDebugSession.d.ts.map +1 -0
- package/dist/commonjs/operations/dataFlowDebugSession.js +349 -0
- package/dist/commonjs/operations/dataFlowDebugSession.js.map +1 -0
- package/dist/commonjs/operations/dataFlowOperations.d.ts +80 -0
- package/dist/commonjs/operations/dataFlowOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/dataFlowOperations.js +390 -0
- package/dist/commonjs/operations/dataFlowOperations.js.map +1 -0
- package/dist/commonjs/operations/datasetOperations.d.ts +79 -0
- package/dist/commonjs/operations/datasetOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/datasetOperations.js +390 -0
- package/dist/commonjs/operations/datasetOperations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +25 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +35 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/integrationRuntimes.d.ts +24 -0
- package/dist/commonjs/operations/integrationRuntimes.d.ts.map +1 -0
- package/dist/commonjs/operations/integrationRuntimes.js +81 -0
- package/dist/commonjs/operations/integrationRuntimes.js.map +1 -0
- package/dist/commonjs/operations/kqlScriptOperations.d.ts +60 -0
- package/dist/commonjs/operations/kqlScriptOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/kqlScriptOperations.js +293 -0
- package/dist/commonjs/operations/kqlScriptOperations.js.map +1 -0
- package/dist/commonjs/operations/kqlScripts.d.ts +32 -0
- package/dist/commonjs/operations/kqlScripts.d.ts.map +1 -0
- package/dist/commonjs/operations/kqlScripts.js +126 -0
- package/dist/commonjs/operations/kqlScripts.js.map +1 -0
- package/dist/commonjs/operations/library.d.ts +98 -0
- package/dist/commonjs/operations/library.d.ts.map +1 -0
- package/dist/commonjs/operations/library.js +443 -0
- package/dist/commonjs/operations/library.js.map +1 -0
- package/dist/commonjs/operations/linkConnectionOperations.d.ts +112 -0
- package/dist/commonjs/operations/linkConnectionOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/linkConnectionOperations.js +441 -0
- package/dist/commonjs/operations/linkConnectionOperations.js.map +1 -0
- package/dist/commonjs/operations/linkedServiceOperations.d.ts +80 -0
- package/dist/commonjs/operations/linkedServiceOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/linkedServiceOperations.js +391 -0
- package/dist/commonjs/operations/linkedServiceOperations.js.map +1 -0
- package/dist/commonjs/operations/metastore.d.ts +40 -0
- package/dist/commonjs/operations/metastore.d.ts.map +1 -0
- package/dist/commonjs/operations/metastore.js +139 -0
- package/dist/commonjs/operations/metastore.js.map +1 -0
- package/dist/commonjs/operations/notebookOperationResult.d.ts +19 -0
- package/dist/commonjs/operations/notebookOperationResult.d.ts.map +1 -0
- package/dist/commonjs/operations/notebookOperationResult.js +57 -0
- package/dist/commonjs/operations/notebookOperationResult.js.map +1 -0
- package/dist/commonjs/operations/notebookOperations.d.ts +99 -0
- package/dist/commonjs/operations/notebookOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/notebookOperations.js +486 -0
- package/dist/commonjs/operations/notebookOperations.js.map +1 -0
- package/dist/commonjs/operations/pipelineOperations.d.ts +86 -0
- package/dist/commonjs/operations/pipelineOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/pipelineOperations.js +424 -0
- package/dist/commonjs/operations/pipelineOperations.js.map +1 -0
- package/dist/commonjs/operations/pipelineRunOperations.d.ts +39 -0
- package/dist/commonjs/operations/pipelineRunOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/pipelineRunOperations.js +138 -0
- package/dist/commonjs/operations/pipelineRunOperations.js.map +1 -0
- package/dist/commonjs/operations/runNotebook.d.ts +51 -0
- package/dist/commonjs/operations/runNotebook.d.ts.map +1 -0
- package/dist/commonjs/operations/runNotebook.js +208 -0
- package/dist/commonjs/operations/runNotebook.js.map +1 -0
- package/dist/commonjs/operations/sparkConfigurationOperations.d.ts +80 -0
- package/dist/commonjs/operations/sparkConfigurationOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/sparkConfigurationOperations.js +391 -0
- package/dist/commonjs/operations/sparkConfigurationOperations.js.map +1 -0
- package/dist/commonjs/operations/sparkJobDefinitionOperations.d.ts +104 -0
- package/dist/commonjs/operations/sparkJobDefinitionOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/sparkJobDefinitionOperations.js +557 -0
- package/dist/commonjs/operations/sparkJobDefinitionOperations.js.map +1 -0
- package/dist/commonjs/operations/sqlPools.d.ts +24 -0
- package/dist/commonjs/operations/sqlPools.d.ts.map +1 -0
- package/dist/commonjs/operations/sqlPools.js +81 -0
- package/dist/commonjs/operations/sqlPools.js.map +1 -0
- package/dist/commonjs/operations/sqlScriptOperations.d.ts +80 -0
- package/dist/commonjs/operations/sqlScriptOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/sqlScriptOperations.js +391 -0
- package/dist/commonjs/operations/sqlScriptOperations.js.map +1 -0
- package/dist/commonjs/operations/triggerOperations.d.ts +119 -0
- package/dist/commonjs/operations/triggerOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/triggerOperations.js +647 -0
- package/dist/commonjs/operations/triggerOperations.js.map +1 -0
- package/dist/commonjs/operations/triggerRunOperations.d.ts +33 -0
- package/dist/commonjs/operations/triggerRunOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/triggerRunOperations.js +108 -0
- package/dist/commonjs/operations/triggerRunOperations.js.map +1 -0
- package/dist/commonjs/operations/workspaceGitRepoManagement.d.ts +19 -0
- package/dist/commonjs/operations/workspaceGitRepoManagement.d.ts.map +1 -0
- package/dist/commonjs/operations/workspaceGitRepoManagement.js +55 -0
- package/dist/commonjs/operations/workspaceGitRepoManagement.js.map +1 -0
- package/dist/commonjs/operations/workspaceOperations.d.ts +18 -0
- package/dist/commonjs/operations/workspaceOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/workspaceOperations.js +55 -0
- package/dist/commonjs/operations/workspaceOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/bigDataPools.d.ts +16 -0
- package/dist/commonjs/operationsInterfaces/bigDataPools.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/bigDataPools.js +10 -0
- package/dist/commonjs/operationsInterfaces/bigDataPools.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/dataFlowDebugSession.d.ts +48 -0
- package/dist/commonjs/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/dataFlowDebugSession.js +10 -0
- package/dist/commonjs/operationsInterfaces/dataFlowDebugSession.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/dataFlowOperations.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/dataFlowOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/dataFlowOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/dataFlowOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/datasetOperations.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/datasetOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/datasetOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/datasetOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +25 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +35 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/integrationRuntimes.d.ts +16 -0
- package/dist/commonjs/operationsInterfaces/integrationRuntimes.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/integrationRuntimes.js +10 -0
- package/dist/commonjs/operationsInterfaces/integrationRuntimes.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/kqlScriptOperations.d.ts +52 -0
- package/dist/commonjs/operationsInterfaces/kqlScriptOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/kqlScriptOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/kqlScriptOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/kqlScripts.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/kqlScripts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/kqlScripts.js +10 -0
- package/dist/commonjs/operationsInterfaces/kqlScripts.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/library.d.ts +77 -0
- package/dist/commonjs/operationsInterfaces/library.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/library.js +10 -0
- package/dist/commonjs/operationsInterfaces/library.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/linkConnectionOperations.d.ts +91 -0
- package/dist/commonjs/operationsInterfaces/linkConnectionOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/linkConnectionOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/linkConnectionOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/linkedServiceOperations.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/linkedServiceOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/linkedServiceOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/linkedServiceOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/metastore.d.ts +32 -0
- package/dist/commonjs/operationsInterfaces/metastore.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/metastore.js +10 -0
- package/dist/commonjs/operationsInterfaces/metastore.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/notebookOperationResult.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/notebookOperationResult.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/notebookOperationResult.js +10 -0
- package/dist/commonjs/operationsInterfaces/notebookOperationResult.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/notebookOperations.d.ts +63 -0
- package/dist/commonjs/operationsInterfaces/notebookOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/notebookOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/notebookOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/pipelineOperations.d.ts +64 -0
- package/dist/commonjs/operationsInterfaces/pipelineOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/pipelineOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/pipelineOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/pipelineRunOperations.d.ts +31 -0
- package/dist/commonjs/operationsInterfaces/pipelineRunOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/pipelineRunOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/pipelineRunOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/runNotebook.d.ts +43 -0
- package/dist/commonjs/operationsInterfaces/runNotebook.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/runNotebook.js +10 -0
- package/dist/commonjs/operationsInterfaces/runNotebook.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/sparkConfigurationOperations.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/sparkConfigurationOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/sparkConfigurationOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/sparkConfigurationOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/sparkJobDefinitionOperations.d.ts +82 -0
- package/dist/commonjs/operationsInterfaces/sparkJobDefinitionOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/sparkJobDefinitionOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/sqlPools.d.ts +16 -0
- package/dist/commonjs/operationsInterfaces/sqlPools.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/sqlPools.js +10 -0
- package/dist/commonjs/operationsInterfaces/sqlPools.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/sqlScriptOperations.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/sqlScriptOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/sqlScriptOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/sqlScriptOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/triggerOperations.d.ts +98 -0
- package/dist/commonjs/operationsInterfaces/triggerOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/triggerOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/triggerOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/triggerRunOperations.d.ts +25 -0
- package/dist/commonjs/operationsInterfaces/triggerRunOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/triggerRunOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/triggerRunOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaceGitRepoManagement.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/workspaceGitRepoManagement.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaceGitRepoManagement.js +10 -0
- package/dist/commonjs/operationsInterfaces/workspaceGitRepoManagement.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaceOperations.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/workspaceOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaceOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/workspaceOperations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/tracing.d.ts +2 -0
- package/dist/commonjs/tracing.d.ts.map +1 -0
- package/dist/commonjs/tracing.js +17 -0
- package/dist/commonjs/tracing.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/artifactsClient.d.ts +40 -0
- package/dist/esm/artifactsClient.d.ts.map +1 -0
- package/dist/esm/artifactsClient.js +123 -0
- package/dist/esm/artifactsClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +13692 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +1438 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +1310 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/{index.js → esm/models/mappers.js} +14865 -19018
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +70 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +569 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/bigDataPools.d.ts +24 -0
- package/dist/esm/operations/bigDataPools.d.ts.map +1 -0
- package/dist/esm/operations/bigDataPools.js +76 -0
- package/dist/esm/operations/bigDataPools.js.map +1 -0
- package/dist/esm/operations/dataFlowDebugSession.d.ts +70 -0
- package/dist/esm/operations/dataFlowDebugSession.d.ts.map +1 -0
- package/dist/esm/operations/dataFlowDebugSession.js +344 -0
- package/dist/esm/operations/dataFlowDebugSession.js.map +1 -0
- package/dist/esm/operations/dataFlowOperations.d.ts +80 -0
- package/dist/esm/operations/dataFlowOperations.d.ts.map +1 -0
- package/dist/esm/operations/dataFlowOperations.js +385 -0
- package/dist/esm/operations/dataFlowOperations.js.map +1 -0
- package/dist/esm/operations/datasetOperations.d.ts +79 -0
- package/dist/esm/operations/datasetOperations.d.ts.map +1 -0
- package/dist/esm/operations/datasetOperations.js +385 -0
- package/dist/esm/operations/datasetOperations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +25 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +32 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/integrationRuntimes.d.ts +24 -0
- package/dist/esm/operations/integrationRuntimes.d.ts.map +1 -0
- package/dist/esm/operations/integrationRuntimes.js +76 -0
- package/dist/esm/operations/integrationRuntimes.js.map +1 -0
- package/dist/esm/operations/kqlScriptOperations.d.ts +60 -0
- package/dist/esm/operations/kqlScriptOperations.d.ts.map +1 -0
- package/dist/esm/operations/kqlScriptOperations.js +288 -0
- package/dist/esm/operations/kqlScriptOperations.js.map +1 -0
- package/dist/esm/operations/kqlScripts.d.ts +32 -0
- package/dist/esm/operations/kqlScripts.d.ts.map +1 -0
- package/dist/esm/operations/kqlScripts.js +121 -0
- package/dist/esm/operations/kqlScripts.js.map +1 -0
- package/dist/esm/operations/library.d.ts +98 -0
- package/dist/esm/operations/library.d.ts.map +1 -0
- package/dist/esm/operations/library.js +438 -0
- package/dist/esm/operations/library.js.map +1 -0
- package/dist/esm/operations/linkConnectionOperations.d.ts +112 -0
- package/dist/esm/operations/linkConnectionOperations.d.ts.map +1 -0
- package/dist/esm/operations/linkConnectionOperations.js +436 -0
- package/dist/esm/operations/linkConnectionOperations.js.map +1 -0
- package/dist/esm/operations/linkedServiceOperations.d.ts +80 -0
- package/dist/esm/operations/linkedServiceOperations.d.ts.map +1 -0
- package/dist/esm/operations/linkedServiceOperations.js +386 -0
- package/dist/esm/operations/linkedServiceOperations.js.map +1 -0
- package/dist/esm/operations/metastore.d.ts +40 -0
- package/dist/esm/operations/metastore.d.ts.map +1 -0
- package/dist/esm/operations/metastore.js +134 -0
- package/dist/esm/operations/metastore.js.map +1 -0
- package/dist/esm/operations/notebookOperationResult.d.ts +19 -0
- package/dist/esm/operations/notebookOperationResult.d.ts.map +1 -0
- package/dist/esm/operations/notebookOperationResult.js +52 -0
- package/dist/esm/operations/notebookOperationResult.js.map +1 -0
- package/dist/esm/operations/notebookOperations.d.ts +99 -0
- package/dist/esm/operations/notebookOperations.d.ts.map +1 -0
- package/dist/esm/operations/notebookOperations.js +481 -0
- package/dist/esm/operations/notebookOperations.js.map +1 -0
- package/dist/esm/operations/pipelineOperations.d.ts +86 -0
- package/dist/esm/operations/pipelineOperations.d.ts.map +1 -0
- package/dist/esm/operations/pipelineOperations.js +419 -0
- package/dist/esm/operations/pipelineOperations.js.map +1 -0
- package/dist/esm/operations/pipelineRunOperations.d.ts +39 -0
- package/dist/esm/operations/pipelineRunOperations.d.ts.map +1 -0
- package/dist/esm/operations/pipelineRunOperations.js +133 -0
- package/dist/esm/operations/pipelineRunOperations.js.map +1 -0
- package/dist/esm/operations/runNotebook.d.ts +51 -0
- package/dist/esm/operations/runNotebook.d.ts.map +1 -0
- package/dist/esm/operations/runNotebook.js +203 -0
- package/dist/esm/operations/runNotebook.js.map +1 -0
- package/dist/esm/operations/sparkConfigurationOperations.d.ts +80 -0
- package/dist/esm/operations/sparkConfigurationOperations.d.ts.map +1 -0
- package/dist/esm/operations/sparkConfigurationOperations.js +386 -0
- package/dist/esm/operations/sparkConfigurationOperations.js.map +1 -0
- package/dist/esm/operations/sparkJobDefinitionOperations.d.ts +104 -0
- package/dist/esm/operations/sparkJobDefinitionOperations.d.ts.map +1 -0
- package/dist/esm/operations/sparkJobDefinitionOperations.js +552 -0
- package/dist/esm/operations/sparkJobDefinitionOperations.js.map +1 -0
- package/dist/esm/operations/sqlPools.d.ts +24 -0
- package/dist/esm/operations/sqlPools.d.ts.map +1 -0
- package/dist/esm/operations/sqlPools.js +76 -0
- package/dist/esm/operations/sqlPools.js.map +1 -0
- package/dist/esm/operations/sqlScriptOperations.d.ts +80 -0
- package/dist/esm/operations/sqlScriptOperations.d.ts.map +1 -0
- package/dist/esm/operations/sqlScriptOperations.js +386 -0
- package/dist/esm/operations/sqlScriptOperations.js.map +1 -0
- package/dist/esm/operations/triggerOperations.d.ts +119 -0
- package/dist/esm/operations/triggerOperations.d.ts.map +1 -0
- package/dist/esm/operations/triggerOperations.js +642 -0
- package/dist/esm/operations/triggerOperations.js.map +1 -0
- package/dist/esm/operations/triggerRunOperations.d.ts +33 -0
- package/dist/esm/operations/triggerRunOperations.d.ts.map +1 -0
- package/dist/esm/operations/triggerRunOperations.js +103 -0
- package/dist/esm/operations/triggerRunOperations.js.map +1 -0
- package/dist/esm/operations/workspaceGitRepoManagement.d.ts +19 -0
- package/dist/esm/operations/workspaceGitRepoManagement.d.ts.map +1 -0
- package/dist/esm/operations/workspaceGitRepoManagement.js +50 -0
- package/dist/esm/operations/workspaceGitRepoManagement.js.map +1 -0
- package/dist/esm/operations/workspaceOperations.d.ts +18 -0
- package/dist/esm/operations/workspaceOperations.d.ts.map +1 -0
- package/dist/esm/operations/workspaceOperations.js +50 -0
- package/dist/esm/operations/workspaceOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/bigDataPools.d.ts +16 -0
- package/dist/esm/operationsInterfaces/bigDataPools.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/bigDataPools.js +9 -0
- package/dist/esm/operationsInterfaces/bigDataPools.js.map +1 -0
- package/dist/esm/operationsInterfaces/dataFlowDebugSession.d.ts +48 -0
- package/dist/esm/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/dataFlowDebugSession.js +9 -0
- package/dist/esm/operationsInterfaces/dataFlowDebugSession.js.map +1 -0
- package/dist/esm/operationsInterfaces/dataFlowOperations.d.ts +58 -0
- package/dist/esm/operationsInterfaces/dataFlowOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/dataFlowOperations.js +9 -0
- package/dist/esm/operationsInterfaces/dataFlowOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/datasetOperations.d.ts +58 -0
- package/dist/esm/operationsInterfaces/datasetOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/datasetOperations.js +9 -0
- package/dist/esm/operationsInterfaces/datasetOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +25 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +32 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/integrationRuntimes.d.ts +16 -0
- package/dist/esm/operationsInterfaces/integrationRuntimes.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/integrationRuntimes.js +9 -0
- package/dist/esm/operationsInterfaces/integrationRuntimes.js.map +1 -0
- package/dist/esm/operationsInterfaces/kqlScriptOperations.d.ts +52 -0
- package/dist/esm/operationsInterfaces/kqlScriptOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/kqlScriptOperations.js +9 -0
- package/dist/esm/operationsInterfaces/kqlScriptOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/kqlScripts.d.ts +11 -0
- package/dist/esm/operationsInterfaces/kqlScripts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/kqlScripts.js +9 -0
- package/dist/esm/operationsInterfaces/kqlScripts.js.map +1 -0
- package/dist/esm/operationsInterfaces/library.d.ts +77 -0
- package/dist/esm/operationsInterfaces/library.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/library.js +9 -0
- package/dist/esm/operationsInterfaces/library.js.map +1 -0
- package/dist/esm/operationsInterfaces/linkConnectionOperations.d.ts +91 -0
- package/dist/esm/operationsInterfaces/linkConnectionOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/linkConnectionOperations.js +9 -0
- package/dist/esm/operationsInterfaces/linkConnectionOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/linkedServiceOperations.d.ts +58 -0
- package/dist/esm/operationsInterfaces/linkedServiceOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/linkedServiceOperations.js +9 -0
- package/dist/esm/operationsInterfaces/linkedServiceOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/metastore.d.ts +32 -0
- package/dist/esm/operationsInterfaces/metastore.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/metastore.js +9 -0
- package/dist/esm/operationsInterfaces/metastore.js.map +1 -0
- package/dist/esm/operationsInterfaces/notebookOperationResult.d.ts +11 -0
- package/dist/esm/operationsInterfaces/notebookOperationResult.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/notebookOperationResult.js +9 -0
- package/dist/esm/operationsInterfaces/notebookOperationResult.js.map +1 -0
- package/dist/esm/operationsInterfaces/notebookOperations.d.ts +63 -0
- package/dist/esm/operationsInterfaces/notebookOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/notebookOperations.js +9 -0
- package/dist/esm/operationsInterfaces/notebookOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/pipelineOperations.d.ts +64 -0
- package/dist/esm/operationsInterfaces/pipelineOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/pipelineOperations.js +9 -0
- package/dist/esm/operationsInterfaces/pipelineOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/pipelineRunOperations.d.ts +31 -0
- package/dist/esm/operationsInterfaces/pipelineRunOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/pipelineRunOperations.js +9 -0
- package/dist/esm/operationsInterfaces/pipelineRunOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/runNotebook.d.ts +43 -0
- package/dist/esm/operationsInterfaces/runNotebook.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/runNotebook.js +9 -0
- package/dist/esm/operationsInterfaces/runNotebook.js.map +1 -0
- package/dist/esm/operationsInterfaces/sparkConfigurationOperations.d.ts +58 -0
- package/dist/esm/operationsInterfaces/sparkConfigurationOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/sparkConfigurationOperations.js +9 -0
- package/dist/esm/operationsInterfaces/sparkConfigurationOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/sparkJobDefinitionOperations.d.ts +82 -0
- package/dist/esm/operationsInterfaces/sparkJobDefinitionOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/sparkJobDefinitionOperations.js +9 -0
- package/dist/esm/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/sqlPools.d.ts +16 -0
- package/dist/esm/operationsInterfaces/sqlPools.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/sqlPools.js +9 -0
- package/dist/esm/operationsInterfaces/sqlPools.js.map +1 -0
- package/dist/esm/operationsInterfaces/sqlScriptOperations.d.ts +58 -0
- package/dist/esm/operationsInterfaces/sqlScriptOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/sqlScriptOperations.js +9 -0
- package/dist/esm/operationsInterfaces/sqlScriptOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/triggerOperations.d.ts +98 -0
- package/dist/esm/operationsInterfaces/triggerOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/triggerOperations.js +9 -0
- package/dist/esm/operationsInterfaces/triggerOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/triggerRunOperations.d.ts +25 -0
- package/dist/esm/operationsInterfaces/triggerRunOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/triggerRunOperations.js +9 -0
- package/dist/esm/operationsInterfaces/triggerRunOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/workspaceGitRepoManagement.d.ts +11 -0
- package/dist/esm/operationsInterfaces/workspaceGitRepoManagement.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/workspaceGitRepoManagement.js +9 -0
- package/dist/esm/operationsInterfaces/workspaceGitRepoManagement.js.map +1 -0
- package/dist/esm/operationsInterfaces/workspaceOperations.d.ts +10 -0
- package/dist/esm/operationsInterfaces/workspaceOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/workspaceOperations.js +9 -0
- package/dist/esm/operationsInterfaces/workspaceOperations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/tracing.d.ts +2 -0
- package/dist/esm/tracing.d.ts.map +1 -0
- package/dist/esm/tracing.js +14 -0
- package/dist/esm/tracing.js.map +1 -0
- package/dist/react-native/artifactsClient.d.ts +40 -0
- package/dist/react-native/artifactsClient.d.ts.map +1 -0
- package/dist/react-native/artifactsClient.js +123 -0
- package/dist/react-native/artifactsClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +13692 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +1438 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +1310 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +30736 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +70 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +569 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/bigDataPools.d.ts +24 -0
- package/dist/react-native/operations/bigDataPools.d.ts.map +1 -0
- package/dist/react-native/operations/bigDataPools.js +76 -0
- package/dist/react-native/operations/bigDataPools.js.map +1 -0
- package/dist/react-native/operations/dataFlowDebugSession.d.ts +70 -0
- package/dist/react-native/operations/dataFlowDebugSession.d.ts.map +1 -0
- package/dist/react-native/operations/dataFlowDebugSession.js +344 -0
- package/dist/react-native/operations/dataFlowDebugSession.js.map +1 -0
- package/dist/react-native/operations/dataFlowOperations.d.ts +80 -0
- package/dist/react-native/operations/dataFlowOperations.d.ts.map +1 -0
- package/dist/react-native/operations/dataFlowOperations.js +385 -0
- package/dist/react-native/operations/dataFlowOperations.js.map +1 -0
- package/dist/react-native/operations/datasetOperations.d.ts +79 -0
- package/dist/react-native/operations/datasetOperations.d.ts.map +1 -0
- package/dist/react-native/operations/datasetOperations.js +385 -0
- package/dist/react-native/operations/datasetOperations.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +25 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +32 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/integrationRuntimes.d.ts +24 -0
- package/dist/react-native/operations/integrationRuntimes.d.ts.map +1 -0
- package/dist/react-native/operations/integrationRuntimes.js +76 -0
- package/dist/react-native/operations/integrationRuntimes.js.map +1 -0
- package/dist/react-native/operations/kqlScriptOperations.d.ts +60 -0
- package/dist/react-native/operations/kqlScriptOperations.d.ts.map +1 -0
- package/dist/react-native/operations/kqlScriptOperations.js +288 -0
- package/dist/react-native/operations/kqlScriptOperations.js.map +1 -0
- package/dist/react-native/operations/kqlScripts.d.ts +32 -0
- package/dist/react-native/operations/kqlScripts.d.ts.map +1 -0
- package/dist/react-native/operations/kqlScripts.js +121 -0
- package/dist/react-native/operations/kqlScripts.js.map +1 -0
- package/dist/react-native/operations/library.d.ts +98 -0
- package/dist/react-native/operations/library.d.ts.map +1 -0
- package/dist/react-native/operations/library.js +438 -0
- package/dist/react-native/operations/library.js.map +1 -0
- package/dist/react-native/operations/linkConnectionOperations.d.ts +112 -0
- package/dist/react-native/operations/linkConnectionOperations.d.ts.map +1 -0
- package/dist/react-native/operations/linkConnectionOperations.js +436 -0
- package/dist/react-native/operations/linkConnectionOperations.js.map +1 -0
- package/dist/react-native/operations/linkedServiceOperations.d.ts +80 -0
- package/dist/react-native/operations/linkedServiceOperations.d.ts.map +1 -0
- package/dist/react-native/operations/linkedServiceOperations.js +386 -0
- package/dist/react-native/operations/linkedServiceOperations.js.map +1 -0
- package/dist/react-native/operations/metastore.d.ts +40 -0
- package/dist/react-native/operations/metastore.d.ts.map +1 -0
- package/dist/react-native/operations/metastore.js +134 -0
- package/dist/react-native/operations/metastore.js.map +1 -0
- package/dist/react-native/operations/notebookOperationResult.d.ts +19 -0
- package/dist/react-native/operations/notebookOperationResult.d.ts.map +1 -0
- package/dist/react-native/operations/notebookOperationResult.js +52 -0
- package/dist/react-native/operations/notebookOperationResult.js.map +1 -0
- package/dist/react-native/operations/notebookOperations.d.ts +99 -0
- package/dist/react-native/operations/notebookOperations.d.ts.map +1 -0
- package/dist/react-native/operations/notebookOperations.js +481 -0
- package/dist/react-native/operations/notebookOperations.js.map +1 -0
- package/dist/react-native/operations/pipelineOperations.d.ts +86 -0
- package/dist/react-native/operations/pipelineOperations.d.ts.map +1 -0
- package/dist/react-native/operations/pipelineOperations.js +419 -0
- package/dist/react-native/operations/pipelineOperations.js.map +1 -0
- package/dist/react-native/operations/pipelineRunOperations.d.ts +39 -0
- package/dist/react-native/operations/pipelineRunOperations.d.ts.map +1 -0
- package/dist/react-native/operations/pipelineRunOperations.js +133 -0
- package/dist/react-native/operations/pipelineRunOperations.js.map +1 -0
- package/dist/react-native/operations/runNotebook.d.ts +51 -0
- package/dist/react-native/operations/runNotebook.d.ts.map +1 -0
- package/dist/react-native/operations/runNotebook.js +203 -0
- package/dist/react-native/operations/runNotebook.js.map +1 -0
- package/dist/react-native/operations/sparkConfigurationOperations.d.ts +80 -0
- package/dist/react-native/operations/sparkConfigurationOperations.d.ts.map +1 -0
- package/dist/react-native/operations/sparkConfigurationOperations.js +386 -0
- package/dist/react-native/operations/sparkConfigurationOperations.js.map +1 -0
- package/dist/react-native/operations/sparkJobDefinitionOperations.d.ts +104 -0
- package/dist/react-native/operations/sparkJobDefinitionOperations.d.ts.map +1 -0
- package/dist/react-native/operations/sparkJobDefinitionOperations.js +552 -0
- package/dist/react-native/operations/sparkJobDefinitionOperations.js.map +1 -0
- package/dist/react-native/operations/sqlPools.d.ts +24 -0
- package/dist/react-native/operations/sqlPools.d.ts.map +1 -0
- package/dist/react-native/operations/sqlPools.js +76 -0
- package/dist/react-native/operations/sqlPools.js.map +1 -0
- package/dist/react-native/operations/sqlScriptOperations.d.ts +80 -0
- package/dist/react-native/operations/sqlScriptOperations.d.ts.map +1 -0
- package/dist/react-native/operations/sqlScriptOperations.js +386 -0
- package/dist/react-native/operations/sqlScriptOperations.js.map +1 -0
- package/dist/react-native/operations/triggerOperations.d.ts +119 -0
- package/dist/react-native/operations/triggerOperations.d.ts.map +1 -0
- package/dist/react-native/operations/triggerOperations.js +642 -0
- package/dist/react-native/operations/triggerOperations.js.map +1 -0
- package/dist/react-native/operations/triggerRunOperations.d.ts +33 -0
- package/dist/react-native/operations/triggerRunOperations.d.ts.map +1 -0
- package/dist/react-native/operations/triggerRunOperations.js +103 -0
- package/dist/react-native/operations/triggerRunOperations.js.map +1 -0
- package/dist/react-native/operations/workspaceGitRepoManagement.d.ts +19 -0
- package/dist/react-native/operations/workspaceGitRepoManagement.d.ts.map +1 -0
- package/dist/react-native/operations/workspaceGitRepoManagement.js +50 -0
- package/dist/react-native/operations/workspaceGitRepoManagement.js.map +1 -0
- package/dist/react-native/operations/workspaceOperations.d.ts +18 -0
- package/dist/react-native/operations/workspaceOperations.d.ts.map +1 -0
- package/dist/react-native/operations/workspaceOperations.js +50 -0
- package/dist/react-native/operations/workspaceOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/bigDataPools.d.ts +16 -0
- package/dist/react-native/operationsInterfaces/bigDataPools.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/bigDataPools.js +9 -0
- package/dist/react-native/operationsInterfaces/bigDataPools.js.map +1 -0
- package/dist/react-native/operationsInterfaces/dataFlowDebugSession.d.ts +48 -0
- package/dist/react-native/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/dataFlowDebugSession.js +9 -0
- package/dist/react-native/operationsInterfaces/dataFlowDebugSession.js.map +1 -0
- package/dist/react-native/operationsInterfaces/dataFlowOperations.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/dataFlowOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/dataFlowOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/dataFlowOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/datasetOperations.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/datasetOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/datasetOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/datasetOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +25 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +32 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/integrationRuntimes.d.ts +16 -0
- package/dist/react-native/operationsInterfaces/integrationRuntimes.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/integrationRuntimes.js +9 -0
- package/dist/react-native/operationsInterfaces/integrationRuntimes.js.map +1 -0
- package/dist/react-native/operationsInterfaces/kqlScriptOperations.d.ts +52 -0
- package/dist/react-native/operationsInterfaces/kqlScriptOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/kqlScriptOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/kqlScriptOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/kqlScripts.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/kqlScripts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/kqlScripts.js +9 -0
- package/dist/react-native/operationsInterfaces/kqlScripts.js.map +1 -0
- package/dist/react-native/operationsInterfaces/library.d.ts +77 -0
- package/dist/react-native/operationsInterfaces/library.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/library.js +9 -0
- package/dist/react-native/operationsInterfaces/library.js.map +1 -0
- package/dist/react-native/operationsInterfaces/linkConnectionOperations.d.ts +91 -0
- package/dist/react-native/operationsInterfaces/linkConnectionOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/linkConnectionOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/linkConnectionOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/linkedServiceOperations.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/linkedServiceOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/linkedServiceOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/linkedServiceOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/metastore.d.ts +32 -0
- package/dist/react-native/operationsInterfaces/metastore.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/metastore.js +9 -0
- package/dist/react-native/operationsInterfaces/metastore.js.map +1 -0
- package/dist/react-native/operationsInterfaces/notebookOperationResult.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/notebookOperationResult.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/notebookOperationResult.js +9 -0
- package/dist/react-native/operationsInterfaces/notebookOperationResult.js.map +1 -0
- package/dist/react-native/operationsInterfaces/notebookOperations.d.ts +63 -0
- package/dist/react-native/operationsInterfaces/notebookOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/notebookOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/notebookOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/pipelineOperations.d.ts +64 -0
- package/dist/react-native/operationsInterfaces/pipelineOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/pipelineOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/pipelineOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/pipelineRunOperations.d.ts +31 -0
- package/dist/react-native/operationsInterfaces/pipelineRunOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/pipelineRunOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/pipelineRunOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/runNotebook.d.ts +43 -0
- package/dist/react-native/operationsInterfaces/runNotebook.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/runNotebook.js +9 -0
- package/dist/react-native/operationsInterfaces/runNotebook.js.map +1 -0
- package/dist/react-native/operationsInterfaces/sparkConfigurationOperations.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/sparkConfigurationOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/sparkConfigurationOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/sparkConfigurationOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/sparkJobDefinitionOperations.d.ts +82 -0
- package/dist/react-native/operationsInterfaces/sparkJobDefinitionOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/sparkJobDefinitionOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/sqlPools.d.ts +16 -0
- package/dist/react-native/operationsInterfaces/sqlPools.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/sqlPools.js +9 -0
- package/dist/react-native/operationsInterfaces/sqlPools.js.map +1 -0
- package/dist/react-native/operationsInterfaces/sqlScriptOperations.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/sqlScriptOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/sqlScriptOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/sqlScriptOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/triggerOperations.d.ts +98 -0
- package/dist/react-native/operationsInterfaces/triggerOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/triggerOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/triggerOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/triggerRunOperations.d.ts +25 -0
- package/dist/react-native/operationsInterfaces/triggerRunOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/triggerRunOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/triggerRunOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaceGitRepoManagement.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/workspaceGitRepoManagement.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaceGitRepoManagement.js +9 -0
- package/dist/react-native/operationsInterfaces/workspaceGitRepoManagement.js.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaceOperations.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/workspaceOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaceOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/workspaceOperations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/tracing.d.ts +2 -0
- package/dist/react-native/tracing.d.ts.map +1 -0
- package/dist/react-native/tracing.js +14 -0
- package/dist/react-native/tracing.js.map +1 -0
- package/package.json +87 -79
- package/dist/index.js.map +0 -1
- package/dist-esm/src/artifactsClient.js.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/bigDataPools.js.map +0 -1
- package/dist-esm/src/operations/dataFlowDebugSession.js.map +0 -1
- package/dist-esm/src/operations/dataFlowOperations.js.map +0 -1
- package/dist-esm/src/operations/datasetOperations.js.map +0 -1
- package/dist-esm/src/operations/index.js +0 -32
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/integrationRuntimes.js.map +0 -1
- package/dist-esm/src/operations/kqlScriptOperations.js.map +0 -1
- package/dist-esm/src/operations/kqlScripts.js.map +0 -1
- package/dist-esm/src/operations/library.js.map +0 -1
- package/dist-esm/src/operations/linkConnectionOperations.js.map +0 -1
- package/dist-esm/src/operations/linkedServiceOperations.js.map +0 -1
- package/dist-esm/src/operations/metastore.js.map +0 -1
- package/dist-esm/src/operations/notebookOperationResult.js.map +0 -1
- package/dist-esm/src/operations/notebookOperations.js.map +0 -1
- package/dist-esm/src/operations/pipelineOperations.js.map +0 -1
- package/dist-esm/src/operations/pipelineRunOperations.js.map +0 -1
- package/dist-esm/src/operations/runNotebook.js.map +0 -1
- package/dist-esm/src/operations/sparkConfigurationOperations.js.map +0 -1
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js.map +0 -1
- package/dist-esm/src/operations/sqlPools.js.map +0 -1
- package/dist-esm/src/operations/sqlScriptOperations.js.map +0 -1
- package/dist-esm/src/operations/triggerOperations.js.map +0 -1
- package/dist-esm/src/operations/triggerRunOperations.js.map +0 -1
- package/dist-esm/src/operations/workspaceGitRepoManagement.js.map +0 -1
- package/dist-esm/src/operations/workspaceOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/bigDataPools.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dataFlowOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/datasetOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -32
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/integrationRuntimes.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/kqlScriptOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/kqlScripts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/library.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/linkConnectionOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/linkedServiceOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/metastore.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/notebookOperationResult.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/notebookOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/pipelineOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/pipelineRunOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/runNotebook.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sparkConfigurationOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sparkJobDefinitionOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sqlPools.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sqlScriptOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/triggerOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/triggerRunOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaceGitRepoManagement.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaceOperations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/bigDataPools.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/dataFlowDebugSession.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/dataFlowOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/datasetOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/integrationRuntimes.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/kqlScriptOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/kqlScripts.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/library.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/linkConnectionOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/linkedServiceOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/metastore.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/notebookOperationResult.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/notebookOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/pipelineOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/pipelineRunOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/runNotebook.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/sparkConfigurationOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/sparkJobDefinitionOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/sqlPools.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/sqlScriptOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/triggerOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/triggerRunOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaceGitRepoManagement.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaceOperations.js +0 -0
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { tracingClient } from "../tracing.js";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
11
10
|
import * as coreClient from "@azure/core-client";
|
|
12
|
-
import * as Mappers from "../models/mappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
import { createHttpPoller
|
|
15
|
-
import { createLroSpec } from "../lroImpl";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
14
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
16
15
|
/// <reference lib="esnext.asynciterable" />
|
|
17
16
|
/** Class containing TriggerOperations operations. */
|
|
18
17
|
export class TriggerOperationsImpl {
|
|
18
|
+
client;
|
|
19
19
|
/**
|
|
20
20
|
* Initialize a new instance of the class TriggerOperations class.
|
|
21
21
|
* @param client Reference to the service client
|
|
@@ -37,59 +37,42 @@ export class TriggerOperationsImpl {
|
|
|
37
37
|
return this;
|
|
38
38
|
},
|
|
39
39
|
byPage: (settings) => {
|
|
40
|
-
if (settings
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
41
41
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
42
|
}
|
|
43
43
|
return this.getTriggersByWorkspacePagingPage(options, settings);
|
|
44
44
|
},
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
getTriggersByWorkspacePagingPage(options, settings) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
});
|
|
47
|
+
async *getTriggersByWorkspacePagingPage(options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._getTriggersByWorkspace(options);
|
|
52
|
+
const page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._getTriggersByWorkspaceNext(continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
const page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
66
64
|
}
|
|
67
|
-
getTriggersByWorkspacePagingAll(options) {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
for (var _d = true, _e = __asyncValues(this.getTriggersByWorkspacePagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
-
_c = _f.value;
|
|
73
|
-
_d = false;
|
|
74
|
-
const page = _c;
|
|
75
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
-
finally {
|
|
80
|
-
try {
|
|
81
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
82
|
-
}
|
|
83
|
-
finally { if (e_1) throw e_1.error; }
|
|
84
|
-
}
|
|
85
|
-
});
|
|
65
|
+
async *getTriggersByWorkspacePagingAll(options) {
|
|
66
|
+
for await (const page of this.getTriggersByWorkspacePagingPage(options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
86
69
|
}
|
|
87
70
|
/**
|
|
88
71
|
* Lists triggers.
|
|
89
72
|
* @param options The options parameters.
|
|
90
73
|
*/
|
|
91
74
|
async _getTriggersByWorkspace(options) {
|
|
92
|
-
return tracingClient.withSpan("ArtifactsClient._getTriggersByWorkspace", options
|
|
75
|
+
return tracingClient.withSpan("ArtifactsClient._getTriggersByWorkspace", options ?? {}, async (options) => {
|
|
93
76
|
return this.client.sendOperationRequest({ options }, getTriggersByWorkspaceOperationSpec);
|
|
94
77
|
});
|
|
95
78
|
}
|
|
@@ -101,19 +84,24 @@ export class TriggerOperationsImpl {
|
|
|
101
84
|
*/
|
|
102
85
|
async beginCreateOrUpdateTrigger(triggerName, trigger, options) {
|
|
103
86
|
const directSendOperation = async (args, spec) => {
|
|
104
|
-
return tracingClient.withSpan("ArtifactsClient.beginCreateOrUpdateTrigger", options
|
|
87
|
+
return tracingClient.withSpan("ArtifactsClient.beginCreateOrUpdateTrigger", options ?? {}, async () => {
|
|
105
88
|
return this.client.sendOperationRequest(args, spec);
|
|
106
89
|
});
|
|
107
90
|
};
|
|
108
91
|
const sendOperationFn = async (args, spec) => {
|
|
109
|
-
var _a;
|
|
110
92
|
let currentRawResponse = undefined;
|
|
111
|
-
const providedCallback =
|
|
93
|
+
const providedCallback = args.options?.onResponse;
|
|
112
94
|
const callback = (rawResponse, flatResponse) => {
|
|
113
95
|
currentRawResponse = rawResponse;
|
|
114
|
-
providedCallback
|
|
96
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
97
|
+
};
|
|
98
|
+
const updatedArgs = {
|
|
99
|
+
...args,
|
|
100
|
+
options: {
|
|
101
|
+
...args.options,
|
|
102
|
+
onResponse: callback,
|
|
103
|
+
},
|
|
115
104
|
};
|
|
116
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
117
105
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
118
106
|
return {
|
|
119
107
|
flatResponse,
|
|
@@ -130,8 +118,8 @@ export class TriggerOperationsImpl {
|
|
|
130
118
|
spec: createOrUpdateTriggerOperationSpec,
|
|
131
119
|
});
|
|
132
120
|
const poller = await createHttpPoller(lro, {
|
|
133
|
-
restoreFrom: options
|
|
134
|
-
intervalInMs: options
|
|
121
|
+
restoreFrom: options?.resumeFrom,
|
|
122
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
135
123
|
});
|
|
136
124
|
await poller.poll();
|
|
137
125
|
return poller;
|
|
@@ -152,7 +140,7 @@ export class TriggerOperationsImpl {
|
|
|
152
140
|
* @param options The options parameters.
|
|
153
141
|
*/
|
|
154
142
|
async getTrigger(triggerName, options) {
|
|
155
|
-
return tracingClient.withSpan("ArtifactsClient.getTrigger", options
|
|
143
|
+
return tracingClient.withSpan("ArtifactsClient.getTrigger", options ?? {}, async (options) => {
|
|
156
144
|
return this.client.sendOperationRequest({ triggerName, options }, getTriggerOperationSpec);
|
|
157
145
|
});
|
|
158
146
|
}
|
|
@@ -163,19 +151,24 @@ export class TriggerOperationsImpl {
|
|
|
163
151
|
*/
|
|
164
152
|
async beginDeleteTrigger(triggerName, options) {
|
|
165
153
|
const directSendOperation = async (args, spec) => {
|
|
166
|
-
return tracingClient.withSpan("ArtifactsClient.beginDeleteTrigger", options
|
|
154
|
+
return tracingClient.withSpan("ArtifactsClient.beginDeleteTrigger", options ?? {}, async () => {
|
|
167
155
|
return this.client.sendOperationRequest(args, spec);
|
|
168
156
|
});
|
|
169
157
|
};
|
|
170
158
|
const sendOperationFn = async (args, spec) => {
|
|
171
|
-
var _a;
|
|
172
159
|
let currentRawResponse = undefined;
|
|
173
|
-
const providedCallback =
|
|
160
|
+
const providedCallback = args.options?.onResponse;
|
|
174
161
|
const callback = (rawResponse, flatResponse) => {
|
|
175
162
|
currentRawResponse = rawResponse;
|
|
176
|
-
providedCallback
|
|
163
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
164
|
+
};
|
|
165
|
+
const updatedArgs = {
|
|
166
|
+
...args,
|
|
167
|
+
options: {
|
|
168
|
+
...args.options,
|
|
169
|
+
onResponse: callback,
|
|
170
|
+
},
|
|
177
171
|
};
|
|
178
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
179
172
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
180
173
|
return {
|
|
181
174
|
flatResponse,
|
|
@@ -192,8 +185,8 @@ export class TriggerOperationsImpl {
|
|
|
192
185
|
spec: deleteTriggerOperationSpec,
|
|
193
186
|
});
|
|
194
187
|
const poller = await createHttpPoller(lro, {
|
|
195
|
-
restoreFrom: options
|
|
196
|
-
intervalInMs: options
|
|
188
|
+
restoreFrom: options?.resumeFrom,
|
|
189
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
197
190
|
});
|
|
198
191
|
await poller.poll();
|
|
199
192
|
return poller;
|
|
@@ -214,19 +207,24 @@ export class TriggerOperationsImpl {
|
|
|
214
207
|
*/
|
|
215
208
|
async beginSubscribeTriggerToEvents(triggerName, options) {
|
|
216
209
|
const directSendOperation = async (args, spec) => {
|
|
217
|
-
return tracingClient.withSpan("ArtifactsClient.beginSubscribeTriggerToEvents", options
|
|
210
|
+
return tracingClient.withSpan("ArtifactsClient.beginSubscribeTriggerToEvents", options ?? {}, async () => {
|
|
218
211
|
return this.client.sendOperationRequest(args, spec);
|
|
219
212
|
});
|
|
220
213
|
};
|
|
221
214
|
const sendOperationFn = async (args, spec) => {
|
|
222
|
-
var _a;
|
|
223
215
|
let currentRawResponse = undefined;
|
|
224
|
-
const providedCallback =
|
|
216
|
+
const providedCallback = args.options?.onResponse;
|
|
225
217
|
const callback = (rawResponse, flatResponse) => {
|
|
226
218
|
currentRawResponse = rawResponse;
|
|
227
|
-
providedCallback
|
|
219
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
220
|
+
};
|
|
221
|
+
const updatedArgs = {
|
|
222
|
+
...args,
|
|
223
|
+
options: {
|
|
224
|
+
...args.options,
|
|
225
|
+
onResponse: callback,
|
|
226
|
+
},
|
|
228
227
|
};
|
|
229
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
230
228
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
231
229
|
return {
|
|
232
230
|
flatResponse,
|
|
@@ -243,8 +241,8 @@ export class TriggerOperationsImpl {
|
|
|
243
241
|
spec: subscribeTriggerToEventsOperationSpec,
|
|
244
242
|
});
|
|
245
243
|
const poller = await createHttpPoller(lro, {
|
|
246
|
-
restoreFrom: options
|
|
247
|
-
intervalInMs: options
|
|
244
|
+
restoreFrom: options?.resumeFrom,
|
|
245
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
248
246
|
});
|
|
249
247
|
await poller.poll();
|
|
250
248
|
return poller;
|
|
@@ -264,7 +262,7 @@ export class TriggerOperationsImpl {
|
|
|
264
262
|
* @param options The options parameters.
|
|
265
263
|
*/
|
|
266
264
|
async getEventSubscriptionStatus(triggerName, options) {
|
|
267
|
-
return tracingClient.withSpan("ArtifactsClient.getEventSubscriptionStatus", options
|
|
265
|
+
return tracingClient.withSpan("ArtifactsClient.getEventSubscriptionStatus", options ?? {}, async (options) => {
|
|
268
266
|
return this.client.sendOperationRequest({ triggerName, options }, getEventSubscriptionStatusOperationSpec);
|
|
269
267
|
});
|
|
270
268
|
}
|
|
@@ -275,19 +273,24 @@ export class TriggerOperationsImpl {
|
|
|
275
273
|
*/
|
|
276
274
|
async beginUnsubscribeTriggerFromEvents(triggerName, options) {
|
|
277
275
|
const directSendOperation = async (args, spec) => {
|
|
278
|
-
return tracingClient.withSpan("ArtifactsClient.beginUnsubscribeTriggerFromEvents", options
|
|
276
|
+
return tracingClient.withSpan("ArtifactsClient.beginUnsubscribeTriggerFromEvents", options ?? {}, async () => {
|
|
279
277
|
return this.client.sendOperationRequest(args, spec);
|
|
280
278
|
});
|
|
281
279
|
};
|
|
282
280
|
const sendOperationFn = async (args, spec) => {
|
|
283
|
-
var _a;
|
|
284
281
|
let currentRawResponse = undefined;
|
|
285
|
-
const providedCallback =
|
|
282
|
+
const providedCallback = args.options?.onResponse;
|
|
286
283
|
const callback = (rawResponse, flatResponse) => {
|
|
287
284
|
currentRawResponse = rawResponse;
|
|
288
|
-
providedCallback
|
|
285
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
286
|
+
};
|
|
287
|
+
const updatedArgs = {
|
|
288
|
+
...args,
|
|
289
|
+
options: {
|
|
290
|
+
...args.options,
|
|
291
|
+
onResponse: callback,
|
|
292
|
+
},
|
|
289
293
|
};
|
|
290
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
291
294
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
292
295
|
return {
|
|
293
296
|
flatResponse,
|
|
@@ -304,8 +307,8 @@ export class TriggerOperationsImpl {
|
|
|
304
307
|
spec: unsubscribeTriggerFromEventsOperationSpec,
|
|
305
308
|
});
|
|
306
309
|
const poller = await createHttpPoller(lro, {
|
|
307
|
-
restoreFrom: options
|
|
308
|
-
intervalInMs: options
|
|
310
|
+
restoreFrom: options?.resumeFrom,
|
|
311
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
309
312
|
});
|
|
310
313
|
await poller.poll();
|
|
311
314
|
return poller;
|
|
@@ -326,19 +329,24 @@ export class TriggerOperationsImpl {
|
|
|
326
329
|
*/
|
|
327
330
|
async beginStartTrigger(triggerName, options) {
|
|
328
331
|
const directSendOperation = async (args, spec) => {
|
|
329
|
-
return tracingClient.withSpan("ArtifactsClient.beginStartTrigger", options
|
|
332
|
+
return tracingClient.withSpan("ArtifactsClient.beginStartTrigger", options ?? {}, async () => {
|
|
330
333
|
return this.client.sendOperationRequest(args, spec);
|
|
331
334
|
});
|
|
332
335
|
};
|
|
333
336
|
const sendOperationFn = async (args, spec) => {
|
|
334
|
-
var _a;
|
|
335
337
|
let currentRawResponse = undefined;
|
|
336
|
-
const providedCallback =
|
|
338
|
+
const providedCallback = args.options?.onResponse;
|
|
337
339
|
const callback = (rawResponse, flatResponse) => {
|
|
338
340
|
currentRawResponse = rawResponse;
|
|
339
|
-
providedCallback
|
|
341
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
342
|
+
};
|
|
343
|
+
const updatedArgs = {
|
|
344
|
+
...args,
|
|
345
|
+
options: {
|
|
346
|
+
...args.options,
|
|
347
|
+
onResponse: callback,
|
|
348
|
+
},
|
|
340
349
|
};
|
|
341
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
342
350
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
343
351
|
return {
|
|
344
352
|
flatResponse,
|
|
@@ -355,8 +363,8 @@ export class TriggerOperationsImpl {
|
|
|
355
363
|
spec: startTriggerOperationSpec,
|
|
356
364
|
});
|
|
357
365
|
const poller = await createHttpPoller(lro, {
|
|
358
|
-
restoreFrom: options
|
|
359
|
-
intervalInMs: options
|
|
366
|
+
restoreFrom: options?.resumeFrom,
|
|
367
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
360
368
|
});
|
|
361
369
|
await poller.poll();
|
|
362
370
|
return poller;
|
|
@@ -377,19 +385,24 @@ export class TriggerOperationsImpl {
|
|
|
377
385
|
*/
|
|
378
386
|
async beginStopTrigger(triggerName, options) {
|
|
379
387
|
const directSendOperation = async (args, spec) => {
|
|
380
|
-
return tracingClient.withSpan("ArtifactsClient.beginStopTrigger", options
|
|
388
|
+
return tracingClient.withSpan("ArtifactsClient.beginStopTrigger", options ?? {}, async () => {
|
|
381
389
|
return this.client.sendOperationRequest(args, spec);
|
|
382
390
|
});
|
|
383
391
|
};
|
|
384
392
|
const sendOperationFn = async (args, spec) => {
|
|
385
|
-
var _a;
|
|
386
393
|
let currentRawResponse = undefined;
|
|
387
|
-
const providedCallback =
|
|
394
|
+
const providedCallback = args.options?.onResponse;
|
|
388
395
|
const callback = (rawResponse, flatResponse) => {
|
|
389
396
|
currentRawResponse = rawResponse;
|
|
390
|
-
providedCallback
|
|
397
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
398
|
+
};
|
|
399
|
+
const updatedArgs = {
|
|
400
|
+
...args,
|
|
401
|
+
options: {
|
|
402
|
+
...args.options,
|
|
403
|
+
onResponse: callback,
|
|
404
|
+
},
|
|
391
405
|
};
|
|
392
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
393
406
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
394
407
|
return {
|
|
395
408
|
flatResponse,
|
|
@@ -406,8 +419,8 @@ export class TriggerOperationsImpl {
|
|
|
406
419
|
spec: stopTriggerOperationSpec,
|
|
407
420
|
});
|
|
408
421
|
const poller = await createHttpPoller(lro, {
|
|
409
|
-
restoreFrom: options
|
|
410
|
-
intervalInMs: options
|
|
422
|
+
restoreFrom: options?.resumeFrom,
|
|
423
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
411
424
|
});
|
|
412
425
|
await poller.poll();
|
|
413
426
|
return poller;
|
|
@@ -427,7 +440,7 @@ export class TriggerOperationsImpl {
|
|
|
427
440
|
* @param options The options parameters.
|
|
428
441
|
*/
|
|
429
442
|
async _getTriggersByWorkspaceNext(nextLink, options) {
|
|
430
|
-
return tracingClient.withSpan("ArtifactsClient._getTriggersByWorkspaceNext", options
|
|
443
|
+
return tracingClient.withSpan("ArtifactsClient._getTriggersByWorkspaceNext", options ?? {}, async (options) => {
|
|
431
444
|
return this.client.sendOperationRequest({ nextLink, options }, getTriggersByWorkspaceNextOperationSpec);
|
|
432
445
|
});
|
|
433
446
|
}
|
|
@@ -473,11 +486,7 @@ const createOrUpdateTriggerOperationSpec = {
|
|
|
473
486
|
requestBody: Parameters.trigger,
|
|
474
487
|
queryParameters: [Parameters.apiVersion5],
|
|
475
488
|
urlParameters: [Parameters.endpoint, Parameters.triggerName],
|
|
476
|
-
headerParameters: [
|
|
477
|
-
Parameters.accept,
|
|
478
|
-
Parameters.contentType,
|
|
479
|
-
Parameters.ifMatch,
|
|
480
|
-
],
|
|
489
|
+
headerParameters: [Parameters.accept, Parameters.contentType, Parameters.ifMatch],
|
|
481
490
|
mediaType: "json",
|
|
482
491
|
serializer,
|
|
483
492
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"triggerOperations.js","sourceRoot":"","sources":["../../../src/operations/triggerOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAsB9C,4CAA4C;AAC5C,qDAAqD;AACrD,MAAM,OAAO,qBAAqB;IACf,MAAM,CAAkB;IAEzC;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,uBAAuB,CAC5B,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,+BAA+B,CAAC,OAAO,CAAC,CAAC;QAC3D,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,M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C,GAA6B;IACxE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;IACzD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { tracingClient } from \"../tracing.js\";\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { TriggerOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ArtifactsClient } from \"../artifactsClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n TriggerResource,\n TriggerGetTriggersByWorkspaceNextOptionalParams,\n TriggerGetTriggersByWorkspaceOptionalParams,\n TriggerGetTriggersByWorkspaceResponse,\n TriggerCreateOrUpdateTriggerOptionalParams,\n TriggerCreateOrUpdateTriggerResponse,\n TriggerGetTriggerOptionalParams,\n TriggerGetTriggerResponse,\n TriggerDeleteTriggerOptionalParams,\n TriggerSubscribeTriggerToEventsOptionalParams,\n TriggerSubscribeTriggerToEventsResponse,\n TriggerGetEventSubscriptionStatusOptionalParams,\n TriggerGetEventSubscriptionStatusResponse,\n TriggerUnsubscribeTriggerFromEventsOptionalParams,\n TriggerUnsubscribeTriggerFromEventsResponse,\n TriggerStartTriggerOptionalParams,\n TriggerStopTriggerOptionalParams,\n TriggerGetTriggersByWorkspaceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TriggerOperations operations. */\nexport class TriggerOperationsImpl implements TriggerOperations {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class TriggerOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * Lists triggers.\n * @param options The options parameters.\n */\n public listTriggersByWorkspace(\n options?: TriggerGetTriggersByWorkspaceOptionalParams,\n ): PagedAsyncIterableIterator<TriggerResource> {\n const iter = this.getTriggersByWorkspacePagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.getTriggersByWorkspacePagingPage(options, settings);\n },\n };\n }\n\n private async *getTriggersByWorkspacePagingPage(\n options?: TriggerGetTriggersByWorkspaceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<TriggerResource[]> {\n let result: TriggerGetTriggersByWorkspaceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._getTriggersByWorkspace(options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._getTriggersByWorkspaceNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *getTriggersByWorkspacePagingAll(\n options?: TriggerGetTriggersByWorkspaceOptionalParams,\n ): AsyncIterableIterator<TriggerResource> {\n for await (const page of this.getTriggersByWorkspacePagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists triggers.\n * @param options The options parameters.\n */\n private async _getTriggersByWorkspace(\n options?: TriggerGetTriggersByWorkspaceOptionalParams,\n ): Promise<TriggerGetTriggersByWorkspaceResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient._getTriggersByWorkspace\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getTriggersByWorkspaceOperationSpec,\n ) as Promise<TriggerGetTriggersByWorkspaceResponse>;\n },\n );\n }\n\n /**\n * Creates or updates a trigger.\n * @param triggerName The trigger name.\n * @param trigger Trigger resource definition.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateTrigger(\n triggerName: string,\n trigger: TriggerResource,\n options?: TriggerCreateOrUpdateTriggerOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TriggerCreateOrUpdateTriggerResponse>,\n TriggerCreateOrUpdateTriggerResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TriggerCreateOrUpdateTriggerResponse> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginCreateOrUpdateTrigger\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(\n args,\n spec,\n ) as Promise<TriggerCreateOrUpdateTriggerResponse>;\n },\n );\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, trigger, options },\n spec: createOrUpdateTriggerOperationSpec,\n });\n const poller = await createHttpPoller<\n TriggerCreateOrUpdateTriggerResponse,\n OperationState<TriggerCreateOrUpdateTriggerResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a trigger.\n * @param triggerName The trigger name.\n * @param trigger Trigger resource definition.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateTriggerAndWait(\n triggerName: string,\n trigger: TriggerResource,\n options?: TriggerCreateOrUpdateTriggerOptionalParams,\n ): Promise<TriggerCreateOrUpdateTriggerResponse> {\n const poller = await this.beginCreateOrUpdateTrigger(triggerName, trigger, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async getTrigger(\n triggerName: string,\n options?: TriggerGetTriggerOptionalParams,\n ): Promise<TriggerGetTriggerResponse> {\n return tracingClient.withSpan(\"ArtifactsClient.getTrigger\", options ?? {}, async (options) => {\n return this.client.sendOperationRequest(\n { triggerName, options },\n getTriggerOperationSpec,\n ) as Promise<TriggerGetTriggerResponse>;\n });\n }\n\n /**\n * Deletes a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginDeleteTrigger(\n triggerName: string,\n options?: TriggerDeleteTriggerOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginDeleteTrigger\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(args, spec) as Promise<void>;\n },\n );\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, options },\n spec: deleteTriggerOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginDeleteTriggerAndWait(\n triggerName: string,\n options?: TriggerDeleteTriggerOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDeleteTrigger(triggerName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Subscribe event trigger to events.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginSubscribeTriggerToEvents(\n triggerName: string,\n options?: TriggerSubscribeTriggerToEventsOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TriggerSubscribeTriggerToEventsResponse>,\n TriggerSubscribeTriggerToEventsResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TriggerSubscribeTriggerToEventsResponse> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginSubscribeTriggerToEvents\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(\n args,\n spec,\n ) as Promise<TriggerSubscribeTriggerToEventsResponse>;\n },\n );\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, options },\n spec: subscribeTriggerToEventsOperationSpec,\n });\n const poller = await createHttpPoller<\n TriggerSubscribeTriggerToEventsResponse,\n OperationState<TriggerSubscribeTriggerToEventsResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Subscribe event trigger to events.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginSubscribeTriggerToEventsAndWait(\n triggerName: string,\n options?: TriggerSubscribeTriggerToEventsOptionalParams,\n ): Promise<TriggerSubscribeTriggerToEventsResponse> {\n const poller = await this.beginSubscribeTriggerToEvents(triggerName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Get a trigger's event subscription status.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async getEventSubscriptionStatus(\n triggerName: string,\n options?: TriggerGetEventSubscriptionStatusOptionalParams,\n ): Promise<TriggerGetEventSubscriptionStatusResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.getEventSubscriptionStatus\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { triggerName, options },\n getEventSubscriptionStatusOperationSpec,\n ) as Promise<TriggerGetEventSubscriptionStatusResponse>;\n },\n );\n }\n\n /**\n * Unsubscribe event trigger from events.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginUnsubscribeTriggerFromEvents(\n triggerName: string,\n options?: TriggerUnsubscribeTriggerFromEventsOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TriggerUnsubscribeTriggerFromEventsResponse>,\n TriggerUnsubscribeTriggerFromEventsResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TriggerUnsubscribeTriggerFromEventsResponse> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginUnsubscribeTriggerFromEvents\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(\n args,\n spec,\n ) as Promise<TriggerUnsubscribeTriggerFromEventsResponse>;\n },\n );\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, options },\n spec: unsubscribeTriggerFromEventsOperationSpec,\n });\n const poller = await createHttpPoller<\n TriggerUnsubscribeTriggerFromEventsResponse,\n OperationState<TriggerUnsubscribeTriggerFromEventsResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Unsubscribe event trigger from events.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginUnsubscribeTriggerFromEventsAndWait(\n triggerName: string,\n options?: TriggerUnsubscribeTriggerFromEventsOptionalParams,\n ): Promise<TriggerUnsubscribeTriggerFromEventsResponse> {\n const poller = await this.beginUnsubscribeTriggerFromEvents(triggerName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Starts a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginStartTrigger(\n triggerName: string,\n options?: TriggerStartTriggerOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginStartTrigger\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(args, spec) as Promise<void>;\n },\n );\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, options },\n spec: startTriggerOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Starts a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginStartTriggerAndWait(\n triggerName: string,\n options?: TriggerStartTriggerOptionalParams,\n ): Promise<void> {\n const poller = await this.beginStartTrigger(triggerName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Stops a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginStopTrigger(\n triggerName: string,\n options?: TriggerStopTriggerOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return tracingClient.withSpan(\"ArtifactsClient.beginStopTrigger\", options ?? {}, async () => {\n return this.client.sendOperationRequest(args, spec) as Promise<void>;\n });\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, options },\n spec: stopTriggerOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Stops a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginStopTriggerAndWait(\n triggerName: string,\n options?: TriggerStopTriggerOptionalParams,\n ): Promise<void> {\n const poller = await this.beginStopTrigger(triggerName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * GetTriggersByWorkspaceNext\n * @param nextLink The nextLink from the previous successful call to the GetTriggersByWorkspace method.\n * @param options The options parameters.\n */\n private async _getTriggersByWorkspaceNext(\n nextLink: string,\n options?: TriggerGetTriggersByWorkspaceNextOptionalParams,\n ): Promise<TriggerGetTriggersByWorkspaceNextResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient._getTriggersByWorkspaceNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { nextLink, options },\n getTriggersByWorkspaceNextOperationSpec,\n ) as Promise<TriggerGetTriggersByWorkspaceNextResponse>;\n },\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getTriggersByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateTriggerOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerResource,\n },\n 201: {\n bodyMapper: Mappers.TriggerResource,\n },\n 202: {\n bodyMapper: Mappers.TriggerResource,\n },\n 204: {\n bodyMapper: Mappers.TriggerResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.trigger,\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept, Parameters.contentType, Parameters.ifMatch],\n mediaType: \"json\",\n serializer,\n};\nconst getTriggerOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerResource,\n },\n 304: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept, Parameters.ifNoneMatch],\n serializer,\n};\nconst deleteTriggerOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst subscribeTriggerToEventsOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/subscribeToEvents\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 201: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 202: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 204: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getEventSubscriptionStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/getEventSubscriptionStatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst unsubscribeTriggerFromEventsOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/unsubscribeFromEvents\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 201: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 202: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 204: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startTriggerOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopTriggerOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getTriggersByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { TriggerRunOperations } from "../operationsInterfaces/index.js";
|
|
2
|
+
import type { ArtifactsClient } from "../artifactsClient.js";
|
|
3
|
+
import type { TriggerRunRerunTriggerInstanceOptionalParams, TriggerRunCancelTriggerInstanceOptionalParams, RunFilterParameters, TriggerRunQueryTriggerRunsByWorkspaceOptionalParams, TriggerRunQueryTriggerRunsByWorkspaceResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing TriggerRunOperations operations. */
|
|
5
|
+
export declare class TriggerRunOperationsImpl implements TriggerRunOperations {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class TriggerRunOperations class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: ArtifactsClient);
|
|
12
|
+
/**
|
|
13
|
+
* Rerun single trigger instance by runId.
|
|
14
|
+
* @param triggerName The trigger name.
|
|
15
|
+
* @param runId The pipeline run identifier.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
rerunTriggerInstance(triggerName: string, runId: string, options?: TriggerRunRerunTriggerInstanceOptionalParams): Promise<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Cancel single trigger instance by runId.
|
|
21
|
+
* @param triggerName The trigger name.
|
|
22
|
+
* @param runId The pipeline run identifier.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
cancelTriggerInstance(triggerName: string, runId: string, options?: TriggerRunCancelTriggerInstanceOptionalParams): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Query trigger runs.
|
|
28
|
+
* @param filterParameters Parameters to filter the pipeline run.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
queryTriggerRunsByWorkspace(filterParameters: RunFilterParameters, options?: TriggerRunQueryTriggerRunsByWorkspaceOptionalParams): Promise<TriggerRunQueryTriggerRunsByWorkspaceResponse>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=triggerRunOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"triggerRunOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/triggerRunOperations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EACV,4CAA4C,EAC5C,6CAA6C,EAC7C,mBAAmB,EACnB,mDAAmD,EACnD,6CAA6C,EAC9C,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;;;OAKG;IACG,oBAAoB,CACxB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,IAAI,CAAC;IAahB;;;;;OAKG;IACG,qBAAqB,CACzB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,IAAI,CAAC;IAahB;;;;OAIG;IACG,2BAA2B,CAC/B,gBAAgB,EAAE,mBAAmB,EACrC,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;CAY1D"}
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { tracingClient } from "../tracing";
|
|
8
|
+
import { tracingClient } from "../tracing.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/** Class containing TriggerRunOperations operations. */
|
|
13
13
|
export class TriggerRunOperationsImpl {
|
|
14
|
+
client;
|
|
14
15
|
/**
|
|
15
16
|
* Initialize a new instance of the class TriggerRunOperations class.
|
|
16
17
|
* @param client Reference to the service client
|
|
@@ -25,7 +26,7 @@ export class TriggerRunOperationsImpl {
|
|
|
25
26
|
* @param options The options parameters.
|
|
26
27
|
*/
|
|
27
28
|
async rerunTriggerInstance(triggerName, runId, options) {
|
|
28
|
-
return tracingClient.withSpan("ArtifactsClient.rerunTriggerInstance", options
|
|
29
|
+
return tracingClient.withSpan("ArtifactsClient.rerunTriggerInstance", options ?? {}, async (options) => {
|
|
29
30
|
return this.client.sendOperationRequest({ triggerName, runId, options }, rerunTriggerInstanceOperationSpec);
|
|
30
31
|
});
|
|
31
32
|
}
|
|
@@ -36,7 +37,7 @@ export class TriggerRunOperationsImpl {
|
|
|
36
37
|
* @param options The options parameters.
|
|
37
38
|
*/
|
|
38
39
|
async cancelTriggerInstance(triggerName, runId, options) {
|
|
39
|
-
return tracingClient.withSpan("ArtifactsClient.cancelTriggerInstance", options
|
|
40
|
+
return tracingClient.withSpan("ArtifactsClient.cancelTriggerInstance", options ?? {}, async (options) => {
|
|
40
41
|
return this.client.sendOperationRequest({ triggerName, runId, options }, cancelTriggerInstanceOperationSpec);
|
|
41
42
|
});
|
|
42
43
|
}
|
|
@@ -46,7 +47,7 @@ export class TriggerRunOperationsImpl {
|
|
|
46
47
|
* @param options The options parameters.
|
|
47
48
|
*/
|
|
48
49
|
async queryTriggerRunsByWorkspace(filterParameters, options) {
|
|
49
|
-
return tracingClient.withSpan("ArtifactsClient.queryTriggerRunsByWorkspace", options
|
|
50
|
+
return tracingClient.withSpan("ArtifactsClient.queryTriggerRunsByWorkspace", options ?? {}, async (options) => {
|
|
50
51
|
return this.client.sendOperationRequest({ filterParameters, options }, queryTriggerRunsByWorkspaceOperationSpec);
|
|
51
52
|
});
|
|
52
53
|
}
|
|
@@ -63,11 +64,7 @@ const rerunTriggerInstanceOperationSpec = {
|
|
|
63
64
|
},
|
|
64
65
|
},
|
|
65
66
|
queryParameters: [Parameters.apiVersion5],
|
|
66
|
-
urlParameters: [
|
|
67
|
-
Parameters.endpoint,
|
|
68
|
-
Parameters.runId1,
|
|
69
|
-
Parameters.triggerName,
|
|
70
|
-
],
|
|
67
|
+
urlParameters: [Parameters.endpoint, Parameters.runId1, Parameters.triggerName],
|
|
71
68
|
headerParameters: [Parameters.accept],
|
|
72
69
|
serializer,
|
|
73
70
|
};
|
|
@@ -81,11 +78,7 @@ const cancelTriggerInstanceOperationSpec = {
|
|
|
81
78
|
},
|
|
82
79
|
},
|
|
83
80
|
queryParameters: [Parameters.apiVersion5],
|
|
84
|
-
urlParameters: [
|
|
85
|
-
Parameters.endpoint,
|
|
86
|
-
Parameters.runId1,
|
|
87
|
-
Parameters.triggerName,
|
|
88
|
-
],
|
|
81
|
+
urlParameters: [Parameters.endpoint, Parameters.runId1, Parameters.triggerName],
|
|
89
82
|
headerParameters: [Parameters.accept],
|
|
90
83
|
serializer,
|
|
91
84
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"triggerRunOperations.js","sourceRoot":"","sources":["../../../src/operations/triggerRunOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAClB,MAAM,CAAkB;IAEzC;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,oBAAoB,CACxB,WAAmB,EACnB,KAAa,EACb,OAAsD;QAEtD,OAAO,aAAa,CAAC,QAAQ,CAC3B,sCAAsC,EACtC,OAAO,IAAI,EAAE,EACb,KAAK,EAAE,OAAO,EAAE,EAAE;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE,EAC/B,iCAAiC,CACjB,CAAC;QACrB,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,KAAK,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AClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC/E,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,wCAAwC,GAA6B;IACzE,IAAI,EAAE,mBAAmB;IACzB,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,gBAAgB;IACxC,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { tracingClient } from \"../tracing.js\";\nimport type { TriggerRunOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ArtifactsClient } from \"../artifactsClient.js\";\nimport type {\n TriggerRunRerunTriggerInstanceOptionalParams,\n TriggerRunCancelTriggerInstanceOptionalParams,\n RunFilterParameters,\n TriggerRunQueryTriggerRunsByWorkspaceOptionalParams,\n TriggerRunQueryTriggerRunsByWorkspaceResponse,\n} from \"../models/index.js\";\n\n/** Class containing TriggerRunOperations operations. */\nexport class TriggerRunOperationsImpl implements TriggerRunOperations {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class TriggerRunOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * Rerun single trigger instance by runId.\n * @param triggerName The trigger name.\n * @param runId The pipeline run identifier.\n * @param options The options parameters.\n */\n async rerunTriggerInstance(\n triggerName: string,\n runId: string,\n options?: TriggerRunRerunTriggerInstanceOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.rerunTriggerInstance\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { triggerName, runId, options },\n rerunTriggerInstanceOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * Cancel single trigger instance by runId.\n * @param triggerName The trigger name.\n * @param runId The pipeline run identifier.\n * @param options The options parameters.\n */\n async cancelTriggerInstance(\n triggerName: string,\n runId: string,\n options?: TriggerRunCancelTriggerInstanceOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.cancelTriggerInstance\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { triggerName, runId, options },\n cancelTriggerInstanceOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * Query trigger runs.\n * @param filterParameters Parameters to filter the pipeline run.\n * @param options The options parameters.\n */\n async queryTriggerRunsByWorkspace(\n filterParameters: RunFilterParameters,\n options?: TriggerRunQueryTriggerRunsByWorkspaceOptionalParams,\n ): Promise<TriggerRunQueryTriggerRunsByWorkspaceResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.queryTriggerRunsByWorkspace\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { filterParameters, options },\n queryTriggerRunsByWorkspaceOperationSpec,\n ) as Promise<TriggerRunQueryTriggerRunsByWorkspaceResponse>;\n },\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst rerunTriggerInstanceOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/triggerRuns/{runId}/rerun\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.runId1, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst cancelTriggerInstanceOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/triggerRuns/{runId}/cancel\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.runId1, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst queryTriggerRunsByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path: \"/queryTriggerRuns\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerRunsQueryResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.filterParameters,\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|