@azure/synapse-artifacts 1.0.0-beta.10 → 1.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +2148 -2225
- package/dist/index.js.map +1 -1
- package/dist-esm/src/artifactsClient.js +25 -3
- package/dist-esm/src/artifactsClient.js.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.js +388 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.js +999 -347
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/bigDataPools.js +7 -32
- package/dist-esm/src/operations/bigDataPools.js.map +1 -1
- package/dist-esm/src/operations/dataFlowDebugSession.js +38 -100
- package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -1
- package/dist-esm/src/operations/dataFlowOperations.js +38 -100
- package/dist-esm/src/operations/dataFlowOperations.js.map +1 -1
- package/dist-esm/src/operations/datasetOperations.js +38 -100
- package/dist-esm/src/operations/datasetOperations.js.map +1 -1
- package/dist-esm/src/operations/integrationRuntimes.js +7 -32
- package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
- package/dist-esm/src/operations/kqlScriptOperations.js +13 -62
- package/dist-esm/src/operations/kqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operations/kqlScripts.js +26 -40
- package/dist-esm/src/operations/kqlScripts.js.map +1 -1
- package/dist-esm/src/operations/library.js +44 -130
- package/dist-esm/src/operations/library.js.map +1 -1
- package/dist-esm/src/operations/linkConnectionOperations.js +129 -212
- package/dist-esm/src/operations/linkConnectionOperations.js.map +1 -1
- package/dist-esm/src/operations/linkedServiceOperations.js +38 -100
- package/dist-esm/src/operations/linkedServiceOperations.js.map +1 -1
- package/dist-esm/src/operations/metastore.js +13 -62
- package/dist-esm/src/operations/metastore.js.map +1 -1
- package/dist-esm/src/operations/notebookOperationResult.js +4 -17
- package/dist-esm/src/operations/notebookOperationResult.js.map +1 -1
- package/dist-esm/src/operations/notebookOperations.js +62 -138
- package/dist-esm/src/operations/notebookOperations.js.map +1 -1
- package/dist-esm/src/operations/pipelineOperations.js +41 -115
- package/dist-esm/src/operations/pipelineOperations.js.map +1 -1
- package/dist-esm/src/operations/pipelineRunOperations.js +13 -62
- package/dist-esm/src/operations/pipelineRunOperations.js.map +1 -1
- package/dist-esm/src/operations/sparkConfigurationOperations.js +38 -100
- package/dist-esm/src/operations/sparkConfigurationOperations.js.map +1 -1
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js +44 -130
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js.map +1 -1
- package/dist-esm/src/operations/sqlPools.js +7 -32
- package/dist-esm/src/operations/sqlPools.js.map +1 -1
- package/dist-esm/src/operations/sqlScriptOperations.js +38 -100
- package/dist-esm/src/operations/sqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operations/triggerOperations.js +50 -160
- package/dist-esm/src/operations/triggerOperations.js.map +1 -1
- package/dist-esm/src/operations/triggerRunOperations.js +10 -47
- package/dist-esm/src/operations/triggerRunOperations.js.map +1 -1
- package/dist-esm/src/operations/workspaceGitRepoManagement.js +4 -17
- package/dist-esm/src/operations/workspaceGitRepoManagement.js.map +1 -1
- package/dist-esm/src/operations/workspaceOperations.js +4 -17
- package/dist-esm/src/operations/workspaceOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/linkConnectionOperations.js.map +1 -1
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/tracing.js +4 -3
- package/dist-esm/src/tracing.js.map +1 -1
- package/package.json +7 -7
- package/types/synapse-artifacts.d.ts +1673 -974
- package/CHANGELOG.md +0 -65
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import {
|
|
9
|
+
import { tracingClient } from "../tracing";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as coreTracing from "@azure/core-tracing";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
14
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -25,8 +25,8 @@ export class LinkConnectionOperationsImpl {
|
|
|
25
25
|
* List link connections
|
|
26
26
|
* @param options The options parameters.
|
|
27
27
|
*/
|
|
28
|
-
|
|
29
|
-
const iter = this.
|
|
28
|
+
listByWorkspace(options) {
|
|
29
|
+
const iter = this.listByWorkspacePagingAll(options);
|
|
30
30
|
return {
|
|
31
31
|
next() {
|
|
32
32
|
return iter.next();
|
|
@@ -34,28 +34,39 @@ export class LinkConnectionOperationsImpl {
|
|
|
34
34
|
[Symbol.asyncIterator]() {
|
|
35
35
|
return this;
|
|
36
36
|
},
|
|
37
|
-
byPage: () => {
|
|
38
|
-
|
|
37
|
+
byPage: (settings) => {
|
|
38
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
39
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
40
|
+
}
|
|
41
|
+
return this.listByWorkspacePagingPage(options, settings);
|
|
39
42
|
}
|
|
40
43
|
};
|
|
41
44
|
}
|
|
42
|
-
|
|
43
|
-
return __asyncGenerator(this, arguments, function*
|
|
44
|
-
let result
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
listByWorkspacePagingPage(options, settings) {
|
|
46
|
+
return __asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
|
|
47
|
+
let result;
|
|
48
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
49
|
+
if (!continuationToken) {
|
|
50
|
+
result = yield __await(this._listByWorkspace(options));
|
|
51
|
+
let page = result.value || [];
|
|
52
|
+
continuationToken = result.nextLink;
|
|
53
|
+
setContinuationToken(page, continuationToken);
|
|
54
|
+
yield yield __await(page);
|
|
55
|
+
}
|
|
47
56
|
while (continuationToken) {
|
|
48
|
-
result = yield __await(this.
|
|
57
|
+
result = yield __await(this._listByWorkspaceNext(continuationToken, options));
|
|
49
58
|
continuationToken = result.nextLink;
|
|
50
|
-
|
|
59
|
+
let page = result.value || [];
|
|
60
|
+
setContinuationToken(page, continuationToken);
|
|
61
|
+
yield yield __await(page);
|
|
51
62
|
}
|
|
52
63
|
});
|
|
53
64
|
}
|
|
54
|
-
|
|
55
|
-
return __asyncGenerator(this, arguments, function*
|
|
65
|
+
listByWorkspacePagingAll(options) {
|
|
66
|
+
return __asyncGenerator(this, arguments, function* listByWorkspacePagingAll_1() {
|
|
56
67
|
var e_1, _a;
|
|
57
68
|
try {
|
|
58
|
-
for (var _b = __asyncValues(this.
|
|
69
|
+
for (var _b = __asyncValues(this.listByWorkspacePagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
70
|
const page = _c.value;
|
|
60
71
|
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
72
|
}
|
|
@@ -73,22 +84,10 @@ export class LinkConnectionOperationsImpl {
|
|
|
73
84
|
* List link connections
|
|
74
85
|
* @param options The options parameters.
|
|
75
86
|
*/
|
|
76
|
-
async
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
return result;
|
|
81
|
-
}
|
|
82
|
-
catch (error) {
|
|
83
|
-
span.setStatus({
|
|
84
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
85
|
-
message: error.message
|
|
86
|
-
});
|
|
87
|
-
throw error;
|
|
88
|
-
}
|
|
89
|
-
finally {
|
|
90
|
-
span.end();
|
|
91
|
-
}
|
|
87
|
+
async _listByWorkspace(options) {
|
|
88
|
+
return tracingClient.withSpan("ArtifactsClient._listByWorkspace", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
89
|
+
return this.client.sendOperationRequest({ options }, listByWorkspaceOperationSpec);
|
|
90
|
+
});
|
|
92
91
|
}
|
|
93
92
|
/**
|
|
94
93
|
* Creates or updates a link connection
|
|
@@ -96,66 +95,30 @@ export class LinkConnectionOperationsImpl {
|
|
|
96
95
|
* @param linkConnection Link connection resource definition
|
|
97
96
|
* @param options The options parameters.
|
|
98
97
|
*/
|
|
99
|
-
async
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
return result;
|
|
104
|
-
}
|
|
105
|
-
catch (error) {
|
|
106
|
-
span.setStatus({
|
|
107
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
108
|
-
message: error.message
|
|
109
|
-
});
|
|
110
|
-
throw error;
|
|
111
|
-
}
|
|
112
|
-
finally {
|
|
113
|
-
span.end();
|
|
114
|
-
}
|
|
98
|
+
async createOrUpdate(linkConnectionName, linkConnection, options) {
|
|
99
|
+
return tracingClient.withSpan("ArtifactsClient.createOrUpdate", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
100
|
+
return this.client.sendOperationRequest({ linkConnectionName, linkConnection, options }, createOrUpdateOperationSpec);
|
|
101
|
+
});
|
|
115
102
|
}
|
|
116
103
|
/**
|
|
117
104
|
* Get a link connection
|
|
118
105
|
* @param linkConnectionName The link connection name
|
|
119
106
|
* @param options The options parameters.
|
|
120
107
|
*/
|
|
121
|
-
async
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
return result;
|
|
126
|
-
}
|
|
127
|
-
catch (error) {
|
|
128
|
-
span.setStatus({
|
|
129
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
130
|
-
message: error.message
|
|
131
|
-
});
|
|
132
|
-
throw error;
|
|
133
|
-
}
|
|
134
|
-
finally {
|
|
135
|
-
span.end();
|
|
136
|
-
}
|
|
108
|
+
async get(linkConnectionName, options) {
|
|
109
|
+
return tracingClient.withSpan("ArtifactsClient.get", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
110
|
+
return this.client.sendOperationRequest({ linkConnectionName, options }, getOperationSpec);
|
|
111
|
+
});
|
|
137
112
|
}
|
|
138
113
|
/**
|
|
139
114
|
* Delete a link connection
|
|
140
115
|
* @param linkConnectionName The link connection name
|
|
141
116
|
* @param options The options parameters.
|
|
142
117
|
*/
|
|
143
|
-
async
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
return result;
|
|
148
|
-
}
|
|
149
|
-
catch (error) {
|
|
150
|
-
span.setStatus({
|
|
151
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
152
|
-
message: error.message
|
|
153
|
-
});
|
|
154
|
-
throw error;
|
|
155
|
-
}
|
|
156
|
-
finally {
|
|
157
|
-
span.end();
|
|
158
|
-
}
|
|
118
|
+
async delete(linkConnectionName, options) {
|
|
119
|
+
return tracingClient.withSpan("ArtifactsClient.delete", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
120
|
+
return this.client.sendOperationRequest({ linkConnectionName, options }, deleteOperationSpec);
|
|
121
|
+
});
|
|
159
122
|
}
|
|
160
123
|
/**
|
|
161
124
|
* Edit tables for a link connection
|
|
@@ -164,65 +127,31 @@ export class LinkConnectionOperationsImpl {
|
|
|
164
127
|
* @param options The options parameters.
|
|
165
128
|
*/
|
|
166
129
|
async editTables(linkConnectionName, editTablesRequest, options) {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
return result;
|
|
171
|
-
}
|
|
172
|
-
catch (error) {
|
|
173
|
-
span.setStatus({
|
|
174
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
175
|
-
message: error.message
|
|
176
|
-
});
|
|
177
|
-
throw error;
|
|
178
|
-
}
|
|
179
|
-
finally {
|
|
180
|
-
span.end();
|
|
181
|
-
}
|
|
130
|
+
return tracingClient.withSpan("ArtifactsClient.editTables", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
131
|
+
return this.client.sendOperationRequest({ linkConnectionName, editTablesRequest, options }, editTablesOperationSpec);
|
|
132
|
+
});
|
|
182
133
|
}
|
|
183
134
|
/**
|
|
184
|
-
* Start a link connection
|
|
135
|
+
* Start a link connection. It may take a few minutes from Starting to Running, monitor the status with
|
|
136
|
+
* LinkConnection_GetDetailedStatus.
|
|
185
137
|
* @param linkConnectionName The link connection name
|
|
186
138
|
* @param options The options parameters.
|
|
187
139
|
*/
|
|
188
140
|
async start(linkConnectionName, options) {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
return result;
|
|
193
|
-
}
|
|
194
|
-
catch (error) {
|
|
195
|
-
span.setStatus({
|
|
196
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
197
|
-
message: error.message
|
|
198
|
-
});
|
|
199
|
-
throw error;
|
|
200
|
-
}
|
|
201
|
-
finally {
|
|
202
|
-
span.end();
|
|
203
|
-
}
|
|
141
|
+
return tracingClient.withSpan("ArtifactsClient.start", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
142
|
+
return this.client.sendOperationRequest({ linkConnectionName, options }, startOperationSpec);
|
|
143
|
+
});
|
|
204
144
|
}
|
|
205
145
|
/**
|
|
206
|
-
* Stop a link connection
|
|
146
|
+
* Stop a link connection. It may take a few minutes from Stopping to stopped, monitor the status with
|
|
147
|
+
* LinkConnection_GetDetailedStatus.
|
|
207
148
|
* @param linkConnectionName The link connection name
|
|
208
149
|
* @param options The options parameters.
|
|
209
150
|
*/
|
|
210
151
|
async stop(linkConnectionName, options) {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
return result;
|
|
215
|
-
}
|
|
216
|
-
catch (error) {
|
|
217
|
-
span.setStatus({
|
|
218
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
219
|
-
message: error.message
|
|
220
|
-
});
|
|
221
|
-
throw error;
|
|
222
|
-
}
|
|
223
|
-
finally {
|
|
224
|
-
span.end();
|
|
225
|
-
}
|
|
152
|
+
return tracingClient.withSpan("ArtifactsClient.stop", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
153
|
+
return this.client.sendOperationRequest({ linkConnectionName, options }, stopOperationSpec);
|
|
154
|
+
});
|
|
226
155
|
}
|
|
227
156
|
/**
|
|
228
157
|
* Get the detailed status of a link connection
|
|
@@ -230,21 +159,9 @@ export class LinkConnectionOperationsImpl {
|
|
|
230
159
|
* @param options The options parameters.
|
|
231
160
|
*/
|
|
232
161
|
async getDetailedStatus(linkConnectionName, options) {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
return result;
|
|
237
|
-
}
|
|
238
|
-
catch (error) {
|
|
239
|
-
span.setStatus({
|
|
240
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
241
|
-
message: error.message
|
|
242
|
-
});
|
|
243
|
-
throw error;
|
|
244
|
-
}
|
|
245
|
-
finally {
|
|
246
|
-
span.end();
|
|
247
|
-
}
|
|
162
|
+
return tracingClient.withSpan("ArtifactsClient.getDetailedStatus", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
163
|
+
return this.client.sendOperationRequest({ linkConnectionName, options }, getDetailedStatusOperationSpec);
|
|
164
|
+
});
|
|
248
165
|
}
|
|
249
166
|
/**
|
|
250
167
|
* List the link tables of a link connection
|
|
@@ -252,21 +169,9 @@ export class LinkConnectionOperationsImpl {
|
|
|
252
169
|
* @param options The options parameters.
|
|
253
170
|
*/
|
|
254
171
|
async listLinkTables(linkConnectionName, options) {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
return result;
|
|
259
|
-
}
|
|
260
|
-
catch (error) {
|
|
261
|
-
span.setStatus({
|
|
262
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
263
|
-
message: error.message
|
|
264
|
-
});
|
|
265
|
-
throw error;
|
|
266
|
-
}
|
|
267
|
-
finally {
|
|
268
|
-
span.end();
|
|
269
|
-
}
|
|
172
|
+
return tracingClient.withSpan("ArtifactsClient.listLinkTables", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
173
|
+
return this.client.sendOperationRequest({ linkConnectionName, options }, listLinkTablesOperationSpec);
|
|
174
|
+
});
|
|
270
175
|
}
|
|
271
176
|
/**
|
|
272
177
|
* Query the link table status of a link connection
|
|
@@ -275,21 +180,9 @@ export class LinkConnectionOperationsImpl {
|
|
|
275
180
|
* @param options The options parameters.
|
|
276
181
|
*/
|
|
277
182
|
async queryTableStatus(linkConnectionName, queryTableStatusRequest, options) {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
return result;
|
|
282
|
-
}
|
|
283
|
-
catch (error) {
|
|
284
|
-
span.setStatus({
|
|
285
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
286
|
-
message: error.message
|
|
287
|
-
});
|
|
288
|
-
throw error;
|
|
289
|
-
}
|
|
290
|
-
finally {
|
|
291
|
-
span.end();
|
|
292
|
-
}
|
|
183
|
+
return tracingClient.withSpan("ArtifactsClient.queryTableStatus", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
184
|
+
return this.client.sendOperationRequest({ linkConnectionName, queryTableStatusRequest, options }, queryTableStatusOperationSpec);
|
|
185
|
+
});
|
|
293
186
|
}
|
|
294
187
|
/**
|
|
295
188
|
* Update landing zone credential of a link connection
|
|
@@ -298,49 +191,46 @@ export class LinkConnectionOperationsImpl {
|
|
|
298
191
|
* @param options The options parameters.
|
|
299
192
|
*/
|
|
300
193
|
async updateLandingZoneCredential(linkConnectionName, updateLandingZoneCredentialRequest, options) {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
return result;
|
|
305
|
-
}
|
|
306
|
-
catch (error) {
|
|
307
|
-
span.setStatus({
|
|
308
|
-
code: coreTracing.SpanStatusCode.UNSET,
|
|
309
|
-
message: error.message
|
|
310
|
-
});
|
|
311
|
-
throw error;
|
|
312
|
-
}
|
|
313
|
-
finally {
|
|
314
|
-
span.end();
|
|
315
|
-
}
|
|
194
|
+
return tracingClient.withSpan("ArtifactsClient.updateLandingZoneCredential", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
195
|
+
return this.client.sendOperationRequest({ linkConnectionName, updateLandingZoneCredentialRequest, options }, updateLandingZoneCredentialOperationSpec);
|
|
196
|
+
});
|
|
316
197
|
}
|
|
317
198
|
/**
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
199
|
+
* Pause a link connection. It may take a few minutes from Pausing to Paused, monitor the status with
|
|
200
|
+
* LinkConnection_GetDetailedStatus.
|
|
201
|
+
* @param linkConnectionName The link connection name
|
|
321
202
|
* @param options The options parameters.
|
|
322
203
|
*/
|
|
323
|
-
async
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
204
|
+
async pause(linkConnectionName, options) {
|
|
205
|
+
return tracingClient.withSpan("ArtifactsClient.pause", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
206
|
+
return this.client.sendOperationRequest({ linkConnectionName, options }, pauseOperationSpec);
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Resume a link connection. It may take a few minutes from Resuming to Running, monitor the status
|
|
211
|
+
* with LinkConnection_GetDetailedStatus.
|
|
212
|
+
* @param linkConnectionName The link connection name
|
|
213
|
+
* @param options The options parameters.
|
|
214
|
+
*/
|
|
215
|
+
async resume(linkConnectionName, options) {
|
|
216
|
+
return tracingClient.withSpan("ArtifactsClient.resume", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
217
|
+
return this.client.sendOperationRequest({ linkConnectionName, options }, resumeOperationSpec);
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* ListByWorkspaceNext
|
|
222
|
+
* @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
|
|
223
|
+
* @param options The options parameters.
|
|
224
|
+
*/
|
|
225
|
+
async _listByWorkspaceNext(nextLink, options) {
|
|
226
|
+
return tracingClient.withSpan("ArtifactsClient._listByWorkspaceNext", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
227
|
+
return this.client.sendOperationRequest({ nextLink, options }, listByWorkspaceNextOperationSpec);
|
|
228
|
+
});
|
|
339
229
|
}
|
|
340
230
|
}
|
|
341
231
|
// Operation Specifications
|
|
342
232
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
343
|
-
const
|
|
233
|
+
const listByWorkspaceOperationSpec = {
|
|
344
234
|
path: "/linkconnections",
|
|
345
235
|
httpMethod: "GET",
|
|
346
236
|
responses: {
|
|
@@ -356,7 +246,7 @@ const listLinkConnectionsByWorkspaceOperationSpec = {
|
|
|
356
246
|
headerParameters: [Parameters.accept],
|
|
357
247
|
serializer
|
|
358
248
|
};
|
|
359
|
-
const
|
|
249
|
+
const createOrUpdateOperationSpec = {
|
|
360
250
|
path: "/linkconnections/{linkConnectionName}",
|
|
361
251
|
httpMethod: "PUT",
|
|
362
252
|
responses: {
|
|
@@ -374,7 +264,7 @@ const createOrUpdateLinkConnectionOperationSpec = {
|
|
|
374
264
|
mediaType: "json",
|
|
375
265
|
serializer
|
|
376
266
|
};
|
|
377
|
-
const
|
|
267
|
+
const getOperationSpec = {
|
|
378
268
|
path: "/linkconnections/{linkConnectionName}",
|
|
379
269
|
httpMethod: "GET",
|
|
380
270
|
responses: {
|
|
@@ -390,7 +280,7 @@ const getLinkConnectionOperationSpec = {
|
|
|
390
280
|
headerParameters: [Parameters.accept],
|
|
391
281
|
serializer
|
|
392
282
|
};
|
|
393
|
-
const
|
|
283
|
+
const deleteOperationSpec = {
|
|
394
284
|
path: "/linkconnections/{linkConnectionName}",
|
|
395
285
|
httpMethod: "DELETE",
|
|
396
286
|
responses: {
|
|
@@ -515,7 +405,35 @@ const updateLandingZoneCredentialOperationSpec = {
|
|
|
515
405
|
mediaType: "json",
|
|
516
406
|
serializer
|
|
517
407
|
};
|
|
518
|
-
const
|
|
408
|
+
const pauseOperationSpec = {
|
|
409
|
+
path: "/linkconnections/{linkConnectionName}/pause",
|
|
410
|
+
httpMethod: "POST",
|
|
411
|
+
responses: {
|
|
412
|
+
200: {},
|
|
413
|
+
default: {
|
|
414
|
+
bodyMapper: Mappers.CloudError
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
queryParameters: [Parameters.apiVersion],
|
|
418
|
+
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
419
|
+
headerParameters: [Parameters.accept],
|
|
420
|
+
serializer
|
|
421
|
+
};
|
|
422
|
+
const resumeOperationSpec = {
|
|
423
|
+
path: "/linkconnections/{linkConnectionName}/resume",
|
|
424
|
+
httpMethod: "POST",
|
|
425
|
+
responses: {
|
|
426
|
+
200: {},
|
|
427
|
+
default: {
|
|
428
|
+
bodyMapper: Mappers.CloudError
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
queryParameters: [Parameters.apiVersion],
|
|
432
|
+
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
433
|
+
headerParameters: [Parameters.accept],
|
|
434
|
+
serializer
|
|
435
|
+
};
|
|
436
|
+
const listByWorkspaceNextOperationSpec = {
|
|
519
437
|
path: "{nextLink}",
|
|
520
438
|
httpMethod: "GET",
|
|
521
439
|
responses: {
|
|
@@ -526,7 +444,6 @@ const listLinkConnectionsByWorkspaceNextOperationSpec = {
|
|
|
526
444
|
bodyMapper: Mappers.CloudError
|
|
527
445
|
}
|
|
528
446
|
},
|
|
529
|
-
queryParameters: [Parameters.apiVersion],
|
|
530
447
|
urlParameters: [Parameters.endpoint, Parameters.nextLink],
|
|
531
448
|
headerParameters: [Parameters.accept],
|
|
532
449
|
serializer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkConnectionOperations.js","sourceRoot":"","sources":["../../../src/operations/linkConnectionOperations.ts"],"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UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;IACzD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { createSpan } from \"../tracing\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { LinkConnectionOperations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreTracing from \"@azure/core-tracing\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ArtifactsClient } from \"../artifactsClient\";\nimport {\n LinkConnectionResource,\n LinkConnectionListLinkConnectionsByWorkspaceNextOptionalParams,\n LinkConnectionListLinkConnectionsByWorkspaceOptionalParams,\n LinkConnectionListLinkConnectionsByWorkspaceResponse,\n LinkConnectionCreateOrUpdateLinkConnectionOptionalParams,\n LinkConnectionCreateOrUpdateLinkConnectionResponse,\n LinkConnectionGetLinkConnectionOptionalParams,\n LinkConnectionGetLinkConnectionResponse,\n LinkConnectionDeleteLinkConnectionOptionalParams,\n EditTablesRequest,\n LinkConnectionEditTablesOptionalParams,\n LinkConnectionStartOptionalParams,\n LinkConnectionStopOptionalParams,\n LinkConnectionGetDetailedStatusOptionalParams,\n LinkConnectionGetDetailedStatusResponse,\n LinkConnectionListLinkTablesOptionalParams,\n LinkConnectionListLinkTablesResponse,\n QueryTableStatusRequest,\n LinkConnectionQueryTableStatusOptionalParams,\n LinkConnectionQueryTableStatusResponse,\n UpdateLandingZoneCredential,\n LinkConnectionUpdateLandingZoneCredentialOptionalParams,\n LinkConnectionListLinkConnectionsByWorkspaceNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing LinkConnectionOperations operations. */\nexport class LinkConnectionOperationsImpl implements LinkConnectionOperations {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class LinkConnectionOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * List link connections\n * @param options The options parameters.\n */\n public listLinkConnectionsByWorkspace(\n options?: LinkConnectionListLinkConnectionsByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<LinkConnectionResource> {\n const iter = this.listLinkConnectionsByWorkspacePagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listLinkConnectionsByWorkspacePagingPage(options);\n }\n };\n }\n\n private async *listLinkConnectionsByWorkspacePagingPage(\n options?: LinkConnectionListLinkConnectionsByWorkspaceOptionalParams\n ): AsyncIterableIterator<LinkConnectionResource[]> {\n let result = await this._listLinkConnectionsByWorkspace(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listLinkConnectionsByWorkspaceNext(\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listLinkConnectionsByWorkspacePagingAll(\n options?: LinkConnectionListLinkConnectionsByWorkspaceOptionalParams\n ): AsyncIterableIterator<LinkConnectionResource> {\n for await (const page of this.listLinkConnectionsByWorkspacePagingPage(\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * List link connections\n * @param options The options parameters.\n */\n private async _listLinkConnectionsByWorkspace(\n options?: LinkConnectionListLinkConnectionsByWorkspaceOptionalParams\n ): Promise<LinkConnectionListLinkConnectionsByWorkspaceResponse> {\n const { span } = createSpan(\n \"ArtifactsClient-_listLinkConnectionsByWorkspace\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { options },\n listLinkConnectionsByWorkspaceOperationSpec\n );\n return result as LinkConnectionListLinkConnectionsByWorkspaceResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates or updates a link connection\n * @param linkConnectionName The link connection name\n * @param linkConnection Link connection resource definition\n * @param options The options parameters.\n */\n async createOrUpdateLinkConnection(\n linkConnectionName: string,\n linkConnection: LinkConnectionResource,\n options?: LinkConnectionCreateOrUpdateLinkConnectionOptionalParams\n ): Promise<LinkConnectionCreateOrUpdateLinkConnectionResponse> {\n const { span } = createSpan(\n \"ArtifactsClient-createOrUpdateLinkConnection\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { linkConnectionName, linkConnection, options },\n createOrUpdateLinkConnectionOperationSpec\n );\n return result as LinkConnectionCreateOrUpdateLinkConnectionResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Get a link connection\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async getLinkConnection(\n linkConnectionName: string,\n options?: LinkConnectionGetLinkConnectionOptionalParams\n ): Promise<LinkConnectionGetLinkConnectionResponse> {\n const { span } = createSpan(\n \"ArtifactsClient-getLinkConnection\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { linkConnectionName, options },\n getLinkConnectionOperationSpec\n );\n return result as LinkConnectionGetLinkConnectionResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Delete a link connection\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async deleteLinkConnection(\n linkConnectionName: string,\n options?: LinkConnectionDeleteLinkConnectionOptionalParams\n ): Promise<void> {\n const { span } = createSpan(\n \"ArtifactsClient-deleteLinkConnection\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { linkConnectionName, options },\n deleteLinkConnectionOperationSpec\n );\n return result as void;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Edit tables for a link connection\n * @param linkConnectionName The link connection name\n * @param editTablesRequest Edit tables request\n * @param options The options parameters.\n */\n async editTables(\n linkConnectionName: string,\n editTablesRequest: EditTablesRequest,\n options?: LinkConnectionEditTablesOptionalParams\n ): Promise<void> {\n const { span } = createSpan(\"ArtifactsClient-editTables\", options || {});\n try {\n const result = await this.client.sendOperationRequest(\n { linkConnectionName, editTablesRequest, options },\n editTablesOperationSpec\n );\n return result as void;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Start a link connection\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async start(\n linkConnectionName: string,\n options?: LinkConnectionStartOptionalParams\n ): Promise<void> {\n const { span } = createSpan(\"ArtifactsClient-start\", options || {});\n try {\n const result = await this.client.sendOperationRequest(\n { linkConnectionName, options },\n startOperationSpec\n );\n return result as void;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Stop a link connection\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async stop(\n linkConnectionName: string,\n options?: LinkConnectionStopOptionalParams\n ): Promise<void> {\n const { span } = createSpan(\"ArtifactsClient-stop\", options || {});\n try {\n const result = await this.client.sendOperationRequest(\n { linkConnectionName, options },\n stopOperationSpec\n );\n return result as void;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Get the detailed status of a link connection\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async getDetailedStatus(\n linkConnectionName: string,\n options?: LinkConnectionGetDetailedStatusOptionalParams\n ): Promise<LinkConnectionGetDetailedStatusResponse> {\n const { span } = createSpan(\n \"ArtifactsClient-getDetailedStatus\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { linkConnectionName, options },\n getDetailedStatusOperationSpec\n );\n return result as LinkConnectionGetDetailedStatusResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * List the link tables of a link connection\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async listLinkTables(\n linkConnectionName: string,\n options?: LinkConnectionListLinkTablesOptionalParams\n ): Promise<LinkConnectionListLinkTablesResponse> {\n const { span } = createSpan(\n \"ArtifactsClient-listLinkTables\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { linkConnectionName, options },\n listLinkTablesOperationSpec\n );\n return result as LinkConnectionListLinkTablesResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Query the link table status of a link connection\n * @param linkConnectionName The link connection name\n * @param queryTableStatusRequest Query table status request\n * @param options The options parameters.\n */\n async queryTableStatus(\n linkConnectionName: string,\n queryTableStatusRequest: QueryTableStatusRequest,\n options?: LinkConnectionQueryTableStatusOptionalParams\n ): Promise<LinkConnectionQueryTableStatusResponse> {\n const { span } = createSpan(\n \"ArtifactsClient-queryTableStatus\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { linkConnectionName, queryTableStatusRequest, options },\n queryTableStatusOperationSpec\n );\n return result as LinkConnectionQueryTableStatusResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * Update landing zone credential of a link connection\n * @param linkConnectionName The link connection name\n * @param updateLandingZoneCredentialRequest update landing zone credential request\n * @param options The options parameters.\n */\n async updateLandingZoneCredential(\n linkConnectionName: string,\n updateLandingZoneCredentialRequest: UpdateLandingZoneCredential,\n options?: LinkConnectionUpdateLandingZoneCredentialOptionalParams\n ): Promise<void> {\n const { span } = createSpan(\n \"ArtifactsClient-updateLandingZoneCredential\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { linkConnectionName, updateLandingZoneCredentialRequest, options },\n updateLandingZoneCredentialOperationSpec\n );\n return result as void;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n\n /**\n * ListLinkConnectionsByWorkspaceNext\n * @param nextLink The nextLink from the previous successful call to the ListLinkConnectionsByWorkspace\n * method.\n * @param options The options parameters.\n */\n private async _listLinkConnectionsByWorkspaceNext(\n nextLink: string,\n options?: LinkConnectionListLinkConnectionsByWorkspaceNextOptionalParams\n ): Promise<LinkConnectionListLinkConnectionsByWorkspaceNextResponse> {\n const { span } = createSpan(\n \"ArtifactsClient-_listLinkConnectionsByWorkspaceNext\",\n options || {}\n );\n try {\n const result = await this.client.sendOperationRequest(\n { nextLink, options },\n listLinkConnectionsByWorkspaceNextOperationSpec\n );\n return result as LinkConnectionListLinkConnectionsByWorkspaceNextResponse;\n } catch (error) {\n span.setStatus({\n code: coreTracing.SpanStatusCode.UNSET,\n message: error.message\n });\n throw error;\n } finally {\n span.end();\n }\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listLinkConnectionsByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateLinkConnectionOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.linkConnection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getLinkConnectionOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteLinkConnectionOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst editTablesOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/edittables\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.editTablesRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getDetailedStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/detailedstatus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionDetailedStatus\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listLinkTablesOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/linktables\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkTableListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst queryTableStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/querytablestatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionQueryTableStatus\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.queryTableStatusRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateLandingZoneCredentialOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/updateLandingZoneCredential\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.updateLandingZoneCredentialRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listLinkConnectionsByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"linkConnectionOperations.js","sourceRoot":"","sources":["../../../src/operations/linkConnectionOperations.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;AA8BnD,4CAA4C;AAC5C,4DAA4D;AAC5D,MAAM,OAAO,4BAA4B;IAGvC;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,eAAe,CACpB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;QACpD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,Q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,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,kBAAkB,CAAC;IACnE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,8CAA8C;IACpD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,kBAAkB,CAAC;IACnE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;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 { LinkConnectionOperations } 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 LinkConnectionResource,\n LinkConnectionListByWorkspaceNextOptionalParams,\n LinkConnectionListByWorkspaceOptionalParams,\n LinkConnectionListByWorkspaceResponse,\n LinkConnectionCreateOrUpdateOptionalParams,\n LinkConnectionCreateOrUpdateResponse,\n LinkConnectionGetOptionalParams,\n LinkConnectionGetResponse,\n LinkConnectionDeleteOptionalParams,\n EditTablesRequest,\n LinkConnectionEditTablesOptionalParams,\n LinkConnectionStartOptionalParams,\n LinkConnectionStopOptionalParams,\n LinkConnectionGetDetailedStatusOptionalParams,\n LinkConnectionGetDetailedStatusResponse,\n LinkConnectionListLinkTablesOptionalParams,\n LinkConnectionListLinkTablesResponse,\n QueryTableStatusRequest,\n LinkConnectionQueryTableStatusOptionalParams,\n LinkConnectionQueryTableStatusResponse,\n UpdateLandingZoneCredential,\n LinkConnectionUpdateLandingZoneCredentialOptionalParams,\n LinkConnectionPauseOptionalParams,\n LinkConnectionResumeOptionalParams,\n LinkConnectionListByWorkspaceNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing LinkConnectionOperations operations. */\nexport class LinkConnectionOperationsImpl implements LinkConnectionOperations {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class LinkConnectionOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * List link connections\n * @param options The options parameters.\n */\n public listByWorkspace(\n options?: LinkConnectionListByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<LinkConnectionResource> {\n const iter = this.listByWorkspacePagingAll(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.listByWorkspacePagingPage(options, settings);\n }\n };\n }\n\n private async *listByWorkspacePagingPage(\n options?: LinkConnectionListByWorkspaceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<LinkConnectionResource[]> {\n let result: LinkConnectionListByWorkspaceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByWorkspace(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._listByWorkspaceNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByWorkspacePagingAll(\n options?: LinkConnectionListByWorkspaceOptionalParams\n ): AsyncIterableIterator<LinkConnectionResource> {\n for await (const page of this.listByWorkspacePagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List link connections\n * @param options The options parameters.\n */\n private async _listByWorkspace(\n options?: LinkConnectionListByWorkspaceOptionalParams\n ): Promise<LinkConnectionListByWorkspaceResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient._listByWorkspace\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n listByWorkspaceOperationSpec\n ) as Promise<LinkConnectionListByWorkspaceResponse>;\n }\n );\n }\n\n /**\n * Creates or updates a link connection\n * @param linkConnectionName The link connection name\n * @param linkConnection Link connection resource definition\n * @param options The options parameters.\n */\n async createOrUpdate(\n linkConnectionName: string,\n linkConnection: LinkConnectionResource,\n options?: LinkConnectionCreateOrUpdateOptionalParams\n ): Promise<LinkConnectionCreateOrUpdateResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.createOrUpdate\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, linkConnection, options },\n createOrUpdateOperationSpec\n ) as Promise<LinkConnectionCreateOrUpdateResponse>;\n }\n );\n }\n\n /**\n * Get a link connection\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async get(\n linkConnectionName: string,\n options?: LinkConnectionGetOptionalParams\n ): Promise<LinkConnectionGetResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.get\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, options },\n getOperationSpec\n ) as Promise<LinkConnectionGetResponse>;\n }\n );\n }\n\n /**\n * Delete a link connection\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async delete(\n linkConnectionName: string,\n options?: LinkConnectionDeleteOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.delete\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, options },\n deleteOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Edit tables for a link connection\n * @param linkConnectionName The link connection name\n * @param editTablesRequest Edit tables request\n * @param options The options parameters.\n */\n async editTables(\n linkConnectionName: string,\n editTablesRequest: EditTablesRequest,\n options?: LinkConnectionEditTablesOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.editTables\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, editTablesRequest, options },\n editTablesOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Start a link connection. It may take a few minutes from Starting to Running, monitor the status with\n * LinkConnection_GetDetailedStatus.\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async start(\n linkConnectionName: string,\n options?: LinkConnectionStartOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.start\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, options },\n startOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Stop a link connection. It may take a few minutes from Stopping to stopped, monitor the status with\n * LinkConnection_GetDetailedStatus.\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async stop(\n linkConnectionName: string,\n options?: LinkConnectionStopOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.stop\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, options },\n stopOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Get the detailed status of a link connection\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async getDetailedStatus(\n linkConnectionName: string,\n options?: LinkConnectionGetDetailedStatusOptionalParams\n ): Promise<LinkConnectionGetDetailedStatusResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.getDetailedStatus\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, options },\n getDetailedStatusOperationSpec\n ) as Promise<LinkConnectionGetDetailedStatusResponse>;\n }\n );\n }\n\n /**\n * List the link tables of a link connection\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async listLinkTables(\n linkConnectionName: string,\n options?: LinkConnectionListLinkTablesOptionalParams\n ): Promise<LinkConnectionListLinkTablesResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.listLinkTables\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, options },\n listLinkTablesOperationSpec\n ) as Promise<LinkConnectionListLinkTablesResponse>;\n }\n );\n }\n\n /**\n * Query the link table status of a link connection\n * @param linkConnectionName The link connection name\n * @param queryTableStatusRequest Query table status request\n * @param options The options parameters.\n */\n async queryTableStatus(\n linkConnectionName: string,\n queryTableStatusRequest: QueryTableStatusRequest,\n options?: LinkConnectionQueryTableStatusOptionalParams\n ): Promise<LinkConnectionQueryTableStatusResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.queryTableStatus\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, queryTableStatusRequest, options },\n queryTableStatusOperationSpec\n ) as Promise<LinkConnectionQueryTableStatusResponse>;\n }\n );\n }\n\n /**\n * Update landing zone credential of a link connection\n * @param linkConnectionName The link connection name\n * @param updateLandingZoneCredentialRequest update landing zone credential request\n * @param options The options parameters.\n */\n async updateLandingZoneCredential(\n linkConnectionName: string,\n updateLandingZoneCredentialRequest: UpdateLandingZoneCredential,\n options?: LinkConnectionUpdateLandingZoneCredentialOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.updateLandingZoneCredential\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, updateLandingZoneCredentialRequest, options },\n updateLandingZoneCredentialOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Pause a link connection. It may take a few minutes from Pausing to Paused, monitor the status with\n * LinkConnection_GetDetailedStatus.\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async pause(\n linkConnectionName: string,\n options?: LinkConnectionPauseOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.pause\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, options },\n pauseOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Resume a link connection. It may take a few minutes from Resuming to Running, monitor the status\n * with LinkConnection_GetDetailedStatus.\n * @param linkConnectionName The link connection name\n * @param options The options parameters.\n */\n async resume(\n linkConnectionName: string,\n options?: LinkConnectionResumeOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.resume\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { linkConnectionName, options },\n resumeOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * ListByWorkspaceNext\n * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.\n * @param options The options parameters.\n */\n private async _listByWorkspaceNext(\n nextLink: string,\n options?: LinkConnectionListByWorkspaceNextOptionalParams\n ): Promise<LinkConnectionListByWorkspaceNextResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient._listByWorkspaceNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listByWorkspaceNextOperationSpec\n ) as Promise<LinkConnectionListByWorkspaceNextResponse>;\n }\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.linkConnection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst editTablesOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/edittables\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.editTablesRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getDetailedStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/detailedstatus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionDetailedStatus\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listLinkTablesOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/linktables\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkTableListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst queryTableStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/querytablestatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionQueryTableStatus\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.queryTableStatusRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateLandingZoneCredentialOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/updateLandingZoneCredential\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.updateLandingZoneCredentialRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst pauseOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/pause\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst resumeOperationSpec: coreClient.OperationSpec = {\n path: \"/linkconnections/{linkConnectionName}/resume\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkConnectionListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|