@azure/synapse-artifacts 1.0.0-beta.13 → 1.0.0-beta.15
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/dist/index.js +10608 -9343
- package/dist/index.js.map +1 -1
- package/dist-esm/src/artifactsClient.js +8 -8
- package/dist-esm/src/artifactsClient.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.js +108 -62
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.js +8925 -7670
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +160 -160
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/bigDataPools.js +8 -8
- package/dist-esm/src/operations/bigDataPools.js.map +1 -1
- package/dist-esm/src/operations/dataFlowDebugSession.js +42 -47
- package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -1
- package/dist-esm/src/operations/dataFlowOperations.js +43 -48
- package/dist-esm/src/operations/dataFlowOperations.js.map +1 -1
- package/dist-esm/src/operations/datasetOperations.js +43 -48
- package/dist-esm/src/operations/datasetOperations.js.map +1 -1
- package/dist-esm/src/operations/integrationRuntimes.js +8 -8
- package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
- package/dist-esm/src/operations/kqlScriptOperations.js +30 -30
- package/dist-esm/src/operations/kqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operations/kqlScripts.js +12 -17
- package/dist-esm/src/operations/kqlScripts.js.map +1 -1
- package/dist-esm/src/operations/library.js +47 -52
- package/dist-esm/src/operations/library.js.map +1 -1
- package/dist-esm/src/operations/linkConnectionOperations.js +53 -58
- package/dist-esm/src/operations/linkConnectionOperations.js.map +1 -1
- package/dist-esm/src/operations/linkedServiceOperations.js +43 -48
- package/dist-esm/src/operations/linkedServiceOperations.js.map +1 -1
- package/dist-esm/src/operations/metastore.js +15 -15
- package/dist-esm/src/operations/metastore.js.map +1 -1
- package/dist-esm/src/operations/notebookOperationResult.js +3 -3
- package/dist-esm/src/operations/notebookOperationResult.js.map +1 -1
- package/dist-esm/src/operations/notebookOperations.js +55 -65
- package/dist-esm/src/operations/notebookOperations.js.map +1 -1
- package/dist-esm/src/operations/pipelineOperations.js +48 -53
- package/dist-esm/src/operations/pipelineOperations.js.map +1 -1
- package/dist-esm/src/operations/pipelineRunOperations.js +16 -16
- package/dist-esm/src/operations/pipelineRunOperations.js.map +1 -1
- package/dist-esm/src/operations/runNotebook.js +25 -25
- package/dist-esm/src/operations/runNotebook.js.map +1 -1
- package/dist-esm/src/operations/sparkConfigurationOperations.js +43 -48
- package/dist-esm/src/operations/sparkConfigurationOperations.js.map +1 -1
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js +65 -70
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js.map +1 -1
- package/dist-esm/src/operations/sqlPools.js +8 -8
- package/dist-esm/src/operations/sqlPools.js.map +1 -1
- package/dist-esm/src/operations/sqlScriptOperations.js +43 -48
- package/dist-esm/src/operations/sqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operations/triggerOperations.js +76 -81
- package/dist-esm/src/operations/triggerOperations.js.map +1 -1
- package/dist-esm/src/operations/triggerRunOperations.js +12 -12
- package/dist-esm/src/operations/triggerRunOperations.js.map +1 -1
- package/dist-esm/src/operations/workspaceGitRepoManagement.js +4 -4
- package/dist-esm/src/operations/workspaceGitRepoManagement.js.map +1 -1
- package/dist-esm/src/operations/workspaceOperations.js +4 -4
- package/dist-esm/src/operations/workspaceOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/bigDataPools.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dataFlowOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/datasetOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/integrationRuntimes.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/kqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/kqlScripts.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/library.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/linkConnectionOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/linkedServiceOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/metastore.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/notebookOperationResult.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/notebookOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/pipelineOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/pipelineRunOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/runNotebook.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sparkConfigurationOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlPools.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/triggerOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/triggerRunOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspaceGitRepoManagement.js.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/src/tracing.js +1 -1
- package/dist-esm/src/tracing.js.map +1 -1
- package/package.json +18 -17
- package/types/synapse-artifacts.d.ts +696 -91
|
@@ -39,7 +39,7 @@ export class LinkConnectionOperationsImpl {
|
|
|
39
39
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
40
40
|
}
|
|
41
41
|
return this.listByWorkspacePagingPage(options, settings);
|
|
42
|
-
}
|
|
42
|
+
},
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
listByWorkspacePagingPage(options, settings) {
|
|
@@ -66,16 +66,11 @@ export class LinkConnectionOperationsImpl {
|
|
|
66
66
|
return __asyncGenerator(this, arguments, function* listByWorkspacePagingAll_1() {
|
|
67
67
|
var _a, e_1, _b, _c;
|
|
68
68
|
try {
|
|
69
|
-
for (var _d = true, _e = __asyncValues(this.listByWorkspacePagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
|
|
69
|
+
for (var _d = true, _e = __asyncValues(this.listByWorkspacePagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
70
70
|
_c = _f.value;
|
|
71
71
|
_d = false;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
-
}
|
|
76
|
-
finally {
|
|
77
|
-
_d = true;
|
|
78
|
-
}
|
|
72
|
+
const page = _c;
|
|
73
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
79
74
|
}
|
|
80
75
|
}
|
|
81
76
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -242,50 +237,50 @@ const listByWorkspaceOperationSpec = {
|
|
|
242
237
|
httpMethod: "GET",
|
|
243
238
|
responses: {
|
|
244
239
|
200: {
|
|
245
|
-
bodyMapper: Mappers.LinkConnectionListResponse
|
|
240
|
+
bodyMapper: Mappers.LinkConnectionListResponse,
|
|
246
241
|
},
|
|
247
242
|
default: {
|
|
248
|
-
bodyMapper: Mappers.CloudError
|
|
249
|
-
}
|
|
243
|
+
bodyMapper: Mappers.CloudError,
|
|
244
|
+
},
|
|
250
245
|
},
|
|
251
246
|
queryParameters: [Parameters.apiVersion],
|
|
252
247
|
urlParameters: [Parameters.endpoint],
|
|
253
248
|
headerParameters: [Parameters.accept],
|
|
254
|
-
serializer
|
|
249
|
+
serializer,
|
|
255
250
|
};
|
|
256
251
|
const createOrUpdateOperationSpec = {
|
|
257
252
|
path: "/linkconnections/{linkConnectionName}",
|
|
258
253
|
httpMethod: "PUT",
|
|
259
254
|
responses: {
|
|
260
255
|
200: {
|
|
261
|
-
bodyMapper: Mappers.LinkConnectionResource
|
|
256
|
+
bodyMapper: Mappers.LinkConnectionResource,
|
|
262
257
|
},
|
|
263
258
|
default: {
|
|
264
|
-
bodyMapper: Mappers.CloudError
|
|
265
|
-
}
|
|
259
|
+
bodyMapper: Mappers.CloudError,
|
|
260
|
+
},
|
|
266
261
|
},
|
|
267
262
|
requestBody: Parameters.linkConnection,
|
|
268
263
|
queryParameters: [Parameters.apiVersion],
|
|
269
264
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
270
265
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
271
266
|
mediaType: "json",
|
|
272
|
-
serializer
|
|
267
|
+
serializer,
|
|
273
268
|
};
|
|
274
269
|
const getOperationSpec = {
|
|
275
270
|
path: "/linkconnections/{linkConnectionName}",
|
|
276
271
|
httpMethod: "GET",
|
|
277
272
|
responses: {
|
|
278
273
|
200: {
|
|
279
|
-
bodyMapper: Mappers.LinkConnectionResource
|
|
274
|
+
bodyMapper: Mappers.LinkConnectionResource,
|
|
280
275
|
},
|
|
281
276
|
default: {
|
|
282
|
-
bodyMapper: Mappers.CloudError
|
|
283
|
-
}
|
|
277
|
+
bodyMapper: Mappers.CloudError,
|
|
278
|
+
},
|
|
284
279
|
},
|
|
285
280
|
queryParameters: [Parameters.apiVersion],
|
|
286
281
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
287
282
|
headerParameters: [Parameters.accept],
|
|
288
|
-
serializer
|
|
283
|
+
serializer,
|
|
289
284
|
};
|
|
290
285
|
const deleteOperationSpec = {
|
|
291
286
|
path: "/linkconnections/{linkConnectionName}",
|
|
@@ -294,13 +289,13 @@ const deleteOperationSpec = {
|
|
|
294
289
|
200: {},
|
|
295
290
|
204: {},
|
|
296
291
|
default: {
|
|
297
|
-
bodyMapper: Mappers.CloudError
|
|
298
|
-
}
|
|
292
|
+
bodyMapper: Mappers.CloudError,
|
|
293
|
+
},
|
|
299
294
|
},
|
|
300
295
|
queryParameters: [Parameters.apiVersion],
|
|
301
296
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
302
297
|
headerParameters: [Parameters.accept],
|
|
303
|
-
serializer
|
|
298
|
+
serializer,
|
|
304
299
|
};
|
|
305
300
|
const editTablesOperationSpec = {
|
|
306
301
|
path: "/linkconnections/{linkConnectionName}/edittables",
|
|
@@ -308,15 +303,15 @@ const editTablesOperationSpec = {
|
|
|
308
303
|
responses: {
|
|
309
304
|
200: {},
|
|
310
305
|
default: {
|
|
311
|
-
bodyMapper: Mappers.CloudError
|
|
312
|
-
}
|
|
306
|
+
bodyMapper: Mappers.CloudError,
|
|
307
|
+
},
|
|
313
308
|
},
|
|
314
309
|
requestBody: Parameters.editTablesRequest,
|
|
315
310
|
queryParameters: [Parameters.apiVersion],
|
|
316
311
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
317
312
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
318
313
|
mediaType: "json",
|
|
319
|
-
serializer
|
|
314
|
+
serializer,
|
|
320
315
|
};
|
|
321
316
|
const startOperationSpec = {
|
|
322
317
|
path: "/linkconnections/{linkConnectionName}/start",
|
|
@@ -324,13 +319,13 @@ const startOperationSpec = {
|
|
|
324
319
|
responses: {
|
|
325
320
|
200: {},
|
|
326
321
|
default: {
|
|
327
|
-
bodyMapper: Mappers.CloudError
|
|
328
|
-
}
|
|
322
|
+
bodyMapper: Mappers.CloudError,
|
|
323
|
+
},
|
|
329
324
|
},
|
|
330
325
|
queryParameters: [Parameters.apiVersion],
|
|
331
326
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
332
327
|
headerParameters: [Parameters.accept],
|
|
333
|
-
serializer
|
|
328
|
+
serializer,
|
|
334
329
|
};
|
|
335
330
|
const stopOperationSpec = {
|
|
336
331
|
path: "/linkconnections/{linkConnectionName}/stop",
|
|
@@ -338,63 +333,63 @@ const stopOperationSpec = {
|
|
|
338
333
|
responses: {
|
|
339
334
|
200: {},
|
|
340
335
|
default: {
|
|
341
|
-
bodyMapper: Mappers.CloudError
|
|
342
|
-
}
|
|
336
|
+
bodyMapper: Mappers.CloudError,
|
|
337
|
+
},
|
|
343
338
|
},
|
|
344
339
|
queryParameters: [Parameters.apiVersion],
|
|
345
340
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
346
341
|
headerParameters: [Parameters.accept],
|
|
347
|
-
serializer
|
|
342
|
+
serializer,
|
|
348
343
|
};
|
|
349
344
|
const getDetailedStatusOperationSpec = {
|
|
350
345
|
path: "/linkconnections/{linkConnectionName}/detailedstatus",
|
|
351
346
|
httpMethod: "GET",
|
|
352
347
|
responses: {
|
|
353
348
|
200: {
|
|
354
|
-
bodyMapper: Mappers.LinkConnectionDetailedStatus
|
|
349
|
+
bodyMapper: Mappers.LinkConnectionDetailedStatus,
|
|
355
350
|
},
|
|
356
351
|
default: {
|
|
357
|
-
bodyMapper: Mappers.CloudError
|
|
358
|
-
}
|
|
352
|
+
bodyMapper: Mappers.CloudError,
|
|
353
|
+
},
|
|
359
354
|
},
|
|
360
355
|
queryParameters: [Parameters.apiVersion],
|
|
361
356
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
362
357
|
headerParameters: [Parameters.accept],
|
|
363
|
-
serializer
|
|
358
|
+
serializer,
|
|
364
359
|
};
|
|
365
360
|
const listLinkTablesOperationSpec = {
|
|
366
361
|
path: "/linkconnections/{linkConnectionName}/linktables",
|
|
367
362
|
httpMethod: "GET",
|
|
368
363
|
responses: {
|
|
369
364
|
200: {
|
|
370
|
-
bodyMapper: Mappers.LinkTableListResponse
|
|
365
|
+
bodyMapper: Mappers.LinkTableListResponse,
|
|
371
366
|
},
|
|
372
367
|
default: {
|
|
373
|
-
bodyMapper: Mappers.CloudError
|
|
374
|
-
}
|
|
368
|
+
bodyMapper: Mappers.CloudError,
|
|
369
|
+
},
|
|
375
370
|
},
|
|
376
371
|
queryParameters: [Parameters.apiVersion],
|
|
377
372
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
378
373
|
headerParameters: [Parameters.accept],
|
|
379
|
-
serializer
|
|
374
|
+
serializer,
|
|
380
375
|
};
|
|
381
376
|
const queryTableStatusOperationSpec = {
|
|
382
377
|
path: "/linkconnections/{linkConnectionName}/querytablestatus",
|
|
383
378
|
httpMethod: "POST",
|
|
384
379
|
responses: {
|
|
385
380
|
200: {
|
|
386
|
-
bodyMapper: Mappers.LinkConnectionQueryTableStatus
|
|
381
|
+
bodyMapper: Mappers.LinkConnectionQueryTableStatus,
|
|
387
382
|
},
|
|
388
383
|
default: {
|
|
389
|
-
bodyMapper: Mappers.CloudError
|
|
390
|
-
}
|
|
384
|
+
bodyMapper: Mappers.CloudError,
|
|
385
|
+
},
|
|
391
386
|
},
|
|
392
387
|
requestBody: Parameters.queryTableStatusRequest,
|
|
393
388
|
queryParameters: [Parameters.apiVersion],
|
|
394
389
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
395
390
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
396
391
|
mediaType: "json",
|
|
397
|
-
serializer
|
|
392
|
+
serializer,
|
|
398
393
|
};
|
|
399
394
|
const updateLandingZoneCredentialOperationSpec = {
|
|
400
395
|
path: "/linkconnections/{linkConnectionName}/updateLandingZoneCredential",
|
|
@@ -402,15 +397,15 @@ const updateLandingZoneCredentialOperationSpec = {
|
|
|
402
397
|
responses: {
|
|
403
398
|
200: {},
|
|
404
399
|
default: {
|
|
405
|
-
bodyMapper: Mappers.CloudError
|
|
406
|
-
}
|
|
400
|
+
bodyMapper: Mappers.CloudError,
|
|
401
|
+
},
|
|
407
402
|
},
|
|
408
403
|
requestBody: Parameters.updateLandingZoneCredentialRequest,
|
|
409
404
|
queryParameters: [Parameters.apiVersion],
|
|
410
405
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
411
406
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
412
407
|
mediaType: "json",
|
|
413
|
-
serializer
|
|
408
|
+
serializer,
|
|
414
409
|
};
|
|
415
410
|
const pauseOperationSpec = {
|
|
416
411
|
path: "/linkconnections/{linkConnectionName}/pause",
|
|
@@ -418,13 +413,13 @@ const pauseOperationSpec = {
|
|
|
418
413
|
responses: {
|
|
419
414
|
200: {},
|
|
420
415
|
default: {
|
|
421
|
-
bodyMapper: Mappers.CloudError
|
|
422
|
-
}
|
|
416
|
+
bodyMapper: Mappers.CloudError,
|
|
417
|
+
},
|
|
423
418
|
},
|
|
424
419
|
queryParameters: [Parameters.apiVersion],
|
|
425
420
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
426
421
|
headerParameters: [Parameters.accept],
|
|
427
|
-
serializer
|
|
422
|
+
serializer,
|
|
428
423
|
};
|
|
429
424
|
const resumeOperationSpec = {
|
|
430
425
|
path: "/linkconnections/{linkConnectionName}/resume",
|
|
@@ -432,27 +427,27 @@ const resumeOperationSpec = {
|
|
|
432
427
|
responses: {
|
|
433
428
|
200: {},
|
|
434
429
|
default: {
|
|
435
|
-
bodyMapper: Mappers.CloudError
|
|
436
|
-
}
|
|
430
|
+
bodyMapper: Mappers.CloudError,
|
|
431
|
+
},
|
|
437
432
|
},
|
|
438
433
|
queryParameters: [Parameters.apiVersion],
|
|
439
434
|
urlParameters: [Parameters.endpoint, Parameters.linkConnectionName],
|
|
440
435
|
headerParameters: [Parameters.accept],
|
|
441
|
-
serializer
|
|
436
|
+
serializer,
|
|
442
437
|
};
|
|
443
438
|
const listByWorkspaceNextOperationSpec = {
|
|
444
439
|
path: "{nextLink}",
|
|
445
440
|
httpMethod: "GET",
|
|
446
441
|
responses: {
|
|
447
442
|
200: {
|
|
448
|
-
bodyMapper: Mappers.LinkConnectionListResponse
|
|
443
|
+
bodyMapper: Mappers.LinkConnectionListResponse,
|
|
449
444
|
},
|
|
450
445
|
default: {
|
|
451
|
-
bodyMapper: Mappers.CloudError
|
|
452
|
-
}
|
|
446
|
+
bodyMapper: Mappers.CloudError,
|
|
447
|
+
},
|
|
453
448
|
},
|
|
454
449
|
urlParameters: [Parameters.endpoint, Parameters.nextLink],
|
|
455
450
|
headerParameters: [Parameters.accept],
|
|
456
|
-
serializer
|
|
451
|
+
serializer,
|
|
457
452
|
};
|
|
458
453
|
//# sourceMappingURL=linkConnectionOperations.js.map
|
|
@@ -1 +1 @@
|
|
|
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,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,yBAAyB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC3D,CAAC;SACF,CAAC;IACJ,CA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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"]}
|
|
1
|
+
{"version":3,"file":"linkConnectionOperations.js","sourceRoot":"","sources":["../../../src/operations/linkConnectionOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAAE,aAAa,E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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"]}
|