@azure/synapse-artifacts 1.0.0-beta.10 → 1.0.0-beta.12
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/README.md +1 -1
- package/dist/index.js +2148 -2225
- package/dist/index.js.map +1 -1
- package/dist-esm/src/artifactsClient.js +25 -3
- package/dist-esm/src/artifactsClient.js.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.js +388 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.js +999 -347
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/bigDataPools.js +7 -32
- package/dist-esm/src/operations/bigDataPools.js.map +1 -1
- package/dist-esm/src/operations/dataFlowDebugSession.js +38 -100
- package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -1
- package/dist-esm/src/operations/dataFlowOperations.js +38 -100
- package/dist-esm/src/operations/dataFlowOperations.js.map +1 -1
- package/dist-esm/src/operations/datasetOperations.js +38 -100
- package/dist-esm/src/operations/datasetOperations.js.map +1 -1
- package/dist-esm/src/operations/integrationRuntimes.js +7 -32
- package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
- package/dist-esm/src/operations/kqlScriptOperations.js +13 -62
- package/dist-esm/src/operations/kqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operations/kqlScripts.js +26 -40
- package/dist-esm/src/operations/kqlScripts.js.map +1 -1
- package/dist-esm/src/operations/library.js +44 -130
- package/dist-esm/src/operations/library.js.map +1 -1
- package/dist-esm/src/operations/linkConnectionOperations.js +129 -212
- package/dist-esm/src/operations/linkConnectionOperations.js.map +1 -1
- package/dist-esm/src/operations/linkedServiceOperations.js +38 -100
- package/dist-esm/src/operations/linkedServiceOperations.js.map +1 -1
- package/dist-esm/src/operations/metastore.js +13 -62
- package/dist-esm/src/operations/metastore.js.map +1 -1
- package/dist-esm/src/operations/notebookOperationResult.js +4 -17
- package/dist-esm/src/operations/notebookOperationResult.js.map +1 -1
- package/dist-esm/src/operations/notebookOperations.js +62 -138
- package/dist-esm/src/operations/notebookOperations.js.map +1 -1
- package/dist-esm/src/operations/pipelineOperations.js +41 -115
- package/dist-esm/src/operations/pipelineOperations.js.map +1 -1
- package/dist-esm/src/operations/pipelineRunOperations.js +13 -62
- package/dist-esm/src/operations/pipelineRunOperations.js.map +1 -1
- package/dist-esm/src/operations/sparkConfigurationOperations.js +38 -100
- package/dist-esm/src/operations/sparkConfigurationOperations.js.map +1 -1
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js +44 -130
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js.map +1 -1
- package/dist-esm/src/operations/sqlPools.js +7 -32
- package/dist-esm/src/operations/sqlPools.js.map +1 -1
- package/dist-esm/src/operations/sqlScriptOperations.js +38 -100
- package/dist-esm/src/operations/sqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operations/triggerOperations.js +50 -160
- package/dist-esm/src/operations/triggerOperations.js.map +1 -1
- package/dist-esm/src/operations/triggerRunOperations.js +10 -47
- package/dist-esm/src/operations/triggerRunOperations.js.map +1 -1
- package/dist-esm/src/operations/workspaceGitRepoManagement.js +4 -17
- package/dist-esm/src/operations/workspaceGitRepoManagement.js.map +1 -1
- package/dist-esm/src/operations/workspaceOperations.js +4 -17
- package/dist-esm/src/operations/workspaceOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/linkConnectionOperations.js.map +1 -1
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/tracing.js +4 -3
- package/dist-esm/src/tracing.js.map +1 -1
- package/package.json +7 -7
- package/types/synapse-artifacts.d.ts +1673 -974
- package/CHANGELOG.md +0 -65
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":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,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAuB;IACjE,aAAa,EAAE,iCAAiC;IAChD,MAAM,EAAE,gCAAgC;CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAuB;IAC3C,aAAa,EAAE,WAAW;IAC1B,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA0B;IAClD,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE;QACN,cAAc,EAAE,eAAe;QAC/B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAuB;IACzC,aAAa,EAAE,SAAS;IACxB,MAAM,EAAE,qBAAqB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,mCAAmC,CAAC;YACxD,SAAS,EAAE,GAAG;YACd,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n LinkConnectionResource as LinkConnectionResourceMapper,\n EditTablesRequest as EditTablesRequestMapper,\n QueryTableStatusRequest as QueryTableStatusRequestMapper,\n UpdateLandingZoneCredential as UpdateLandingZoneCredentialMapper,\n KqlScriptResource as KqlScriptResourceMapper,\n ArtifactRenameRequest as ArtifactRenameRequestMapper,\n MetastoreRegisterObject as MetastoreRegisterObjectMapper,\n MetastoreUpdateObject as MetastoreUpdateObjectMapper,\n SparkConfigurationResource as SparkConfigurationResourceMapper,\n DataFlowResource as DataFlowResourceMapper,\n CreateDataFlowDebugSessionRequest as CreateDataFlowDebugSessionRequestMapper,\n DataFlowDebugPackage as DataFlowDebugPackageMapper,\n DeleteDataFlowDebugSessionRequest as DeleteDataFlowDebugSessionRequestMapper,\n DataFlowDebugCommandRequest as DataFlowDebugCommandRequestMapper,\n DatasetResource as DatasetResourceMapper,\n GitHubAccessTokenRequest as GitHubAccessTokenRequestMapper,\n LinkedServiceResource as LinkedServiceResourceMapper,\n NotebookResource as NotebookResourceMapper,\n PipelineResource as PipelineResourceMapper,\n RunFilterParameters as RunFilterParametersMapper,\n SparkJobDefinitionResource as SparkJobDefinitionResourceMapper,\n SqlScriptResource as SqlScriptResourceMapper,\n TriggerResource as TriggerResourceMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-12-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const linkConnection: OperationParameter = {\n parameterPath: \"linkConnection\",\n mapper: LinkConnectionResourceMapper\n};\n\nexport const linkConnectionName: OperationURLParameter = {\n parameterPath: \"linkConnectionName\",\n mapper: {\n serializedName: \"linkConnectionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const editTablesRequest: OperationParameter = {\n parameterPath: \"editTablesRequest\",\n mapper: EditTablesRequestMapper\n};\n\nexport const queryTableStatusRequest: OperationParameter = {\n parameterPath: \"queryTableStatusRequest\",\n mapper: QueryTableStatusRequestMapper\n};\n\nexport const updateLandingZoneCredentialRequest: OperationParameter = {\n parameterPath: \"updateLandingZoneCredentialRequest\",\n mapper: UpdateLandingZoneCredentialMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion1: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-11-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const kqlScript: OperationParameter = {\n parameterPath: \"kqlScript\",\n mapper: KqlScriptResourceMapper\n};\n\nexport const kqlScriptName: OperationURLParameter = {\n parameterPath: \"kqlScriptName\",\n mapper: {\n serializedName: \"kqlScriptName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const renameRequest: OperationParameter = {\n parameterPath: \"renameRequest\",\n mapper: ArtifactRenameRequestMapper\n};\n\nexport const registerBody: OperationParameter = {\n parameterPath: \"registerBody\",\n mapper: MetastoreRegisterObjectMapper\n};\n\nexport const apiVersion2: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-07-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const id: OperationURLParameter = {\n parameterPath: \"id\",\n mapper: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const updateBody: OperationParameter = {\n parameterPath: \"updateBody\",\n mapper: MetastoreUpdateObjectMapper\n};\n\nexport const apiVersion3: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-06-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sparkConfiguration: OperationParameter = {\n parameterPath: \"sparkConfiguration\",\n mapper: SparkConfigurationResourceMapper\n};\n\nexport const sparkConfigurationName: OperationURLParameter = {\n parameterPath: \"sparkConfigurationName\",\n mapper: {\n serializedName: \"sparkConfigurationName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const request: OperationParameter = {\n parameterPath: \"request\",\n mapper: ArtifactRenameRequestMapper\n};\n\nexport const apiVersion4: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2020-12-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const bigDataPoolName: OperationURLParameter = {\n parameterPath: \"bigDataPoolName\",\n mapper: {\n serializedName: \"bigDataPoolName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const dataFlow: OperationParameter = {\n parameterPath: \"dataFlow\",\n mapper: DataFlowResourceMapper\n};\n\nexport const dataFlowName: OperationURLParameter = {\n parameterPath: \"dataFlowName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9_][^<>*#.%&:\\\\\\\\+?/]*$\"),\n MaxLength: 260,\n MinLength: 1\n },\n serializedName: \"dataFlowName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const request1: OperationParameter = {\n parameterPath: \"request\",\n mapper: CreateDataFlowDebugSessionRequestMapper\n};\n\nexport const request2: OperationParameter = {\n parameterPath: \"request\",\n mapper: DataFlowDebugPackageMapper\n};\n\nexport const request3: OperationParameter = {\n parameterPath: \"request\",\n mapper: DeleteDataFlowDebugSessionRequestMapper\n};\n\nexport const request4: OperationParameter = {\n parameterPath: \"request\",\n mapper: DataFlowDebugCommandRequestMapper\n};\n\nexport const dataset: OperationParameter = {\n parameterPath: \"dataset\",\n mapper: DatasetResourceMapper\n};\n\nexport const datasetName: OperationURLParameter = {\n parameterPath: \"datasetName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9_][^<>*#.%&:\\\\\\\\+?/]*$\"),\n MaxLength: 260,\n MinLength: 1\n },\n serializedName: \"datasetName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const gitHubAccessTokenRequest: OperationParameter = {\n parameterPath: \"gitHubAccessTokenRequest\",\n mapper: GitHubAccessTokenRequestMapper\n};\n\nexport const clientRequestId: OperationParameter = {\n parameterPath: [\"options\", \"clientRequestId\"],\n mapper: {\n serializedName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const integrationRuntimeName: OperationURLParameter = {\n parameterPath: \"integrationRuntimeName\",\n mapper: {\n serializedName: \"integrationRuntimeName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const libraryName: OperationURLParameter = {\n parameterPath: \"libraryName\",\n mapper: {\n constraints: {\n MaxLength: 100\n },\n serializedName: \"libraryName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/octet-stream\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const content: OperationParameter = {\n parameterPath: \"content\",\n mapper: {\n serializedName: \"content\",\n required: true,\n type: {\n name: \"Stream\"\n }\n }\n};\n\nexport const accept1: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"appendblock\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobConditionAppendPosition: OperationParameter = {\n parameterPath: [\"options\", \"blobConditionAppendPosition\"],\n mapper: {\n serializedName: \"x-ms-blob-condition-appendpos\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const linkedService: OperationParameter = {\n parameterPath: \"linkedService\",\n mapper: LinkedServiceResourceMapper\n};\n\nexport const linkedServiceName: OperationURLParameter = {\n parameterPath: \"linkedServiceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9_][^<>*#.%&:\\\\\\\\+?/]*$\"),\n MaxLength: 260,\n MinLength: 1\n },\n serializedName: \"linkedServiceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const notebook: OperationParameter = {\n parameterPath: \"notebook\",\n mapper: NotebookResourceMapper\n};\n\nexport const notebookName: OperationURLParameter = {\n parameterPath: \"notebookName\",\n mapper: {\n serializedName: \"notebookName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const pipeline: OperationParameter = {\n parameterPath: \"pipeline\",\n mapper: PipelineResourceMapper\n};\n\nexport const pipelineName: OperationURLParameter = {\n parameterPath: \"pipelineName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9_][^<>*#.%&:\\\\\\\\+?/]*$\"),\n MaxLength: 260,\n MinLength: 1\n },\n serializedName: \"pipelineName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: {\n serializedName: \"parameters\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n};\n\nexport const referencePipelineRunId: OperationQueryParameter = {\n parameterPath: [\"options\", \"referencePipelineRunId\"],\n mapper: {\n serializedName: \"referencePipelineRunId\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const isRecovery: OperationQueryParameter = {\n parameterPath: [\"options\", \"isRecovery\"],\n mapper: {\n serializedName: \"isRecovery\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const startActivityName: OperationQueryParameter = {\n parameterPath: [\"options\", \"startActivityName\"],\n mapper: {\n serializedName: \"startActivityName\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const filterParameters: OperationParameter = {\n parameterPath: \"filterParameters\",\n mapper: RunFilterParametersMapper\n};\n\nexport const runId: OperationURLParameter = {\n parameterPath: \"runId\",\n mapper: {\n serializedName: \"runId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const isRecursive: OperationQueryParameter = {\n parameterPath: [\"options\", \"isRecursive\"],\n mapper: {\n serializedName: \"isRecursive\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const sparkJobDefinition: OperationParameter = {\n parameterPath: \"sparkJobDefinition\",\n mapper: SparkJobDefinitionResourceMapper\n};\n\nexport const sparkJobDefinitionName: OperationURLParameter = {\n parameterPath: \"sparkJobDefinitionName\",\n mapper: {\n serializedName: \"sparkJobDefinitionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sparkJobDefinitionAzureResource: OperationParameter = {\n parameterPath: \"sparkJobDefinitionAzureResource\",\n mapper: SparkJobDefinitionResourceMapper\n};\n\nexport const sqlPoolName: OperationURLParameter = {\n parameterPath: \"sqlPoolName\",\n mapper: {\n serializedName: \"sqlPoolName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sqlScript: OperationParameter = {\n parameterPath: \"sqlScript\",\n mapper: SqlScriptResourceMapper\n};\n\nexport const sqlScriptName: OperationURLParameter = {\n parameterPath: \"sqlScriptName\",\n mapper: {\n serializedName: \"sqlScriptName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const trigger: OperationParameter = {\n parameterPath: \"trigger\",\n mapper: TriggerResourceMapper\n};\n\nexport const triggerName: OperationURLParameter = {\n parameterPath: \"triggerName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9_][^<>*#.%&:\\\\\\\\+?/]*$\"),\n MaxLength: 260,\n MinLength: 1\n },\n serializedName: \"triggerName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n"]}
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,sBAAsB,IAAI,4BAA4B,EACtD,iBAAiB,IAAI,uBAAuB,EAC5C,uBAAuB,IAAI,6BAA6B,EACxD,2BAA2B,IAAI,iCAAiC,EAChE,iBAAiB,IAAI,uBAAuB,EAC5C,qBAAqB,IAAI,2BAA2B,EACpD,uBAAuB,IAAI,6BAA6B,EACxD,qBAAqB,IAAI,2BAA2B,EACpD,0BAA0B,IAAI,gCAAgC,EAC9D,gBAAgB,IAAI,sBAAsB,EAC1C,iCAAiC,IAAI,uCAAuC,EAC5E,oBAAoB,IAAI,0BAA0B,EAClD,iCAAiC,IAAI,uCAAuC,EAC5E,2BAA2B,IAAI,iCAAiC,EAChE,eAAe,IAAI,qBAAqB,EACxC,wBAAwB,IAAI,8BAA8B,EAC1D,qBAAqB,IAAI,2BAA2B,EACpD,gB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B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAuB;IACzC,aAAa,EAAE,SAAS;IACxB,MAAM,EAAE,qBAAqB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,mCAAmC,CAAC;YACxD,SAAS,EAAE,GAAG;YACd,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n LinkConnectionResource as LinkConnectionResourceMapper,\n EditTablesRequest as EditTablesRequestMapper,\n QueryTableStatusRequest as QueryTableStatusRequestMapper,\n UpdateLandingZoneCredential as UpdateLandingZoneCredentialMapper,\n KqlScriptResource as KqlScriptResourceMapper,\n ArtifactRenameRequest as ArtifactRenameRequestMapper,\n MetastoreRegisterObject as MetastoreRegisterObjectMapper,\n MetastoreUpdateObject as MetastoreUpdateObjectMapper,\n SparkConfigurationResource as SparkConfigurationResourceMapper,\n DataFlowResource as DataFlowResourceMapper,\n CreateDataFlowDebugSessionRequest as CreateDataFlowDebugSessionRequestMapper,\n DataFlowDebugPackage as DataFlowDebugPackageMapper,\n DeleteDataFlowDebugSessionRequest as DeleteDataFlowDebugSessionRequestMapper,\n DataFlowDebugCommandRequest as DataFlowDebugCommandRequestMapper,\n DatasetResource as DatasetResourceMapper,\n GitHubAccessTokenRequest as GitHubAccessTokenRequestMapper,\n LinkedServiceResource as LinkedServiceResourceMapper,\n NotebookResource as NotebookResourceMapper,\n PipelineResource as PipelineResourceMapper,\n RunFilterParameters as RunFilterParametersMapper,\n SparkJobDefinitionResource as SparkJobDefinitionResourceMapper,\n SqlScriptResource as SqlScriptResourceMapper,\n TriggerResource as TriggerResourceMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-12-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const linkConnection: OperationParameter = {\n parameterPath: \"linkConnection\",\n mapper: LinkConnectionResourceMapper\n};\n\nexport const linkConnectionName: OperationURLParameter = {\n parameterPath: \"linkConnectionName\",\n mapper: {\n serializedName: \"linkConnectionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const editTablesRequest: OperationParameter = {\n parameterPath: \"editTablesRequest\",\n mapper: EditTablesRequestMapper\n};\n\nexport const queryTableStatusRequest: OperationParameter = {\n parameterPath: \"queryTableStatusRequest\",\n mapper: QueryTableStatusRequestMapper\n};\n\nexport const updateLandingZoneCredentialRequest: OperationParameter = {\n parameterPath: \"updateLandingZoneCredentialRequest\",\n mapper: UpdateLandingZoneCredentialMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion1: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-11-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const kqlScript: OperationParameter = {\n parameterPath: \"kqlScript\",\n mapper: KqlScriptResourceMapper\n};\n\nexport const kqlScriptName: OperationURLParameter = {\n parameterPath: \"kqlScriptName\",\n mapper: {\n serializedName: \"kqlScriptName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const renameRequest: OperationParameter = {\n parameterPath: \"renameRequest\",\n mapper: ArtifactRenameRequestMapper\n};\n\nexport const registerBody: OperationParameter = {\n parameterPath: \"registerBody\",\n mapper: MetastoreRegisterObjectMapper\n};\n\nexport const apiVersion2: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-07-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const id: OperationURLParameter = {\n parameterPath: \"id\",\n mapper: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const updateBody: OperationParameter = {\n parameterPath: \"updateBody\",\n mapper: MetastoreUpdateObjectMapper\n};\n\nexport const apiVersion3: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-06-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sparkConfiguration: OperationParameter = {\n parameterPath: \"sparkConfiguration\",\n mapper: SparkConfigurationResourceMapper\n};\n\nexport const sparkConfigurationName: OperationURLParameter = {\n parameterPath: \"sparkConfigurationName\",\n mapper: {\n serializedName: \"sparkConfigurationName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const request: OperationParameter = {\n parameterPath: \"request\",\n mapper: ArtifactRenameRequestMapper\n};\n\nexport const apiVersion4: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2020-12-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const bigDataPoolName: OperationURLParameter = {\n parameterPath: \"bigDataPoolName\",\n mapper: {\n serializedName: \"bigDataPoolName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const dataFlow: OperationParameter = {\n parameterPath: \"dataFlow\",\n mapper: DataFlowResourceMapper\n};\n\nexport const dataFlowName: OperationURLParameter = {\n parameterPath: \"dataFlowName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9_][^<>*#.%&:\\\\\\\\+?/]*$\"),\n MaxLength: 260,\n MinLength: 1\n },\n serializedName: \"dataFlowName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const request1: OperationParameter = {\n parameterPath: \"request\",\n mapper: CreateDataFlowDebugSessionRequestMapper\n};\n\nexport const request2: OperationParameter = {\n parameterPath: \"request\",\n mapper: DataFlowDebugPackageMapper\n};\n\nexport const request3: OperationParameter = {\n parameterPath: \"request\",\n mapper: DeleteDataFlowDebugSessionRequestMapper\n};\n\nexport const request4: OperationParameter = {\n parameterPath: \"request\",\n mapper: DataFlowDebugCommandRequestMapper\n};\n\nexport const dataset: OperationParameter = {\n parameterPath: \"dataset\",\n mapper: DatasetResourceMapper\n};\n\nexport const datasetName: OperationURLParameter = {\n parameterPath: \"datasetName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9_][^<>*#.%&:\\\\\\\\+?/]*$\"),\n MaxLength: 260,\n MinLength: 1\n },\n serializedName: \"datasetName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const gitHubAccessTokenRequest: OperationParameter = {\n parameterPath: \"gitHubAccessTokenRequest\",\n mapper: GitHubAccessTokenRequestMapper\n};\n\nexport const clientRequestId: OperationParameter = {\n parameterPath: [\"options\", \"clientRequestId\"],\n mapper: {\n serializedName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const integrationRuntimeName: OperationURLParameter = {\n parameterPath: \"integrationRuntimeName\",\n mapper: {\n serializedName: \"integrationRuntimeName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const libraryName: OperationURLParameter = {\n parameterPath: \"libraryName\",\n mapper: {\n constraints: {\n MaxLength: 100\n },\n serializedName: \"libraryName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/octet-stream\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const content: OperationParameter = {\n parameterPath: \"content\",\n mapper: {\n serializedName: \"content\",\n required: true,\n type: {\n name: \"Stream\"\n }\n }\n};\n\nexport const accept1: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"appendblock\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobConditionAppendPosition: OperationParameter = {\n parameterPath: [\"options\", \"blobConditionAppendPosition\"],\n mapper: {\n serializedName: \"x-ms-blob-condition-appendpos\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const linkedService: OperationParameter = {\n parameterPath: \"linkedService\",\n mapper: LinkedServiceResourceMapper\n};\n\nexport const linkedServiceName: OperationURLParameter = {\n parameterPath: \"linkedServiceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9_][^<>*#.%&:\\\\\\\\+?/]*$\"),\n MaxLength: 260,\n MinLength: 1\n },\n serializedName: \"linkedServiceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const notebook: OperationParameter = {\n parameterPath: \"notebook\",\n mapper: NotebookResourceMapper\n};\n\nexport const notebookName: OperationURLParameter = {\n parameterPath: \"notebookName\",\n mapper: {\n serializedName: \"notebookName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const pipeline: OperationParameter = {\n parameterPath: \"pipeline\",\n mapper: PipelineResourceMapper\n};\n\nexport const pipelineName: OperationURLParameter = {\n parameterPath: \"pipelineName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9_][^<>*#.%&:\\\\\\\\+?/]*$\"),\n MaxLength: 260,\n MinLength: 1\n },\n serializedName: \"pipelineName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: {\n serializedName: \"parameters\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n};\n\nexport const referencePipelineRunId: OperationQueryParameter = {\n parameterPath: [\"options\", \"referencePipelineRunId\"],\n mapper: {\n serializedName: \"referencePipelineRunId\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const isRecovery: OperationQueryParameter = {\n parameterPath: [\"options\", \"isRecovery\"],\n mapper: {\n serializedName: \"isRecovery\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const startActivityName: OperationQueryParameter = {\n parameterPath: [\"options\", \"startActivityName\"],\n mapper: {\n serializedName: \"startActivityName\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const filterParameters: OperationParameter = {\n parameterPath: \"filterParameters\",\n mapper: RunFilterParametersMapper\n};\n\nexport const runId: OperationURLParameter = {\n parameterPath: \"runId\",\n mapper: {\n serializedName: \"runId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const isRecursive: OperationQueryParameter = {\n parameterPath: [\"options\", \"isRecursive\"],\n mapper: {\n serializedName: \"isRecursive\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const sparkJobDefinition: OperationParameter = {\n parameterPath: \"sparkJobDefinition\",\n mapper: SparkJobDefinitionResourceMapper\n};\n\nexport const sparkJobDefinitionName: OperationURLParameter = {\n parameterPath: \"sparkJobDefinitionName\",\n mapper: {\n serializedName: \"sparkJobDefinitionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sparkJobDefinitionAzureResource: OperationParameter = {\n parameterPath: \"sparkJobDefinitionAzureResource\",\n mapper: SparkJobDefinitionResourceMapper\n};\n\nexport const sqlPoolName: OperationURLParameter = {\n parameterPath: \"sqlPoolName\",\n mapper: {\n serializedName: \"sqlPoolName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sqlScript: OperationParameter = {\n parameterPath: \"sqlScript\",\n mapper: SqlScriptResourceMapper\n};\n\nexport const sqlScriptName: OperationURLParameter = {\n parameterPath: \"sqlScriptName\",\n mapper: {\n serializedName: \"sqlScriptName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const trigger: OperationParameter = {\n parameterPath: \"trigger\",\n mapper: TriggerResourceMapper\n};\n\nexport const triggerName: OperationURLParameter = {\n parameterPath: \"triggerName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9_][^<>*#.%&:\\\\\\\\+?/]*$\"),\n MaxLength: 260,\n MinLength: 1\n },\n serializedName: \"triggerName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n"]}
|
|
@@ -5,9 +5,8 @@
|
|
|
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 {
|
|
8
|
+
import { tracingClient } from "../tracing";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as coreTracing from "@azure/core-tracing";
|
|
11
10
|
import * as Mappers from "../models/mappers";
|
|
12
11
|
import * as Parameters from "../models/parameters";
|
|
13
12
|
/** Class containing BigDataPools operations. */
|
|
@@ -24,21 +23,9 @@ export class BigDataPoolsImpl {
|
|
|
24
23
|
* @param options The options parameters.
|
|
25
24
|
*/
|
|
26
25
|
async list(options) {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return result;
|
|
31
|
-
}
|
|
32
|
-
catch (error) {
|
|
33
|
-
span.setStatus({
|
|
34
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
35
|
-
message: error.message
|
|
36
|
-
});
|
|
37
|
-
throw error;
|
|
38
|
-
}
|
|
39
|
-
finally {
|
|
40
|
-
span.end();
|
|
41
|
-
}
|
|
26
|
+
return tracingClient.withSpan("ArtifactsClient.list", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
27
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
28
|
+
});
|
|
42
29
|
}
|
|
43
30
|
/**
|
|
44
31
|
* Get Big Data Pool
|
|
@@ -46,21 +33,9 @@ export class BigDataPoolsImpl {
|
|
|
46
33
|
* @param options The options parameters.
|
|
47
34
|
*/
|
|
48
35
|
async get(bigDataPoolName, options) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
return result;
|
|
53
|
-
}
|
|
54
|
-
catch (error) {
|
|
55
|
-
span.setStatus({
|
|
56
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
57
|
-
message: error.message
|
|
58
|
-
});
|
|
59
|
-
throw error;
|
|
60
|
-
}
|
|
61
|
-
finally {
|
|
62
|
-
span.end();
|
|
63
|
-
}
|
|
36
|
+
return tracingClient.withSpan("ArtifactsClient.get", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
37
|
+
return this.client.sendOperationRequest({ bigDataPoolName, options }, getOperationSpec);
|
|
38
|
+
});
|
|
64
39
|
}
|
|
65
40
|
}
|
|
66
41
|
// Operation Specifications
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bigDataPools.js","sourceRoot":"","sources":["../../../src/operations/bigDataPools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"bigDataPools.js","sourceRoot":"","sources":["../../../src/operations/bigDataPools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AASnD,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,IAAI,CACR,OAAwC;QAExC,OAAO,aAAa,CAAC,QAAQ,CAC3B,sBAAsB,EACtB,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,EACb,KAAK,EAAE,OAAO,EAAE,EAAE;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,iBAAiB,CACmB,CAAC;QACzC,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,GAAG,CACP,eAAuB,EACvB,OAAuC;Q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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\";\nimport { BigDataPools } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ArtifactsClient } from \"../artifactsClient\";\nimport {\n BigDataPoolsListOptionalParams,\n BigDataPoolsListResponse,\n BigDataPoolsGetOptionalParams,\n BigDataPoolsGetResponse\n} from \"../models\";\n\n/** Class containing BigDataPools operations. */\nexport class BigDataPoolsImpl implements BigDataPools {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class BigDataPools class.\n * @param client Reference to the service client\n */\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * List Big Data Pools\n * @param options The options parameters.\n */\n async list(\n options?: BigDataPoolsListOptionalParams\n ): Promise<BigDataPoolsListResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.list\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n listOperationSpec\n ) as Promise<BigDataPoolsListResponse>;\n }\n );\n }\n\n /**\n * Get Big Data Pool\n * @param bigDataPoolName The Big Data Pool name\n * @param options The options parameters.\n */\n async get(\n bigDataPoolName: string,\n options?: BigDataPoolsGetOptionalParams\n ): Promise<BigDataPoolsGetResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.get\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { bigDataPoolName, options },\n getOperationSpec\n ) as Promise<BigDataPoolsGetResponse>;\n }\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/bigDataPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BigDataPoolResourceInfoListResult\n },\n default: {\n bodyMapper: Mappers.ErrorContract\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/bigDataPools/{bigDataPoolName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BigDataPoolResourceInfo\n },\n default: {\n bodyMapper: Mappers.ErrorContract\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint, Parameters.bigDataPoolName],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import {
|
|
9
|
+
import { tracingClient } from "../tracing";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as coreTracing from "@azure/core-tracing";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
14
|
import { LroEngine } from "@azure/core-lro";
|
|
@@ -36,20 +36,31 @@ export class DataFlowDebugSessionImpl {
|
|
|
36
36
|
[Symbol.asyncIterator]() {
|
|
37
37
|
return this;
|
|
38
38
|
},
|
|
39
|
-
byPage: () => {
|
|
40
|
-
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.queryDataFlowDebugSessionsByWorkspacePagingPage(options, settings);
|
|
41
44
|
}
|
|
42
45
|
};
|
|
43
46
|
}
|
|
44
|
-
queryDataFlowDebugSessionsByWorkspacePagingPage(options) {
|
|
47
|
+
queryDataFlowDebugSessionsByWorkspacePagingPage(options, settings) {
|
|
45
48
|
return __asyncGenerator(this, arguments, function* queryDataFlowDebugSessionsByWorkspacePagingPage_1() {
|
|
46
|
-
let result
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = yield __await(this._queryDataFlowDebugSessionsByWorkspace(options));
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield yield __await(page);
|
|
57
|
+
}
|
|
49
58
|
while (continuationToken) {
|
|
50
59
|
result = yield __await(this._queryDataFlowDebugSessionsByWorkspaceNext(continuationToken, options));
|
|
51
60
|
continuationToken = result.nextLink;
|
|
52
|
-
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield yield __await(page);
|
|
53
64
|
}
|
|
54
65
|
});
|
|
55
66
|
}
|
|
@@ -77,22 +88,10 @@ export class DataFlowDebugSessionImpl {
|
|
|
77
88
|
* @param options The options parameters.
|
|
78
89
|
*/
|
|
79
90
|
async beginCreateDataFlowDebugSession(request, options) {
|
|
80
|
-
const { span } = createSpan("ArtifactsClient-beginCreateDataFlowDebugSession", options || {});
|
|
81
91
|
const directSendOperation = async (args, spec) => {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
catch (error) {
|
|
87
|
-
span.setStatus({
|
|
88
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
89
|
-
message: error.message
|
|
90
|
-
});
|
|
91
|
-
throw error;
|
|
92
|
-
}
|
|
93
|
-
finally {
|
|
94
|
-
span.end();
|
|
95
|
-
}
|
|
92
|
+
return tracingClient.withSpan("ArtifactsClient.beginCreateDataFlowDebugSession", options !== null && options !== void 0 ? options : {}, async () => {
|
|
93
|
+
return this.client.sendOperationRequest(args, spec);
|
|
94
|
+
});
|
|
96
95
|
};
|
|
97
96
|
const sendOperation = async (args, spec) => {
|
|
98
97
|
var _a;
|
|
@@ -135,21 +134,9 @@ export class DataFlowDebugSessionImpl {
|
|
|
135
134
|
* @param options The options parameters.
|
|
136
135
|
*/
|
|
137
136
|
async _queryDataFlowDebugSessionsByWorkspace(options) {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
return result;
|
|
142
|
-
}
|
|
143
|
-
catch (error) {
|
|
144
|
-
span.setStatus({
|
|
145
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
146
|
-
message: error.message
|
|
147
|
-
});
|
|
148
|
-
throw error;
|
|
149
|
-
}
|
|
150
|
-
finally {
|
|
151
|
-
span.end();
|
|
152
|
-
}
|
|
137
|
+
return tracingClient.withSpan("ArtifactsClient._queryDataFlowDebugSessionsByWorkspace", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
138
|
+
return this.client.sendOperationRequest({ options }, queryDataFlowDebugSessionsByWorkspaceOperationSpec);
|
|
139
|
+
});
|
|
153
140
|
}
|
|
154
141
|
/**
|
|
155
142
|
* Add a data flow into debug session.
|
|
@@ -157,21 +144,9 @@ export class DataFlowDebugSessionImpl {
|
|
|
157
144
|
* @param options The options parameters.
|
|
158
145
|
*/
|
|
159
146
|
async addDataFlow(request, options) {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
return result;
|
|
164
|
-
}
|
|
165
|
-
catch (error) {
|
|
166
|
-
span.setStatus({
|
|
167
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
168
|
-
message: error.message
|
|
169
|
-
});
|
|
170
|
-
throw error;
|
|
171
|
-
}
|
|
172
|
-
finally {
|
|
173
|
-
span.end();
|
|
174
|
-
}
|
|
147
|
+
return tracingClient.withSpan("ArtifactsClient.addDataFlow", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
148
|
+
return this.client.sendOperationRequest({ request, options }, addDataFlowOperationSpec);
|
|
149
|
+
});
|
|
175
150
|
}
|
|
176
151
|
/**
|
|
177
152
|
* Deletes a data flow debug session.
|
|
@@ -179,21 +154,9 @@ export class DataFlowDebugSessionImpl {
|
|
|
179
154
|
* @param options The options parameters.
|
|
180
155
|
*/
|
|
181
156
|
async deleteDataFlowDebugSession(request, options) {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
return result;
|
|
186
|
-
}
|
|
187
|
-
catch (error) {
|
|
188
|
-
span.setStatus({
|
|
189
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
190
|
-
message: error.message
|
|
191
|
-
});
|
|
192
|
-
throw error;
|
|
193
|
-
}
|
|
194
|
-
finally {
|
|
195
|
-
span.end();
|
|
196
|
-
}
|
|
157
|
+
return tracingClient.withSpan("ArtifactsClient.deleteDataFlowDebugSession", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
158
|
+
return this.client.sendOperationRequest({ request, options }, deleteDataFlowDebugSessionOperationSpec);
|
|
159
|
+
});
|
|
197
160
|
}
|
|
198
161
|
/**
|
|
199
162
|
* Execute a data flow debug command.
|
|
@@ -201,22 +164,10 @@ export class DataFlowDebugSessionImpl {
|
|
|
201
164
|
* @param options The options parameters.
|
|
202
165
|
*/
|
|
203
166
|
async beginExecuteCommand(request, options) {
|
|
204
|
-
const { span } = createSpan("ArtifactsClient-beginExecuteCommand", options || {});
|
|
205
167
|
const directSendOperation = async (args, spec) => {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
}
|
|
210
|
-
catch (error) {
|
|
211
|
-
span.setStatus({
|
|
212
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
213
|
-
message: error.message
|
|
214
|
-
});
|
|
215
|
-
throw error;
|
|
216
|
-
}
|
|
217
|
-
finally {
|
|
218
|
-
span.end();
|
|
219
|
-
}
|
|
168
|
+
return tracingClient.withSpan("ArtifactsClient.beginExecuteCommand", options !== null && options !== void 0 ? options : {}, async () => {
|
|
169
|
+
return this.client.sendOperationRequest(args, spec);
|
|
170
|
+
});
|
|
220
171
|
};
|
|
221
172
|
const sendOperation = async (args, spec) => {
|
|
222
173
|
var _a;
|
|
@@ -261,21 +212,9 @@ export class DataFlowDebugSessionImpl {
|
|
|
261
212
|
* @param options The options parameters.
|
|
262
213
|
*/
|
|
263
214
|
async _queryDataFlowDebugSessionsByWorkspaceNext(nextLink, options) {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
return result;
|
|
268
|
-
}
|
|
269
|
-
catch (error) {
|
|
270
|
-
span.setStatus({
|
|
271
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
272
|
-
message: error.message
|
|
273
|
-
});
|
|
274
|
-
throw error;
|
|
275
|
-
}
|
|
276
|
-
finally {
|
|
277
|
-
span.end();
|
|
278
|
-
}
|
|
215
|
+
return tracingClient.withSpan("ArtifactsClient._queryDataFlowDebugSessionsByWorkspaceNext", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
216
|
+
return this.client.sendOperationRequest({ nextLink, options }, queryDataFlowDebugSessionsByWorkspaceNextOperationSpec);
|
|
217
|
+
});
|
|
279
218
|
}
|
|
280
219
|
}
|
|
281
220
|
// Operation Specifications
|
|
@@ -395,7 +334,6 @@ const queryDataFlowDebugSessionsByWorkspaceNextOperationSpec = {
|
|
|
395
334
|
bodyMapper: Mappers.CloudError
|
|
396
335
|
}
|
|
397
336
|
},
|
|
398
|
-
queryParameters: [Parameters.apiVersion4],
|
|
399
337
|
urlParameters: [Parameters.endpoint, Parameters.nextLink],
|
|
400
338
|
headerParameters: [Parameters.accept],
|
|
401
339
|
serializer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataFlowDebugSession.js","sourceRoot":"","sources":["../../../src/operations/dataFlowDebugSession.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGxC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,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ClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,QAAQ;IAChC,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;AACF,MAAM,sDAAsD,GAA6B;IACvF,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kCAAkC;SACvD;QACD,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,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 { createSpan } from \"../tracing\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { DataFlowDebugSession } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreTracing from \"@azure/core-tracing\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ArtifactsClient } from \"../artifactsClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n DataFlowDebugSessionInfo,\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceNextOptionalParams,\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceOptionalParams,\n CreateDataFlowDebugSessionRequest,\n DataFlowDebugSessionCreateDataFlowDebugSessionOptionalParams,\n DataFlowDebugSessionCreateDataFlowDebugSessionResponse,\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceResponse,\n DataFlowDebugPackage,\n DataFlowDebugSessionAddDataFlowOptionalParams,\n DataFlowDebugSessionAddDataFlowResponse,\n DeleteDataFlowDebugSessionRequest,\n DataFlowDebugSessionDeleteDataFlowDebugSessionOptionalParams,\n DataFlowDebugCommandRequest,\n DataFlowDebugSessionExecuteCommandOptionalParams,\n DataFlowDebugSessionExecuteCommandResponse,\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DataFlowDebugSession operations. */\nexport class DataFlowDebugSessionImpl implements DataFlowDebugSession {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class DataFlowDebugSession class.\n * @param client Reference to the service client\n */\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * Query all active data flow debug sessions.\n * @param options The options parameters.\n */\n public listQueryDataFlowDebugSessionsByWorkspace(\n options?: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<DataFlowDebugSessionInfo> {\n const iter = this.queryDataFlowDebugSessionsByWorkspacePagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.queryDataFlowDebugSessionsByWorkspacePagingPage(options);\n }\n };\n }\n\n private async *queryDataFlowDebugSessionsByWorkspacePagingPage(\n options?: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceOptionalParams\n ): AsyncIterableIterator<DataFlowDebugSessionInfo[]> {\n let result = await this._queryDataFlowDebugSessionsByWorkspace(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._queryDataFlowDebugSessionsByWorkspaceNext(\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *queryDataFlowDebugSessionsByWorkspacePagingAll(\n options?: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceOptionalParams\n ): AsyncIterableIterator<DataFlowDebugSessionInfo> {\n for await (const page of this.queryDataFlowDebugSessionsByWorkspacePagingPage(\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates a data flow debug session.\n * @param request Data flow debug session definition\n * @param options The options parameters.\n */\n async beginCreateDataFlowDebugSession(\n request: CreateDataFlowDebugSessionRequest,\n options?: DataFlowDebugSessionCreateDataFlowDebugSessionOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<\n DataFlowDebugSessionCreateDataFlowDebugSessionResponse\n >,\n DataFlowDebugSessionCreateDataFlowDebugSessionResponse\n >\n > {\n const { span } = createSpan(\n \"ArtifactsClient-beginCreateDataFlowDebugSession\",\n options || {}\n );\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DataFlowDebugSessionCreateDataFlowDebugSessionResponse> => {\n try {\n const result = await this.client.sendOperationRequest(args, spec);\n return result as DataFlowDebugSessionCreateDataFlowDebugSessionResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | 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 = new LroImpl(\n sendOperation,\n { request, options },\n createDataFlowDebugSessionOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a data flow debug session.\n * @param request Data flow debug session definition\n * @param options The options parameters.\n */\n async beginCreateDataFlowDebugSessionAndWait(\n request: CreateDataFlowDebugSessionRequest,\n options?: DataFlowDebugSessionCreateDataFlowDebugSessionOptionalParams\n ): Promise<DataFlowDebugSessionCreateDataFlowDebugSessionResponse> {\n const poller = await this.beginCreateDataFlowDebugSession(request, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Query all active data flow debug sessions.\n * @param options The options parameters.\n */\n private async _queryDataFlowDebugSessionsByWorkspace(\n options?: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceOptionalParams\n ): Promise<\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceResponse\n > {\n const { span } = createSpan(\n \"ArtifactsClient-_queryDataFlowDebugSessionsByWorkspace\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { options },\n queryDataFlowDebugSessionsByWorkspaceOperationSpec\n );\n return result as DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Add a data flow into debug session.\n * @param request Data flow debug session definition with debug content.\n * @param options The options parameters.\n */\n async addDataFlow(\n request: DataFlowDebugPackage,\n options?: DataFlowDebugSessionAddDataFlowOptionalParams\n ): Promise<DataFlowDebugSessionAddDataFlowResponse> {\n const { span } = createSpan(\"ArtifactsClient-addDataFlow\", options || {});\n try {\n const result = await this.client.sendOperationRequest(\n { request, options },\n addDataFlowOperationSpec\n );\n return result as DataFlowDebugSessionAddDataFlowResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Deletes a data flow debug session.\n * @param request Data flow debug session definition for deletion\n * @param options The options parameters.\n */\n async deleteDataFlowDebugSession(\n request: DeleteDataFlowDebugSessionRequest,\n options?: DataFlowDebugSessionDeleteDataFlowDebugSessionOptionalParams\n ): Promise<void> {\n const { span } = createSpan(\n \"ArtifactsClient-deleteDataFlowDebugSession\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { request, options },\n deleteDataFlowDebugSessionOperationSpec\n );\n return result as void;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Execute a data flow debug command.\n * @param request Data flow debug command definition.\n * @param options The options parameters.\n */\n async beginExecuteCommand(\n request: DataFlowDebugCommandRequest,\n options?: DataFlowDebugSessionExecuteCommandOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<DataFlowDebugSessionExecuteCommandResponse>,\n DataFlowDebugSessionExecuteCommandResponse\n >\n > {\n const { span } = createSpan(\n \"ArtifactsClient-beginExecuteCommand\",\n options || {}\n );\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DataFlowDebugSessionExecuteCommandResponse> => {\n try {\n const result = await this.client.sendOperationRequest(args, spec);\n return result as DataFlowDebugSessionExecuteCommandResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | 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 = new LroImpl(\n sendOperation,\n { request, options },\n executeCommandOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Execute a data flow debug command.\n * @param request Data flow debug command definition.\n * @param options The options parameters.\n */\n async beginExecuteCommandAndWait(\n request: DataFlowDebugCommandRequest,\n options?: DataFlowDebugSessionExecuteCommandOptionalParams\n ): Promise<DataFlowDebugSessionExecuteCommandResponse> {\n const poller = await this.beginExecuteCommand(request, options);\n return poller.pollUntilDone();\n }\n\n /**\n * QueryDataFlowDebugSessionsByWorkspaceNext\n * @param nextLink The nextLink from the previous successful call to the\n * QueryDataFlowDebugSessionsByWorkspace method.\n * @param options The options parameters.\n */\n private async _queryDataFlowDebugSessionsByWorkspaceNext(\n nextLink: string,\n options?: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceNextOptionalParams\n ): Promise<\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceNextResponse\n > {\n const { span } = createSpan(\n \"ArtifactsClient-_queryDataFlowDebugSessionsByWorkspaceNext\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { nextLink, options },\n queryDataFlowDebugSessionsByWorkspaceNextOperationSpec\n );\n return result as DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceNextResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createDataFlowDebugSessionOperationSpec: coreClient.OperationSpec = {\n path: \"/createDataFlowDebugSession\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CreateDataFlowDebugSessionResponse\n },\n 201: {\n bodyMapper: Mappers.CreateDataFlowDebugSessionResponse\n },\n 202: {\n bodyMapper: Mappers.CreateDataFlowDebugSessionResponse\n },\n 204: {\n bodyMapper: Mappers.CreateDataFlowDebugSessionResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request1,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst queryDataFlowDebugSessionsByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path: \"/queryDataFlowDebugSessions\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.QueryDataFlowDebugSessionsResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst addDataFlowOperationSpec: coreClient.OperationSpec = {\n path: \"/addDataFlowToDebugSession\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AddDataFlowToDebugSessionResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request2,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteDataFlowDebugSessionOperationSpec: coreClient.OperationSpec = {\n path: \"/deleteDataFlowDebugSession\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request3,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst executeCommandOperationSpec: coreClient.OperationSpec = {\n path: \"/executeDataFlowDebugCommand\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataFlowDebugCommandResponse\n },\n 201: {\n bodyMapper: Mappers.DataFlowDebugCommandResponse\n },\n 202: {\n bodyMapper: Mappers.DataFlowDebugCommandResponse\n },\n 204: {\n bodyMapper: Mappers.DataFlowDebugCommandResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request4,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst queryDataFlowDebugSessionsByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QueryDataFlowDebugSessionsResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"dataFlowDebugSession.js","sourceRoot":"","sources":["../../../src/operations/dataFlowDebugSession.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;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AU,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\";\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper\";\nimport { DataFlowDebugSession } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ArtifactsClient } from \"../artifactsClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n DataFlowDebugSessionInfo,\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceNextOptionalParams,\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceOptionalParams,\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceResponse,\n CreateDataFlowDebugSessionRequest,\n DataFlowDebugSessionCreateDataFlowDebugSessionOptionalParams,\n DataFlowDebugSessionCreateDataFlowDebugSessionResponse,\n DataFlowDebugPackage,\n DataFlowDebugSessionAddDataFlowOptionalParams,\n DataFlowDebugSessionAddDataFlowResponse,\n DeleteDataFlowDebugSessionRequest,\n DataFlowDebugSessionDeleteDataFlowDebugSessionOptionalParams,\n DataFlowDebugCommandRequest,\n DataFlowDebugSessionExecuteCommandOptionalParams,\n DataFlowDebugSessionExecuteCommandResponse,\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DataFlowDebugSession operations. */\nexport class DataFlowDebugSessionImpl implements DataFlowDebugSession {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class DataFlowDebugSession class.\n * @param client Reference to the service client\n */\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * Query all active data flow debug sessions.\n * @param options The options parameters.\n */\n public listQueryDataFlowDebugSessionsByWorkspace(\n options?: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<DataFlowDebugSessionInfo> {\n const iter = this.queryDataFlowDebugSessionsByWorkspacePagingAll(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.queryDataFlowDebugSessionsByWorkspacePagingPage(\n options,\n settings\n );\n }\n };\n }\n\n private async *queryDataFlowDebugSessionsByWorkspacePagingPage(\n options?: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DataFlowDebugSessionInfo[]> {\n let result: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._queryDataFlowDebugSessionsByWorkspace(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._queryDataFlowDebugSessionsByWorkspaceNext(\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *queryDataFlowDebugSessionsByWorkspacePagingAll(\n options?: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceOptionalParams\n ): AsyncIterableIterator<DataFlowDebugSessionInfo> {\n for await (const page of this.queryDataFlowDebugSessionsByWorkspacePagingPage(\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates a data flow debug session.\n * @param request Data flow debug session definition\n * @param options The options parameters.\n */\n async beginCreateDataFlowDebugSession(\n request: CreateDataFlowDebugSessionRequest,\n options?: DataFlowDebugSessionCreateDataFlowDebugSessionOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<\n DataFlowDebugSessionCreateDataFlowDebugSessionResponse\n >,\n DataFlowDebugSessionCreateDataFlowDebugSessionResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DataFlowDebugSessionCreateDataFlowDebugSessionResponse> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginCreateDataFlowDebugSession\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(args, spec) as Promise<\n DataFlowDebugSessionCreateDataFlowDebugSessionResponse\n >;\n }\n );\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | 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 = new LroImpl(\n sendOperation,\n { request, options },\n createDataFlowDebugSessionOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a data flow debug session.\n * @param request Data flow debug session definition\n * @param options The options parameters.\n */\n async beginCreateDataFlowDebugSessionAndWait(\n request: CreateDataFlowDebugSessionRequest,\n options?: DataFlowDebugSessionCreateDataFlowDebugSessionOptionalParams\n ): Promise<DataFlowDebugSessionCreateDataFlowDebugSessionResponse> {\n const poller = await this.beginCreateDataFlowDebugSession(request, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Query all active data flow debug sessions.\n * @param options The options parameters.\n */\n private async _queryDataFlowDebugSessionsByWorkspace(\n options?: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceOptionalParams\n ): Promise<\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceResponse\n > {\n return tracingClient.withSpan(\n \"ArtifactsClient._queryDataFlowDebugSessionsByWorkspace\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n queryDataFlowDebugSessionsByWorkspaceOperationSpec\n ) as Promise<\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceResponse\n >;\n }\n );\n }\n\n /**\n * Add a data flow into debug session.\n * @param request Data flow debug session definition with debug content.\n * @param options The options parameters.\n */\n async addDataFlow(\n request: DataFlowDebugPackage,\n options?: DataFlowDebugSessionAddDataFlowOptionalParams\n ): Promise<DataFlowDebugSessionAddDataFlowResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.addDataFlow\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { request, options },\n addDataFlowOperationSpec\n ) as Promise<DataFlowDebugSessionAddDataFlowResponse>;\n }\n );\n }\n\n /**\n * Deletes a data flow debug session.\n * @param request Data flow debug session definition for deletion\n * @param options The options parameters.\n */\n async deleteDataFlowDebugSession(\n request: DeleteDataFlowDebugSessionRequest,\n options?: DataFlowDebugSessionDeleteDataFlowDebugSessionOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.deleteDataFlowDebugSession\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { request, options },\n deleteDataFlowDebugSessionOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Execute a data flow debug command.\n * @param request Data flow debug command definition.\n * @param options The options parameters.\n */\n async beginExecuteCommand(\n request: DataFlowDebugCommandRequest,\n options?: DataFlowDebugSessionExecuteCommandOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<DataFlowDebugSessionExecuteCommandResponse>,\n DataFlowDebugSessionExecuteCommandResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DataFlowDebugSessionExecuteCommandResponse> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginExecuteCommand\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(args, spec) as Promise<\n DataFlowDebugSessionExecuteCommandResponse\n >;\n }\n );\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | 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 = new LroImpl(\n sendOperation,\n { request, options },\n executeCommandOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Execute a data flow debug command.\n * @param request Data flow debug command definition.\n * @param options The options parameters.\n */\n async beginExecuteCommandAndWait(\n request: DataFlowDebugCommandRequest,\n options?: DataFlowDebugSessionExecuteCommandOptionalParams\n ): Promise<DataFlowDebugSessionExecuteCommandResponse> {\n const poller = await this.beginExecuteCommand(request, options);\n return poller.pollUntilDone();\n }\n\n /**\n * QueryDataFlowDebugSessionsByWorkspaceNext\n * @param nextLink The nextLink from the previous successful call to the\n * QueryDataFlowDebugSessionsByWorkspace method.\n * @param options The options parameters.\n */\n private async _queryDataFlowDebugSessionsByWorkspaceNext(\n nextLink: string,\n options?: DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceNextOptionalParams\n ): Promise<\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceNextResponse\n > {\n return tracingClient.withSpan(\n \"ArtifactsClient._queryDataFlowDebugSessionsByWorkspaceNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { nextLink, options },\n queryDataFlowDebugSessionsByWorkspaceNextOperationSpec\n ) as Promise<\n DataFlowDebugSessionQueryDataFlowDebugSessionsByWorkspaceNextResponse\n >;\n }\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createDataFlowDebugSessionOperationSpec: coreClient.OperationSpec = {\n path: \"/createDataFlowDebugSession\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CreateDataFlowDebugSessionResponse\n },\n 201: {\n bodyMapper: Mappers.CreateDataFlowDebugSessionResponse\n },\n 202: {\n bodyMapper: Mappers.CreateDataFlowDebugSessionResponse\n },\n 204: {\n bodyMapper: Mappers.CreateDataFlowDebugSessionResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request1,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst queryDataFlowDebugSessionsByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path: \"/queryDataFlowDebugSessions\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.QueryDataFlowDebugSessionsResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst addDataFlowOperationSpec: coreClient.OperationSpec = {\n path: \"/addDataFlowToDebugSession\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AddDataFlowToDebugSessionResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request2,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteDataFlowDebugSessionOperationSpec: coreClient.OperationSpec = {\n path: \"/deleteDataFlowDebugSession\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request3,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst executeCommandOperationSpec: coreClient.OperationSpec = {\n path: \"/executeDataFlowDebugCommand\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataFlowDebugCommandResponse\n },\n 201: {\n bodyMapper: Mappers.DataFlowDebugCommandResponse\n },\n 202: {\n bodyMapper: Mappers.DataFlowDebugCommandResponse\n },\n 204: {\n bodyMapper: Mappers.DataFlowDebugCommandResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request4,\n queryParameters: [Parameters.apiVersion4],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst queryDataFlowDebugSessionsByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QueryDataFlowDebugSessionsResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|