@alicloud/dataworks-public20200518 4.3.12 → 4.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +232 -1
- package/dist/client.js +460 -13
- package/dist/client.js.map +1 -1
- package/package.json +4 -6
- package/src/client.ts +584 -14
package/dist/client.js
CHANGED
|
@@ -16,7 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
*/
|
|
17
17
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
18
18
|
const oss_client_1 = __importStar(require("@alicloud/oss-client")), $OSS = oss_client_1;
|
|
19
|
-
const $RPC = __importStar(require("@alicloud/rpc-client"));
|
|
20
19
|
const openplatform20191219_1 = __importStar(require("@alicloud/openplatform20191219")), $OpenPlatform = openplatform20191219_1;
|
|
21
20
|
const $OSSUtil = __importStar(require("@alicloud/oss-util"));
|
|
22
21
|
const $FileForm = __importStar(require("@alicloud/tea-fileform"));
|
|
@@ -1456,11 +1455,11 @@ class CreateImportMigrationAdvanceRequest extends $tea.Model {
|
|
|
1456
1455
|
}
|
|
1457
1456
|
static names() {
|
|
1458
1457
|
return {
|
|
1459
|
-
packageFileObject: 'PackageFileObject',
|
|
1460
1458
|
calculateEngineMap: 'CalculateEngineMap',
|
|
1461
1459
|
commitRule: 'CommitRule',
|
|
1462
1460
|
description: 'Description',
|
|
1463
1461
|
name: 'Name',
|
|
1462
|
+
packageFileObject: 'PackageFile',
|
|
1464
1463
|
packageType: 'PackageType',
|
|
1465
1464
|
projectId: 'ProjectId',
|
|
1466
1465
|
resourceGroupMap: 'ResourceGroupMap',
|
|
@@ -1469,11 +1468,11 @@ class CreateImportMigrationAdvanceRequest extends $tea.Model {
|
|
|
1469
1468
|
}
|
|
1470
1469
|
static types() {
|
|
1471
1470
|
return {
|
|
1472
|
-
packageFileObject: 'Readable',
|
|
1473
1471
|
calculateEngineMap: 'string',
|
|
1474
1472
|
commitRule: 'string',
|
|
1475
1473
|
description: 'string',
|
|
1476
1474
|
name: 'string',
|
|
1475
|
+
packageFileObject: 'Readable',
|
|
1477
1476
|
packageType: 'string',
|
|
1478
1477
|
projectId: 'number',
|
|
1479
1478
|
resourceGroupMap: 'string',
|
|
@@ -5806,12 +5805,14 @@ class GetInstanceLogRequest extends $tea.Model {
|
|
|
5806
5805
|
}
|
|
5807
5806
|
static names() {
|
|
5808
5807
|
return {
|
|
5808
|
+
instanceHistoryId: 'InstanceHistoryId',
|
|
5809
5809
|
instanceId: 'InstanceId',
|
|
5810
5810
|
projectEnv: 'ProjectEnv',
|
|
5811
5811
|
};
|
|
5812
5812
|
}
|
|
5813
5813
|
static types() {
|
|
5814
5814
|
return {
|
|
5815
|
+
instanceHistoryId: 'number',
|
|
5815
5816
|
instanceId: 'number',
|
|
5816
5817
|
projectEnv: 'string',
|
|
5817
5818
|
};
|
|
@@ -8465,6 +8466,7 @@ class ListAlertMessagesRequest extends $tea.Model {
|
|
|
8465
8466
|
alertMethods: 'AlertMethods',
|
|
8466
8467
|
alertRuleTypes: 'AlertRuleTypes',
|
|
8467
8468
|
alertUser: 'AlertUser',
|
|
8469
|
+
baselineId: 'BaselineId',
|
|
8468
8470
|
beginTime: 'BeginTime',
|
|
8469
8471
|
endTime: 'EndTime',
|
|
8470
8472
|
pageNumber: 'PageNumber',
|
|
@@ -8477,6 +8479,7 @@ class ListAlertMessagesRequest extends $tea.Model {
|
|
|
8477
8479
|
alertMethods: 'string',
|
|
8478
8480
|
alertRuleTypes: 'string',
|
|
8479
8481
|
alertUser: 'string',
|
|
8482
|
+
baselineId: 'number',
|
|
8480
8483
|
beginTime: 'string',
|
|
8481
8484
|
endTime: 'string',
|
|
8482
8485
|
pageNumber: 'number',
|
|
@@ -10248,6 +10251,74 @@ class ListHistoryTasksForResourceGroupResponse extends $tea.Model {
|
|
|
10248
10251
|
}
|
|
10249
10252
|
}
|
|
10250
10253
|
exports.ListHistoryTasksForResourceGroupResponse = ListHistoryTasksForResourceGroupResponse;
|
|
10254
|
+
class ListInnerNodesRequest extends $tea.Model {
|
|
10255
|
+
constructor(map) {
|
|
10256
|
+
super(map);
|
|
10257
|
+
}
|
|
10258
|
+
static names() {
|
|
10259
|
+
return {
|
|
10260
|
+
nodeName: 'NodeName',
|
|
10261
|
+
outerNodeId: 'OuterNodeId',
|
|
10262
|
+
pageNumber: 'PageNumber',
|
|
10263
|
+
pageSize: 'PageSize',
|
|
10264
|
+
programType: 'ProgramType',
|
|
10265
|
+
projectEnv: 'ProjectEnv',
|
|
10266
|
+
projectId: 'ProjectId',
|
|
10267
|
+
};
|
|
10268
|
+
}
|
|
10269
|
+
static types() {
|
|
10270
|
+
return {
|
|
10271
|
+
nodeName: 'string',
|
|
10272
|
+
outerNodeId: 'number',
|
|
10273
|
+
pageNumber: 'number',
|
|
10274
|
+
pageSize: 'number',
|
|
10275
|
+
programType: 'string',
|
|
10276
|
+
projectEnv: 'string',
|
|
10277
|
+
projectId: 'number',
|
|
10278
|
+
};
|
|
10279
|
+
}
|
|
10280
|
+
}
|
|
10281
|
+
exports.ListInnerNodesRequest = ListInnerNodesRequest;
|
|
10282
|
+
class ListInnerNodesResponseBody extends $tea.Model {
|
|
10283
|
+
constructor(map) {
|
|
10284
|
+
super(map);
|
|
10285
|
+
}
|
|
10286
|
+
static names() {
|
|
10287
|
+
return {
|
|
10288
|
+
paging: 'Paging',
|
|
10289
|
+
requestId: 'RequestId',
|
|
10290
|
+
success: 'Success',
|
|
10291
|
+
};
|
|
10292
|
+
}
|
|
10293
|
+
static types() {
|
|
10294
|
+
return {
|
|
10295
|
+
paging: ListInnerNodesResponseBodyPaging,
|
|
10296
|
+
requestId: 'string',
|
|
10297
|
+
success: 'boolean',
|
|
10298
|
+
};
|
|
10299
|
+
}
|
|
10300
|
+
}
|
|
10301
|
+
exports.ListInnerNodesResponseBody = ListInnerNodesResponseBody;
|
|
10302
|
+
class ListInnerNodesResponse extends $tea.Model {
|
|
10303
|
+
constructor(map) {
|
|
10304
|
+
super(map);
|
|
10305
|
+
}
|
|
10306
|
+
static names() {
|
|
10307
|
+
return {
|
|
10308
|
+
headers: 'headers',
|
|
10309
|
+
statusCode: 'statusCode',
|
|
10310
|
+
body: 'body',
|
|
10311
|
+
};
|
|
10312
|
+
}
|
|
10313
|
+
static types() {
|
|
10314
|
+
return {
|
|
10315
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10316
|
+
statusCode: 'number',
|
|
10317
|
+
body: ListInnerNodesResponseBody,
|
|
10318
|
+
};
|
|
10319
|
+
}
|
|
10320
|
+
}
|
|
10321
|
+
exports.ListInnerNodesResponse = ListInnerNodesResponse;
|
|
10251
10322
|
class ListInstanceAmountRequest extends $tea.Model {
|
|
10252
10323
|
constructor(map) {
|
|
10253
10324
|
super(map);
|
|
@@ -10306,6 +10377,64 @@ class ListInstanceAmountResponse extends $tea.Model {
|
|
|
10306
10377
|
}
|
|
10307
10378
|
}
|
|
10308
10379
|
exports.ListInstanceAmountResponse = ListInstanceAmountResponse;
|
|
10380
|
+
class ListInstanceHistoryRequest extends $tea.Model {
|
|
10381
|
+
constructor(map) {
|
|
10382
|
+
super(map);
|
|
10383
|
+
}
|
|
10384
|
+
static names() {
|
|
10385
|
+
return {
|
|
10386
|
+
instanceId: 'InstanceId',
|
|
10387
|
+
projectEnv: 'ProjectEnv',
|
|
10388
|
+
};
|
|
10389
|
+
}
|
|
10390
|
+
static types() {
|
|
10391
|
+
return {
|
|
10392
|
+
instanceId: 'number',
|
|
10393
|
+
projectEnv: 'string',
|
|
10394
|
+
};
|
|
10395
|
+
}
|
|
10396
|
+
}
|
|
10397
|
+
exports.ListInstanceHistoryRequest = ListInstanceHistoryRequest;
|
|
10398
|
+
class ListInstanceHistoryResponseBody extends $tea.Model {
|
|
10399
|
+
constructor(map) {
|
|
10400
|
+
super(map);
|
|
10401
|
+
}
|
|
10402
|
+
static names() {
|
|
10403
|
+
return {
|
|
10404
|
+
instances: 'Instances',
|
|
10405
|
+
requestId: 'RequestId',
|
|
10406
|
+
success: 'Success',
|
|
10407
|
+
};
|
|
10408
|
+
}
|
|
10409
|
+
static types() {
|
|
10410
|
+
return {
|
|
10411
|
+
instances: { 'type': 'array', 'itemType': ListInstanceHistoryResponseBodyInstances },
|
|
10412
|
+
requestId: 'string',
|
|
10413
|
+
success: 'boolean',
|
|
10414
|
+
};
|
|
10415
|
+
}
|
|
10416
|
+
}
|
|
10417
|
+
exports.ListInstanceHistoryResponseBody = ListInstanceHistoryResponseBody;
|
|
10418
|
+
class ListInstanceHistoryResponse extends $tea.Model {
|
|
10419
|
+
constructor(map) {
|
|
10420
|
+
super(map);
|
|
10421
|
+
}
|
|
10422
|
+
static names() {
|
|
10423
|
+
return {
|
|
10424
|
+
headers: 'headers',
|
|
10425
|
+
statusCode: 'statusCode',
|
|
10426
|
+
body: 'body',
|
|
10427
|
+
};
|
|
10428
|
+
}
|
|
10429
|
+
static types() {
|
|
10430
|
+
return {
|
|
10431
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10432
|
+
statusCode: 'number',
|
|
10433
|
+
body: ListInstanceHistoryResponseBody,
|
|
10434
|
+
};
|
|
10435
|
+
}
|
|
10436
|
+
}
|
|
10437
|
+
exports.ListInstanceHistoryResponse = ListInstanceHistoryResponse;
|
|
10309
10438
|
class ListInstancesRequest extends $tea.Model {
|
|
10310
10439
|
constructor(map) {
|
|
10311
10440
|
super(map);
|
|
@@ -10325,6 +10454,7 @@ class ListInstancesRequest extends $tea.Model {
|
|
|
10325
10454
|
programType: 'ProgramType',
|
|
10326
10455
|
projectEnv: 'ProjectEnv',
|
|
10327
10456
|
projectId: 'ProjectId',
|
|
10457
|
+
status: 'Status',
|
|
10328
10458
|
};
|
|
10329
10459
|
}
|
|
10330
10460
|
static types() {
|
|
@@ -10342,6 +10472,7 @@ class ListInstancesRequest extends $tea.Model {
|
|
|
10342
10472
|
programType: 'string',
|
|
10343
10473
|
projectEnv: 'string',
|
|
10344
10474
|
projectId: 'number',
|
|
10475
|
+
status: 'string',
|
|
10345
10476
|
};
|
|
10346
10477
|
}
|
|
10347
10478
|
}
|
|
@@ -12134,6 +12265,62 @@ class ListUsageForResourceGroupResponse extends $tea.Model {
|
|
|
12134
12265
|
}
|
|
12135
12266
|
}
|
|
12136
12267
|
exports.ListUsageForResourceGroupResponse = ListUsageForResourceGroupResponse;
|
|
12268
|
+
class OfflineNodeRequest extends $tea.Model {
|
|
12269
|
+
constructor(map) {
|
|
12270
|
+
super(map);
|
|
12271
|
+
}
|
|
12272
|
+
static names() {
|
|
12273
|
+
return {
|
|
12274
|
+
nodeId: 'NodeId',
|
|
12275
|
+
projectId: 'ProjectId',
|
|
12276
|
+
};
|
|
12277
|
+
}
|
|
12278
|
+
static types() {
|
|
12279
|
+
return {
|
|
12280
|
+
nodeId: 'number',
|
|
12281
|
+
projectId: 'number',
|
|
12282
|
+
};
|
|
12283
|
+
}
|
|
12284
|
+
}
|
|
12285
|
+
exports.OfflineNodeRequest = OfflineNodeRequest;
|
|
12286
|
+
class OfflineNodeResponseBody extends $tea.Model {
|
|
12287
|
+
constructor(map) {
|
|
12288
|
+
super(map);
|
|
12289
|
+
}
|
|
12290
|
+
static names() {
|
|
12291
|
+
return {
|
|
12292
|
+
requestId: 'RequestId',
|
|
12293
|
+
success: 'Success',
|
|
12294
|
+
};
|
|
12295
|
+
}
|
|
12296
|
+
static types() {
|
|
12297
|
+
return {
|
|
12298
|
+
requestId: 'string',
|
|
12299
|
+
success: 'string',
|
|
12300
|
+
};
|
|
12301
|
+
}
|
|
12302
|
+
}
|
|
12303
|
+
exports.OfflineNodeResponseBody = OfflineNodeResponseBody;
|
|
12304
|
+
class OfflineNodeResponse extends $tea.Model {
|
|
12305
|
+
constructor(map) {
|
|
12306
|
+
super(map);
|
|
12307
|
+
}
|
|
12308
|
+
static names() {
|
|
12309
|
+
return {
|
|
12310
|
+
headers: 'headers',
|
|
12311
|
+
statusCode: 'statusCode',
|
|
12312
|
+
body: 'body',
|
|
12313
|
+
};
|
|
12314
|
+
}
|
|
12315
|
+
static types() {
|
|
12316
|
+
return {
|
|
12317
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12318
|
+
statusCode: 'number',
|
|
12319
|
+
body: OfflineNodeResponseBody,
|
|
12320
|
+
};
|
|
12321
|
+
}
|
|
12322
|
+
}
|
|
12323
|
+
exports.OfflineNodeResponse = OfflineNodeResponse;
|
|
12137
12324
|
class PublishDataServiceApiRequest extends $tea.Model {
|
|
12138
12325
|
constructor(map) {
|
|
12139
12326
|
super(map);
|
|
@@ -12645,6 +12832,7 @@ class RunCycleDagNodesRequest extends $tea.Model {
|
|
|
12645
12832
|
projectEnv: 'ProjectEnv',
|
|
12646
12833
|
rootNodeId: 'RootNodeId',
|
|
12647
12834
|
startBizDate: 'StartBizDate',
|
|
12835
|
+
startFutureInstanceImmediately: 'StartFutureInstanceImmediately',
|
|
12648
12836
|
};
|
|
12649
12837
|
}
|
|
12650
12838
|
static types() {
|
|
@@ -12660,6 +12848,7 @@ class RunCycleDagNodesRequest extends $tea.Model {
|
|
|
12660
12848
|
projectEnv: 'string',
|
|
12661
12849
|
rootNodeId: 'number',
|
|
12662
12850
|
startBizDate: 'string',
|
|
12851
|
+
startFutureInstanceImmediately: 'boolean',
|
|
12663
12852
|
};
|
|
12664
12853
|
}
|
|
12665
12854
|
}
|
|
@@ -16240,6 +16429,7 @@ class GetDISyncInstanceInfoResponseBodyDataSolutionInfoStepDetail extends $tea.M
|
|
|
16240
16429
|
}
|
|
16241
16430
|
static names() {
|
|
16242
16431
|
return {
|
|
16432
|
+
info: 'Info',
|
|
16243
16433
|
status: 'Status',
|
|
16244
16434
|
stepId: 'StepId',
|
|
16245
16435
|
stepName: 'StepName',
|
|
@@ -16247,6 +16437,7 @@ class GetDISyncInstanceInfoResponseBodyDataSolutionInfoStepDetail extends $tea.M
|
|
|
16247
16437
|
}
|
|
16248
16438
|
static types() {
|
|
16249
16439
|
return {
|
|
16440
|
+
info: 'string',
|
|
16250
16441
|
status: 'string',
|
|
16251
16442
|
stepId: 'number',
|
|
16252
16443
|
stepName: 'string',
|
|
@@ -17276,6 +17467,26 @@ class GetDataSourceMetaResponseBodyData extends $tea.Model {
|
|
|
17276
17467
|
}
|
|
17277
17468
|
}
|
|
17278
17469
|
exports.GetDataSourceMetaResponseBodyData = GetDataSourceMetaResponseBodyData;
|
|
17470
|
+
class GetDeploymentResponseBodyDataDeployedItems extends $tea.Model {
|
|
17471
|
+
constructor(map) {
|
|
17472
|
+
super(map);
|
|
17473
|
+
}
|
|
17474
|
+
static names() {
|
|
17475
|
+
return {
|
|
17476
|
+
fileId: 'FileId',
|
|
17477
|
+
fileVersion: 'FileVersion',
|
|
17478
|
+
status: 'Status',
|
|
17479
|
+
};
|
|
17480
|
+
}
|
|
17481
|
+
static types() {
|
|
17482
|
+
return {
|
|
17483
|
+
fileId: 'number',
|
|
17484
|
+
fileVersion: 'number',
|
|
17485
|
+
status: 'number',
|
|
17486
|
+
};
|
|
17487
|
+
}
|
|
17488
|
+
}
|
|
17489
|
+
exports.GetDeploymentResponseBodyDataDeployedItems = GetDeploymentResponseBodyDataDeployedItems;
|
|
17279
17490
|
class GetDeploymentResponseBodyDataDeployment extends $tea.Model {
|
|
17280
17491
|
constructor(map) {
|
|
17281
17492
|
super(map);
|
|
@@ -17316,11 +17527,13 @@ class GetDeploymentResponseBodyData extends $tea.Model {
|
|
|
17316
17527
|
}
|
|
17317
17528
|
static names() {
|
|
17318
17529
|
return {
|
|
17530
|
+
deployedItems: 'DeployedItems',
|
|
17319
17531
|
deployment: 'Deployment',
|
|
17320
17532
|
};
|
|
17321
17533
|
}
|
|
17322
17534
|
static types() {
|
|
17323
17535
|
return {
|
|
17536
|
+
deployedItems: { 'type': 'array', 'itemType': GetDeploymentResponseBodyDataDeployedItems },
|
|
17324
17537
|
deployment: GetDeploymentResponseBodyDataDeployment,
|
|
17325
17538
|
};
|
|
17326
17539
|
}
|
|
@@ -22100,6 +22313,78 @@ class ListHistoryTasksForResourceGroupResponseBodyData extends $tea.Model {
|
|
|
22100
22313
|
}
|
|
22101
22314
|
}
|
|
22102
22315
|
exports.ListHistoryTasksForResourceGroupResponseBodyData = ListHistoryTasksForResourceGroupResponseBodyData;
|
|
22316
|
+
class ListInnerNodesResponseBodyPagingNodes extends $tea.Model {
|
|
22317
|
+
constructor(map) {
|
|
22318
|
+
super(map);
|
|
22319
|
+
}
|
|
22320
|
+
static names() {
|
|
22321
|
+
return {
|
|
22322
|
+
baselineId: 'BaselineId',
|
|
22323
|
+
businessId: 'BusinessId',
|
|
22324
|
+
connection: 'Connection',
|
|
22325
|
+
cronExpress: 'CronExpress',
|
|
22326
|
+
description: 'Description',
|
|
22327
|
+
dqcDescription: 'DqcDescription',
|
|
22328
|
+
dqcType: 'DqcType',
|
|
22329
|
+
nodeId: 'NodeId',
|
|
22330
|
+
nodeName: 'NodeName',
|
|
22331
|
+
ownerId: 'OwnerId',
|
|
22332
|
+
paramValues: 'ParamValues',
|
|
22333
|
+
priority: 'Priority',
|
|
22334
|
+
programType: 'ProgramType',
|
|
22335
|
+
projectId: 'ProjectId',
|
|
22336
|
+
repeatInterval: 'RepeatInterval',
|
|
22337
|
+
repeatability: 'Repeatability',
|
|
22338
|
+
resGroupName: 'ResGroupName',
|
|
22339
|
+
schedulerType: 'SchedulerType',
|
|
22340
|
+
};
|
|
22341
|
+
}
|
|
22342
|
+
static types() {
|
|
22343
|
+
return {
|
|
22344
|
+
baselineId: 'number',
|
|
22345
|
+
businessId: 'number',
|
|
22346
|
+
connection: 'string',
|
|
22347
|
+
cronExpress: 'string',
|
|
22348
|
+
description: 'string',
|
|
22349
|
+
dqcDescription: 'string',
|
|
22350
|
+
dqcType: 'string',
|
|
22351
|
+
nodeId: 'number',
|
|
22352
|
+
nodeName: 'string',
|
|
22353
|
+
ownerId: 'string',
|
|
22354
|
+
paramValues: 'string',
|
|
22355
|
+
priority: 'number',
|
|
22356
|
+
programType: 'string',
|
|
22357
|
+
projectId: 'number',
|
|
22358
|
+
repeatInterval: 'number',
|
|
22359
|
+
repeatability: 'boolean',
|
|
22360
|
+
resGroupName: 'string',
|
|
22361
|
+
schedulerType: 'string',
|
|
22362
|
+
};
|
|
22363
|
+
}
|
|
22364
|
+
}
|
|
22365
|
+
exports.ListInnerNodesResponseBodyPagingNodes = ListInnerNodesResponseBodyPagingNodes;
|
|
22366
|
+
class ListInnerNodesResponseBodyPaging extends $tea.Model {
|
|
22367
|
+
constructor(map) {
|
|
22368
|
+
super(map);
|
|
22369
|
+
}
|
|
22370
|
+
static names() {
|
|
22371
|
+
return {
|
|
22372
|
+
nodes: 'Nodes',
|
|
22373
|
+
pageNumber: 'PageNumber',
|
|
22374
|
+
pageSize: 'PageSize',
|
|
22375
|
+
totalCount: 'TotalCount',
|
|
22376
|
+
};
|
|
22377
|
+
}
|
|
22378
|
+
static types() {
|
|
22379
|
+
return {
|
|
22380
|
+
nodes: { 'type': 'array', 'itemType': ListInnerNodesResponseBodyPagingNodes },
|
|
22381
|
+
pageNumber: 'number',
|
|
22382
|
+
pageSize: 'number',
|
|
22383
|
+
totalCount: 'number',
|
|
22384
|
+
};
|
|
22385
|
+
}
|
|
22386
|
+
}
|
|
22387
|
+
exports.ListInnerNodesResponseBodyPaging = ListInnerNodesResponseBodyPaging;
|
|
22103
22388
|
class ListInstanceAmountResponseBodyInstanceCounts extends $tea.Model {
|
|
22104
22389
|
constructor(map) {
|
|
22105
22390
|
super(map);
|
|
@@ -22118,6 +22403,54 @@ class ListInstanceAmountResponseBodyInstanceCounts extends $tea.Model {
|
|
|
22118
22403
|
}
|
|
22119
22404
|
}
|
|
22120
22405
|
exports.ListInstanceAmountResponseBodyInstanceCounts = ListInstanceAmountResponseBodyInstanceCounts;
|
|
22406
|
+
class ListInstanceHistoryResponseBodyInstances extends $tea.Model {
|
|
22407
|
+
constructor(map) {
|
|
22408
|
+
super(map);
|
|
22409
|
+
}
|
|
22410
|
+
static names() {
|
|
22411
|
+
return {
|
|
22412
|
+
beginRunningTime: 'BeginRunningTime',
|
|
22413
|
+
beginWaitResTime: 'BeginWaitResTime',
|
|
22414
|
+
beginWaitTimeTime: 'BeginWaitTimeTime',
|
|
22415
|
+
bizdate: 'Bizdate',
|
|
22416
|
+
createTime: 'CreateTime',
|
|
22417
|
+
cycTime: 'CycTime',
|
|
22418
|
+
dagId: 'DagId',
|
|
22419
|
+
dagType: 'DagType',
|
|
22420
|
+
errorMessage: 'ErrorMessage',
|
|
22421
|
+
finishTime: 'FinishTime',
|
|
22422
|
+
instanceHistoryId: 'InstanceHistoryId',
|
|
22423
|
+
instanceId: 'InstanceId',
|
|
22424
|
+
modifyTime: 'ModifyTime',
|
|
22425
|
+
nodeId: 'NodeId',
|
|
22426
|
+
nodeName: 'NodeName',
|
|
22427
|
+
status: 'Status',
|
|
22428
|
+
taskType: 'TaskType',
|
|
22429
|
+
};
|
|
22430
|
+
}
|
|
22431
|
+
static types() {
|
|
22432
|
+
return {
|
|
22433
|
+
beginRunningTime: 'number',
|
|
22434
|
+
beginWaitResTime: 'number',
|
|
22435
|
+
beginWaitTimeTime: 'number',
|
|
22436
|
+
bizdate: 'number',
|
|
22437
|
+
createTime: 'number',
|
|
22438
|
+
cycTime: 'number',
|
|
22439
|
+
dagId: 'number',
|
|
22440
|
+
dagType: 'string',
|
|
22441
|
+
errorMessage: 'string',
|
|
22442
|
+
finishTime: 'number',
|
|
22443
|
+
instanceHistoryId: 'number',
|
|
22444
|
+
instanceId: 'number',
|
|
22445
|
+
modifyTime: 'number',
|
|
22446
|
+
nodeId: 'number',
|
|
22447
|
+
nodeName: 'string',
|
|
22448
|
+
status: 'string',
|
|
22449
|
+
taskType: 'string',
|
|
22450
|
+
};
|
|
22451
|
+
}
|
|
22452
|
+
}
|
|
22453
|
+
exports.ListInstanceHistoryResponseBodyInstances = ListInstanceHistoryResponseBodyInstances;
|
|
22121
22454
|
class ListInstancesResponseBodyDataInstances extends $tea.Model {
|
|
22122
22455
|
constructor(map) {
|
|
22123
22456
|
super(map);
|
|
@@ -25194,7 +25527,7 @@ class Client extends openapi_client_1.default {
|
|
|
25194
25527
|
if (tea_util_1.default.isUnset(credentialType)) {
|
|
25195
25528
|
credentialType = "access_key";
|
|
25196
25529
|
}
|
|
25197
|
-
let authConfig = new $
|
|
25530
|
+
let authConfig = new $OpenApi.Config({
|
|
25198
25531
|
accessKeyId: accessKeyId,
|
|
25199
25532
|
accessKeySecret: accessKeySecret,
|
|
25200
25533
|
securityToken: securityToken,
|
|
@@ -25225,28 +25558,28 @@ class Client extends openapi_client_1.default {
|
|
|
25225
25558
|
openapi_util_1.default.convert(request, createImportMigrationReq);
|
|
25226
25559
|
if (!tea_util_1.default.isUnset(request.packageFileObject)) {
|
|
25227
25560
|
authResponse = await authClient.authorizeFileUploadWithOptions(authRequest, runtime);
|
|
25228
|
-
ossConfig.accessKeyId = authResponse.accessKeyId;
|
|
25229
|
-
ossConfig.endpoint = openapi_util_1.default.getEndpoint(authResponse.endpoint, authResponse.useAccelerate, this._endpointType);
|
|
25561
|
+
ossConfig.accessKeyId = authResponse.body.accessKeyId;
|
|
25562
|
+
ossConfig.endpoint = openapi_util_1.default.getEndpoint(authResponse.body.endpoint, authResponse.body.useAccelerate, this._endpointType);
|
|
25230
25563
|
ossClient = new oss_client_1.default(ossConfig);
|
|
25231
25564
|
fileObj = new $FileForm.FileField({
|
|
25232
|
-
filename: authResponse.objectKey,
|
|
25565
|
+
filename: authResponse.body.objectKey,
|
|
25233
25566
|
content: request.packageFileObject,
|
|
25234
25567
|
contentType: "",
|
|
25235
25568
|
});
|
|
25236
25569
|
ossHeader = new $OSS.PostObjectRequestHeader({
|
|
25237
|
-
accessKeyId: authResponse.accessKeyId,
|
|
25238
|
-
policy: authResponse.encodedPolicy,
|
|
25239
|
-
signature: authResponse.signature,
|
|
25240
|
-
key: authResponse.objectKey,
|
|
25570
|
+
accessKeyId: authResponse.body.accessKeyId,
|
|
25571
|
+
policy: authResponse.body.encodedPolicy,
|
|
25572
|
+
signature: authResponse.body.signature,
|
|
25573
|
+
key: authResponse.body.objectKey,
|
|
25241
25574
|
file: fileObj,
|
|
25242
25575
|
successActionStatus: "201",
|
|
25243
25576
|
});
|
|
25244
25577
|
uploadRequest = new $OSS.PostObjectRequest({
|
|
25245
|
-
bucketName: authResponse.bucket,
|
|
25578
|
+
bucketName: authResponse.body.bucket,
|
|
25246
25579
|
header: ossHeader,
|
|
25247
25580
|
});
|
|
25248
25581
|
await ossClient.postObject(uploadRequest, ossRuntime);
|
|
25249
|
-
createImportMigrationReq.packageFile = `http://${authResponse.bucket}.${authResponse.endpoint}/${authResponse.objectKey}`;
|
|
25582
|
+
createImportMigrationReq.packageFile = `http://${authResponse.body.bucket}.${authResponse.body.endpoint}/${authResponse.body.objectKey}`;
|
|
25250
25583
|
}
|
|
25251
25584
|
let createImportMigrationResp = await this.createImportMigrationWithOptions(createImportMigrationReq, runtime);
|
|
25252
25585
|
return createImportMigrationResp;
|
|
@@ -27527,6 +27860,9 @@ class Client extends openapi_client_1.default {
|
|
|
27527
27860
|
async getInstanceLogWithOptions(request, runtime) {
|
|
27528
27861
|
tea_util_1.default.validateModel(request);
|
|
27529
27862
|
let body = {};
|
|
27863
|
+
if (!tea_util_1.default.isUnset(request.instanceHistoryId)) {
|
|
27864
|
+
body["InstanceHistoryId"] = request.instanceHistoryId;
|
|
27865
|
+
}
|
|
27530
27866
|
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
27531
27867
|
body["InstanceId"] = request.instanceId;
|
|
27532
27868
|
}
|
|
@@ -28781,6 +29117,9 @@ class Client extends openapi_client_1.default {
|
|
|
28781
29117
|
if (!tea_util_1.default.isUnset(request.alertUser)) {
|
|
28782
29118
|
body["AlertUser"] = request.alertUser;
|
|
28783
29119
|
}
|
|
29120
|
+
if (!tea_util_1.default.isUnset(request.baselineId)) {
|
|
29121
|
+
body["BaselineId"] = request.baselineId;
|
|
29122
|
+
}
|
|
28784
29123
|
if (!tea_util_1.default.isUnset(request.beginTime)) {
|
|
28785
29124
|
body["BeginTime"] = request.beginTime;
|
|
28786
29125
|
}
|
|
@@ -29761,6 +30100,50 @@ class Client extends openapi_client_1.default {
|
|
|
29761
30100
|
let runtime = new $Util.RuntimeOptions({});
|
|
29762
30101
|
return await this.listHistoryTasksForResourceGroupWithOptions(request, runtime);
|
|
29763
30102
|
}
|
|
30103
|
+
async listInnerNodesWithOptions(request, runtime) {
|
|
30104
|
+
tea_util_1.default.validateModel(request);
|
|
30105
|
+
let body = {};
|
|
30106
|
+
if (!tea_util_1.default.isUnset(request.nodeName)) {
|
|
30107
|
+
body["NodeName"] = request.nodeName;
|
|
30108
|
+
}
|
|
30109
|
+
if (!tea_util_1.default.isUnset(request.outerNodeId)) {
|
|
30110
|
+
body["OuterNodeId"] = request.outerNodeId;
|
|
30111
|
+
}
|
|
30112
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
30113
|
+
body["PageNumber"] = request.pageNumber;
|
|
30114
|
+
}
|
|
30115
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
30116
|
+
body["PageSize"] = request.pageSize;
|
|
30117
|
+
}
|
|
30118
|
+
if (!tea_util_1.default.isUnset(request.programType)) {
|
|
30119
|
+
body["ProgramType"] = request.programType;
|
|
30120
|
+
}
|
|
30121
|
+
if (!tea_util_1.default.isUnset(request.projectEnv)) {
|
|
30122
|
+
body["ProjectEnv"] = request.projectEnv;
|
|
30123
|
+
}
|
|
30124
|
+
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
30125
|
+
body["ProjectId"] = request.projectId;
|
|
30126
|
+
}
|
|
30127
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
30128
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
30129
|
+
});
|
|
30130
|
+
let params = new $OpenApi.Params({
|
|
30131
|
+
action: "ListInnerNodes",
|
|
30132
|
+
version: "2020-05-18",
|
|
30133
|
+
protocol: "HTTPS",
|
|
30134
|
+
pathname: "/",
|
|
30135
|
+
method: "POST",
|
|
30136
|
+
authType: "AK",
|
|
30137
|
+
style: "RPC",
|
|
30138
|
+
reqBodyType: "formData",
|
|
30139
|
+
bodyType: "json",
|
|
30140
|
+
});
|
|
30141
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListInnerNodesResponse({}));
|
|
30142
|
+
}
|
|
30143
|
+
async listInnerNodes(request) {
|
|
30144
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
30145
|
+
return await this.listInnerNodesWithOptions(request, runtime);
|
|
30146
|
+
}
|
|
29764
30147
|
async listInstanceAmountWithOptions(request, runtime) {
|
|
29765
30148
|
tea_util_1.default.validateModel(request);
|
|
29766
30149
|
let body = {};
|
|
@@ -29793,6 +30176,35 @@ class Client extends openapi_client_1.default {
|
|
|
29793
30176
|
let runtime = new $Util.RuntimeOptions({});
|
|
29794
30177
|
return await this.listInstanceAmountWithOptions(request, runtime);
|
|
29795
30178
|
}
|
|
30179
|
+
async listInstanceHistoryWithOptions(request, runtime) {
|
|
30180
|
+
tea_util_1.default.validateModel(request);
|
|
30181
|
+
let body = {};
|
|
30182
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
30183
|
+
body["InstanceId"] = request.instanceId;
|
|
30184
|
+
}
|
|
30185
|
+
if (!tea_util_1.default.isUnset(request.projectEnv)) {
|
|
30186
|
+
body["ProjectEnv"] = request.projectEnv;
|
|
30187
|
+
}
|
|
30188
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
30189
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
30190
|
+
});
|
|
30191
|
+
let params = new $OpenApi.Params({
|
|
30192
|
+
action: "ListInstanceHistory",
|
|
30193
|
+
version: "2020-05-18",
|
|
30194
|
+
protocol: "HTTPS",
|
|
30195
|
+
pathname: "/",
|
|
30196
|
+
method: "POST",
|
|
30197
|
+
authType: "AK",
|
|
30198
|
+
style: "RPC",
|
|
30199
|
+
reqBodyType: "formData",
|
|
30200
|
+
bodyType: "json",
|
|
30201
|
+
});
|
|
30202
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListInstanceHistoryResponse({}));
|
|
30203
|
+
}
|
|
30204
|
+
async listInstanceHistory(request) {
|
|
30205
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
30206
|
+
return await this.listInstanceHistoryWithOptions(request, runtime);
|
|
30207
|
+
}
|
|
29796
30208
|
async listInstancesWithOptions(request, runtime) {
|
|
29797
30209
|
tea_util_1.default.validateModel(request);
|
|
29798
30210
|
let body = {};
|
|
@@ -29835,6 +30247,9 @@ class Client extends openapi_client_1.default {
|
|
|
29835
30247
|
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
29836
30248
|
body["ProjectId"] = request.projectId;
|
|
29837
30249
|
}
|
|
30250
|
+
if (!tea_util_1.default.isUnset(request.status)) {
|
|
30251
|
+
body["Status"] = request.status;
|
|
30252
|
+
}
|
|
29838
30253
|
let req = new $OpenApi.OpenApiRequest({
|
|
29839
30254
|
body: openapi_util_1.default.parseToMap(body),
|
|
29840
30255
|
});
|
|
@@ -30776,6 +31191,35 @@ class Client extends openapi_client_1.default {
|
|
|
30776
31191
|
let runtime = new $Util.RuntimeOptions({});
|
|
30777
31192
|
return await this.listUsageForResourceGroupWithOptions(request, runtime);
|
|
30778
31193
|
}
|
|
31194
|
+
async offlineNodeWithOptions(request, runtime) {
|
|
31195
|
+
tea_util_1.default.validateModel(request);
|
|
31196
|
+
let body = {};
|
|
31197
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
31198
|
+
body["NodeId"] = request.nodeId;
|
|
31199
|
+
}
|
|
31200
|
+
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
31201
|
+
body["ProjectId"] = request.projectId;
|
|
31202
|
+
}
|
|
31203
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
31204
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
31205
|
+
});
|
|
31206
|
+
let params = new $OpenApi.Params({
|
|
31207
|
+
action: "OfflineNode",
|
|
31208
|
+
version: "2020-05-18",
|
|
31209
|
+
protocol: "HTTPS",
|
|
31210
|
+
pathname: "/",
|
|
31211
|
+
method: "POST",
|
|
31212
|
+
authType: "AK",
|
|
31213
|
+
style: "RPC",
|
|
31214
|
+
reqBodyType: "formData",
|
|
31215
|
+
bodyType: "json",
|
|
31216
|
+
});
|
|
31217
|
+
return $tea.cast(await this.callApi(params, req, runtime), new OfflineNodeResponse({}));
|
|
31218
|
+
}
|
|
31219
|
+
async offlineNode(request) {
|
|
31220
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
31221
|
+
return await this.offlineNodeWithOptions(request, runtime);
|
|
31222
|
+
}
|
|
30779
31223
|
async publishDataServiceApiWithOptions(request, runtime) {
|
|
30780
31224
|
tea_util_1.default.validateModel(request);
|
|
30781
31225
|
let body = {};
|
|
@@ -31077,6 +31521,9 @@ class Client extends openapi_client_1.default {
|
|
|
31077
31521
|
if (!tea_util_1.default.isUnset(request.startBizDate)) {
|
|
31078
31522
|
body["StartBizDate"] = request.startBizDate;
|
|
31079
31523
|
}
|
|
31524
|
+
if (!tea_util_1.default.isUnset(request.startFutureInstanceImmediately)) {
|
|
31525
|
+
body["StartFutureInstanceImmediately"] = request.startFutureInstanceImmediately;
|
|
31526
|
+
}
|
|
31080
31527
|
let req = new $OpenApi.OpenApiRequest({
|
|
31081
31528
|
body: openapi_util_1.default.parseToMap(body),
|
|
31082
31529
|
});
|