@azure/synapse-artifacts 1.0.0-beta.12 → 1.0.0-beta.14
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 +21 -0
- package/dist/index.js +14784 -13528
- package/dist/index.js.map +1 -1
- package/dist-esm/src/artifactsClient.js +4 -3
- package/dist-esm/src/artifactsClient.js.map +1 -1
- package/dist-esm/src/lroImpl.js +11 -15
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.js +134 -76
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.js +1831 -1045
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +34 -6
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/bigDataPools.js +2 -2
- package/dist-esm/src/operations/bigDataPools.js.map +1 -1
- package/dist-esm/src/operations/dataFlowDebugSession.js +29 -19
- package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -1
- package/dist-esm/src/operations/dataFlowOperations.js +37 -23
- package/dist-esm/src/operations/dataFlowOperations.js.map +1 -1
- package/dist-esm/src/operations/datasetOperations.js +37 -23
- package/dist-esm/src/operations/datasetOperations.js.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/integrationRuntimes.js +2 -2
- package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
- package/dist-esm/src/operations/kqlScriptOperations.js +30 -18
- package/dist-esm/src/operations/kqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operations/kqlScripts.js +7 -5
- package/dist-esm/src/operations/kqlScripts.js.map +1 -1
- package/dist-esm/src/operations/library.js +39 -25
- package/dist-esm/src/operations/library.js.map +1 -1
- package/dist-esm/src/operations/linkConnectionOperations.js +6 -4
- package/dist-esm/src/operations/linkConnectionOperations.js.map +1 -1
- package/dist-esm/src/operations/linkedServiceOperations.js +37 -23
- package/dist-esm/src/operations/linkedServiceOperations.js.map +1 -1
- package/dist-esm/src/operations/metastore.js +4 -4
- package/dist-esm/src/operations/metastore.js.map +1 -1
- package/dist-esm/src/operations/notebookOperationResult.js +1 -1
- package/dist-esm/src/operations/notebookOperationResult.js.map +1 -1
- package/dist-esm/src/operations/notebookOperations.js +44 -28
- package/dist-esm/src/operations/notebookOperations.js.map +1 -1
- package/dist-esm/src/operations/pipelineOperations.js +38 -24
- package/dist-esm/src/operations/pipelineOperations.js.map +1 -1
- package/dist-esm/src/operations/pipelineRunOperations.js +7 -7
- package/dist-esm/src/operations/pipelineRunOperations.js.map +1 -1
- package/dist-esm/src/operations/runNotebook.js +192 -0
- package/dist-esm/src/operations/runNotebook.js.map +1 -0
- package/dist-esm/src/operations/sparkConfigurationOperations.js +37 -23
- package/dist-esm/src/operations/sparkConfigurationOperations.js.map +1 -1
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js +57 -35
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js.map +1 -1
- package/dist-esm/src/operations/sqlPools.js +2 -2
- package/dist-esm/src/operations/sqlPools.js.map +1 -1
- package/dist-esm/src/operations/sqlScriptOperations.js +37 -23
- package/dist-esm/src/operations/sqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operations/triggerOperations.js +65 -39
- package/dist-esm/src/operations/triggerOperations.js.map +1 -1
- package/dist-esm/src/operations/triggerRunOperations.js +5 -5
- package/dist-esm/src/operations/triggerRunOperations.js.map +1 -1
- package/dist-esm/src/operations/workspaceGitRepoManagement.js +1 -1
- package/dist-esm/src/operations/workspaceGitRepoManagement.js.map +1 -1
- package/dist-esm/src/operations/workspaceOperations.js +1 -1
- package/dist-esm/src/operations/workspaceOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dataFlowOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/datasetOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/kqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/library.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/linkedServiceOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/notebookOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/pipelineOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/runNotebook.js +9 -0
- package/dist-esm/src/operationsInterfaces/runNotebook.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sparkConfigurationOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/triggerOperations.js.map +1 -1
- package/dist-esm/src/tracing.js +1 -1
- package/dist-esm/src/tracing.js.map +1 -1
- package/package.json +20 -19
- package/types/synapse-artifacts.d.ts +591 -118
|
@@ -5,7 +5,7 @@
|
|
|
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 { LinkConnectionResource as LinkConnectionResourceMapper, EditTablesRequest as EditTablesRequestMapper, QueryTableStatusRequest as QueryTableStatusRequestMapper, UpdateLandingZoneCredential as UpdateLandingZoneCredentialMapper, KqlScriptResource as KqlScriptResourceMapper, ArtifactRenameRequest as ArtifactRenameRequestMapper, MetastoreRegisterObject as MetastoreRegisterObjectMapper, MetastoreUpdateObject as MetastoreUpdateObjectMapper, SparkConfigurationResource as SparkConfigurationResourceMapper, DataFlowResource as DataFlowResourceMapper, CreateDataFlowDebugSessionRequest as CreateDataFlowDebugSessionRequestMapper, DataFlowDebugPackage as DataFlowDebugPackageMapper, DeleteDataFlowDebugSessionRequest as DeleteDataFlowDebugSessionRequestMapper, DataFlowDebugCommandRequest as DataFlowDebugCommandRequestMapper, DatasetResource as DatasetResourceMapper, GitHubAccessTokenRequest as GitHubAccessTokenRequestMapper, LinkedServiceResource as LinkedServiceResourceMapper, NotebookResource as NotebookResourceMapper, PipelineResource as PipelineResourceMapper, RunFilterParameters as RunFilterParametersMapper, SparkJobDefinitionResource as SparkJobDefinitionResourceMapper, SqlScriptResource as SqlScriptResourceMapper, TriggerResource as TriggerResourceMapper } from "../models/mappers";
|
|
8
|
+
import { LinkConnectionResource as LinkConnectionResourceMapper, EditTablesRequest as EditTablesRequestMapper, QueryTableStatusRequest as QueryTableStatusRequestMapper, UpdateLandingZoneCredential as UpdateLandingZoneCredentialMapper, RunNotebookRequest as RunNotebookRequestMapper, KqlScriptResource as KqlScriptResourceMapper, ArtifactRenameRequest as ArtifactRenameRequestMapper, MetastoreRegisterObject as MetastoreRegisterObjectMapper, MetastoreUpdateObject as MetastoreUpdateObjectMapper, SparkConfigurationResource as SparkConfigurationResourceMapper, DataFlowResource as DataFlowResourceMapper, CreateDataFlowDebugSessionRequest as CreateDataFlowDebugSessionRequestMapper, DataFlowDebugPackage as DataFlowDebugPackageMapper, DeleteDataFlowDebugSessionRequest as DeleteDataFlowDebugSessionRequestMapper, DataFlowDebugCommandRequest as DataFlowDebugCommandRequestMapper, DatasetResource as DatasetResourceMapper, GitHubAccessTokenRequest as GitHubAccessTokenRequestMapper, LinkedServiceResource as LinkedServiceResourceMapper, NotebookResource as NotebookResourceMapper, PipelineResource as PipelineResourceMapper, RunFilterParameters as RunFilterParametersMapper, SparkJobDefinitionResource as SparkJobDefinitionResourceMapper, SqlScriptResource as SqlScriptResourceMapper, TriggerResource as TriggerResourceMapper } from "../models/mappers";
|
|
9
9
|
export const accept = {
|
|
10
10
|
parameterPath: "accept",
|
|
11
11
|
mapper: {
|
|
@@ -31,7 +31,7 @@ export const endpoint = {
|
|
|
31
31
|
export const apiVersion = {
|
|
32
32
|
parameterPath: "apiVersion",
|
|
33
33
|
mapper: {
|
|
34
|
-
defaultValue: "
|
|
34
|
+
defaultValue: "2023-04-18-preview",
|
|
35
35
|
isConstant: true,
|
|
36
36
|
serializedName: "api-version",
|
|
37
37
|
type: {
|
|
@@ -87,7 +87,35 @@ export const nextLink = {
|
|
|
87
87
|
},
|
|
88
88
|
skipEncoding: true
|
|
89
89
|
};
|
|
90
|
+
export const runNotebookRequest = {
|
|
91
|
+
parameterPath: "runNotebookRequest",
|
|
92
|
+
mapper: RunNotebookRequestMapper
|
|
93
|
+
};
|
|
90
94
|
export const apiVersion1 = {
|
|
95
|
+
parameterPath: "apiVersion",
|
|
96
|
+
mapper: {
|
|
97
|
+
defaultValue: "2022-03-01-preview",
|
|
98
|
+
isConstant: true,
|
|
99
|
+
serializedName: "api-version",
|
|
100
|
+
type: {
|
|
101
|
+
name: "String"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
export const runId = {
|
|
106
|
+
parameterPath: "runId",
|
|
107
|
+
mapper: {
|
|
108
|
+
constraints: {
|
|
109
|
+
MaxLength: 100
|
|
110
|
+
},
|
|
111
|
+
serializedName: "runId",
|
|
112
|
+
required: true,
|
|
113
|
+
type: {
|
|
114
|
+
name: "String"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
export const apiVersion2 = {
|
|
91
119
|
parameterPath: "apiVersion",
|
|
92
120
|
mapper: {
|
|
93
121
|
defaultValue: "2021-11-01-preview",
|
|
@@ -120,7 +148,7 @@ export const registerBody = {
|
|
|
120
148
|
parameterPath: "registerBody",
|
|
121
149
|
mapper: MetastoreRegisterObjectMapper
|
|
122
150
|
};
|
|
123
|
-
export const
|
|
151
|
+
export const apiVersion3 = {
|
|
124
152
|
parameterPath: "apiVersion",
|
|
125
153
|
mapper: {
|
|
126
154
|
defaultValue: "2021-07-01-preview",
|
|
@@ -145,7 +173,7 @@ export const updateBody = {
|
|
|
145
173
|
parameterPath: "updateBody",
|
|
146
174
|
mapper: MetastoreUpdateObjectMapper
|
|
147
175
|
};
|
|
148
|
-
export const
|
|
176
|
+
export const apiVersion4 = {
|
|
149
177
|
parameterPath: "apiVersion",
|
|
150
178
|
mapper: {
|
|
151
179
|
defaultValue: "2021-06-01-preview",
|
|
@@ -192,7 +220,7 @@ export const request = {
|
|
|
192
220
|
parameterPath: "request",
|
|
193
221
|
mapper: ArtifactRenameRequestMapper
|
|
194
222
|
};
|
|
195
|
-
export const
|
|
223
|
+
export const apiVersion5 = {
|
|
196
224
|
parameterPath: "apiVersion",
|
|
197
225
|
mapper: {
|
|
198
226
|
defaultValue: "2020-12-01",
|
|
@@ -458,7 +486,7 @@ export const filterParameters = {
|
|
|
458
486
|
parameterPath: "filterParameters",
|
|
459
487
|
mapper: RunFilterParametersMapper
|
|
460
488
|
};
|
|
461
|
-
export const
|
|
489
|
+
export const runId1 = {
|
|
462
490
|
parameterPath: "runId",
|
|
463
491
|
mapper: {
|
|
464
492
|
serializedName: "runId",
|
|
@@ -1 +1 @@
|
|
|
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,gBAAgB,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Q,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"]}
|
|
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,kBAAkB,IAAI,wBAAwB,EAC9C,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,gBAAgB,IAAI,sBAAsB,EAC1C,gBAAgB,IAAI,sBAAsB,EAC1C,mBAAmB,IAAI,yBAAyB,EAChD,0BAA0B,IAAI,gCAAgC,EAC9D,iBAAiB,IAAI,uBAAuB,EAC5C,eAAe,IAAI,qBAAqB,EACzC,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAA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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 RunNotebookRequest as RunNotebookRequestMapper,\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: \"2023-04-18-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 runNotebookRequest: OperationParameter = {\n parameterPath: \"runNotebookRequest\",\n mapper: RunNotebookRequestMapper\n};\n\nexport const apiVersion1: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-03-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const runId: OperationURLParameter = {\n parameterPath: \"runId\",\n mapper: {\n constraints: {\n MaxLength: 100\n },\n serializedName: \"runId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion2: 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 apiVersion3: 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 apiVersion4: 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 apiVersion5: 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 runId1: 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"]}
|
|
@@ -51,7 +51,7 @@ const listOperationSpec = {
|
|
|
51
51
|
bodyMapper: Mappers.ErrorContract
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
queryParameters: [Parameters.
|
|
54
|
+
queryParameters: [Parameters.apiVersion5],
|
|
55
55
|
urlParameters: [Parameters.endpoint],
|
|
56
56
|
headerParameters: [Parameters.accept],
|
|
57
57
|
serializer
|
|
@@ -67,7 +67,7 @@ const getOperationSpec = {
|
|
|
67
67
|
bodyMapper: Mappers.ErrorContract
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
queryParameters: [Parameters.
|
|
70
|
+
queryParameters: [Parameters.apiVersion5],
|
|
71
71
|
urlParameters: [Parameters.endpoint, Parameters.bigDataPoolName],
|
|
72
72
|
headerParameters: [Parameters.accept],
|
|
73
73
|
serializer
|
|
@@ -1 +1 @@
|
|
|
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,OA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C;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,iCAAiC;IACvC,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,eAAe,CAAC;IAChE,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 { 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.
|
|
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,CAC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B,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 { 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.apiVersion5],\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.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.bigDataPoolName],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -11,8 +11,8 @@ import { setContinuationToken } from "../pagingHelper";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
14
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
15
|
+
import { createLroSpec } from "../lroImpl";
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
|
17
17
|
/** Class containing DataFlowDebugSession operations. */
|
|
18
18
|
export class DataFlowDebugSessionImpl {
|
|
@@ -66,17 +66,19 @@ export class DataFlowDebugSessionImpl {
|
|
|
66
66
|
}
|
|
67
67
|
queryDataFlowDebugSessionsByWorkspacePagingAll(options) {
|
|
68
68
|
return __asyncGenerator(this, arguments, function* queryDataFlowDebugSessionsByWorkspacePagingAll_1() {
|
|
69
|
-
var e_1,
|
|
69
|
+
var _a, e_1, _b, _c;
|
|
70
70
|
try {
|
|
71
|
-
for (var
|
|
72
|
-
|
|
71
|
+
for (var _d = true, _e = __asyncValues(this.queryDataFlowDebugSessionsByWorkspacePagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
+
_c = _f.value;
|
|
73
|
+
_d = false;
|
|
74
|
+
const page = _c;
|
|
73
75
|
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
77
79
|
finally {
|
|
78
80
|
try {
|
|
79
|
-
if (
|
|
81
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
80
82
|
}
|
|
81
83
|
finally { if (e_1) throw e_1.error; }
|
|
82
84
|
}
|
|
@@ -93,7 +95,7 @@ export class DataFlowDebugSessionImpl {
|
|
|
93
95
|
return this.client.sendOperationRequest(args, spec);
|
|
94
96
|
});
|
|
95
97
|
};
|
|
96
|
-
const
|
|
98
|
+
const sendOperationFn = async (args, spec) => {
|
|
97
99
|
var _a;
|
|
98
100
|
let currentRawResponse = undefined;
|
|
99
101
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -112,9 +114,13 @@ export class DataFlowDebugSessionImpl {
|
|
|
112
114
|
}
|
|
113
115
|
};
|
|
114
116
|
};
|
|
115
|
-
const lro =
|
|
116
|
-
|
|
117
|
-
|
|
117
|
+
const lro = createLroSpec({
|
|
118
|
+
sendOperationFn,
|
|
119
|
+
args: { request, options },
|
|
120
|
+
spec: createDataFlowDebugSessionOperationSpec
|
|
121
|
+
});
|
|
122
|
+
const poller = await createHttpPoller(lro, {
|
|
123
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
118
124
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
119
125
|
});
|
|
120
126
|
await poller.poll();
|
|
@@ -169,7 +175,7 @@ export class DataFlowDebugSessionImpl {
|
|
|
169
175
|
return this.client.sendOperationRequest(args, spec);
|
|
170
176
|
});
|
|
171
177
|
};
|
|
172
|
-
const
|
|
178
|
+
const sendOperationFn = async (args, spec) => {
|
|
173
179
|
var _a;
|
|
174
180
|
let currentRawResponse = undefined;
|
|
175
181
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -188,9 +194,13 @@ export class DataFlowDebugSessionImpl {
|
|
|
188
194
|
}
|
|
189
195
|
};
|
|
190
196
|
};
|
|
191
|
-
const lro =
|
|
192
|
-
|
|
193
|
-
|
|
197
|
+
const lro = createLroSpec({
|
|
198
|
+
sendOperationFn,
|
|
199
|
+
args: { request, options },
|
|
200
|
+
spec: executeCommandOperationSpec
|
|
201
|
+
});
|
|
202
|
+
const poller = await createHttpPoller(lro, {
|
|
203
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
194
204
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
195
205
|
});
|
|
196
206
|
await poller.poll();
|
|
@@ -240,7 +250,7 @@ const createDataFlowDebugSessionOperationSpec = {
|
|
|
240
250
|
}
|
|
241
251
|
},
|
|
242
252
|
requestBody: Parameters.request1,
|
|
243
|
-
queryParameters: [Parameters.
|
|
253
|
+
queryParameters: [Parameters.apiVersion5],
|
|
244
254
|
urlParameters: [Parameters.endpoint],
|
|
245
255
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
246
256
|
mediaType: "json",
|
|
@@ -257,7 +267,7 @@ const queryDataFlowDebugSessionsByWorkspaceOperationSpec = {
|
|
|
257
267
|
bodyMapper: Mappers.CloudError
|
|
258
268
|
}
|
|
259
269
|
},
|
|
260
|
-
queryParameters: [Parameters.
|
|
270
|
+
queryParameters: [Parameters.apiVersion5],
|
|
261
271
|
urlParameters: [Parameters.endpoint],
|
|
262
272
|
headerParameters: [Parameters.accept],
|
|
263
273
|
serializer
|
|
@@ -274,7 +284,7 @@ const addDataFlowOperationSpec = {
|
|
|
274
284
|
}
|
|
275
285
|
},
|
|
276
286
|
requestBody: Parameters.request2,
|
|
277
|
-
queryParameters: [Parameters.
|
|
287
|
+
queryParameters: [Parameters.apiVersion5],
|
|
278
288
|
urlParameters: [Parameters.endpoint],
|
|
279
289
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
280
290
|
mediaType: "json",
|
|
@@ -290,7 +300,7 @@ const deleteDataFlowDebugSessionOperationSpec = {
|
|
|
290
300
|
}
|
|
291
301
|
},
|
|
292
302
|
requestBody: Parameters.request3,
|
|
293
|
-
queryParameters: [Parameters.
|
|
303
|
+
queryParameters: [Parameters.apiVersion5],
|
|
294
304
|
urlParameters: [Parameters.endpoint],
|
|
295
305
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
296
306
|
mediaType: "json",
|
|
@@ -317,7 +327,7 @@ const executeCommandOperationSpec = {
|
|
|
317
327
|
}
|
|
318
328
|
},
|
|
319
329
|
requestBody: Parameters.request4,
|
|
320
|
-
queryParameters: [Parameters.
|
|
330
|
+
queryParameters: [Parameters.apiVersion5],
|
|
321
331
|
urlParameters: [Parameters.endpoint],
|
|
322
332
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
323
333
|
mediaType: "json",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataFlowDebugSession.js","sourceRoot":"","sources":["../../../src/operations/dataFlowDebugSession.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAoBrC,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAA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,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,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\";\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"]}
|
|
1
|
+
{"version":3,"file":"dataFlowDebugSession.js","sourceRoot":"","sources":["../../../src/operations/dataFlowDebugSession.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAoB3C,4CAA4C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E,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,8BAA8B;IACpC,UAAU,EAAE,MAAM;IAClB,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,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\";\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 {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } 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 SimplePollerLike<\n OperationState<DataFlowDebugSessionCreateDataFlowDebugSessionResponse>,\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 sendOperationFn = 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 = createLroSpec({\n sendOperationFn,\n args: { request, options },\n spec: createDataFlowDebugSessionOperationSpec\n });\n const poller = await createHttpPoller<\n DataFlowDebugSessionCreateDataFlowDebugSessionResponse,\n OperationState<DataFlowDebugSessionCreateDataFlowDebugSessionResponse>\n >(lro, {\n restoreFrom: 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 SimplePollerLike<\n OperationState<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 sendOperationFn = 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 = createLroSpec({\n sendOperationFn,\n args: { request, options },\n spec: executeCommandOperationSpec\n });\n const poller = await createHttpPoller<\n DataFlowDebugSessionExecuteCommandResponse,\n OperationState<DataFlowDebugSessionExecuteCommandResponse>\n >(lro, {\n restoreFrom: 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.apiVersion5],\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.apiVersion5],\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.apiVersion5],\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.apiVersion5],\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.apiVersion5],\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"]}
|