@azure/synapse-artifacts 1.0.0-beta.11 → 1.0.0-beta.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/LICENSE +21 -0
  2. package/dist/index.js +3655 -1969
  3. package/dist/index.js.map +1 -1
  4. package/dist-esm/src/artifactsClient.js +22 -16
  5. package/dist-esm/src/artifactsClient.js.map +1 -1
  6. package/dist-esm/src/index.js +1 -0
  7. package/dist-esm/src/index.js.map +1 -1
  8. package/dist-esm/src/lroImpl.js +11 -15
  9. package/dist-esm/src/lroImpl.js.map +1 -1
  10. package/dist-esm/src/models/index.js +100 -32
  11. package/dist-esm/src/models/index.js.map +1 -1
  12. package/dist-esm/src/models/mappers.js +2237 -1333
  13. package/dist-esm/src/models/mappers.js.map +1 -1
  14. package/dist-esm/src/models/parameters.js +34 -6
  15. package/dist-esm/src/models/parameters.js.map +1 -1
  16. package/dist-esm/src/operations/bigDataPools.js +2 -2
  17. package/dist-esm/src/operations/bigDataPools.js.map +1 -1
  18. package/dist-esm/src/operations/dataFlowDebugSession.js +54 -28
  19. package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -1
  20. package/dist-esm/src/operations/dataFlowOperations.js +62 -32
  21. package/dist-esm/src/operations/dataFlowOperations.js.map +1 -1
  22. package/dist-esm/src/operations/datasetOperations.js +62 -32
  23. package/dist-esm/src/operations/datasetOperations.js.map +1 -1
  24. package/dist-esm/src/operations/index.js +1 -0
  25. package/dist-esm/src/operations/index.js.map +1 -1
  26. package/dist-esm/src/operations/integrationRuntimes.js +2 -2
  27. package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
  28. package/dist-esm/src/operations/kqlScriptOperations.js +30 -18
  29. package/dist-esm/src/operations/kqlScriptOperations.js.map +1 -1
  30. package/dist-esm/src/operations/kqlScripts.js +32 -14
  31. package/dist-esm/src/operations/kqlScripts.js.map +1 -1
  32. package/dist-esm/src/operations/library.js +64 -34
  33. package/dist-esm/src/operations/library.js.map +1 -1
  34. package/dist-esm/src/operations/linkConnectionOperations.js +113 -44
  35. package/dist-esm/src/operations/linkConnectionOperations.js.map +1 -1
  36. package/dist-esm/src/operations/linkedServiceOperations.js +62 -32
  37. package/dist-esm/src/operations/linkedServiceOperations.js.map +1 -1
  38. package/dist-esm/src/operations/metastore.js +4 -4
  39. package/dist-esm/src/operations/metastore.js.map +1 -1
  40. package/dist-esm/src/operations/notebookOperationResult.js +1 -1
  41. package/dist-esm/src/operations/notebookOperationResult.js.map +1 -1
  42. package/dist-esm/src/operations/notebookOperations.js +93 -46
  43. package/dist-esm/src/operations/notebookOperations.js.map +1 -1
  44. package/dist-esm/src/operations/pipelineOperations.js +63 -33
  45. package/dist-esm/src/operations/pipelineOperations.js.map +1 -1
  46. package/dist-esm/src/operations/pipelineRunOperations.js +7 -7
  47. package/dist-esm/src/operations/pipelineRunOperations.js.map +1 -1
  48. package/dist-esm/src/operations/runNotebook.js +192 -0
  49. package/dist-esm/src/operations/runNotebook.js.map +1 -0
  50. package/dist-esm/src/operations/sparkConfigurationOperations.js +62 -32
  51. package/dist-esm/src/operations/sparkConfigurationOperations.js.map +1 -1
  52. package/dist-esm/src/operations/sparkJobDefinitionOperations.js +82 -44
  53. package/dist-esm/src/operations/sparkJobDefinitionOperations.js.map +1 -1
  54. package/dist-esm/src/operations/sqlPools.js +2 -2
  55. package/dist-esm/src/operations/sqlPools.js.map +1 -1
  56. package/dist-esm/src/operations/sqlScriptOperations.js +62 -32
  57. package/dist-esm/src/operations/sqlScriptOperations.js.map +1 -1
  58. package/dist-esm/src/operations/triggerOperations.js +90 -48
  59. package/dist-esm/src/operations/triggerOperations.js.map +1 -1
  60. package/dist-esm/src/operations/triggerRunOperations.js +5 -5
  61. package/dist-esm/src/operations/triggerRunOperations.js.map +1 -1
  62. package/dist-esm/src/operations/workspaceGitRepoManagement.js +1 -1
  63. package/dist-esm/src/operations/workspaceGitRepoManagement.js.map +1 -1
  64. package/dist-esm/src/operations/workspaceOperations.js +1 -1
  65. package/dist-esm/src/operations/workspaceOperations.js.map +1 -1
  66. package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.js.map +1 -1
  67. package/dist-esm/src/operationsInterfaces/dataFlowOperations.js.map +1 -1
  68. package/dist-esm/src/operationsInterfaces/datasetOperations.js.map +1 -1
  69. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  70. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  71. package/dist-esm/src/operationsInterfaces/kqlScriptOperations.js.map +1 -1
  72. package/dist-esm/src/operationsInterfaces/library.js.map +1 -1
  73. package/dist-esm/src/operationsInterfaces/linkConnectionOperations.js.map +1 -1
  74. package/dist-esm/src/operationsInterfaces/linkedServiceOperations.js.map +1 -1
  75. package/dist-esm/src/operationsInterfaces/notebookOperations.js.map +1 -1
  76. package/dist-esm/src/operationsInterfaces/pipelineOperations.js.map +1 -1
  77. package/dist-esm/src/operationsInterfaces/runNotebook.js +9 -0
  78. package/dist-esm/src/operationsInterfaces/runNotebook.js.map +1 -0
  79. package/dist-esm/src/operationsInterfaces/sparkConfigurationOperations.js.map +1 -1
  80. package/dist-esm/src/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -1
  81. package/dist-esm/src/operationsInterfaces/sqlScriptOperations.js.map +1 -1
  82. package/dist-esm/src/operationsInterfaces/triggerOperations.js.map +1 -1
  83. package/dist-esm/src/pagingHelper.js +32 -0
  84. package/dist-esm/src/pagingHelper.js.map +1 -0
  85. package/package.json +14 -15
  86. package/types/synapse-artifacts.d.ts +667 -88
@@ -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: "2022-08-01-preview",
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 apiVersion2 = {
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 apiVersion3 = {
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 apiVersion4 = {
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 runId = {
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,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,Q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B,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-08-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,2BAA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AAE,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.apiVersion4],
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.apiVersion4],
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,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,MA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U,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.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"]}
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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U;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"]}
@@ -7,11 +7,12 @@
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
9
  import { tracingClient } from "../tracing";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import * as coreClient from "@azure/core-client";
11
12
  import * as Mappers from "../models/mappers";
12
13
  import * as Parameters from "../models/parameters";
13
- import { LroEngine } from "@azure/core-lro";
14
- import { LroImpl } from "../lroImpl";
14
+ import { createHttpPoller } from "@azure/core-lro";
15
+ import { createLroSpec } from "../lroImpl";
15
16
  /// <reference lib="esnext.asynciterable" />
16
17
  /** Class containing DataFlowDebugSession operations. */
17
18
  export class DataFlowDebugSessionImpl {
@@ -35,36 +36,54 @@ export class DataFlowDebugSessionImpl {
35
36
  [Symbol.asyncIterator]() {
36
37
  return this;
37
38
  },
38
- byPage: () => {
39
- return this.queryDataFlowDebugSessionsByWorkspacePagingPage(options);
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);
40
44
  }
41
45
  };
42
46
  }
43
- queryDataFlowDebugSessionsByWorkspacePagingPage(options) {
47
+ queryDataFlowDebugSessionsByWorkspacePagingPage(options, settings) {
44
48
  return __asyncGenerator(this, arguments, function* queryDataFlowDebugSessionsByWorkspacePagingPage_1() {
45
- let result = yield __await(this._queryDataFlowDebugSessionsByWorkspace(options));
46
- yield yield __await(result.value || []);
47
- let continuationToken = result.nextLink;
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
+ }
48
58
  while (continuationToken) {
49
59
  result = yield __await(this._queryDataFlowDebugSessionsByWorkspaceNext(continuationToken, options));
50
60
  continuationToken = result.nextLink;
51
- yield yield __await(result.value || []);
61
+ let page = result.value || [];
62
+ setContinuationToken(page, continuationToken);
63
+ yield yield __await(page);
52
64
  }
53
65
  });
54
66
  }
55
67
  queryDataFlowDebugSessionsByWorkspacePagingAll(options) {
56
68
  return __asyncGenerator(this, arguments, function* queryDataFlowDebugSessionsByWorkspacePagingAll_1() {
57
- var e_1, _a;
69
+ var _a, e_1, _b, _c;
58
70
  try {
59
- for (var _b = __asyncValues(this.queryDataFlowDebugSessionsByWorkspacePagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
60
- const page = _c.value;
61
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
71
+ for (var _d = true, _e = __asyncValues(this.queryDataFlowDebugSessionsByWorkspacePagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
72
+ _c = _f.value;
73
+ _d = false;
74
+ try {
75
+ const page = _c;
76
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
+ }
78
+ finally {
79
+ _d = true;
80
+ }
62
81
  }
63
82
  }
64
83
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
65
84
  finally {
66
85
  try {
67
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
86
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
68
87
  }
69
88
  finally { if (e_1) throw e_1.error; }
70
89
  }
@@ -81,7 +100,7 @@ export class DataFlowDebugSessionImpl {
81
100
  return this.client.sendOperationRequest(args, spec);
82
101
  });
83
102
  };
84
- const sendOperation = async (args, spec) => {
103
+ const sendOperationFn = async (args, spec) => {
85
104
  var _a;
86
105
  let currentRawResponse = undefined;
87
106
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -100,9 +119,13 @@ export class DataFlowDebugSessionImpl {
100
119
  }
101
120
  };
102
121
  };
103
- const lro = new LroImpl(sendOperation, { request, options }, createDataFlowDebugSessionOperationSpec);
104
- const poller = new LroEngine(lro, {
105
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
122
+ const lro = createLroSpec({
123
+ sendOperationFn,
124
+ args: { request, options },
125
+ spec: createDataFlowDebugSessionOperationSpec
126
+ });
127
+ const poller = await createHttpPoller(lro, {
128
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
106
129
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
107
130
  });
108
131
  await poller.poll();
@@ -157,7 +180,7 @@ export class DataFlowDebugSessionImpl {
157
180
  return this.client.sendOperationRequest(args, spec);
158
181
  });
159
182
  };
160
- const sendOperation = async (args, spec) => {
183
+ const sendOperationFn = async (args, spec) => {
161
184
  var _a;
162
185
  let currentRawResponse = undefined;
163
186
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -176,9 +199,13 @@ export class DataFlowDebugSessionImpl {
176
199
  }
177
200
  };
178
201
  };
179
- const lro = new LroImpl(sendOperation, { request, options }, executeCommandOperationSpec);
180
- const poller = new LroEngine(lro, {
181
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
202
+ const lro = createLroSpec({
203
+ sendOperationFn,
204
+ args: { request, options },
205
+ spec: executeCommandOperationSpec
206
+ });
207
+ const poller = await createHttpPoller(lro, {
208
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
182
209
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
183
210
  });
184
211
  await poller.poll();
@@ -228,7 +255,7 @@ const createDataFlowDebugSessionOperationSpec = {
228
255
  }
229
256
  },
230
257
  requestBody: Parameters.request1,
231
- queryParameters: [Parameters.apiVersion4],
258
+ queryParameters: [Parameters.apiVersion5],
232
259
  urlParameters: [Parameters.endpoint],
233
260
  headerParameters: [Parameters.accept, Parameters.contentType],
234
261
  mediaType: "json",
@@ -245,7 +272,7 @@ const queryDataFlowDebugSessionsByWorkspaceOperationSpec = {
245
272
  bodyMapper: Mappers.CloudError
246
273
  }
247
274
  },
248
- queryParameters: [Parameters.apiVersion4],
275
+ queryParameters: [Parameters.apiVersion5],
249
276
  urlParameters: [Parameters.endpoint],
250
277
  headerParameters: [Parameters.accept],
251
278
  serializer
@@ -262,7 +289,7 @@ const addDataFlowOperationSpec = {
262
289
  }
263
290
  },
264
291
  requestBody: Parameters.request2,
265
- queryParameters: [Parameters.apiVersion4],
292
+ queryParameters: [Parameters.apiVersion5],
266
293
  urlParameters: [Parameters.endpoint],
267
294
  headerParameters: [Parameters.accept, Parameters.contentType],
268
295
  mediaType: "json",
@@ -278,7 +305,7 @@ const deleteDataFlowDebugSessionOperationSpec = {
278
305
  }
279
306
  },
280
307
  requestBody: Parameters.request3,
281
- queryParameters: [Parameters.apiVersion4],
308
+ queryParameters: [Parameters.apiVersion5],
282
309
  urlParameters: [Parameters.endpoint],
283
310
  headerParameters: [Parameters.accept, Parameters.contentType],
284
311
  mediaType: "json",
@@ -305,7 +332,7 @@ const executeCommandOperationSpec = {
305
332
  }
306
333
  },
307
334
  requestBody: Parameters.request4,
308
- queryParameters: [Parameters.apiVersion4],
335
+ queryParameters: [Parameters.apiVersion5],
309
336
  urlParameters: [Parameters.endpoint],
310
337
  headerParameters: [Parameters.accept, Parameters.contentType],
311
338
  mediaType: "json",
@@ -322,7 +349,6 @@ const queryDataFlowDebugSessionsByWorkspaceNextOperationSpec = {
322
349
  bodyMapper: Mappers.CloudError
323
350
  }
324
351
  },
325
- queryParameters: [Parameters.apiVersion4],
326
352
  urlParameters: [Parameters.endpoint, Parameters.nextLink],
327
353
  headerParameters: [Parameters.accept],
328
354
  serializer
@@ -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;AAG3C,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,CAAC;IAED;;;OAGG;IACI,yCAAyC,CAC9C,OAAiF;QAEjF,MAAM,IAAI,GAAG,IAAI,CAAC,8CAA8C,CAAC,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,+CAA+C,CAAC,OAAO,CAAC,CAAC;YACvE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,+CAA+C,CAC5D,OAAiF;;YAEjF,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,sCAAsC,CAAC,OAAO,CAAC,CAAA,CAAC;YACxE,oBA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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 } from \"@azure/core-paging\";\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 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 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 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;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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Q,CAAC;IACpC,gBAAgB,EAAE,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"]}