@alicloud/dataworks-public20200518 4.6.0 → 4.7.1
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 +1799 -303
- package/dist/client.js +2674 -134
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +3148 -0
package/src/client.ts
CHANGED
|
@@ -1246,6 +1246,278 @@ export class CreateConnectionResponse extends $tea.Model {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
}
|
|
1248
1248
|
|
|
1249
|
+
export class CreateDIAlarmRuleRequest extends $tea.Model {
|
|
1250
|
+
DIJobId?: number;
|
|
1251
|
+
description?: string;
|
|
1252
|
+
enabled?: boolean;
|
|
1253
|
+
metricType?: string;
|
|
1254
|
+
notificationSettings?: CreateDIAlarmRuleRequestNotificationSettings;
|
|
1255
|
+
triggerConditions?: CreateDIAlarmRuleRequestTriggerConditions[];
|
|
1256
|
+
static names(): { [key: string]: string } {
|
|
1257
|
+
return {
|
|
1258
|
+
DIJobId: 'DIJobId',
|
|
1259
|
+
description: 'Description',
|
|
1260
|
+
enabled: 'Enabled',
|
|
1261
|
+
metricType: 'MetricType',
|
|
1262
|
+
notificationSettings: 'NotificationSettings',
|
|
1263
|
+
triggerConditions: 'TriggerConditions',
|
|
1264
|
+
};
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
static types(): { [key: string]: any } {
|
|
1268
|
+
return {
|
|
1269
|
+
DIJobId: 'number',
|
|
1270
|
+
description: 'string',
|
|
1271
|
+
enabled: 'boolean',
|
|
1272
|
+
metricType: 'string',
|
|
1273
|
+
notificationSettings: CreateDIAlarmRuleRequestNotificationSettings,
|
|
1274
|
+
triggerConditions: { 'type': 'array', 'itemType': CreateDIAlarmRuleRequestTriggerConditions },
|
|
1275
|
+
};
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
constructor(map?: { [key: string]: any }) {
|
|
1279
|
+
super(map);
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
export class CreateDIAlarmRuleShrinkRequest extends $tea.Model {
|
|
1284
|
+
DIJobId?: number;
|
|
1285
|
+
description?: string;
|
|
1286
|
+
enabled?: boolean;
|
|
1287
|
+
metricType?: string;
|
|
1288
|
+
notificationSettingsShrink?: string;
|
|
1289
|
+
triggerConditionsShrink?: string;
|
|
1290
|
+
static names(): { [key: string]: string } {
|
|
1291
|
+
return {
|
|
1292
|
+
DIJobId: 'DIJobId',
|
|
1293
|
+
description: 'Description',
|
|
1294
|
+
enabled: 'Enabled',
|
|
1295
|
+
metricType: 'MetricType',
|
|
1296
|
+
notificationSettingsShrink: 'NotificationSettings',
|
|
1297
|
+
triggerConditionsShrink: 'TriggerConditions',
|
|
1298
|
+
};
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
static types(): { [key: string]: any } {
|
|
1302
|
+
return {
|
|
1303
|
+
DIJobId: 'number',
|
|
1304
|
+
description: 'string',
|
|
1305
|
+
enabled: 'boolean',
|
|
1306
|
+
metricType: 'string',
|
|
1307
|
+
notificationSettingsShrink: 'string',
|
|
1308
|
+
triggerConditionsShrink: 'string',
|
|
1309
|
+
};
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
constructor(map?: { [key: string]: any }) {
|
|
1313
|
+
super(map);
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
export class CreateDIAlarmRuleResponseBody extends $tea.Model {
|
|
1318
|
+
DIAlarmRuleId?: number;
|
|
1319
|
+
requestId?: string;
|
|
1320
|
+
static names(): { [key: string]: string } {
|
|
1321
|
+
return {
|
|
1322
|
+
DIAlarmRuleId: 'DIAlarmRuleId',
|
|
1323
|
+
requestId: 'RequestId',
|
|
1324
|
+
};
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
static types(): { [key: string]: any } {
|
|
1328
|
+
return {
|
|
1329
|
+
DIAlarmRuleId: 'number',
|
|
1330
|
+
requestId: 'string',
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
constructor(map?: { [key: string]: any }) {
|
|
1335
|
+
super(map);
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
export class CreateDIAlarmRuleResponse extends $tea.Model {
|
|
1340
|
+
headers: { [key: string]: string };
|
|
1341
|
+
statusCode: number;
|
|
1342
|
+
body: CreateDIAlarmRuleResponseBody;
|
|
1343
|
+
static names(): { [key: string]: string } {
|
|
1344
|
+
return {
|
|
1345
|
+
headers: 'headers',
|
|
1346
|
+
statusCode: 'statusCode',
|
|
1347
|
+
body: 'body',
|
|
1348
|
+
};
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
static types(): { [key: string]: any } {
|
|
1352
|
+
return {
|
|
1353
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1354
|
+
statusCode: 'number',
|
|
1355
|
+
body: CreateDIAlarmRuleResponseBody,
|
|
1356
|
+
};
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
constructor(map?: { [key: string]: any }) {
|
|
1360
|
+
super(map);
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
export class CreateDIJobRequest extends $tea.Model {
|
|
1365
|
+
description?: string;
|
|
1366
|
+
destinationDataSourceSettings?: CreateDIJobRequestDestinationDataSourceSettings[];
|
|
1367
|
+
destinationDataSourceType?: string;
|
|
1368
|
+
jobName?: string;
|
|
1369
|
+
jobSettings?: CreateDIJobRequestJobSettings;
|
|
1370
|
+
migrationType?: string;
|
|
1371
|
+
projectId?: number;
|
|
1372
|
+
resourceSettings?: CreateDIJobRequestResourceSettings;
|
|
1373
|
+
sourceDataSourceSettings?: CreateDIJobRequestSourceDataSourceSettings[];
|
|
1374
|
+
sourceDataSourceType?: string;
|
|
1375
|
+
systemDebug?: string;
|
|
1376
|
+
tableMappings?: CreateDIJobRequestTableMappings[];
|
|
1377
|
+
transformationRules?: CreateDIJobRequestTransformationRules[];
|
|
1378
|
+
static names(): { [key: string]: string } {
|
|
1379
|
+
return {
|
|
1380
|
+
description: 'Description',
|
|
1381
|
+
destinationDataSourceSettings: 'DestinationDataSourceSettings',
|
|
1382
|
+
destinationDataSourceType: 'DestinationDataSourceType',
|
|
1383
|
+
jobName: 'JobName',
|
|
1384
|
+
jobSettings: 'JobSettings',
|
|
1385
|
+
migrationType: 'MigrationType',
|
|
1386
|
+
projectId: 'ProjectId',
|
|
1387
|
+
resourceSettings: 'ResourceSettings',
|
|
1388
|
+
sourceDataSourceSettings: 'SourceDataSourceSettings',
|
|
1389
|
+
sourceDataSourceType: 'SourceDataSourceType',
|
|
1390
|
+
systemDebug: 'SystemDebug',
|
|
1391
|
+
tableMappings: 'TableMappings',
|
|
1392
|
+
transformationRules: 'TransformationRules',
|
|
1393
|
+
};
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
static types(): { [key: string]: any } {
|
|
1397
|
+
return {
|
|
1398
|
+
description: 'string',
|
|
1399
|
+
destinationDataSourceSettings: { 'type': 'array', 'itemType': CreateDIJobRequestDestinationDataSourceSettings },
|
|
1400
|
+
destinationDataSourceType: 'string',
|
|
1401
|
+
jobName: 'string',
|
|
1402
|
+
jobSettings: CreateDIJobRequestJobSettings,
|
|
1403
|
+
migrationType: 'string',
|
|
1404
|
+
projectId: 'number',
|
|
1405
|
+
resourceSettings: CreateDIJobRequestResourceSettings,
|
|
1406
|
+
sourceDataSourceSettings: { 'type': 'array', 'itemType': CreateDIJobRequestSourceDataSourceSettings },
|
|
1407
|
+
sourceDataSourceType: 'string',
|
|
1408
|
+
systemDebug: 'string',
|
|
1409
|
+
tableMappings: { 'type': 'array', 'itemType': CreateDIJobRequestTableMappings },
|
|
1410
|
+
transformationRules: { 'type': 'array', 'itemType': CreateDIJobRequestTransformationRules },
|
|
1411
|
+
};
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
constructor(map?: { [key: string]: any }) {
|
|
1415
|
+
super(map);
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
export class CreateDIJobShrinkRequest extends $tea.Model {
|
|
1420
|
+
description?: string;
|
|
1421
|
+
destinationDataSourceSettingsShrink?: string;
|
|
1422
|
+
destinationDataSourceType?: string;
|
|
1423
|
+
jobName?: string;
|
|
1424
|
+
jobSettingsShrink?: string;
|
|
1425
|
+
migrationType?: string;
|
|
1426
|
+
projectId?: number;
|
|
1427
|
+
resourceSettingsShrink?: string;
|
|
1428
|
+
sourceDataSourceSettingsShrink?: string;
|
|
1429
|
+
sourceDataSourceType?: string;
|
|
1430
|
+
systemDebug?: string;
|
|
1431
|
+
tableMappingsShrink?: string;
|
|
1432
|
+
transformationRulesShrink?: string;
|
|
1433
|
+
static names(): { [key: string]: string } {
|
|
1434
|
+
return {
|
|
1435
|
+
description: 'Description',
|
|
1436
|
+
destinationDataSourceSettingsShrink: 'DestinationDataSourceSettings',
|
|
1437
|
+
destinationDataSourceType: 'DestinationDataSourceType',
|
|
1438
|
+
jobName: 'JobName',
|
|
1439
|
+
jobSettingsShrink: 'JobSettings',
|
|
1440
|
+
migrationType: 'MigrationType',
|
|
1441
|
+
projectId: 'ProjectId',
|
|
1442
|
+
resourceSettingsShrink: 'ResourceSettings',
|
|
1443
|
+
sourceDataSourceSettingsShrink: 'SourceDataSourceSettings',
|
|
1444
|
+
sourceDataSourceType: 'SourceDataSourceType',
|
|
1445
|
+
systemDebug: 'SystemDebug',
|
|
1446
|
+
tableMappingsShrink: 'TableMappings',
|
|
1447
|
+
transformationRulesShrink: 'TransformationRules',
|
|
1448
|
+
};
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
static types(): { [key: string]: any } {
|
|
1452
|
+
return {
|
|
1453
|
+
description: 'string',
|
|
1454
|
+
destinationDataSourceSettingsShrink: 'string',
|
|
1455
|
+
destinationDataSourceType: 'string',
|
|
1456
|
+
jobName: 'string',
|
|
1457
|
+
jobSettingsShrink: 'string',
|
|
1458
|
+
migrationType: 'string',
|
|
1459
|
+
projectId: 'number',
|
|
1460
|
+
resourceSettingsShrink: 'string',
|
|
1461
|
+
sourceDataSourceSettingsShrink: 'string',
|
|
1462
|
+
sourceDataSourceType: 'string',
|
|
1463
|
+
systemDebug: 'string',
|
|
1464
|
+
tableMappingsShrink: 'string',
|
|
1465
|
+
transformationRulesShrink: 'string',
|
|
1466
|
+
};
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
constructor(map?: { [key: string]: any }) {
|
|
1470
|
+
super(map);
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
export class CreateDIJobResponseBody extends $tea.Model {
|
|
1475
|
+
DIJobId?: number;
|
|
1476
|
+
requestId?: string;
|
|
1477
|
+
static names(): { [key: string]: string } {
|
|
1478
|
+
return {
|
|
1479
|
+
DIJobId: 'DIJobId',
|
|
1480
|
+
requestId: 'RequestId',
|
|
1481
|
+
};
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
static types(): { [key: string]: any } {
|
|
1485
|
+
return {
|
|
1486
|
+
DIJobId: 'number',
|
|
1487
|
+
requestId: 'string',
|
|
1488
|
+
};
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
constructor(map?: { [key: string]: any }) {
|
|
1492
|
+
super(map);
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
export class CreateDIJobResponse extends $tea.Model {
|
|
1497
|
+
headers: { [key: string]: string };
|
|
1498
|
+
statusCode: number;
|
|
1499
|
+
body: CreateDIJobResponseBody;
|
|
1500
|
+
static names(): { [key: string]: string } {
|
|
1501
|
+
return {
|
|
1502
|
+
headers: 'headers',
|
|
1503
|
+
statusCode: 'statusCode',
|
|
1504
|
+
body: 'body',
|
|
1505
|
+
};
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
static types(): { [key: string]: any } {
|
|
1509
|
+
return {
|
|
1510
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1511
|
+
statusCode: 'number',
|
|
1512
|
+
body: CreateDIJobResponseBody,
|
|
1513
|
+
};
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
constructor(map?: { [key: string]: any }) {
|
|
1517
|
+
super(map);
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1249
1521
|
export class CreateDISyncTaskRequest extends $tea.Model {
|
|
1250
1522
|
clientToken?: string;
|
|
1251
1523
|
projectId?: number;
|
|
@@ -4215,6 +4487,132 @@ export class DeleteConnectionResponse extends $tea.Model {
|
|
|
4215
4487
|
}
|
|
4216
4488
|
}
|
|
4217
4489
|
|
|
4490
|
+
export class DeleteDIAlarmRuleRequest extends $tea.Model {
|
|
4491
|
+
DIAlarmRuleId?: number;
|
|
4492
|
+
static names(): { [key: string]: string } {
|
|
4493
|
+
return {
|
|
4494
|
+
DIAlarmRuleId: 'DIAlarmRuleId',
|
|
4495
|
+
};
|
|
4496
|
+
}
|
|
4497
|
+
|
|
4498
|
+
static types(): { [key: string]: any } {
|
|
4499
|
+
return {
|
|
4500
|
+
DIAlarmRuleId: 'number',
|
|
4501
|
+
};
|
|
4502
|
+
}
|
|
4503
|
+
|
|
4504
|
+
constructor(map?: { [key: string]: any }) {
|
|
4505
|
+
super(map);
|
|
4506
|
+
}
|
|
4507
|
+
}
|
|
4508
|
+
|
|
4509
|
+
export class DeleteDIAlarmRuleResponseBody extends $tea.Model {
|
|
4510
|
+
requestId?: string;
|
|
4511
|
+
static names(): { [key: string]: string } {
|
|
4512
|
+
return {
|
|
4513
|
+
requestId: 'RequestId',
|
|
4514
|
+
};
|
|
4515
|
+
}
|
|
4516
|
+
|
|
4517
|
+
static types(): { [key: string]: any } {
|
|
4518
|
+
return {
|
|
4519
|
+
requestId: 'string',
|
|
4520
|
+
};
|
|
4521
|
+
}
|
|
4522
|
+
|
|
4523
|
+
constructor(map?: { [key: string]: any }) {
|
|
4524
|
+
super(map);
|
|
4525
|
+
}
|
|
4526
|
+
}
|
|
4527
|
+
|
|
4528
|
+
export class DeleteDIAlarmRuleResponse extends $tea.Model {
|
|
4529
|
+
headers: { [key: string]: string };
|
|
4530
|
+
statusCode: number;
|
|
4531
|
+
body: DeleteDIAlarmRuleResponseBody;
|
|
4532
|
+
static names(): { [key: string]: string } {
|
|
4533
|
+
return {
|
|
4534
|
+
headers: 'headers',
|
|
4535
|
+
statusCode: 'statusCode',
|
|
4536
|
+
body: 'body',
|
|
4537
|
+
};
|
|
4538
|
+
}
|
|
4539
|
+
|
|
4540
|
+
static types(): { [key: string]: any } {
|
|
4541
|
+
return {
|
|
4542
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4543
|
+
statusCode: 'number',
|
|
4544
|
+
body: DeleteDIAlarmRuleResponseBody,
|
|
4545
|
+
};
|
|
4546
|
+
}
|
|
4547
|
+
|
|
4548
|
+
constructor(map?: { [key: string]: any }) {
|
|
4549
|
+
super(map);
|
|
4550
|
+
}
|
|
4551
|
+
}
|
|
4552
|
+
|
|
4553
|
+
export class DeleteDIJobRequest extends $tea.Model {
|
|
4554
|
+
DIJobId?: number;
|
|
4555
|
+
static names(): { [key: string]: string } {
|
|
4556
|
+
return {
|
|
4557
|
+
DIJobId: 'DIJobId',
|
|
4558
|
+
};
|
|
4559
|
+
}
|
|
4560
|
+
|
|
4561
|
+
static types(): { [key: string]: any } {
|
|
4562
|
+
return {
|
|
4563
|
+
DIJobId: 'number',
|
|
4564
|
+
};
|
|
4565
|
+
}
|
|
4566
|
+
|
|
4567
|
+
constructor(map?: { [key: string]: any }) {
|
|
4568
|
+
super(map);
|
|
4569
|
+
}
|
|
4570
|
+
}
|
|
4571
|
+
|
|
4572
|
+
export class DeleteDIJobResponseBody extends $tea.Model {
|
|
4573
|
+
requestId?: string;
|
|
4574
|
+
static names(): { [key: string]: string } {
|
|
4575
|
+
return {
|
|
4576
|
+
requestId: 'RequestId',
|
|
4577
|
+
};
|
|
4578
|
+
}
|
|
4579
|
+
|
|
4580
|
+
static types(): { [key: string]: any } {
|
|
4581
|
+
return {
|
|
4582
|
+
requestId: 'string',
|
|
4583
|
+
};
|
|
4584
|
+
}
|
|
4585
|
+
|
|
4586
|
+
constructor(map?: { [key: string]: any }) {
|
|
4587
|
+
super(map);
|
|
4588
|
+
}
|
|
4589
|
+
}
|
|
4590
|
+
|
|
4591
|
+
export class DeleteDIJobResponse extends $tea.Model {
|
|
4592
|
+
headers: { [key: string]: string };
|
|
4593
|
+
statusCode: number;
|
|
4594
|
+
body: DeleteDIJobResponseBody;
|
|
4595
|
+
static names(): { [key: string]: string } {
|
|
4596
|
+
return {
|
|
4597
|
+
headers: 'headers',
|
|
4598
|
+
statusCode: 'statusCode',
|
|
4599
|
+
body: 'body',
|
|
4600
|
+
};
|
|
4601
|
+
}
|
|
4602
|
+
|
|
4603
|
+
static types(): { [key: string]: any } {
|
|
4604
|
+
return {
|
|
4605
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4606
|
+
statusCode: 'number',
|
|
4607
|
+
body: DeleteDIJobResponseBody,
|
|
4608
|
+
};
|
|
4609
|
+
}
|
|
4610
|
+
|
|
4611
|
+
constructor(map?: { [key: string]: any }) {
|
|
4612
|
+
super(map);
|
|
4613
|
+
}
|
|
4614
|
+
}
|
|
4615
|
+
|
|
4218
4616
|
export class DeleteDISyncTaskRequest extends $tea.Model {
|
|
4219
4617
|
fileId?: number;
|
|
4220
4618
|
projectId?: number;
|
|
@@ -6861,6 +7259,141 @@ export class GetDDLJobStatusResponse extends $tea.Model {
|
|
|
6861
7259
|
}
|
|
6862
7260
|
}
|
|
6863
7261
|
|
|
7262
|
+
export class GetDIAlarmRuleRequest extends $tea.Model {
|
|
7263
|
+
DIAlarmRuleId?: number;
|
|
7264
|
+
static names(): { [key: string]: string } {
|
|
7265
|
+
return {
|
|
7266
|
+
DIAlarmRuleId: 'DIAlarmRuleId',
|
|
7267
|
+
};
|
|
7268
|
+
}
|
|
7269
|
+
|
|
7270
|
+
static types(): { [key: string]: any } {
|
|
7271
|
+
return {
|
|
7272
|
+
DIAlarmRuleId: 'number',
|
|
7273
|
+
};
|
|
7274
|
+
}
|
|
7275
|
+
|
|
7276
|
+
constructor(map?: { [key: string]: any }) {
|
|
7277
|
+
super(map);
|
|
7278
|
+
}
|
|
7279
|
+
}
|
|
7280
|
+
|
|
7281
|
+
export class GetDIAlarmRuleResponseBody extends $tea.Model {
|
|
7282
|
+
DIAlarmRule?: GetDIAlarmRuleResponseBodyDIAlarmRule;
|
|
7283
|
+
requestId?: string;
|
|
7284
|
+
static names(): { [key: string]: string } {
|
|
7285
|
+
return {
|
|
7286
|
+
DIAlarmRule: 'DIAlarmRule',
|
|
7287
|
+
requestId: 'RequestId',
|
|
7288
|
+
};
|
|
7289
|
+
}
|
|
7290
|
+
|
|
7291
|
+
static types(): { [key: string]: any } {
|
|
7292
|
+
return {
|
|
7293
|
+
DIAlarmRule: GetDIAlarmRuleResponseBodyDIAlarmRule,
|
|
7294
|
+
requestId: 'string',
|
|
7295
|
+
};
|
|
7296
|
+
}
|
|
7297
|
+
|
|
7298
|
+
constructor(map?: { [key: string]: any }) {
|
|
7299
|
+
super(map);
|
|
7300
|
+
}
|
|
7301
|
+
}
|
|
7302
|
+
|
|
7303
|
+
export class GetDIAlarmRuleResponse extends $tea.Model {
|
|
7304
|
+
headers: { [key: string]: string };
|
|
7305
|
+
statusCode: number;
|
|
7306
|
+
body: GetDIAlarmRuleResponseBody;
|
|
7307
|
+
static names(): { [key: string]: string } {
|
|
7308
|
+
return {
|
|
7309
|
+
headers: 'headers',
|
|
7310
|
+
statusCode: 'statusCode',
|
|
7311
|
+
body: 'body',
|
|
7312
|
+
};
|
|
7313
|
+
}
|
|
7314
|
+
|
|
7315
|
+
static types(): { [key: string]: any } {
|
|
7316
|
+
return {
|
|
7317
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7318
|
+
statusCode: 'number',
|
|
7319
|
+
body: GetDIAlarmRuleResponseBody,
|
|
7320
|
+
};
|
|
7321
|
+
}
|
|
7322
|
+
|
|
7323
|
+
constructor(map?: { [key: string]: any }) {
|
|
7324
|
+
super(map);
|
|
7325
|
+
}
|
|
7326
|
+
}
|
|
7327
|
+
|
|
7328
|
+
export class GetDIJobRequest extends $tea.Model {
|
|
7329
|
+
DIJobId?: number;
|
|
7330
|
+
withDetails?: boolean;
|
|
7331
|
+
static names(): { [key: string]: string } {
|
|
7332
|
+
return {
|
|
7333
|
+
DIJobId: 'DIJobId',
|
|
7334
|
+
withDetails: 'WithDetails',
|
|
7335
|
+
};
|
|
7336
|
+
}
|
|
7337
|
+
|
|
7338
|
+
static types(): { [key: string]: any } {
|
|
7339
|
+
return {
|
|
7340
|
+
DIJobId: 'number',
|
|
7341
|
+
withDetails: 'boolean',
|
|
7342
|
+
};
|
|
7343
|
+
}
|
|
7344
|
+
|
|
7345
|
+
constructor(map?: { [key: string]: any }) {
|
|
7346
|
+
super(map);
|
|
7347
|
+
}
|
|
7348
|
+
}
|
|
7349
|
+
|
|
7350
|
+
export class GetDIJobResponseBody extends $tea.Model {
|
|
7351
|
+
data?: GetDIJobResponseBodyData;
|
|
7352
|
+
requestId?: string;
|
|
7353
|
+
static names(): { [key: string]: string } {
|
|
7354
|
+
return {
|
|
7355
|
+
data: 'Data',
|
|
7356
|
+
requestId: 'RequestId',
|
|
7357
|
+
};
|
|
7358
|
+
}
|
|
7359
|
+
|
|
7360
|
+
static types(): { [key: string]: any } {
|
|
7361
|
+
return {
|
|
7362
|
+
data: GetDIJobResponseBodyData,
|
|
7363
|
+
requestId: 'string',
|
|
7364
|
+
};
|
|
7365
|
+
}
|
|
7366
|
+
|
|
7367
|
+
constructor(map?: { [key: string]: any }) {
|
|
7368
|
+
super(map);
|
|
7369
|
+
}
|
|
7370
|
+
}
|
|
7371
|
+
|
|
7372
|
+
export class GetDIJobResponse extends $tea.Model {
|
|
7373
|
+
headers: { [key: string]: string };
|
|
7374
|
+
statusCode: number;
|
|
7375
|
+
body: GetDIJobResponseBody;
|
|
7376
|
+
static names(): { [key: string]: string } {
|
|
7377
|
+
return {
|
|
7378
|
+
headers: 'headers',
|
|
7379
|
+
statusCode: 'statusCode',
|
|
7380
|
+
body: 'body',
|
|
7381
|
+
};
|
|
7382
|
+
}
|
|
7383
|
+
|
|
7384
|
+
static types(): { [key: string]: any } {
|
|
7385
|
+
return {
|
|
7386
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7387
|
+
statusCode: 'number',
|
|
7388
|
+
body: GetDIJobResponseBody,
|
|
7389
|
+
};
|
|
7390
|
+
}
|
|
7391
|
+
|
|
7392
|
+
constructor(map?: { [key: string]: any }) {
|
|
7393
|
+
super(map);
|
|
7394
|
+
}
|
|
7395
|
+
}
|
|
7396
|
+
|
|
6864
7397
|
export class GetDISyncInstanceInfoRequest extends $tea.Model {
|
|
6865
7398
|
fileId?: number;
|
|
6866
7399
|
projectId?: number;
|
|
@@ -12700,6 +13233,159 @@ export class ListConnectionsResponse extends $tea.Model {
|
|
|
12700
13233
|
}
|
|
12701
13234
|
}
|
|
12702
13235
|
|
|
13236
|
+
export class ListDIAlarmRulesRequest extends $tea.Model {
|
|
13237
|
+
DIJobId?: number;
|
|
13238
|
+
pageNumber?: number;
|
|
13239
|
+
pageSize?: number;
|
|
13240
|
+
static names(): { [key: string]: string } {
|
|
13241
|
+
return {
|
|
13242
|
+
DIJobId: 'DIJobId',
|
|
13243
|
+
pageNumber: 'PageNumber',
|
|
13244
|
+
pageSize: 'PageSize',
|
|
13245
|
+
};
|
|
13246
|
+
}
|
|
13247
|
+
|
|
13248
|
+
static types(): { [key: string]: any } {
|
|
13249
|
+
return {
|
|
13250
|
+
DIJobId: 'number',
|
|
13251
|
+
pageNumber: 'number',
|
|
13252
|
+
pageSize: 'number',
|
|
13253
|
+
};
|
|
13254
|
+
}
|
|
13255
|
+
|
|
13256
|
+
constructor(map?: { [key: string]: any }) {
|
|
13257
|
+
super(map);
|
|
13258
|
+
}
|
|
13259
|
+
}
|
|
13260
|
+
|
|
13261
|
+
export class ListDIAlarmRulesResponseBody extends $tea.Model {
|
|
13262
|
+
DIAlarmRulePaging?: ListDIAlarmRulesResponseBodyDIAlarmRulePaging;
|
|
13263
|
+
requestId?: string;
|
|
13264
|
+
static names(): { [key: string]: string } {
|
|
13265
|
+
return {
|
|
13266
|
+
DIAlarmRulePaging: 'DIAlarmRulePaging',
|
|
13267
|
+
requestId: 'RequestId',
|
|
13268
|
+
};
|
|
13269
|
+
}
|
|
13270
|
+
|
|
13271
|
+
static types(): { [key: string]: any } {
|
|
13272
|
+
return {
|
|
13273
|
+
DIAlarmRulePaging: ListDIAlarmRulesResponseBodyDIAlarmRulePaging,
|
|
13274
|
+
requestId: 'string',
|
|
13275
|
+
};
|
|
13276
|
+
}
|
|
13277
|
+
|
|
13278
|
+
constructor(map?: { [key: string]: any }) {
|
|
13279
|
+
super(map);
|
|
13280
|
+
}
|
|
13281
|
+
}
|
|
13282
|
+
|
|
13283
|
+
export class ListDIAlarmRulesResponse extends $tea.Model {
|
|
13284
|
+
headers: { [key: string]: string };
|
|
13285
|
+
statusCode: number;
|
|
13286
|
+
body: ListDIAlarmRulesResponseBody;
|
|
13287
|
+
static names(): { [key: string]: string } {
|
|
13288
|
+
return {
|
|
13289
|
+
headers: 'headers',
|
|
13290
|
+
statusCode: 'statusCode',
|
|
13291
|
+
body: 'body',
|
|
13292
|
+
};
|
|
13293
|
+
}
|
|
13294
|
+
|
|
13295
|
+
static types(): { [key: string]: any } {
|
|
13296
|
+
return {
|
|
13297
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13298
|
+
statusCode: 'number',
|
|
13299
|
+
body: ListDIAlarmRulesResponseBody,
|
|
13300
|
+
};
|
|
13301
|
+
}
|
|
13302
|
+
|
|
13303
|
+
constructor(map?: { [key: string]: any }) {
|
|
13304
|
+
super(map);
|
|
13305
|
+
}
|
|
13306
|
+
}
|
|
13307
|
+
|
|
13308
|
+
export class ListDIJobsRequest extends $tea.Model {
|
|
13309
|
+
destinationDataSourceType?: string;
|
|
13310
|
+
jobName?: string;
|
|
13311
|
+
pageNumber?: number;
|
|
13312
|
+
pageSize?: number;
|
|
13313
|
+
projectId?: number;
|
|
13314
|
+
sourceDataSourceType?: string;
|
|
13315
|
+
static names(): { [key: string]: string } {
|
|
13316
|
+
return {
|
|
13317
|
+
destinationDataSourceType: 'DestinationDataSourceType',
|
|
13318
|
+
jobName: 'JobName',
|
|
13319
|
+
pageNumber: 'PageNumber',
|
|
13320
|
+
pageSize: 'PageSize',
|
|
13321
|
+
projectId: 'ProjectId',
|
|
13322
|
+
sourceDataSourceType: 'SourceDataSourceType',
|
|
13323
|
+
};
|
|
13324
|
+
}
|
|
13325
|
+
|
|
13326
|
+
static types(): { [key: string]: any } {
|
|
13327
|
+
return {
|
|
13328
|
+
destinationDataSourceType: 'string',
|
|
13329
|
+
jobName: 'string',
|
|
13330
|
+
pageNumber: 'number',
|
|
13331
|
+
pageSize: 'number',
|
|
13332
|
+
projectId: 'number',
|
|
13333
|
+
sourceDataSourceType: 'string',
|
|
13334
|
+
};
|
|
13335
|
+
}
|
|
13336
|
+
|
|
13337
|
+
constructor(map?: { [key: string]: any }) {
|
|
13338
|
+
super(map);
|
|
13339
|
+
}
|
|
13340
|
+
}
|
|
13341
|
+
|
|
13342
|
+
export class ListDIJobsResponseBody extends $tea.Model {
|
|
13343
|
+
DIJobPaging?: ListDIJobsResponseBodyDIJobPaging;
|
|
13344
|
+
requestId?: string;
|
|
13345
|
+
static names(): { [key: string]: string } {
|
|
13346
|
+
return {
|
|
13347
|
+
DIJobPaging: 'DIJobPaging',
|
|
13348
|
+
requestId: 'RequestId',
|
|
13349
|
+
};
|
|
13350
|
+
}
|
|
13351
|
+
|
|
13352
|
+
static types(): { [key: string]: any } {
|
|
13353
|
+
return {
|
|
13354
|
+
DIJobPaging: ListDIJobsResponseBodyDIJobPaging,
|
|
13355
|
+
requestId: 'string',
|
|
13356
|
+
};
|
|
13357
|
+
}
|
|
13358
|
+
|
|
13359
|
+
constructor(map?: { [key: string]: any }) {
|
|
13360
|
+
super(map);
|
|
13361
|
+
}
|
|
13362
|
+
}
|
|
13363
|
+
|
|
13364
|
+
export class ListDIJobsResponse extends $tea.Model {
|
|
13365
|
+
headers: { [key: string]: string };
|
|
13366
|
+
statusCode: number;
|
|
13367
|
+
body: ListDIJobsResponseBody;
|
|
13368
|
+
static names(): { [key: string]: string } {
|
|
13369
|
+
return {
|
|
13370
|
+
headers: 'headers',
|
|
13371
|
+
statusCode: 'statusCode',
|
|
13372
|
+
body: 'body',
|
|
13373
|
+
};
|
|
13374
|
+
}
|
|
13375
|
+
|
|
13376
|
+
static types(): { [key: string]: any } {
|
|
13377
|
+
return {
|
|
13378
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13379
|
+
statusCode: 'number',
|
|
13380
|
+
body: ListDIJobsResponseBody,
|
|
13381
|
+
};
|
|
13382
|
+
}
|
|
13383
|
+
|
|
13384
|
+
constructor(map?: { [key: string]: any }) {
|
|
13385
|
+
super(map);
|
|
13386
|
+
}
|
|
13387
|
+
}
|
|
13388
|
+
|
|
12703
13389
|
export class ListDIProjectConfigRequest extends $tea.Model {
|
|
12704
13390
|
destinationType?: string;
|
|
12705
13391
|
projectId?: number;
|
|
@@ -19213,6 +19899,100 @@ export class SetSuccessInstanceResponse extends $tea.Model {
|
|
|
19213
19899
|
}
|
|
19214
19900
|
}
|
|
19215
19901
|
|
|
19902
|
+
export class StartDIJobRequest extends $tea.Model {
|
|
19903
|
+
DIJobId?: number;
|
|
19904
|
+
forceToRerun?: boolean;
|
|
19905
|
+
realtimeStartSettings?: StartDIJobRequestRealtimeStartSettings;
|
|
19906
|
+
static names(): { [key: string]: string } {
|
|
19907
|
+
return {
|
|
19908
|
+
DIJobId: 'DIJobId',
|
|
19909
|
+
forceToRerun: 'ForceToRerun',
|
|
19910
|
+
realtimeStartSettings: 'RealtimeStartSettings',
|
|
19911
|
+
};
|
|
19912
|
+
}
|
|
19913
|
+
|
|
19914
|
+
static types(): { [key: string]: any } {
|
|
19915
|
+
return {
|
|
19916
|
+
DIJobId: 'number',
|
|
19917
|
+
forceToRerun: 'boolean',
|
|
19918
|
+
realtimeStartSettings: StartDIJobRequestRealtimeStartSettings,
|
|
19919
|
+
};
|
|
19920
|
+
}
|
|
19921
|
+
|
|
19922
|
+
constructor(map?: { [key: string]: any }) {
|
|
19923
|
+
super(map);
|
|
19924
|
+
}
|
|
19925
|
+
}
|
|
19926
|
+
|
|
19927
|
+
export class StartDIJobShrinkRequest extends $tea.Model {
|
|
19928
|
+
DIJobId?: number;
|
|
19929
|
+
forceToRerun?: boolean;
|
|
19930
|
+
realtimeStartSettingsShrink?: string;
|
|
19931
|
+
static names(): { [key: string]: string } {
|
|
19932
|
+
return {
|
|
19933
|
+
DIJobId: 'DIJobId',
|
|
19934
|
+
forceToRerun: 'ForceToRerun',
|
|
19935
|
+
realtimeStartSettingsShrink: 'RealtimeStartSettings',
|
|
19936
|
+
};
|
|
19937
|
+
}
|
|
19938
|
+
|
|
19939
|
+
static types(): { [key: string]: any } {
|
|
19940
|
+
return {
|
|
19941
|
+
DIJobId: 'number',
|
|
19942
|
+
forceToRerun: 'boolean',
|
|
19943
|
+
realtimeStartSettingsShrink: 'string',
|
|
19944
|
+
};
|
|
19945
|
+
}
|
|
19946
|
+
|
|
19947
|
+
constructor(map?: { [key: string]: any }) {
|
|
19948
|
+
super(map);
|
|
19949
|
+
}
|
|
19950
|
+
}
|
|
19951
|
+
|
|
19952
|
+
export class StartDIJobResponseBody extends $tea.Model {
|
|
19953
|
+
requestId?: string;
|
|
19954
|
+
static names(): { [key: string]: string } {
|
|
19955
|
+
return {
|
|
19956
|
+
requestId: 'RequestId',
|
|
19957
|
+
};
|
|
19958
|
+
}
|
|
19959
|
+
|
|
19960
|
+
static types(): { [key: string]: any } {
|
|
19961
|
+
return {
|
|
19962
|
+
requestId: 'string',
|
|
19963
|
+
};
|
|
19964
|
+
}
|
|
19965
|
+
|
|
19966
|
+
constructor(map?: { [key: string]: any }) {
|
|
19967
|
+
super(map);
|
|
19968
|
+
}
|
|
19969
|
+
}
|
|
19970
|
+
|
|
19971
|
+
export class StartDIJobResponse extends $tea.Model {
|
|
19972
|
+
headers: { [key: string]: string };
|
|
19973
|
+
statusCode: number;
|
|
19974
|
+
body: StartDIJobResponseBody;
|
|
19975
|
+
static names(): { [key: string]: string } {
|
|
19976
|
+
return {
|
|
19977
|
+
headers: 'headers',
|
|
19978
|
+
statusCode: 'statusCode',
|
|
19979
|
+
body: 'body',
|
|
19980
|
+
};
|
|
19981
|
+
}
|
|
19982
|
+
|
|
19983
|
+
static types(): { [key: string]: any } {
|
|
19984
|
+
return {
|
|
19985
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
19986
|
+
statusCode: 'number',
|
|
19987
|
+
body: StartDIJobResponseBody,
|
|
19988
|
+
};
|
|
19989
|
+
}
|
|
19990
|
+
|
|
19991
|
+
constructor(map?: { [key: string]: any }) {
|
|
19992
|
+
super(map);
|
|
19993
|
+
}
|
|
19994
|
+
}
|
|
19995
|
+
|
|
19216
19996
|
export class StartDISyncInstanceRequest extends $tea.Model {
|
|
19217
19997
|
fileId?: number;
|
|
19218
19998
|
projectId?: number;
|
|
@@ -19372,6 +20152,69 @@ export class StartMigrationResponse extends $tea.Model {
|
|
|
19372
20152
|
}
|
|
19373
20153
|
}
|
|
19374
20154
|
|
|
20155
|
+
export class StopDIJobRequest extends $tea.Model {
|
|
20156
|
+
DIJobId?: number;
|
|
20157
|
+
static names(): { [key: string]: string } {
|
|
20158
|
+
return {
|
|
20159
|
+
DIJobId: 'DIJobId',
|
|
20160
|
+
};
|
|
20161
|
+
}
|
|
20162
|
+
|
|
20163
|
+
static types(): { [key: string]: any } {
|
|
20164
|
+
return {
|
|
20165
|
+
DIJobId: 'number',
|
|
20166
|
+
};
|
|
20167
|
+
}
|
|
20168
|
+
|
|
20169
|
+
constructor(map?: { [key: string]: any }) {
|
|
20170
|
+
super(map);
|
|
20171
|
+
}
|
|
20172
|
+
}
|
|
20173
|
+
|
|
20174
|
+
export class StopDIJobResponseBody extends $tea.Model {
|
|
20175
|
+
requestId?: string;
|
|
20176
|
+
static names(): { [key: string]: string } {
|
|
20177
|
+
return {
|
|
20178
|
+
requestId: 'RequestId',
|
|
20179
|
+
};
|
|
20180
|
+
}
|
|
20181
|
+
|
|
20182
|
+
static types(): { [key: string]: any } {
|
|
20183
|
+
return {
|
|
20184
|
+
requestId: 'string',
|
|
20185
|
+
};
|
|
20186
|
+
}
|
|
20187
|
+
|
|
20188
|
+
constructor(map?: { [key: string]: any }) {
|
|
20189
|
+
super(map);
|
|
20190
|
+
}
|
|
20191
|
+
}
|
|
20192
|
+
|
|
20193
|
+
export class StopDIJobResponse extends $tea.Model {
|
|
20194
|
+
headers: { [key: string]: string };
|
|
20195
|
+
statusCode: number;
|
|
20196
|
+
body: StopDIJobResponseBody;
|
|
20197
|
+
static names(): { [key: string]: string } {
|
|
20198
|
+
return {
|
|
20199
|
+
headers: 'headers',
|
|
20200
|
+
statusCode: 'statusCode',
|
|
20201
|
+
body: 'body',
|
|
20202
|
+
};
|
|
20203
|
+
}
|
|
20204
|
+
|
|
20205
|
+
static types(): { [key: string]: any } {
|
|
20206
|
+
return {
|
|
20207
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20208
|
+
statusCode: 'number',
|
|
20209
|
+
body: StopDIJobResponseBody,
|
|
20210
|
+
};
|
|
20211
|
+
}
|
|
20212
|
+
|
|
20213
|
+
constructor(map?: { [key: string]: any }) {
|
|
20214
|
+
super(map);
|
|
20215
|
+
}
|
|
20216
|
+
}
|
|
20217
|
+
|
|
19375
20218
|
export class StopDISyncInstanceRequest extends $tea.Model {
|
|
19376
20219
|
fileId?: number;
|
|
19377
20220
|
projectId?: number;
|
|
@@ -20573,6 +21416,230 @@ export class UpdateConnectionResponse extends $tea.Model {
|
|
|
20573
21416
|
}
|
|
20574
21417
|
}
|
|
20575
21418
|
|
|
21419
|
+
export class UpdateDIAlarmRuleRequest extends $tea.Model {
|
|
21420
|
+
DIAlarmRuleId?: number;
|
|
21421
|
+
description?: string;
|
|
21422
|
+
enabled?: boolean;
|
|
21423
|
+
metricType?: string;
|
|
21424
|
+
notificationSettings?: UpdateDIAlarmRuleRequestNotificationSettings;
|
|
21425
|
+
triggerConditions?: UpdateDIAlarmRuleRequestTriggerConditions[];
|
|
21426
|
+
static names(): { [key: string]: string } {
|
|
21427
|
+
return {
|
|
21428
|
+
DIAlarmRuleId: 'DIAlarmRuleId',
|
|
21429
|
+
description: 'Description',
|
|
21430
|
+
enabled: 'Enabled',
|
|
21431
|
+
metricType: 'MetricType',
|
|
21432
|
+
notificationSettings: 'NotificationSettings',
|
|
21433
|
+
triggerConditions: 'TriggerConditions',
|
|
21434
|
+
};
|
|
21435
|
+
}
|
|
21436
|
+
|
|
21437
|
+
static types(): { [key: string]: any } {
|
|
21438
|
+
return {
|
|
21439
|
+
DIAlarmRuleId: 'number',
|
|
21440
|
+
description: 'string',
|
|
21441
|
+
enabled: 'boolean',
|
|
21442
|
+
metricType: 'string',
|
|
21443
|
+
notificationSettings: UpdateDIAlarmRuleRequestNotificationSettings,
|
|
21444
|
+
triggerConditions: { 'type': 'array', 'itemType': UpdateDIAlarmRuleRequestTriggerConditions },
|
|
21445
|
+
};
|
|
21446
|
+
}
|
|
21447
|
+
|
|
21448
|
+
constructor(map?: { [key: string]: any }) {
|
|
21449
|
+
super(map);
|
|
21450
|
+
}
|
|
21451
|
+
}
|
|
21452
|
+
|
|
21453
|
+
export class UpdateDIAlarmRuleShrinkRequest extends $tea.Model {
|
|
21454
|
+
DIAlarmRuleId?: number;
|
|
21455
|
+
description?: string;
|
|
21456
|
+
enabled?: boolean;
|
|
21457
|
+
metricType?: string;
|
|
21458
|
+
notificationSettingsShrink?: string;
|
|
21459
|
+
triggerConditionsShrink?: string;
|
|
21460
|
+
static names(): { [key: string]: string } {
|
|
21461
|
+
return {
|
|
21462
|
+
DIAlarmRuleId: 'DIAlarmRuleId',
|
|
21463
|
+
description: 'Description',
|
|
21464
|
+
enabled: 'Enabled',
|
|
21465
|
+
metricType: 'MetricType',
|
|
21466
|
+
notificationSettingsShrink: 'NotificationSettings',
|
|
21467
|
+
triggerConditionsShrink: 'TriggerConditions',
|
|
21468
|
+
};
|
|
21469
|
+
}
|
|
21470
|
+
|
|
21471
|
+
static types(): { [key: string]: any } {
|
|
21472
|
+
return {
|
|
21473
|
+
DIAlarmRuleId: 'number',
|
|
21474
|
+
description: 'string',
|
|
21475
|
+
enabled: 'boolean',
|
|
21476
|
+
metricType: 'string',
|
|
21477
|
+
notificationSettingsShrink: 'string',
|
|
21478
|
+
triggerConditionsShrink: 'string',
|
|
21479
|
+
};
|
|
21480
|
+
}
|
|
21481
|
+
|
|
21482
|
+
constructor(map?: { [key: string]: any }) {
|
|
21483
|
+
super(map);
|
|
21484
|
+
}
|
|
21485
|
+
}
|
|
21486
|
+
|
|
21487
|
+
export class UpdateDIAlarmRuleResponseBody extends $tea.Model {
|
|
21488
|
+
requestId?: string;
|
|
21489
|
+
static names(): { [key: string]: string } {
|
|
21490
|
+
return {
|
|
21491
|
+
requestId: 'RequestId',
|
|
21492
|
+
};
|
|
21493
|
+
}
|
|
21494
|
+
|
|
21495
|
+
static types(): { [key: string]: any } {
|
|
21496
|
+
return {
|
|
21497
|
+
requestId: 'string',
|
|
21498
|
+
};
|
|
21499
|
+
}
|
|
21500
|
+
|
|
21501
|
+
constructor(map?: { [key: string]: any }) {
|
|
21502
|
+
super(map);
|
|
21503
|
+
}
|
|
21504
|
+
}
|
|
21505
|
+
|
|
21506
|
+
export class UpdateDIAlarmRuleResponse extends $tea.Model {
|
|
21507
|
+
headers: { [key: string]: string };
|
|
21508
|
+
statusCode: number;
|
|
21509
|
+
body: UpdateDIAlarmRuleResponseBody;
|
|
21510
|
+
static names(): { [key: string]: string } {
|
|
21511
|
+
return {
|
|
21512
|
+
headers: 'headers',
|
|
21513
|
+
statusCode: 'statusCode',
|
|
21514
|
+
body: 'body',
|
|
21515
|
+
};
|
|
21516
|
+
}
|
|
21517
|
+
|
|
21518
|
+
static types(): { [key: string]: any } {
|
|
21519
|
+
return {
|
|
21520
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21521
|
+
statusCode: 'number',
|
|
21522
|
+
body: UpdateDIAlarmRuleResponseBody,
|
|
21523
|
+
};
|
|
21524
|
+
}
|
|
21525
|
+
|
|
21526
|
+
constructor(map?: { [key: string]: any }) {
|
|
21527
|
+
super(map);
|
|
21528
|
+
}
|
|
21529
|
+
}
|
|
21530
|
+
|
|
21531
|
+
export class UpdateDIJobRequest extends $tea.Model {
|
|
21532
|
+
DIJobId?: number;
|
|
21533
|
+
description?: string;
|
|
21534
|
+
jobSettings?: UpdateDIJobRequestJobSettings;
|
|
21535
|
+
resourceSettings?: UpdateDIJobRequestResourceSettings;
|
|
21536
|
+
tableMappings?: UpdateDIJobRequestTableMappings[];
|
|
21537
|
+
transformationRules?: UpdateDIJobRequestTransformationRules[];
|
|
21538
|
+
static names(): { [key: string]: string } {
|
|
21539
|
+
return {
|
|
21540
|
+
DIJobId: 'DIJobId',
|
|
21541
|
+
description: 'Description',
|
|
21542
|
+
jobSettings: 'JobSettings',
|
|
21543
|
+
resourceSettings: 'ResourceSettings',
|
|
21544
|
+
tableMappings: 'TableMappings',
|
|
21545
|
+
transformationRules: 'TransformationRules',
|
|
21546
|
+
};
|
|
21547
|
+
}
|
|
21548
|
+
|
|
21549
|
+
static types(): { [key: string]: any } {
|
|
21550
|
+
return {
|
|
21551
|
+
DIJobId: 'number',
|
|
21552
|
+
description: 'string',
|
|
21553
|
+
jobSettings: UpdateDIJobRequestJobSettings,
|
|
21554
|
+
resourceSettings: UpdateDIJobRequestResourceSettings,
|
|
21555
|
+
tableMappings: { 'type': 'array', 'itemType': UpdateDIJobRequestTableMappings },
|
|
21556
|
+
transformationRules: { 'type': 'array', 'itemType': UpdateDIJobRequestTransformationRules },
|
|
21557
|
+
};
|
|
21558
|
+
}
|
|
21559
|
+
|
|
21560
|
+
constructor(map?: { [key: string]: any }) {
|
|
21561
|
+
super(map);
|
|
21562
|
+
}
|
|
21563
|
+
}
|
|
21564
|
+
|
|
21565
|
+
export class UpdateDIJobShrinkRequest extends $tea.Model {
|
|
21566
|
+
DIJobId?: number;
|
|
21567
|
+
description?: string;
|
|
21568
|
+
jobSettingsShrink?: string;
|
|
21569
|
+
resourceSettingsShrink?: string;
|
|
21570
|
+
tableMappingsShrink?: string;
|
|
21571
|
+
transformationRulesShrink?: string;
|
|
21572
|
+
static names(): { [key: string]: string } {
|
|
21573
|
+
return {
|
|
21574
|
+
DIJobId: 'DIJobId',
|
|
21575
|
+
description: 'Description',
|
|
21576
|
+
jobSettingsShrink: 'JobSettings',
|
|
21577
|
+
resourceSettingsShrink: 'ResourceSettings',
|
|
21578
|
+
tableMappingsShrink: 'TableMappings',
|
|
21579
|
+
transformationRulesShrink: 'TransformationRules',
|
|
21580
|
+
};
|
|
21581
|
+
}
|
|
21582
|
+
|
|
21583
|
+
static types(): { [key: string]: any } {
|
|
21584
|
+
return {
|
|
21585
|
+
DIJobId: 'number',
|
|
21586
|
+
description: 'string',
|
|
21587
|
+
jobSettingsShrink: 'string',
|
|
21588
|
+
resourceSettingsShrink: 'string',
|
|
21589
|
+
tableMappingsShrink: 'string',
|
|
21590
|
+
transformationRulesShrink: 'string',
|
|
21591
|
+
};
|
|
21592
|
+
}
|
|
21593
|
+
|
|
21594
|
+
constructor(map?: { [key: string]: any }) {
|
|
21595
|
+
super(map);
|
|
21596
|
+
}
|
|
21597
|
+
}
|
|
21598
|
+
|
|
21599
|
+
export class UpdateDIJobResponseBody extends $tea.Model {
|
|
21600
|
+
requestId?: string;
|
|
21601
|
+
static names(): { [key: string]: string } {
|
|
21602
|
+
return {
|
|
21603
|
+
requestId: 'RequestId',
|
|
21604
|
+
};
|
|
21605
|
+
}
|
|
21606
|
+
|
|
21607
|
+
static types(): { [key: string]: any } {
|
|
21608
|
+
return {
|
|
21609
|
+
requestId: 'string',
|
|
21610
|
+
};
|
|
21611
|
+
}
|
|
21612
|
+
|
|
21613
|
+
constructor(map?: { [key: string]: any }) {
|
|
21614
|
+
super(map);
|
|
21615
|
+
}
|
|
21616
|
+
}
|
|
21617
|
+
|
|
21618
|
+
export class UpdateDIJobResponse extends $tea.Model {
|
|
21619
|
+
headers: { [key: string]: string };
|
|
21620
|
+
statusCode: number;
|
|
21621
|
+
body: UpdateDIJobResponseBody;
|
|
21622
|
+
static names(): { [key: string]: string } {
|
|
21623
|
+
return {
|
|
21624
|
+
headers: 'headers',
|
|
21625
|
+
statusCode: 'statusCode',
|
|
21626
|
+
body: 'body',
|
|
21627
|
+
};
|
|
21628
|
+
}
|
|
21629
|
+
|
|
21630
|
+
static types(): { [key: string]: any } {
|
|
21631
|
+
return {
|
|
21632
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21633
|
+
statusCode: 'number',
|
|
21634
|
+
body: UpdateDIJobResponseBody,
|
|
21635
|
+
};
|
|
21636
|
+
}
|
|
21637
|
+
|
|
21638
|
+
constructor(map?: { [key: string]: any }) {
|
|
21639
|
+
super(map);
|
|
21640
|
+
}
|
|
21641
|
+
}
|
|
21642
|
+
|
|
20576
21643
|
export class UpdateDIProjectConfigRequest extends $tea.Model {
|
|
20577
21644
|
destinationType?: string;
|
|
20578
21645
|
projectConfig?: string;
|
|
@@ -22734,6 +23801,392 @@ export class CreateBaselineRequestOvertimeSettings extends $tea.Model {
|
|
|
22734
23801
|
}
|
|
22735
23802
|
}
|
|
22736
23803
|
|
|
23804
|
+
export class CreateDIAlarmRuleRequestNotificationSettingsNotificationChannels extends $tea.Model {
|
|
23805
|
+
channels?: string[];
|
|
23806
|
+
severity?: string;
|
|
23807
|
+
static names(): { [key: string]: string } {
|
|
23808
|
+
return {
|
|
23809
|
+
channels: 'Channels',
|
|
23810
|
+
severity: 'Severity',
|
|
23811
|
+
};
|
|
23812
|
+
}
|
|
23813
|
+
|
|
23814
|
+
static types(): { [key: string]: any } {
|
|
23815
|
+
return {
|
|
23816
|
+
channels: { 'type': 'array', 'itemType': 'string' },
|
|
23817
|
+
severity: 'string',
|
|
23818
|
+
};
|
|
23819
|
+
}
|
|
23820
|
+
|
|
23821
|
+
constructor(map?: { [key: string]: any }) {
|
|
23822
|
+
super(map);
|
|
23823
|
+
}
|
|
23824
|
+
}
|
|
23825
|
+
|
|
23826
|
+
export class CreateDIAlarmRuleRequestNotificationSettingsNotificationReceivers extends $tea.Model {
|
|
23827
|
+
receiverType?: string;
|
|
23828
|
+
receiverValues?: string[];
|
|
23829
|
+
static names(): { [key: string]: string } {
|
|
23830
|
+
return {
|
|
23831
|
+
receiverType: 'ReceiverType',
|
|
23832
|
+
receiverValues: 'ReceiverValues',
|
|
23833
|
+
};
|
|
23834
|
+
}
|
|
23835
|
+
|
|
23836
|
+
static types(): { [key: string]: any } {
|
|
23837
|
+
return {
|
|
23838
|
+
receiverType: 'string',
|
|
23839
|
+
receiverValues: { 'type': 'array', 'itemType': 'string' },
|
|
23840
|
+
};
|
|
23841
|
+
}
|
|
23842
|
+
|
|
23843
|
+
constructor(map?: { [key: string]: any }) {
|
|
23844
|
+
super(map);
|
|
23845
|
+
}
|
|
23846
|
+
}
|
|
23847
|
+
|
|
23848
|
+
export class CreateDIAlarmRuleRequestNotificationSettings extends $tea.Model {
|
|
23849
|
+
inhibitionInterval?: number;
|
|
23850
|
+
notificationChannels?: CreateDIAlarmRuleRequestNotificationSettingsNotificationChannels[];
|
|
23851
|
+
notificationReceivers?: CreateDIAlarmRuleRequestNotificationSettingsNotificationReceivers[];
|
|
23852
|
+
static names(): { [key: string]: string } {
|
|
23853
|
+
return {
|
|
23854
|
+
inhibitionInterval: 'InhibitionInterval',
|
|
23855
|
+
notificationChannels: 'NotificationChannels',
|
|
23856
|
+
notificationReceivers: 'NotificationReceivers',
|
|
23857
|
+
};
|
|
23858
|
+
}
|
|
23859
|
+
|
|
23860
|
+
static types(): { [key: string]: any } {
|
|
23861
|
+
return {
|
|
23862
|
+
inhibitionInterval: 'number',
|
|
23863
|
+
notificationChannels: { 'type': 'array', 'itemType': CreateDIAlarmRuleRequestNotificationSettingsNotificationChannels },
|
|
23864
|
+
notificationReceivers: { 'type': 'array', 'itemType': CreateDIAlarmRuleRequestNotificationSettingsNotificationReceivers },
|
|
23865
|
+
};
|
|
23866
|
+
}
|
|
23867
|
+
|
|
23868
|
+
constructor(map?: { [key: string]: any }) {
|
|
23869
|
+
super(map);
|
|
23870
|
+
}
|
|
23871
|
+
}
|
|
23872
|
+
|
|
23873
|
+
export class CreateDIAlarmRuleRequestTriggerConditions extends $tea.Model {
|
|
23874
|
+
duration?: number;
|
|
23875
|
+
severity?: string;
|
|
23876
|
+
threshold?: number;
|
|
23877
|
+
static names(): { [key: string]: string } {
|
|
23878
|
+
return {
|
|
23879
|
+
duration: 'Duration',
|
|
23880
|
+
severity: 'Severity',
|
|
23881
|
+
threshold: 'Threshold',
|
|
23882
|
+
};
|
|
23883
|
+
}
|
|
23884
|
+
|
|
23885
|
+
static types(): { [key: string]: any } {
|
|
23886
|
+
return {
|
|
23887
|
+
duration: 'number',
|
|
23888
|
+
severity: 'string',
|
|
23889
|
+
threshold: 'number',
|
|
23890
|
+
};
|
|
23891
|
+
}
|
|
23892
|
+
|
|
23893
|
+
constructor(map?: { [key: string]: any }) {
|
|
23894
|
+
super(map);
|
|
23895
|
+
}
|
|
23896
|
+
}
|
|
23897
|
+
|
|
23898
|
+
export class CreateDIJobRequestDestinationDataSourceSettings extends $tea.Model {
|
|
23899
|
+
dataSourceName?: string;
|
|
23900
|
+
dataSourceProperties?: { [key: string]: string };
|
|
23901
|
+
static names(): { [key: string]: string } {
|
|
23902
|
+
return {
|
|
23903
|
+
dataSourceName: 'DataSourceName',
|
|
23904
|
+
dataSourceProperties: 'DataSourceProperties',
|
|
23905
|
+
};
|
|
23906
|
+
}
|
|
23907
|
+
|
|
23908
|
+
static types(): { [key: string]: any } {
|
|
23909
|
+
return {
|
|
23910
|
+
dataSourceName: 'string',
|
|
23911
|
+
dataSourceProperties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
23912
|
+
};
|
|
23913
|
+
}
|
|
23914
|
+
|
|
23915
|
+
constructor(map?: { [key: string]: any }) {
|
|
23916
|
+
super(map);
|
|
23917
|
+
}
|
|
23918
|
+
}
|
|
23919
|
+
|
|
23920
|
+
export class CreateDIJobRequestJobSettingsColumnDataTypeSettings extends $tea.Model {
|
|
23921
|
+
destinationDataType?: string;
|
|
23922
|
+
sourceDataType?: string;
|
|
23923
|
+
static names(): { [key: string]: string } {
|
|
23924
|
+
return {
|
|
23925
|
+
destinationDataType: 'DestinationDataType',
|
|
23926
|
+
sourceDataType: 'SourceDataType',
|
|
23927
|
+
};
|
|
23928
|
+
}
|
|
23929
|
+
|
|
23930
|
+
static types(): { [key: string]: any } {
|
|
23931
|
+
return {
|
|
23932
|
+
destinationDataType: 'string',
|
|
23933
|
+
sourceDataType: 'string',
|
|
23934
|
+
};
|
|
23935
|
+
}
|
|
23936
|
+
|
|
23937
|
+
constructor(map?: { [key: string]: any }) {
|
|
23938
|
+
super(map);
|
|
23939
|
+
}
|
|
23940
|
+
}
|
|
23941
|
+
|
|
23942
|
+
export class CreateDIJobRequestJobSettingsDdlHandlingSettings extends $tea.Model {
|
|
23943
|
+
action?: string;
|
|
23944
|
+
type?: string;
|
|
23945
|
+
static names(): { [key: string]: string } {
|
|
23946
|
+
return {
|
|
23947
|
+
action: 'Action',
|
|
23948
|
+
type: 'Type',
|
|
23949
|
+
};
|
|
23950
|
+
}
|
|
23951
|
+
|
|
23952
|
+
static types(): { [key: string]: any } {
|
|
23953
|
+
return {
|
|
23954
|
+
action: 'string',
|
|
23955
|
+
type: 'string',
|
|
23956
|
+
};
|
|
23957
|
+
}
|
|
23958
|
+
|
|
23959
|
+
constructor(map?: { [key: string]: any }) {
|
|
23960
|
+
super(map);
|
|
23961
|
+
}
|
|
23962
|
+
}
|
|
23963
|
+
|
|
23964
|
+
export class CreateDIJobRequestJobSettingsRuntimeSettings extends $tea.Model {
|
|
23965
|
+
name?: string;
|
|
23966
|
+
value?: string;
|
|
23967
|
+
static names(): { [key: string]: string } {
|
|
23968
|
+
return {
|
|
23969
|
+
name: 'Name',
|
|
23970
|
+
value: 'Value',
|
|
23971
|
+
};
|
|
23972
|
+
}
|
|
23973
|
+
|
|
23974
|
+
static types(): { [key: string]: any } {
|
|
23975
|
+
return {
|
|
23976
|
+
name: 'string',
|
|
23977
|
+
value: 'string',
|
|
23978
|
+
};
|
|
23979
|
+
}
|
|
23980
|
+
|
|
23981
|
+
constructor(map?: { [key: string]: any }) {
|
|
23982
|
+
super(map);
|
|
23983
|
+
}
|
|
23984
|
+
}
|
|
23985
|
+
|
|
23986
|
+
export class CreateDIJobRequestJobSettings extends $tea.Model {
|
|
23987
|
+
columnDataTypeSettings?: CreateDIJobRequestJobSettingsColumnDataTypeSettings[];
|
|
23988
|
+
ddlHandlingSettings?: CreateDIJobRequestJobSettingsDdlHandlingSettings[];
|
|
23989
|
+
runtimeSettings?: CreateDIJobRequestJobSettingsRuntimeSettings[];
|
|
23990
|
+
static names(): { [key: string]: string } {
|
|
23991
|
+
return {
|
|
23992
|
+
columnDataTypeSettings: 'ColumnDataTypeSettings',
|
|
23993
|
+
ddlHandlingSettings: 'DdlHandlingSettings',
|
|
23994
|
+
runtimeSettings: 'RuntimeSettings',
|
|
23995
|
+
};
|
|
23996
|
+
}
|
|
23997
|
+
|
|
23998
|
+
static types(): { [key: string]: any } {
|
|
23999
|
+
return {
|
|
24000
|
+
columnDataTypeSettings: { 'type': 'array', 'itemType': CreateDIJobRequestJobSettingsColumnDataTypeSettings },
|
|
24001
|
+
ddlHandlingSettings: { 'type': 'array', 'itemType': CreateDIJobRequestJobSettingsDdlHandlingSettings },
|
|
24002
|
+
runtimeSettings: { 'type': 'array', 'itemType': CreateDIJobRequestJobSettingsRuntimeSettings },
|
|
24003
|
+
};
|
|
24004
|
+
}
|
|
24005
|
+
|
|
24006
|
+
constructor(map?: { [key: string]: any }) {
|
|
24007
|
+
super(map);
|
|
24008
|
+
}
|
|
24009
|
+
}
|
|
24010
|
+
|
|
24011
|
+
export class CreateDIJobRequestResourceSettingsOfflineResourceSettings extends $tea.Model {
|
|
24012
|
+
resourceGroupIdentifier?: string;
|
|
24013
|
+
static names(): { [key: string]: string } {
|
|
24014
|
+
return {
|
|
24015
|
+
resourceGroupIdentifier: 'ResourceGroupIdentifier',
|
|
24016
|
+
};
|
|
24017
|
+
}
|
|
24018
|
+
|
|
24019
|
+
static types(): { [key: string]: any } {
|
|
24020
|
+
return {
|
|
24021
|
+
resourceGroupIdentifier: 'string',
|
|
24022
|
+
};
|
|
24023
|
+
}
|
|
24024
|
+
|
|
24025
|
+
constructor(map?: { [key: string]: any }) {
|
|
24026
|
+
super(map);
|
|
24027
|
+
}
|
|
24028
|
+
}
|
|
24029
|
+
|
|
24030
|
+
export class CreateDIJobRequestResourceSettingsRealtimeResourceSettings extends $tea.Model {
|
|
24031
|
+
resourceGroupIdentifier?: string;
|
|
24032
|
+
static names(): { [key: string]: string } {
|
|
24033
|
+
return {
|
|
24034
|
+
resourceGroupIdentifier: 'ResourceGroupIdentifier',
|
|
24035
|
+
};
|
|
24036
|
+
}
|
|
24037
|
+
|
|
24038
|
+
static types(): { [key: string]: any } {
|
|
24039
|
+
return {
|
|
24040
|
+
resourceGroupIdentifier: 'string',
|
|
24041
|
+
};
|
|
24042
|
+
}
|
|
24043
|
+
|
|
24044
|
+
constructor(map?: { [key: string]: any }) {
|
|
24045
|
+
super(map);
|
|
24046
|
+
}
|
|
24047
|
+
}
|
|
24048
|
+
|
|
24049
|
+
export class CreateDIJobRequestResourceSettings extends $tea.Model {
|
|
24050
|
+
offlineResourceSettings?: CreateDIJobRequestResourceSettingsOfflineResourceSettings;
|
|
24051
|
+
realtimeResourceSettings?: CreateDIJobRequestResourceSettingsRealtimeResourceSettings;
|
|
24052
|
+
static names(): { [key: string]: string } {
|
|
24053
|
+
return {
|
|
24054
|
+
offlineResourceSettings: 'OfflineResourceSettings',
|
|
24055
|
+
realtimeResourceSettings: 'RealtimeResourceSettings',
|
|
24056
|
+
};
|
|
24057
|
+
}
|
|
24058
|
+
|
|
24059
|
+
static types(): { [key: string]: any } {
|
|
24060
|
+
return {
|
|
24061
|
+
offlineResourceSettings: CreateDIJobRequestResourceSettingsOfflineResourceSettings,
|
|
24062
|
+
realtimeResourceSettings: CreateDIJobRequestResourceSettingsRealtimeResourceSettings,
|
|
24063
|
+
};
|
|
24064
|
+
}
|
|
24065
|
+
|
|
24066
|
+
constructor(map?: { [key: string]: any }) {
|
|
24067
|
+
super(map);
|
|
24068
|
+
}
|
|
24069
|
+
}
|
|
24070
|
+
|
|
24071
|
+
export class CreateDIJobRequestSourceDataSourceSettings extends $tea.Model {
|
|
24072
|
+
dataSourceName?: string;
|
|
24073
|
+
dataSourceProperties?: { [key: string]: string };
|
|
24074
|
+
static names(): { [key: string]: string } {
|
|
24075
|
+
return {
|
|
24076
|
+
dataSourceName: 'DataSourceName',
|
|
24077
|
+
dataSourceProperties: 'DataSourceProperties',
|
|
24078
|
+
};
|
|
24079
|
+
}
|
|
24080
|
+
|
|
24081
|
+
static types(): { [key: string]: any } {
|
|
24082
|
+
return {
|
|
24083
|
+
dataSourceName: 'string',
|
|
24084
|
+
dataSourceProperties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
24085
|
+
};
|
|
24086
|
+
}
|
|
24087
|
+
|
|
24088
|
+
constructor(map?: { [key: string]: any }) {
|
|
24089
|
+
super(map);
|
|
24090
|
+
}
|
|
24091
|
+
}
|
|
24092
|
+
|
|
24093
|
+
export class CreateDIJobRequestTableMappingsSourceObjectSelectionRules extends $tea.Model {
|
|
24094
|
+
expression?: string;
|
|
24095
|
+
objectType?: string;
|
|
24096
|
+
static names(): { [key: string]: string } {
|
|
24097
|
+
return {
|
|
24098
|
+
expression: 'Expression',
|
|
24099
|
+
objectType: 'ObjectType',
|
|
24100
|
+
};
|
|
24101
|
+
}
|
|
24102
|
+
|
|
24103
|
+
static types(): { [key: string]: any } {
|
|
24104
|
+
return {
|
|
24105
|
+
expression: 'string',
|
|
24106
|
+
objectType: 'string',
|
|
24107
|
+
};
|
|
24108
|
+
}
|
|
24109
|
+
|
|
24110
|
+
constructor(map?: { [key: string]: any }) {
|
|
24111
|
+
super(map);
|
|
24112
|
+
}
|
|
24113
|
+
}
|
|
24114
|
+
|
|
24115
|
+
export class CreateDIJobRequestTableMappingsTransformationRules extends $tea.Model {
|
|
24116
|
+
ruleActionType?: string;
|
|
24117
|
+
ruleName?: string;
|
|
24118
|
+
ruleTargetType?: string;
|
|
24119
|
+
static names(): { [key: string]: string } {
|
|
24120
|
+
return {
|
|
24121
|
+
ruleActionType: 'RuleActionType',
|
|
24122
|
+
ruleName: 'RuleName',
|
|
24123
|
+
ruleTargetType: 'RuleTargetType',
|
|
24124
|
+
};
|
|
24125
|
+
}
|
|
24126
|
+
|
|
24127
|
+
static types(): { [key: string]: any } {
|
|
24128
|
+
return {
|
|
24129
|
+
ruleActionType: 'string',
|
|
24130
|
+
ruleName: 'string',
|
|
24131
|
+
ruleTargetType: 'string',
|
|
24132
|
+
};
|
|
24133
|
+
}
|
|
24134
|
+
|
|
24135
|
+
constructor(map?: { [key: string]: any }) {
|
|
24136
|
+
super(map);
|
|
24137
|
+
}
|
|
24138
|
+
}
|
|
24139
|
+
|
|
24140
|
+
export class CreateDIJobRequestTableMappings extends $tea.Model {
|
|
24141
|
+
sourceObjectSelectionRules?: CreateDIJobRequestTableMappingsSourceObjectSelectionRules[];
|
|
24142
|
+
transformationRules?: CreateDIJobRequestTableMappingsTransformationRules[];
|
|
24143
|
+
static names(): { [key: string]: string } {
|
|
24144
|
+
return {
|
|
24145
|
+
sourceObjectSelectionRules: 'SourceObjectSelectionRules',
|
|
24146
|
+
transformationRules: 'TransformationRules',
|
|
24147
|
+
};
|
|
24148
|
+
}
|
|
24149
|
+
|
|
24150
|
+
static types(): { [key: string]: any } {
|
|
24151
|
+
return {
|
|
24152
|
+
sourceObjectSelectionRules: { 'type': 'array', 'itemType': CreateDIJobRequestTableMappingsSourceObjectSelectionRules },
|
|
24153
|
+
transformationRules: { 'type': 'array', 'itemType': CreateDIJobRequestTableMappingsTransformationRules },
|
|
24154
|
+
};
|
|
24155
|
+
}
|
|
24156
|
+
|
|
24157
|
+
constructor(map?: { [key: string]: any }) {
|
|
24158
|
+
super(map);
|
|
24159
|
+
}
|
|
24160
|
+
}
|
|
24161
|
+
|
|
24162
|
+
export class CreateDIJobRequestTransformationRules extends $tea.Model {
|
|
24163
|
+
ruleActionType?: string;
|
|
24164
|
+
ruleExpression?: string;
|
|
24165
|
+
ruleName?: string;
|
|
24166
|
+
ruleTargetType?: string;
|
|
24167
|
+
static names(): { [key: string]: string } {
|
|
24168
|
+
return {
|
|
24169
|
+
ruleActionType: 'RuleActionType',
|
|
24170
|
+
ruleExpression: 'RuleExpression',
|
|
24171
|
+
ruleName: 'RuleName',
|
|
24172
|
+
ruleTargetType: 'RuleTargetType',
|
|
24173
|
+
};
|
|
24174
|
+
}
|
|
24175
|
+
|
|
24176
|
+
static types(): { [key: string]: any } {
|
|
24177
|
+
return {
|
|
24178
|
+
ruleActionType: 'string',
|
|
24179
|
+
ruleExpression: 'string',
|
|
24180
|
+
ruleName: 'string',
|
|
24181
|
+
ruleTargetType: 'string',
|
|
24182
|
+
};
|
|
24183
|
+
}
|
|
24184
|
+
|
|
24185
|
+
constructor(map?: { [key: string]: any }) {
|
|
24186
|
+
super(map);
|
|
24187
|
+
}
|
|
24188
|
+
}
|
|
24189
|
+
|
|
22737
24190
|
export class CreateDISyncTaskResponseBodyData extends $tea.Model {
|
|
22738
24191
|
fileId?: number;
|
|
22739
24192
|
message?: string;
|
|
@@ -23655,6 +25108,523 @@ export class GetDDLJobStatusResponseBodyData extends $tea.Model {
|
|
|
23655
25108
|
}
|
|
23656
25109
|
}
|
|
23657
25110
|
|
|
25111
|
+
export class GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationChannels extends $tea.Model {
|
|
25112
|
+
channels?: string[];
|
|
25113
|
+
severity?: string;
|
|
25114
|
+
static names(): { [key: string]: string } {
|
|
25115
|
+
return {
|
|
25116
|
+
channels: 'Channels',
|
|
25117
|
+
severity: 'Severity',
|
|
25118
|
+
};
|
|
25119
|
+
}
|
|
25120
|
+
|
|
25121
|
+
static types(): { [key: string]: any } {
|
|
25122
|
+
return {
|
|
25123
|
+
channels: { 'type': 'array', 'itemType': 'string' },
|
|
25124
|
+
severity: 'string',
|
|
25125
|
+
};
|
|
25126
|
+
}
|
|
25127
|
+
|
|
25128
|
+
constructor(map?: { [key: string]: any }) {
|
|
25129
|
+
super(map);
|
|
25130
|
+
}
|
|
25131
|
+
}
|
|
25132
|
+
|
|
25133
|
+
export class GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationReceivers extends $tea.Model {
|
|
25134
|
+
receiverType?: string;
|
|
25135
|
+
receiverValues?: string[];
|
|
25136
|
+
static names(): { [key: string]: string } {
|
|
25137
|
+
return {
|
|
25138
|
+
receiverType: 'ReceiverType',
|
|
25139
|
+
receiverValues: 'ReceiverValues',
|
|
25140
|
+
};
|
|
25141
|
+
}
|
|
25142
|
+
|
|
25143
|
+
static types(): { [key: string]: any } {
|
|
25144
|
+
return {
|
|
25145
|
+
receiverType: 'string',
|
|
25146
|
+
receiverValues: { 'type': 'array', 'itemType': 'string' },
|
|
25147
|
+
};
|
|
25148
|
+
}
|
|
25149
|
+
|
|
25150
|
+
constructor(map?: { [key: string]: any }) {
|
|
25151
|
+
super(map);
|
|
25152
|
+
}
|
|
25153
|
+
}
|
|
25154
|
+
|
|
25155
|
+
export class GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettings extends $tea.Model {
|
|
25156
|
+
inhibitionInterval?: number;
|
|
25157
|
+
notificationChannels?: GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationChannels[];
|
|
25158
|
+
notificationReceivers?: GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationReceivers[];
|
|
25159
|
+
static names(): { [key: string]: string } {
|
|
25160
|
+
return {
|
|
25161
|
+
inhibitionInterval: 'InhibitionInterval',
|
|
25162
|
+
notificationChannels: 'NotificationChannels',
|
|
25163
|
+
notificationReceivers: 'NotificationReceivers',
|
|
25164
|
+
};
|
|
25165
|
+
}
|
|
25166
|
+
|
|
25167
|
+
static types(): { [key: string]: any } {
|
|
25168
|
+
return {
|
|
25169
|
+
inhibitionInterval: 'number',
|
|
25170
|
+
notificationChannels: { 'type': 'array', 'itemType': GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationChannels },
|
|
25171
|
+
notificationReceivers: { 'type': 'array', 'itemType': GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationReceivers },
|
|
25172
|
+
};
|
|
25173
|
+
}
|
|
25174
|
+
|
|
25175
|
+
constructor(map?: { [key: string]: any }) {
|
|
25176
|
+
super(map);
|
|
25177
|
+
}
|
|
25178
|
+
}
|
|
25179
|
+
|
|
25180
|
+
export class GetDIAlarmRuleResponseBodyDIAlarmRuleTriggerConditions extends $tea.Model {
|
|
25181
|
+
duration?: number;
|
|
25182
|
+
severity?: string;
|
|
25183
|
+
threshold?: number;
|
|
25184
|
+
static names(): { [key: string]: string } {
|
|
25185
|
+
return {
|
|
25186
|
+
duration: 'Duration',
|
|
25187
|
+
severity: 'Severity',
|
|
25188
|
+
threshold: 'Threshold',
|
|
25189
|
+
};
|
|
25190
|
+
}
|
|
25191
|
+
|
|
25192
|
+
static types(): { [key: string]: any } {
|
|
25193
|
+
return {
|
|
25194
|
+
duration: 'number',
|
|
25195
|
+
severity: 'string',
|
|
25196
|
+
threshold: 'number',
|
|
25197
|
+
};
|
|
25198
|
+
}
|
|
25199
|
+
|
|
25200
|
+
constructor(map?: { [key: string]: any }) {
|
|
25201
|
+
super(map);
|
|
25202
|
+
}
|
|
25203
|
+
}
|
|
25204
|
+
|
|
25205
|
+
export class GetDIAlarmRuleResponseBodyDIAlarmRule extends $tea.Model {
|
|
25206
|
+
createdTime?: number;
|
|
25207
|
+
createdUid?: string;
|
|
25208
|
+
DIAlarmRuleId?: number;
|
|
25209
|
+
DIJobId?: number;
|
|
25210
|
+
description?: string;
|
|
25211
|
+
enabled?: boolean;
|
|
25212
|
+
metricType?: string;
|
|
25213
|
+
notificationSettings?: GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettings;
|
|
25214
|
+
triggerConditions?: GetDIAlarmRuleResponseBodyDIAlarmRuleTriggerConditions[];
|
|
25215
|
+
updatedTime?: number;
|
|
25216
|
+
updatedUid?: string;
|
|
25217
|
+
static names(): { [key: string]: string } {
|
|
25218
|
+
return {
|
|
25219
|
+
createdTime: 'CreatedTime',
|
|
25220
|
+
createdUid: 'CreatedUid',
|
|
25221
|
+
DIAlarmRuleId: 'DIAlarmRuleId',
|
|
25222
|
+
DIJobId: 'DIJobId',
|
|
25223
|
+
description: 'Description',
|
|
25224
|
+
enabled: 'Enabled',
|
|
25225
|
+
metricType: 'MetricType',
|
|
25226
|
+
notificationSettings: 'NotificationSettings',
|
|
25227
|
+
triggerConditions: 'TriggerConditions',
|
|
25228
|
+
updatedTime: 'UpdatedTime',
|
|
25229
|
+
updatedUid: 'UpdatedUid',
|
|
25230
|
+
};
|
|
25231
|
+
}
|
|
25232
|
+
|
|
25233
|
+
static types(): { [key: string]: any } {
|
|
25234
|
+
return {
|
|
25235
|
+
createdTime: 'number',
|
|
25236
|
+
createdUid: 'string',
|
|
25237
|
+
DIAlarmRuleId: 'number',
|
|
25238
|
+
DIJobId: 'number',
|
|
25239
|
+
description: 'string',
|
|
25240
|
+
enabled: 'boolean',
|
|
25241
|
+
metricType: 'string',
|
|
25242
|
+
notificationSettings: GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettings,
|
|
25243
|
+
triggerConditions: { 'type': 'array', 'itemType': GetDIAlarmRuleResponseBodyDIAlarmRuleTriggerConditions },
|
|
25244
|
+
updatedTime: 'number',
|
|
25245
|
+
updatedUid: 'string',
|
|
25246
|
+
};
|
|
25247
|
+
}
|
|
25248
|
+
|
|
25249
|
+
constructor(map?: { [key: string]: any }) {
|
|
25250
|
+
super(map);
|
|
25251
|
+
}
|
|
25252
|
+
}
|
|
25253
|
+
|
|
25254
|
+
export class GetDIJobResponseBodyDataDestinationDataSourceSettings extends $tea.Model {
|
|
25255
|
+
dataSourceName?: string;
|
|
25256
|
+
dataSourceProperties?: { [key: string]: string };
|
|
25257
|
+
static names(): { [key: string]: string } {
|
|
25258
|
+
return {
|
|
25259
|
+
dataSourceName: 'DataSourceName',
|
|
25260
|
+
dataSourceProperties: 'DataSourceProperties',
|
|
25261
|
+
};
|
|
25262
|
+
}
|
|
25263
|
+
|
|
25264
|
+
static types(): { [key: string]: any } {
|
|
25265
|
+
return {
|
|
25266
|
+
dataSourceName: 'string',
|
|
25267
|
+
dataSourceProperties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
25268
|
+
};
|
|
25269
|
+
}
|
|
25270
|
+
|
|
25271
|
+
constructor(map?: { [key: string]: any }) {
|
|
25272
|
+
super(map);
|
|
25273
|
+
}
|
|
25274
|
+
}
|
|
25275
|
+
|
|
25276
|
+
export class GetDIJobResponseBodyDataJobSettingsColumnDataTypeSettings extends $tea.Model {
|
|
25277
|
+
destinationDataType?: string;
|
|
25278
|
+
sourceDataType?: string;
|
|
25279
|
+
static names(): { [key: string]: string } {
|
|
25280
|
+
return {
|
|
25281
|
+
destinationDataType: 'DestinationDataType',
|
|
25282
|
+
sourceDataType: 'SourceDataType',
|
|
25283
|
+
};
|
|
25284
|
+
}
|
|
25285
|
+
|
|
25286
|
+
static types(): { [key: string]: any } {
|
|
25287
|
+
return {
|
|
25288
|
+
destinationDataType: 'string',
|
|
25289
|
+
sourceDataType: 'string',
|
|
25290
|
+
};
|
|
25291
|
+
}
|
|
25292
|
+
|
|
25293
|
+
constructor(map?: { [key: string]: any }) {
|
|
25294
|
+
super(map);
|
|
25295
|
+
}
|
|
25296
|
+
}
|
|
25297
|
+
|
|
25298
|
+
export class GetDIJobResponseBodyDataJobSettingsDdlHandlingSettings extends $tea.Model {
|
|
25299
|
+
action?: string;
|
|
25300
|
+
type?: string;
|
|
25301
|
+
static names(): { [key: string]: string } {
|
|
25302
|
+
return {
|
|
25303
|
+
action: 'Action',
|
|
25304
|
+
type: 'Type',
|
|
25305
|
+
};
|
|
25306
|
+
}
|
|
25307
|
+
|
|
25308
|
+
static types(): { [key: string]: any } {
|
|
25309
|
+
return {
|
|
25310
|
+
action: 'string',
|
|
25311
|
+
type: 'string',
|
|
25312
|
+
};
|
|
25313
|
+
}
|
|
25314
|
+
|
|
25315
|
+
constructor(map?: { [key: string]: any }) {
|
|
25316
|
+
super(map);
|
|
25317
|
+
}
|
|
25318
|
+
}
|
|
25319
|
+
|
|
25320
|
+
export class GetDIJobResponseBodyDataJobSettingsRuntimeSettings extends $tea.Model {
|
|
25321
|
+
name?: string;
|
|
25322
|
+
value?: string;
|
|
25323
|
+
static names(): { [key: string]: string } {
|
|
25324
|
+
return {
|
|
25325
|
+
name: 'Name',
|
|
25326
|
+
value: 'Value',
|
|
25327
|
+
};
|
|
25328
|
+
}
|
|
25329
|
+
|
|
25330
|
+
static types(): { [key: string]: any } {
|
|
25331
|
+
return {
|
|
25332
|
+
name: 'string',
|
|
25333
|
+
value: 'string',
|
|
25334
|
+
};
|
|
25335
|
+
}
|
|
25336
|
+
|
|
25337
|
+
constructor(map?: { [key: string]: any }) {
|
|
25338
|
+
super(map);
|
|
25339
|
+
}
|
|
25340
|
+
}
|
|
25341
|
+
|
|
25342
|
+
export class GetDIJobResponseBodyDataJobSettings extends $tea.Model {
|
|
25343
|
+
columnDataTypeSettings?: GetDIJobResponseBodyDataJobSettingsColumnDataTypeSettings[];
|
|
25344
|
+
ddlHandlingSettings?: GetDIJobResponseBodyDataJobSettingsDdlHandlingSettings[];
|
|
25345
|
+
runtimeSettings?: GetDIJobResponseBodyDataJobSettingsRuntimeSettings[];
|
|
25346
|
+
static names(): { [key: string]: string } {
|
|
25347
|
+
return {
|
|
25348
|
+
columnDataTypeSettings: 'ColumnDataTypeSettings',
|
|
25349
|
+
ddlHandlingSettings: 'DdlHandlingSettings',
|
|
25350
|
+
runtimeSettings: 'RuntimeSettings',
|
|
25351
|
+
};
|
|
25352
|
+
}
|
|
25353
|
+
|
|
25354
|
+
static types(): { [key: string]: any } {
|
|
25355
|
+
return {
|
|
25356
|
+
columnDataTypeSettings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataJobSettingsColumnDataTypeSettings },
|
|
25357
|
+
ddlHandlingSettings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataJobSettingsDdlHandlingSettings },
|
|
25358
|
+
runtimeSettings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataJobSettingsRuntimeSettings },
|
|
25359
|
+
};
|
|
25360
|
+
}
|
|
25361
|
+
|
|
25362
|
+
constructor(map?: { [key: string]: any }) {
|
|
25363
|
+
super(map);
|
|
25364
|
+
}
|
|
25365
|
+
}
|
|
25366
|
+
|
|
25367
|
+
export class GetDIJobResponseBodyDataResourceSettingsOfflineResourceSettings extends $tea.Model {
|
|
25368
|
+
resourceGroupIdentifier?: string;
|
|
25369
|
+
static names(): { [key: string]: string } {
|
|
25370
|
+
return {
|
|
25371
|
+
resourceGroupIdentifier: 'ResourceGroupIdentifier',
|
|
25372
|
+
};
|
|
25373
|
+
}
|
|
25374
|
+
|
|
25375
|
+
static types(): { [key: string]: any } {
|
|
25376
|
+
return {
|
|
25377
|
+
resourceGroupIdentifier: 'string',
|
|
25378
|
+
};
|
|
25379
|
+
}
|
|
25380
|
+
|
|
25381
|
+
constructor(map?: { [key: string]: any }) {
|
|
25382
|
+
super(map);
|
|
25383
|
+
}
|
|
25384
|
+
}
|
|
25385
|
+
|
|
25386
|
+
export class GetDIJobResponseBodyDataResourceSettingsRealtimeResourceSettings extends $tea.Model {
|
|
25387
|
+
resourceGroupIdentifier?: string;
|
|
25388
|
+
static names(): { [key: string]: string } {
|
|
25389
|
+
return {
|
|
25390
|
+
resourceGroupIdentifier: 'ResourceGroupIdentifier',
|
|
25391
|
+
};
|
|
25392
|
+
}
|
|
25393
|
+
|
|
25394
|
+
static types(): { [key: string]: any } {
|
|
25395
|
+
return {
|
|
25396
|
+
resourceGroupIdentifier: 'string',
|
|
25397
|
+
};
|
|
25398
|
+
}
|
|
25399
|
+
|
|
25400
|
+
constructor(map?: { [key: string]: any }) {
|
|
25401
|
+
super(map);
|
|
25402
|
+
}
|
|
25403
|
+
}
|
|
25404
|
+
|
|
25405
|
+
export class GetDIJobResponseBodyDataResourceSettings extends $tea.Model {
|
|
25406
|
+
offlineResourceSettings?: GetDIJobResponseBodyDataResourceSettingsOfflineResourceSettings;
|
|
25407
|
+
realtimeResourceSettings?: GetDIJobResponseBodyDataResourceSettingsRealtimeResourceSettings;
|
|
25408
|
+
static names(): { [key: string]: string } {
|
|
25409
|
+
return {
|
|
25410
|
+
offlineResourceSettings: 'OfflineResourceSettings',
|
|
25411
|
+
realtimeResourceSettings: 'RealtimeResourceSettings',
|
|
25412
|
+
};
|
|
25413
|
+
}
|
|
25414
|
+
|
|
25415
|
+
static types(): { [key: string]: any } {
|
|
25416
|
+
return {
|
|
25417
|
+
offlineResourceSettings: GetDIJobResponseBodyDataResourceSettingsOfflineResourceSettings,
|
|
25418
|
+
realtimeResourceSettings: GetDIJobResponseBodyDataResourceSettingsRealtimeResourceSettings,
|
|
25419
|
+
};
|
|
25420
|
+
}
|
|
25421
|
+
|
|
25422
|
+
constructor(map?: { [key: string]: any }) {
|
|
25423
|
+
super(map);
|
|
25424
|
+
}
|
|
25425
|
+
}
|
|
25426
|
+
|
|
25427
|
+
export class GetDIJobResponseBodyDataSourceDataSourceSettings extends $tea.Model {
|
|
25428
|
+
dataSourceName?: string;
|
|
25429
|
+
dataSourceProperties?: { [key: string]: string };
|
|
25430
|
+
static names(): { [key: string]: string } {
|
|
25431
|
+
return {
|
|
25432
|
+
dataSourceName: 'DataSourceName',
|
|
25433
|
+
dataSourceProperties: 'DataSourceProperties',
|
|
25434
|
+
};
|
|
25435
|
+
}
|
|
25436
|
+
|
|
25437
|
+
static types(): { [key: string]: any } {
|
|
25438
|
+
return {
|
|
25439
|
+
dataSourceName: 'string',
|
|
25440
|
+
dataSourceProperties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
25441
|
+
};
|
|
25442
|
+
}
|
|
25443
|
+
|
|
25444
|
+
constructor(map?: { [key: string]: any }) {
|
|
25445
|
+
super(map);
|
|
25446
|
+
}
|
|
25447
|
+
}
|
|
25448
|
+
|
|
25449
|
+
export class GetDIJobResponseBodyDataTableMappingsSourceObjectSelectionRules extends $tea.Model {
|
|
25450
|
+
expression?: string;
|
|
25451
|
+
objectType?: string;
|
|
25452
|
+
static names(): { [key: string]: string } {
|
|
25453
|
+
return {
|
|
25454
|
+
expression: 'Expression',
|
|
25455
|
+
objectType: 'ObjectType',
|
|
25456
|
+
};
|
|
25457
|
+
}
|
|
25458
|
+
|
|
25459
|
+
static types(): { [key: string]: any } {
|
|
25460
|
+
return {
|
|
25461
|
+
expression: 'string',
|
|
25462
|
+
objectType: 'string',
|
|
25463
|
+
};
|
|
25464
|
+
}
|
|
25465
|
+
|
|
25466
|
+
constructor(map?: { [key: string]: any }) {
|
|
25467
|
+
super(map);
|
|
25468
|
+
}
|
|
25469
|
+
}
|
|
25470
|
+
|
|
25471
|
+
export class GetDIJobResponseBodyDataTableMappingsTransformationRules extends $tea.Model {
|
|
25472
|
+
ruleActionType?: string;
|
|
25473
|
+
ruleName?: string;
|
|
25474
|
+
ruleTargetType?: string;
|
|
25475
|
+
static names(): { [key: string]: string } {
|
|
25476
|
+
return {
|
|
25477
|
+
ruleActionType: 'RuleActionType',
|
|
25478
|
+
ruleName: 'RuleName',
|
|
25479
|
+
ruleTargetType: 'RuleTargetType',
|
|
25480
|
+
};
|
|
25481
|
+
}
|
|
25482
|
+
|
|
25483
|
+
static types(): { [key: string]: any } {
|
|
25484
|
+
return {
|
|
25485
|
+
ruleActionType: 'string',
|
|
25486
|
+
ruleName: 'string',
|
|
25487
|
+
ruleTargetType: 'string',
|
|
25488
|
+
};
|
|
25489
|
+
}
|
|
25490
|
+
|
|
25491
|
+
constructor(map?: { [key: string]: any }) {
|
|
25492
|
+
super(map);
|
|
25493
|
+
}
|
|
25494
|
+
}
|
|
25495
|
+
|
|
25496
|
+
export class GetDIJobResponseBodyDataTableMappings extends $tea.Model {
|
|
25497
|
+
sourceObjectSelectionRules?: GetDIJobResponseBodyDataTableMappingsSourceObjectSelectionRules[];
|
|
25498
|
+
transformationRules?: GetDIJobResponseBodyDataTableMappingsTransformationRules[];
|
|
25499
|
+
static names(): { [key: string]: string } {
|
|
25500
|
+
return {
|
|
25501
|
+
sourceObjectSelectionRules: 'SourceObjectSelectionRules',
|
|
25502
|
+
transformationRules: 'TransformationRules',
|
|
25503
|
+
};
|
|
25504
|
+
}
|
|
25505
|
+
|
|
25506
|
+
static types(): { [key: string]: any } {
|
|
25507
|
+
return {
|
|
25508
|
+
sourceObjectSelectionRules: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataTableMappingsSourceObjectSelectionRules },
|
|
25509
|
+
transformationRules: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataTableMappingsTransformationRules },
|
|
25510
|
+
};
|
|
25511
|
+
}
|
|
25512
|
+
|
|
25513
|
+
constructor(map?: { [key: string]: any }) {
|
|
25514
|
+
super(map);
|
|
25515
|
+
}
|
|
25516
|
+
}
|
|
25517
|
+
|
|
25518
|
+
export class GetDIJobResponseBodyDataTransformationRules extends $tea.Model {
|
|
25519
|
+
ruleActionType?: string;
|
|
25520
|
+
ruleExpression?: string;
|
|
25521
|
+
ruleName?: string;
|
|
25522
|
+
ruleTargetType?: string;
|
|
25523
|
+
static names(): { [key: string]: string } {
|
|
25524
|
+
return {
|
|
25525
|
+
ruleActionType: 'RuleActionType',
|
|
25526
|
+
ruleExpression: 'RuleExpression',
|
|
25527
|
+
ruleName: 'RuleName',
|
|
25528
|
+
ruleTargetType: 'RuleTargetType',
|
|
25529
|
+
};
|
|
25530
|
+
}
|
|
25531
|
+
|
|
25532
|
+
static types(): { [key: string]: any } {
|
|
25533
|
+
return {
|
|
25534
|
+
ruleActionType: 'string',
|
|
25535
|
+
ruleExpression: 'string',
|
|
25536
|
+
ruleName: 'string',
|
|
25537
|
+
ruleTargetType: 'string',
|
|
25538
|
+
};
|
|
25539
|
+
}
|
|
25540
|
+
|
|
25541
|
+
constructor(map?: { [key: string]: any }) {
|
|
25542
|
+
super(map);
|
|
25543
|
+
}
|
|
25544
|
+
}
|
|
25545
|
+
|
|
25546
|
+
export class GetDIJobResponseBodyData extends $tea.Model {
|
|
25547
|
+
createdTime?: number;
|
|
25548
|
+
createdUid?: string;
|
|
25549
|
+
DIJobId?: number;
|
|
25550
|
+
description?: string;
|
|
25551
|
+
destinationDataSourceSettings?: GetDIJobResponseBodyDataDestinationDataSourceSettings[];
|
|
25552
|
+
destinationDataSourceType?: string;
|
|
25553
|
+
errorMessage?: string;
|
|
25554
|
+
jobName?: string;
|
|
25555
|
+
jobSettings?: GetDIJobResponseBodyDataJobSettings;
|
|
25556
|
+
jobStatus?: string;
|
|
25557
|
+
migrationType?: string;
|
|
25558
|
+
projectId?: number;
|
|
25559
|
+
resourceSettings?: GetDIJobResponseBodyDataResourceSettings;
|
|
25560
|
+
runStats?: { [key: string]: string };
|
|
25561
|
+
sourceDataSourceSettings?: GetDIJobResponseBodyDataSourceDataSourceSettings[];
|
|
25562
|
+
sourceDataSourceType?: string;
|
|
25563
|
+
startedTime?: number;
|
|
25564
|
+
startedUid?: string;
|
|
25565
|
+
tableMappings?: GetDIJobResponseBodyDataTableMappings[];
|
|
25566
|
+
transformationRules?: GetDIJobResponseBodyDataTransformationRules[];
|
|
25567
|
+
updatedTime?: number;
|
|
25568
|
+
updatedUid?: string;
|
|
25569
|
+
static names(): { [key: string]: string } {
|
|
25570
|
+
return {
|
|
25571
|
+
createdTime: 'CreatedTime',
|
|
25572
|
+
createdUid: 'CreatedUid',
|
|
25573
|
+
DIJobId: 'DIJobId',
|
|
25574
|
+
description: 'Description',
|
|
25575
|
+
destinationDataSourceSettings: 'DestinationDataSourceSettings',
|
|
25576
|
+
destinationDataSourceType: 'DestinationDataSourceType',
|
|
25577
|
+
errorMessage: 'ErrorMessage',
|
|
25578
|
+
jobName: 'JobName',
|
|
25579
|
+
jobSettings: 'JobSettings',
|
|
25580
|
+
jobStatus: 'JobStatus',
|
|
25581
|
+
migrationType: 'MigrationType',
|
|
25582
|
+
projectId: 'ProjectId',
|
|
25583
|
+
resourceSettings: 'ResourceSettings',
|
|
25584
|
+
runStats: 'RunStats',
|
|
25585
|
+
sourceDataSourceSettings: 'SourceDataSourceSettings',
|
|
25586
|
+
sourceDataSourceType: 'SourceDataSourceType',
|
|
25587
|
+
startedTime: 'StartedTime',
|
|
25588
|
+
startedUid: 'StartedUid',
|
|
25589
|
+
tableMappings: 'TableMappings',
|
|
25590
|
+
transformationRules: 'TransformationRules',
|
|
25591
|
+
updatedTime: 'UpdatedTime',
|
|
25592
|
+
updatedUid: 'UpdatedUid',
|
|
25593
|
+
};
|
|
25594
|
+
}
|
|
25595
|
+
|
|
25596
|
+
static types(): { [key: string]: any } {
|
|
25597
|
+
return {
|
|
25598
|
+
createdTime: 'number',
|
|
25599
|
+
createdUid: 'string',
|
|
25600
|
+
DIJobId: 'number',
|
|
25601
|
+
description: 'string',
|
|
25602
|
+
destinationDataSourceSettings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataDestinationDataSourceSettings },
|
|
25603
|
+
destinationDataSourceType: 'string',
|
|
25604
|
+
errorMessage: 'string',
|
|
25605
|
+
jobName: 'string',
|
|
25606
|
+
jobSettings: GetDIJobResponseBodyDataJobSettings,
|
|
25607
|
+
jobStatus: 'string',
|
|
25608
|
+
migrationType: 'string',
|
|
25609
|
+
projectId: 'number',
|
|
25610
|
+
resourceSettings: GetDIJobResponseBodyDataResourceSettings,
|
|
25611
|
+
runStats: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
25612
|
+
sourceDataSourceSettings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataSourceDataSourceSettings },
|
|
25613
|
+
sourceDataSourceType: 'string',
|
|
25614
|
+
startedTime: 'number',
|
|
25615
|
+
startedUid: 'string',
|
|
25616
|
+
tableMappings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataTableMappings },
|
|
25617
|
+
transformationRules: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataTransformationRules },
|
|
25618
|
+
updatedTime: 'number',
|
|
25619
|
+
updatedUid: 'string',
|
|
25620
|
+
};
|
|
25621
|
+
}
|
|
25622
|
+
|
|
25623
|
+
constructor(map?: { [key: string]: any }) {
|
|
25624
|
+
super(map);
|
|
25625
|
+
}
|
|
25626
|
+
}
|
|
25627
|
+
|
|
23658
25628
|
export class GetDISyncInstanceInfoResponseBodyDataSolutionInfoStepDetail extends $tea.Model {
|
|
23659
25629
|
info?: string;
|
|
23660
25630
|
status?: string;
|
|
@@ -29397,6 +31367,230 @@ export class ListConnectionsResponseBodyData extends $tea.Model {
|
|
|
29397
31367
|
}
|
|
29398
31368
|
}
|
|
29399
31369
|
|
|
31370
|
+
export class ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationChannels extends $tea.Model {
|
|
31371
|
+
channels?: string[];
|
|
31372
|
+
severity?: string;
|
|
31373
|
+
static names(): { [key: string]: string } {
|
|
31374
|
+
return {
|
|
31375
|
+
channels: 'Channels',
|
|
31376
|
+
severity: 'Severity',
|
|
31377
|
+
};
|
|
31378
|
+
}
|
|
31379
|
+
|
|
31380
|
+
static types(): { [key: string]: any } {
|
|
31381
|
+
return {
|
|
31382
|
+
channels: { 'type': 'array', 'itemType': 'string' },
|
|
31383
|
+
severity: 'string',
|
|
31384
|
+
};
|
|
31385
|
+
}
|
|
31386
|
+
|
|
31387
|
+
constructor(map?: { [key: string]: any }) {
|
|
31388
|
+
super(map);
|
|
31389
|
+
}
|
|
31390
|
+
}
|
|
31391
|
+
|
|
31392
|
+
export class ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationReceivers extends $tea.Model {
|
|
31393
|
+
receiverType?: string;
|
|
31394
|
+
receiverValues?: string[];
|
|
31395
|
+
static names(): { [key: string]: string } {
|
|
31396
|
+
return {
|
|
31397
|
+
receiverType: 'ReceiverType',
|
|
31398
|
+
receiverValues: 'ReceiverValues',
|
|
31399
|
+
};
|
|
31400
|
+
}
|
|
31401
|
+
|
|
31402
|
+
static types(): { [key: string]: any } {
|
|
31403
|
+
return {
|
|
31404
|
+
receiverType: 'string',
|
|
31405
|
+
receiverValues: { 'type': 'array', 'itemType': 'string' },
|
|
31406
|
+
};
|
|
31407
|
+
}
|
|
31408
|
+
|
|
31409
|
+
constructor(map?: { [key: string]: any }) {
|
|
31410
|
+
super(map);
|
|
31411
|
+
}
|
|
31412
|
+
}
|
|
31413
|
+
|
|
31414
|
+
export class ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettings extends $tea.Model {
|
|
31415
|
+
inhibitionInterval?: number;
|
|
31416
|
+
notificationChannels?: ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationChannels[];
|
|
31417
|
+
notificationReceivers?: ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationReceivers[];
|
|
31418
|
+
static names(): { [key: string]: string } {
|
|
31419
|
+
return {
|
|
31420
|
+
inhibitionInterval: 'InhibitionInterval',
|
|
31421
|
+
notificationChannels: 'NotificationChannels',
|
|
31422
|
+
notificationReceivers: 'NotificationReceivers',
|
|
31423
|
+
};
|
|
31424
|
+
}
|
|
31425
|
+
|
|
31426
|
+
static types(): { [key: string]: any } {
|
|
31427
|
+
return {
|
|
31428
|
+
inhibitionInterval: 'number',
|
|
31429
|
+
notificationChannels: { 'type': 'array', 'itemType': ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationChannels },
|
|
31430
|
+
notificationReceivers: { 'type': 'array', 'itemType': ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationReceivers },
|
|
31431
|
+
};
|
|
31432
|
+
}
|
|
31433
|
+
|
|
31434
|
+
constructor(map?: { [key: string]: any }) {
|
|
31435
|
+
super(map);
|
|
31436
|
+
}
|
|
31437
|
+
}
|
|
31438
|
+
|
|
31439
|
+
export class ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesTriggerConditions extends $tea.Model {
|
|
31440
|
+
duration?: number;
|
|
31441
|
+
severity?: string;
|
|
31442
|
+
threshold?: number;
|
|
31443
|
+
static names(): { [key: string]: string } {
|
|
31444
|
+
return {
|
|
31445
|
+
duration: 'Duration',
|
|
31446
|
+
severity: 'Severity',
|
|
31447
|
+
threshold: 'Threshold',
|
|
31448
|
+
};
|
|
31449
|
+
}
|
|
31450
|
+
|
|
31451
|
+
static types(): { [key: string]: any } {
|
|
31452
|
+
return {
|
|
31453
|
+
duration: 'number',
|
|
31454
|
+
severity: 'string',
|
|
31455
|
+
threshold: 'number',
|
|
31456
|
+
};
|
|
31457
|
+
}
|
|
31458
|
+
|
|
31459
|
+
constructor(map?: { [key: string]: any }) {
|
|
31460
|
+
super(map);
|
|
31461
|
+
}
|
|
31462
|
+
}
|
|
31463
|
+
|
|
31464
|
+
export class ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRules extends $tea.Model {
|
|
31465
|
+
DIAlarmRuleId?: number;
|
|
31466
|
+
DIJobId?: number;
|
|
31467
|
+
description?: string;
|
|
31468
|
+
enabled?: boolean;
|
|
31469
|
+
metricType?: string;
|
|
31470
|
+
notificationSettings?: ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettings;
|
|
31471
|
+
triggerConditions?: ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesTriggerConditions[];
|
|
31472
|
+
static names(): { [key: string]: string } {
|
|
31473
|
+
return {
|
|
31474
|
+
DIAlarmRuleId: 'DIAlarmRuleId',
|
|
31475
|
+
DIJobId: 'DIJobId',
|
|
31476
|
+
description: 'Description',
|
|
31477
|
+
enabled: 'Enabled',
|
|
31478
|
+
metricType: 'MetricType',
|
|
31479
|
+
notificationSettings: 'NotificationSettings',
|
|
31480
|
+
triggerConditions: 'TriggerConditions',
|
|
31481
|
+
};
|
|
31482
|
+
}
|
|
31483
|
+
|
|
31484
|
+
static types(): { [key: string]: any } {
|
|
31485
|
+
return {
|
|
31486
|
+
DIAlarmRuleId: 'number',
|
|
31487
|
+
DIJobId: 'number',
|
|
31488
|
+
description: 'string',
|
|
31489
|
+
enabled: 'boolean',
|
|
31490
|
+
metricType: 'string',
|
|
31491
|
+
notificationSettings: ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettings,
|
|
31492
|
+
triggerConditions: { 'type': 'array', 'itemType': ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesTriggerConditions },
|
|
31493
|
+
};
|
|
31494
|
+
}
|
|
31495
|
+
|
|
31496
|
+
constructor(map?: { [key: string]: any }) {
|
|
31497
|
+
super(map);
|
|
31498
|
+
}
|
|
31499
|
+
}
|
|
31500
|
+
|
|
31501
|
+
export class ListDIAlarmRulesResponseBodyDIAlarmRulePaging extends $tea.Model {
|
|
31502
|
+
DIJobAlarmRules?: ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRules[];
|
|
31503
|
+
pageNumber?: number;
|
|
31504
|
+
pageSize?: number;
|
|
31505
|
+
totalCount?: number;
|
|
31506
|
+
static names(): { [key: string]: string } {
|
|
31507
|
+
return {
|
|
31508
|
+
DIJobAlarmRules: 'DIJobAlarmRules',
|
|
31509
|
+
pageNumber: 'PageNumber',
|
|
31510
|
+
pageSize: 'PageSize',
|
|
31511
|
+
totalCount: 'TotalCount',
|
|
31512
|
+
};
|
|
31513
|
+
}
|
|
31514
|
+
|
|
31515
|
+
static types(): { [key: string]: any } {
|
|
31516
|
+
return {
|
|
31517
|
+
DIJobAlarmRules: { 'type': 'array', 'itemType': ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRules },
|
|
31518
|
+
pageNumber: 'number',
|
|
31519
|
+
pageSize: 'number',
|
|
31520
|
+
totalCount: 'number',
|
|
31521
|
+
};
|
|
31522
|
+
}
|
|
31523
|
+
|
|
31524
|
+
constructor(map?: { [key: string]: any }) {
|
|
31525
|
+
super(map);
|
|
31526
|
+
}
|
|
31527
|
+
}
|
|
31528
|
+
|
|
31529
|
+
export class ListDIJobsResponseBodyDIJobPagingDIJobs extends $tea.Model {
|
|
31530
|
+
DIJobId?: number;
|
|
31531
|
+
destinationDataSourceType?: string;
|
|
31532
|
+
jobName?: string;
|
|
31533
|
+
jobStatus?: string;
|
|
31534
|
+
migrationType?: string;
|
|
31535
|
+
projectId?: number;
|
|
31536
|
+
sourceDataSourceType?: string;
|
|
31537
|
+
static names(): { [key: string]: string } {
|
|
31538
|
+
return {
|
|
31539
|
+
DIJobId: 'DIJobId',
|
|
31540
|
+
destinationDataSourceType: 'DestinationDataSourceType',
|
|
31541
|
+
jobName: 'JobName',
|
|
31542
|
+
jobStatus: 'JobStatus',
|
|
31543
|
+
migrationType: 'MigrationType',
|
|
31544
|
+
projectId: 'ProjectId',
|
|
31545
|
+
sourceDataSourceType: 'SourceDataSourceType',
|
|
31546
|
+
};
|
|
31547
|
+
}
|
|
31548
|
+
|
|
31549
|
+
static types(): { [key: string]: any } {
|
|
31550
|
+
return {
|
|
31551
|
+
DIJobId: 'number',
|
|
31552
|
+
destinationDataSourceType: 'string',
|
|
31553
|
+
jobName: 'string',
|
|
31554
|
+
jobStatus: 'string',
|
|
31555
|
+
migrationType: 'string',
|
|
31556
|
+
projectId: 'number',
|
|
31557
|
+
sourceDataSourceType: 'string',
|
|
31558
|
+
};
|
|
31559
|
+
}
|
|
31560
|
+
|
|
31561
|
+
constructor(map?: { [key: string]: any }) {
|
|
31562
|
+
super(map);
|
|
31563
|
+
}
|
|
31564
|
+
}
|
|
31565
|
+
|
|
31566
|
+
export class ListDIJobsResponseBodyDIJobPaging extends $tea.Model {
|
|
31567
|
+
DIJobs?: ListDIJobsResponseBodyDIJobPagingDIJobs[];
|
|
31568
|
+
pageNumber?: number;
|
|
31569
|
+
pageSize?: number;
|
|
31570
|
+
totalCount?: number;
|
|
31571
|
+
static names(): { [key: string]: string } {
|
|
31572
|
+
return {
|
|
31573
|
+
DIJobs: 'DIJobs',
|
|
31574
|
+
pageNumber: 'PageNumber',
|
|
31575
|
+
pageSize: 'PageSize',
|
|
31576
|
+
totalCount: 'TotalCount',
|
|
31577
|
+
};
|
|
31578
|
+
}
|
|
31579
|
+
|
|
31580
|
+
static types(): { [key: string]: any } {
|
|
31581
|
+
return {
|
|
31582
|
+
DIJobs: { 'type': 'array', 'itemType': ListDIJobsResponseBodyDIJobPagingDIJobs },
|
|
31583
|
+
pageNumber: 'number',
|
|
31584
|
+
pageSize: 'number',
|
|
31585
|
+
totalCount: 'number',
|
|
31586
|
+
};
|
|
31587
|
+
}
|
|
31588
|
+
|
|
31589
|
+
constructor(map?: { [key: string]: any }) {
|
|
31590
|
+
super(map);
|
|
31591
|
+
}
|
|
31592
|
+
}
|
|
31593
|
+
|
|
29400
31594
|
export class ListDIProjectConfigResponseBodyData extends $tea.Model {
|
|
29401
31595
|
config?: string;
|
|
29402
31596
|
static names(): { [key: string]: string } {
|
|
@@ -34195,6 +36389,50 @@ export class SetDataSourceShareResponseBodyData extends $tea.Model {
|
|
|
34195
36389
|
}
|
|
34196
36390
|
}
|
|
34197
36391
|
|
|
36392
|
+
export class StartDIJobRequestRealtimeStartSettingsFailoverSettings extends $tea.Model {
|
|
36393
|
+
interval?: number;
|
|
36394
|
+
upperLimit?: number;
|
|
36395
|
+
static names(): { [key: string]: string } {
|
|
36396
|
+
return {
|
|
36397
|
+
interval: 'Interval',
|
|
36398
|
+
upperLimit: 'UpperLimit',
|
|
36399
|
+
};
|
|
36400
|
+
}
|
|
36401
|
+
|
|
36402
|
+
static types(): { [key: string]: any } {
|
|
36403
|
+
return {
|
|
36404
|
+
interval: 'number',
|
|
36405
|
+
upperLimit: 'number',
|
|
36406
|
+
};
|
|
36407
|
+
}
|
|
36408
|
+
|
|
36409
|
+
constructor(map?: { [key: string]: any }) {
|
|
36410
|
+
super(map);
|
|
36411
|
+
}
|
|
36412
|
+
}
|
|
36413
|
+
|
|
36414
|
+
export class StartDIJobRequestRealtimeStartSettings extends $tea.Model {
|
|
36415
|
+
failoverSettings?: StartDIJobRequestRealtimeStartSettingsFailoverSettings;
|
|
36416
|
+
startTime?: number;
|
|
36417
|
+
static names(): { [key: string]: string } {
|
|
36418
|
+
return {
|
|
36419
|
+
failoverSettings: 'FailoverSettings',
|
|
36420
|
+
startTime: 'StartTime',
|
|
36421
|
+
};
|
|
36422
|
+
}
|
|
36423
|
+
|
|
36424
|
+
static types(): { [key: string]: any } {
|
|
36425
|
+
return {
|
|
36426
|
+
failoverSettings: StartDIJobRequestRealtimeStartSettingsFailoverSettings,
|
|
36427
|
+
startTime: 'number',
|
|
36428
|
+
};
|
|
36429
|
+
}
|
|
36430
|
+
|
|
36431
|
+
constructor(map?: { [key: string]: any }) {
|
|
36432
|
+
super(map);
|
|
36433
|
+
}
|
|
36434
|
+
}
|
|
36435
|
+
|
|
34198
36436
|
export class StartDISyncInstanceResponseBodyData extends $tea.Model {
|
|
34199
36437
|
message?: string;
|
|
34200
36438
|
status?: string;
|
|
@@ -34601,6 +36839,348 @@ export class UpdateBaselineRequestOvertimeSettings extends $tea.Model {
|
|
|
34601
36839
|
}
|
|
34602
36840
|
}
|
|
34603
36841
|
|
|
36842
|
+
export class UpdateDIAlarmRuleRequestNotificationSettingsNotificationChannels extends $tea.Model {
|
|
36843
|
+
channels?: string[];
|
|
36844
|
+
severity?: string;
|
|
36845
|
+
static names(): { [key: string]: string } {
|
|
36846
|
+
return {
|
|
36847
|
+
channels: 'Channels',
|
|
36848
|
+
severity: 'Severity',
|
|
36849
|
+
};
|
|
36850
|
+
}
|
|
36851
|
+
|
|
36852
|
+
static types(): { [key: string]: any } {
|
|
36853
|
+
return {
|
|
36854
|
+
channels: { 'type': 'array', 'itemType': 'string' },
|
|
36855
|
+
severity: 'string',
|
|
36856
|
+
};
|
|
36857
|
+
}
|
|
36858
|
+
|
|
36859
|
+
constructor(map?: { [key: string]: any }) {
|
|
36860
|
+
super(map);
|
|
36861
|
+
}
|
|
36862
|
+
}
|
|
36863
|
+
|
|
36864
|
+
export class UpdateDIAlarmRuleRequestNotificationSettingsNotificationReceivers extends $tea.Model {
|
|
36865
|
+
receiverType?: string;
|
|
36866
|
+
receiverValues?: string[];
|
|
36867
|
+
static names(): { [key: string]: string } {
|
|
36868
|
+
return {
|
|
36869
|
+
receiverType: 'ReceiverType',
|
|
36870
|
+
receiverValues: 'ReceiverValues',
|
|
36871
|
+
};
|
|
36872
|
+
}
|
|
36873
|
+
|
|
36874
|
+
static types(): { [key: string]: any } {
|
|
36875
|
+
return {
|
|
36876
|
+
receiverType: 'string',
|
|
36877
|
+
receiverValues: { 'type': 'array', 'itemType': 'string' },
|
|
36878
|
+
};
|
|
36879
|
+
}
|
|
36880
|
+
|
|
36881
|
+
constructor(map?: { [key: string]: any }) {
|
|
36882
|
+
super(map);
|
|
36883
|
+
}
|
|
36884
|
+
}
|
|
36885
|
+
|
|
36886
|
+
export class UpdateDIAlarmRuleRequestNotificationSettings extends $tea.Model {
|
|
36887
|
+
inhibitionInterval?: number;
|
|
36888
|
+
notificationChannels?: UpdateDIAlarmRuleRequestNotificationSettingsNotificationChannels[];
|
|
36889
|
+
notificationReceivers?: UpdateDIAlarmRuleRequestNotificationSettingsNotificationReceivers[];
|
|
36890
|
+
static names(): { [key: string]: string } {
|
|
36891
|
+
return {
|
|
36892
|
+
inhibitionInterval: 'InhibitionInterval',
|
|
36893
|
+
notificationChannels: 'NotificationChannels',
|
|
36894
|
+
notificationReceivers: 'NotificationReceivers',
|
|
36895
|
+
};
|
|
36896
|
+
}
|
|
36897
|
+
|
|
36898
|
+
static types(): { [key: string]: any } {
|
|
36899
|
+
return {
|
|
36900
|
+
inhibitionInterval: 'number',
|
|
36901
|
+
notificationChannels: { 'type': 'array', 'itemType': UpdateDIAlarmRuleRequestNotificationSettingsNotificationChannels },
|
|
36902
|
+
notificationReceivers: { 'type': 'array', 'itemType': UpdateDIAlarmRuleRequestNotificationSettingsNotificationReceivers },
|
|
36903
|
+
};
|
|
36904
|
+
}
|
|
36905
|
+
|
|
36906
|
+
constructor(map?: { [key: string]: any }) {
|
|
36907
|
+
super(map);
|
|
36908
|
+
}
|
|
36909
|
+
}
|
|
36910
|
+
|
|
36911
|
+
export class UpdateDIAlarmRuleRequestTriggerConditions extends $tea.Model {
|
|
36912
|
+
duration?: number;
|
|
36913
|
+
severity?: string;
|
|
36914
|
+
threshold?: number;
|
|
36915
|
+
static names(): { [key: string]: string } {
|
|
36916
|
+
return {
|
|
36917
|
+
duration: 'Duration',
|
|
36918
|
+
severity: 'Severity',
|
|
36919
|
+
threshold: 'Threshold',
|
|
36920
|
+
};
|
|
36921
|
+
}
|
|
36922
|
+
|
|
36923
|
+
static types(): { [key: string]: any } {
|
|
36924
|
+
return {
|
|
36925
|
+
duration: 'number',
|
|
36926
|
+
severity: 'string',
|
|
36927
|
+
threshold: 'number',
|
|
36928
|
+
};
|
|
36929
|
+
}
|
|
36930
|
+
|
|
36931
|
+
constructor(map?: { [key: string]: any }) {
|
|
36932
|
+
super(map);
|
|
36933
|
+
}
|
|
36934
|
+
}
|
|
36935
|
+
|
|
36936
|
+
export class UpdateDIJobRequestJobSettingsColumnDataTypeSettings extends $tea.Model {
|
|
36937
|
+
destinationDataType?: string;
|
|
36938
|
+
sourceDataType?: string;
|
|
36939
|
+
static names(): { [key: string]: string } {
|
|
36940
|
+
return {
|
|
36941
|
+
destinationDataType: 'DestinationDataType',
|
|
36942
|
+
sourceDataType: 'SourceDataType',
|
|
36943
|
+
};
|
|
36944
|
+
}
|
|
36945
|
+
|
|
36946
|
+
static types(): { [key: string]: any } {
|
|
36947
|
+
return {
|
|
36948
|
+
destinationDataType: 'string',
|
|
36949
|
+
sourceDataType: 'string',
|
|
36950
|
+
};
|
|
36951
|
+
}
|
|
36952
|
+
|
|
36953
|
+
constructor(map?: { [key: string]: any }) {
|
|
36954
|
+
super(map);
|
|
36955
|
+
}
|
|
36956
|
+
}
|
|
36957
|
+
|
|
36958
|
+
export class UpdateDIJobRequestJobSettingsDdlHandlingSettings extends $tea.Model {
|
|
36959
|
+
action?: string;
|
|
36960
|
+
type?: string;
|
|
36961
|
+
static names(): { [key: string]: string } {
|
|
36962
|
+
return {
|
|
36963
|
+
action: 'Action',
|
|
36964
|
+
type: 'Type',
|
|
36965
|
+
};
|
|
36966
|
+
}
|
|
36967
|
+
|
|
36968
|
+
static types(): { [key: string]: any } {
|
|
36969
|
+
return {
|
|
36970
|
+
action: 'string',
|
|
36971
|
+
type: 'string',
|
|
36972
|
+
};
|
|
36973
|
+
}
|
|
36974
|
+
|
|
36975
|
+
constructor(map?: { [key: string]: any }) {
|
|
36976
|
+
super(map);
|
|
36977
|
+
}
|
|
36978
|
+
}
|
|
36979
|
+
|
|
36980
|
+
export class UpdateDIJobRequestJobSettingsRuntimeSettings extends $tea.Model {
|
|
36981
|
+
name?: string;
|
|
36982
|
+
value?: string;
|
|
36983
|
+
static names(): { [key: string]: string } {
|
|
36984
|
+
return {
|
|
36985
|
+
name: 'Name',
|
|
36986
|
+
value: 'Value',
|
|
36987
|
+
};
|
|
36988
|
+
}
|
|
36989
|
+
|
|
36990
|
+
static types(): { [key: string]: any } {
|
|
36991
|
+
return {
|
|
36992
|
+
name: 'string',
|
|
36993
|
+
value: 'string',
|
|
36994
|
+
};
|
|
36995
|
+
}
|
|
36996
|
+
|
|
36997
|
+
constructor(map?: { [key: string]: any }) {
|
|
36998
|
+
super(map);
|
|
36999
|
+
}
|
|
37000
|
+
}
|
|
37001
|
+
|
|
37002
|
+
export class UpdateDIJobRequestJobSettings extends $tea.Model {
|
|
37003
|
+
columnDataTypeSettings?: UpdateDIJobRequestJobSettingsColumnDataTypeSettings[];
|
|
37004
|
+
ddlHandlingSettings?: UpdateDIJobRequestJobSettingsDdlHandlingSettings[];
|
|
37005
|
+
runtimeSettings?: UpdateDIJobRequestJobSettingsRuntimeSettings[];
|
|
37006
|
+
static names(): { [key: string]: string } {
|
|
37007
|
+
return {
|
|
37008
|
+
columnDataTypeSettings: 'ColumnDataTypeSettings',
|
|
37009
|
+
ddlHandlingSettings: 'DdlHandlingSettings',
|
|
37010
|
+
runtimeSettings: 'RuntimeSettings',
|
|
37011
|
+
};
|
|
37012
|
+
}
|
|
37013
|
+
|
|
37014
|
+
static types(): { [key: string]: any } {
|
|
37015
|
+
return {
|
|
37016
|
+
columnDataTypeSettings: { 'type': 'array', 'itemType': UpdateDIJobRequestJobSettingsColumnDataTypeSettings },
|
|
37017
|
+
ddlHandlingSettings: { 'type': 'array', 'itemType': UpdateDIJobRequestJobSettingsDdlHandlingSettings },
|
|
37018
|
+
runtimeSettings: { 'type': 'array', 'itemType': UpdateDIJobRequestJobSettingsRuntimeSettings },
|
|
37019
|
+
};
|
|
37020
|
+
}
|
|
37021
|
+
|
|
37022
|
+
constructor(map?: { [key: string]: any }) {
|
|
37023
|
+
super(map);
|
|
37024
|
+
}
|
|
37025
|
+
}
|
|
37026
|
+
|
|
37027
|
+
export class UpdateDIJobRequestResourceSettingsOfflineResourceSettings extends $tea.Model {
|
|
37028
|
+
resourceGroupIdentifier?: string;
|
|
37029
|
+
static names(): { [key: string]: string } {
|
|
37030
|
+
return {
|
|
37031
|
+
resourceGroupIdentifier: 'ResourceGroupIdentifier',
|
|
37032
|
+
};
|
|
37033
|
+
}
|
|
37034
|
+
|
|
37035
|
+
static types(): { [key: string]: any } {
|
|
37036
|
+
return {
|
|
37037
|
+
resourceGroupIdentifier: 'string',
|
|
37038
|
+
};
|
|
37039
|
+
}
|
|
37040
|
+
|
|
37041
|
+
constructor(map?: { [key: string]: any }) {
|
|
37042
|
+
super(map);
|
|
37043
|
+
}
|
|
37044
|
+
}
|
|
37045
|
+
|
|
37046
|
+
export class UpdateDIJobRequestResourceSettingsRealtimeResourceSettings extends $tea.Model {
|
|
37047
|
+
resourceGroupIdentifier?: string;
|
|
37048
|
+
static names(): { [key: string]: string } {
|
|
37049
|
+
return {
|
|
37050
|
+
resourceGroupIdentifier: 'ResourceGroupIdentifier',
|
|
37051
|
+
};
|
|
37052
|
+
}
|
|
37053
|
+
|
|
37054
|
+
static types(): { [key: string]: any } {
|
|
37055
|
+
return {
|
|
37056
|
+
resourceGroupIdentifier: 'string',
|
|
37057
|
+
};
|
|
37058
|
+
}
|
|
37059
|
+
|
|
37060
|
+
constructor(map?: { [key: string]: any }) {
|
|
37061
|
+
super(map);
|
|
37062
|
+
}
|
|
37063
|
+
}
|
|
37064
|
+
|
|
37065
|
+
export class UpdateDIJobRequestResourceSettings extends $tea.Model {
|
|
37066
|
+
offlineResourceSettings?: UpdateDIJobRequestResourceSettingsOfflineResourceSettings;
|
|
37067
|
+
realtimeResourceSettings?: UpdateDIJobRequestResourceSettingsRealtimeResourceSettings;
|
|
37068
|
+
static names(): { [key: string]: string } {
|
|
37069
|
+
return {
|
|
37070
|
+
offlineResourceSettings: 'OfflineResourceSettings',
|
|
37071
|
+
realtimeResourceSettings: 'RealtimeResourceSettings',
|
|
37072
|
+
};
|
|
37073
|
+
}
|
|
37074
|
+
|
|
37075
|
+
static types(): { [key: string]: any } {
|
|
37076
|
+
return {
|
|
37077
|
+
offlineResourceSettings: UpdateDIJobRequestResourceSettingsOfflineResourceSettings,
|
|
37078
|
+
realtimeResourceSettings: UpdateDIJobRequestResourceSettingsRealtimeResourceSettings,
|
|
37079
|
+
};
|
|
37080
|
+
}
|
|
37081
|
+
|
|
37082
|
+
constructor(map?: { [key: string]: any }) {
|
|
37083
|
+
super(map);
|
|
37084
|
+
}
|
|
37085
|
+
}
|
|
37086
|
+
|
|
37087
|
+
export class UpdateDIJobRequestTableMappingsSourceObjectSelectionRules extends $tea.Model {
|
|
37088
|
+
expression?: string;
|
|
37089
|
+
objectType?: string;
|
|
37090
|
+
static names(): { [key: string]: string } {
|
|
37091
|
+
return {
|
|
37092
|
+
expression: 'Expression',
|
|
37093
|
+
objectType: 'ObjectType',
|
|
37094
|
+
};
|
|
37095
|
+
}
|
|
37096
|
+
|
|
37097
|
+
static types(): { [key: string]: any } {
|
|
37098
|
+
return {
|
|
37099
|
+
expression: 'string',
|
|
37100
|
+
objectType: 'string',
|
|
37101
|
+
};
|
|
37102
|
+
}
|
|
37103
|
+
|
|
37104
|
+
constructor(map?: { [key: string]: any }) {
|
|
37105
|
+
super(map);
|
|
37106
|
+
}
|
|
37107
|
+
}
|
|
37108
|
+
|
|
37109
|
+
export class UpdateDIJobRequestTableMappingsTransformationRules extends $tea.Model {
|
|
37110
|
+
ruleActionType?: string;
|
|
37111
|
+
ruleName?: string;
|
|
37112
|
+
ruleTargetType?: string;
|
|
37113
|
+
static names(): { [key: string]: string } {
|
|
37114
|
+
return {
|
|
37115
|
+
ruleActionType: 'RuleActionType',
|
|
37116
|
+
ruleName: 'RuleName',
|
|
37117
|
+
ruleTargetType: 'RuleTargetType',
|
|
37118
|
+
};
|
|
37119
|
+
}
|
|
37120
|
+
|
|
37121
|
+
static types(): { [key: string]: any } {
|
|
37122
|
+
return {
|
|
37123
|
+
ruleActionType: 'string',
|
|
37124
|
+
ruleName: 'string',
|
|
37125
|
+
ruleTargetType: 'string',
|
|
37126
|
+
};
|
|
37127
|
+
}
|
|
37128
|
+
|
|
37129
|
+
constructor(map?: { [key: string]: any }) {
|
|
37130
|
+
super(map);
|
|
37131
|
+
}
|
|
37132
|
+
}
|
|
37133
|
+
|
|
37134
|
+
export class UpdateDIJobRequestTableMappings extends $tea.Model {
|
|
37135
|
+
sourceObjectSelectionRules?: UpdateDIJobRequestTableMappingsSourceObjectSelectionRules[];
|
|
37136
|
+
transformationRules?: UpdateDIJobRequestTableMappingsTransformationRules[];
|
|
37137
|
+
static names(): { [key: string]: string } {
|
|
37138
|
+
return {
|
|
37139
|
+
sourceObjectSelectionRules: 'SourceObjectSelectionRules',
|
|
37140
|
+
transformationRules: 'TransformationRules',
|
|
37141
|
+
};
|
|
37142
|
+
}
|
|
37143
|
+
|
|
37144
|
+
static types(): { [key: string]: any } {
|
|
37145
|
+
return {
|
|
37146
|
+
sourceObjectSelectionRules: { 'type': 'array', 'itemType': UpdateDIJobRequestTableMappingsSourceObjectSelectionRules },
|
|
37147
|
+
transformationRules: { 'type': 'array', 'itemType': UpdateDIJobRequestTableMappingsTransformationRules },
|
|
37148
|
+
};
|
|
37149
|
+
}
|
|
37150
|
+
|
|
37151
|
+
constructor(map?: { [key: string]: any }) {
|
|
37152
|
+
super(map);
|
|
37153
|
+
}
|
|
37154
|
+
}
|
|
37155
|
+
|
|
37156
|
+
export class UpdateDIJobRequestTransformationRules extends $tea.Model {
|
|
37157
|
+
ruleActionType?: string;
|
|
37158
|
+
ruleExpression?: string;
|
|
37159
|
+
ruleName?: string;
|
|
37160
|
+
ruleTargetType?: string;
|
|
37161
|
+
static names(): { [key: string]: string } {
|
|
37162
|
+
return {
|
|
37163
|
+
ruleActionType: 'RuleActionType',
|
|
37164
|
+
ruleExpression: 'RuleExpression',
|
|
37165
|
+
ruleName: 'RuleName',
|
|
37166
|
+
ruleTargetType: 'RuleTargetType',
|
|
37167
|
+
};
|
|
37168
|
+
}
|
|
37169
|
+
|
|
37170
|
+
static types(): { [key: string]: any } {
|
|
37171
|
+
return {
|
|
37172
|
+
ruleActionType: 'string',
|
|
37173
|
+
ruleExpression: 'string',
|
|
37174
|
+
ruleName: 'string',
|
|
37175
|
+
ruleTargetType: 'string',
|
|
37176
|
+
};
|
|
37177
|
+
}
|
|
37178
|
+
|
|
37179
|
+
constructor(map?: { [key: string]: any }) {
|
|
37180
|
+
super(map);
|
|
37181
|
+
}
|
|
37182
|
+
}
|
|
37183
|
+
|
|
34604
37184
|
export class UpdateDIProjectConfigResponseBodyData extends $tea.Model {
|
|
34605
37185
|
status?: string;
|
|
34606
37186
|
static names(): { [key: string]: string } {
|
|
@@ -35415,6 +37995,170 @@ export default class Client extends OpenApi {
|
|
|
35415
37995
|
return await this.createConnectionWithOptions(request, runtime);
|
|
35416
37996
|
}
|
|
35417
37997
|
|
|
37998
|
+
async createDIAlarmRuleWithOptions(tmpReq: CreateDIAlarmRuleRequest, runtime: $Util.RuntimeOptions): Promise<CreateDIAlarmRuleResponse> {
|
|
37999
|
+
Util.validateModel(tmpReq);
|
|
38000
|
+
let request = new CreateDIAlarmRuleShrinkRequest({ });
|
|
38001
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
38002
|
+
if (!Util.isUnset(tmpReq.notificationSettings)) {
|
|
38003
|
+
request.notificationSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.notificationSettings, "NotificationSettings", "json");
|
|
38004
|
+
}
|
|
38005
|
+
|
|
38006
|
+
if (!Util.isUnset(tmpReq.triggerConditions)) {
|
|
38007
|
+
request.triggerConditionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.triggerConditions, "TriggerConditions", "json");
|
|
38008
|
+
}
|
|
38009
|
+
|
|
38010
|
+
let body : {[key: string ]: any} = { };
|
|
38011
|
+
if (!Util.isUnset(request.DIJobId)) {
|
|
38012
|
+
body["DIJobId"] = request.DIJobId;
|
|
38013
|
+
}
|
|
38014
|
+
|
|
38015
|
+
if (!Util.isUnset(request.description)) {
|
|
38016
|
+
body["Description"] = request.description;
|
|
38017
|
+
}
|
|
38018
|
+
|
|
38019
|
+
if (!Util.isUnset(request.enabled)) {
|
|
38020
|
+
body["Enabled"] = request.enabled;
|
|
38021
|
+
}
|
|
38022
|
+
|
|
38023
|
+
if (!Util.isUnset(request.metricType)) {
|
|
38024
|
+
body["MetricType"] = request.metricType;
|
|
38025
|
+
}
|
|
38026
|
+
|
|
38027
|
+
if (!Util.isUnset(request.notificationSettingsShrink)) {
|
|
38028
|
+
body["NotificationSettings"] = request.notificationSettingsShrink;
|
|
38029
|
+
}
|
|
38030
|
+
|
|
38031
|
+
if (!Util.isUnset(request.triggerConditionsShrink)) {
|
|
38032
|
+
body["TriggerConditions"] = request.triggerConditionsShrink;
|
|
38033
|
+
}
|
|
38034
|
+
|
|
38035
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38036
|
+
body: OpenApiUtil.parseToMap(body),
|
|
38037
|
+
});
|
|
38038
|
+
let params = new $OpenApi.Params({
|
|
38039
|
+
action: "CreateDIAlarmRule",
|
|
38040
|
+
version: "2020-05-18",
|
|
38041
|
+
protocol: "HTTPS",
|
|
38042
|
+
pathname: "/",
|
|
38043
|
+
method: "POST",
|
|
38044
|
+
authType: "AK",
|
|
38045
|
+
style: "RPC",
|
|
38046
|
+
reqBodyType: "formData",
|
|
38047
|
+
bodyType: "json",
|
|
38048
|
+
});
|
|
38049
|
+
return $tea.cast<CreateDIAlarmRuleResponse>(await this.callApi(params, req, runtime), new CreateDIAlarmRuleResponse({}));
|
|
38050
|
+
}
|
|
38051
|
+
|
|
38052
|
+
async createDIAlarmRule(request: CreateDIAlarmRuleRequest): Promise<CreateDIAlarmRuleResponse> {
|
|
38053
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
38054
|
+
return await this.createDIAlarmRuleWithOptions(request, runtime);
|
|
38055
|
+
}
|
|
38056
|
+
|
|
38057
|
+
async createDIJobWithOptions(tmpReq: CreateDIJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateDIJobResponse> {
|
|
38058
|
+
Util.validateModel(tmpReq);
|
|
38059
|
+
let request = new CreateDIJobShrinkRequest({ });
|
|
38060
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
38061
|
+
if (!Util.isUnset(tmpReq.destinationDataSourceSettings)) {
|
|
38062
|
+
request.destinationDataSourceSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.destinationDataSourceSettings, "DestinationDataSourceSettings", "json");
|
|
38063
|
+
}
|
|
38064
|
+
|
|
38065
|
+
if (!Util.isUnset(tmpReq.jobSettings)) {
|
|
38066
|
+
request.jobSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.jobSettings, "JobSettings", "json");
|
|
38067
|
+
}
|
|
38068
|
+
|
|
38069
|
+
if (!Util.isUnset(tmpReq.resourceSettings)) {
|
|
38070
|
+
request.resourceSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceSettings, "ResourceSettings", "json");
|
|
38071
|
+
}
|
|
38072
|
+
|
|
38073
|
+
if (!Util.isUnset(tmpReq.sourceDataSourceSettings)) {
|
|
38074
|
+
request.sourceDataSourceSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sourceDataSourceSettings, "SourceDataSourceSettings", "json");
|
|
38075
|
+
}
|
|
38076
|
+
|
|
38077
|
+
if (!Util.isUnset(tmpReq.tableMappings)) {
|
|
38078
|
+
request.tableMappingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tableMappings, "TableMappings", "json");
|
|
38079
|
+
}
|
|
38080
|
+
|
|
38081
|
+
if (!Util.isUnset(tmpReq.transformationRules)) {
|
|
38082
|
+
request.transformationRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.transformationRules, "TransformationRules", "json");
|
|
38083
|
+
}
|
|
38084
|
+
|
|
38085
|
+
let query = { };
|
|
38086
|
+
if (!Util.isUnset(request.systemDebug)) {
|
|
38087
|
+
query["SystemDebug"] = request.systemDebug;
|
|
38088
|
+
}
|
|
38089
|
+
|
|
38090
|
+
let body : {[key: string ]: any} = { };
|
|
38091
|
+
if (!Util.isUnset(request.description)) {
|
|
38092
|
+
body["Description"] = request.description;
|
|
38093
|
+
}
|
|
38094
|
+
|
|
38095
|
+
if (!Util.isUnset(request.destinationDataSourceSettingsShrink)) {
|
|
38096
|
+
body["DestinationDataSourceSettings"] = request.destinationDataSourceSettingsShrink;
|
|
38097
|
+
}
|
|
38098
|
+
|
|
38099
|
+
if (!Util.isUnset(request.destinationDataSourceType)) {
|
|
38100
|
+
body["DestinationDataSourceType"] = request.destinationDataSourceType;
|
|
38101
|
+
}
|
|
38102
|
+
|
|
38103
|
+
if (!Util.isUnset(request.jobName)) {
|
|
38104
|
+
body["JobName"] = request.jobName;
|
|
38105
|
+
}
|
|
38106
|
+
|
|
38107
|
+
if (!Util.isUnset(request.jobSettingsShrink)) {
|
|
38108
|
+
body["JobSettings"] = request.jobSettingsShrink;
|
|
38109
|
+
}
|
|
38110
|
+
|
|
38111
|
+
if (!Util.isUnset(request.migrationType)) {
|
|
38112
|
+
body["MigrationType"] = request.migrationType;
|
|
38113
|
+
}
|
|
38114
|
+
|
|
38115
|
+
if (!Util.isUnset(request.projectId)) {
|
|
38116
|
+
body["ProjectId"] = request.projectId;
|
|
38117
|
+
}
|
|
38118
|
+
|
|
38119
|
+
if (!Util.isUnset(request.resourceSettingsShrink)) {
|
|
38120
|
+
body["ResourceSettings"] = request.resourceSettingsShrink;
|
|
38121
|
+
}
|
|
38122
|
+
|
|
38123
|
+
if (!Util.isUnset(request.sourceDataSourceSettingsShrink)) {
|
|
38124
|
+
body["SourceDataSourceSettings"] = request.sourceDataSourceSettingsShrink;
|
|
38125
|
+
}
|
|
38126
|
+
|
|
38127
|
+
if (!Util.isUnset(request.sourceDataSourceType)) {
|
|
38128
|
+
body["SourceDataSourceType"] = request.sourceDataSourceType;
|
|
38129
|
+
}
|
|
38130
|
+
|
|
38131
|
+
if (!Util.isUnset(request.tableMappingsShrink)) {
|
|
38132
|
+
body["TableMappings"] = request.tableMappingsShrink;
|
|
38133
|
+
}
|
|
38134
|
+
|
|
38135
|
+
if (!Util.isUnset(request.transformationRulesShrink)) {
|
|
38136
|
+
body["TransformationRules"] = request.transformationRulesShrink;
|
|
38137
|
+
}
|
|
38138
|
+
|
|
38139
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38140
|
+
query: OpenApiUtil.query(query),
|
|
38141
|
+
body: OpenApiUtil.parseToMap(body),
|
|
38142
|
+
});
|
|
38143
|
+
let params = new $OpenApi.Params({
|
|
38144
|
+
action: "CreateDIJob",
|
|
38145
|
+
version: "2020-05-18",
|
|
38146
|
+
protocol: "HTTPS",
|
|
38147
|
+
pathname: "/",
|
|
38148
|
+
method: "POST",
|
|
38149
|
+
authType: "AK",
|
|
38150
|
+
style: "RPC",
|
|
38151
|
+
reqBodyType: "formData",
|
|
38152
|
+
bodyType: "json",
|
|
38153
|
+
});
|
|
38154
|
+
return $tea.cast<CreateDIJobResponse>(await this.callApi(params, req, runtime), new CreateDIJobResponse({}));
|
|
38155
|
+
}
|
|
38156
|
+
|
|
38157
|
+
async createDIJob(request: CreateDIJobRequest): Promise<CreateDIJobResponse> {
|
|
38158
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
38159
|
+
return await this.createDIJobWithOptions(request, runtime);
|
|
38160
|
+
}
|
|
38161
|
+
|
|
35418
38162
|
/**
|
|
35419
38163
|
* DataWorks allows you to use only the CreateDISyncTask operation to create a batch synchronization node in Data Integration. To create a real-time synchronization node or a synchronization solution, you must first call the [GenerateDISyncTaskConfigForCreating](~~383463~~) operation to generate the ID of an asynchronous thread and call the [QueryDISyncTaskConfigProcessResult](~~383465~~) operation to obtain the asynchronously generated parameters based on the ID. Then, you can call the CreateDISyncTask operation and use the parameters as request parameters to create a real-time synchronization node or a synchronization solution in Data Integration.
|
|
35420
38164
|
*
|
|
@@ -37452,6 +40196,64 @@ export default class Client extends OpenApi {
|
|
|
37452
40196
|
return await this.deleteConnectionWithOptions(request, runtime);
|
|
37453
40197
|
}
|
|
37454
40198
|
|
|
40199
|
+
async deleteDIAlarmRuleWithOptions(request: DeleteDIAlarmRuleRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDIAlarmRuleResponse> {
|
|
40200
|
+
Util.validateModel(request);
|
|
40201
|
+
let body : {[key: string ]: any} = { };
|
|
40202
|
+
if (!Util.isUnset(request.DIAlarmRuleId)) {
|
|
40203
|
+
body["DIAlarmRuleId"] = request.DIAlarmRuleId;
|
|
40204
|
+
}
|
|
40205
|
+
|
|
40206
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
40207
|
+
body: OpenApiUtil.parseToMap(body),
|
|
40208
|
+
});
|
|
40209
|
+
let params = new $OpenApi.Params({
|
|
40210
|
+
action: "DeleteDIAlarmRule",
|
|
40211
|
+
version: "2020-05-18",
|
|
40212
|
+
protocol: "HTTPS",
|
|
40213
|
+
pathname: "/",
|
|
40214
|
+
method: "POST",
|
|
40215
|
+
authType: "AK",
|
|
40216
|
+
style: "RPC",
|
|
40217
|
+
reqBodyType: "formData",
|
|
40218
|
+
bodyType: "json",
|
|
40219
|
+
});
|
|
40220
|
+
return $tea.cast<DeleteDIAlarmRuleResponse>(await this.callApi(params, req, runtime), new DeleteDIAlarmRuleResponse({}));
|
|
40221
|
+
}
|
|
40222
|
+
|
|
40223
|
+
async deleteDIAlarmRule(request: DeleteDIAlarmRuleRequest): Promise<DeleteDIAlarmRuleResponse> {
|
|
40224
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
40225
|
+
return await this.deleteDIAlarmRuleWithOptions(request, runtime);
|
|
40226
|
+
}
|
|
40227
|
+
|
|
40228
|
+
async deleteDIJobWithOptions(request: DeleteDIJobRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDIJobResponse> {
|
|
40229
|
+
Util.validateModel(request);
|
|
40230
|
+
let body : {[key: string ]: any} = { };
|
|
40231
|
+
if (!Util.isUnset(request.DIJobId)) {
|
|
40232
|
+
body["DIJobId"] = request.DIJobId;
|
|
40233
|
+
}
|
|
40234
|
+
|
|
40235
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
40236
|
+
body: OpenApiUtil.parseToMap(body),
|
|
40237
|
+
});
|
|
40238
|
+
let params = new $OpenApi.Params({
|
|
40239
|
+
action: "DeleteDIJob",
|
|
40240
|
+
version: "2020-05-18",
|
|
40241
|
+
protocol: "HTTPS",
|
|
40242
|
+
pathname: "/",
|
|
40243
|
+
method: "POST",
|
|
40244
|
+
authType: "AK",
|
|
40245
|
+
style: "RPC",
|
|
40246
|
+
reqBodyType: "formData",
|
|
40247
|
+
bodyType: "json",
|
|
40248
|
+
});
|
|
40249
|
+
return $tea.cast<DeleteDIJobResponse>(await this.callApi(params, req, runtime), new DeleteDIJobResponse({}));
|
|
40250
|
+
}
|
|
40251
|
+
|
|
40252
|
+
async deleteDIJob(request: DeleteDIJobRequest): Promise<DeleteDIJobResponse> {
|
|
40253
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
40254
|
+
return await this.deleteDIJobWithOptions(request, runtime);
|
|
40255
|
+
}
|
|
40256
|
+
|
|
37455
40257
|
async deleteDISyncTaskWithOptions(request: DeleteDISyncTaskRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDISyncTaskResponse> {
|
|
37456
40258
|
Util.validateModel(request);
|
|
37457
40259
|
let query = { };
|
|
@@ -38672,6 +41474,68 @@ export default class Client extends OpenApi {
|
|
|
38672
41474
|
return await this.getDDLJobStatusWithOptions(request, runtime);
|
|
38673
41475
|
}
|
|
38674
41476
|
|
|
41477
|
+
async getDIAlarmRuleWithOptions(request: GetDIAlarmRuleRequest, runtime: $Util.RuntimeOptions): Promise<GetDIAlarmRuleResponse> {
|
|
41478
|
+
Util.validateModel(request);
|
|
41479
|
+
let body : {[key: string ]: any} = { };
|
|
41480
|
+
if (!Util.isUnset(request.DIAlarmRuleId)) {
|
|
41481
|
+
body["DIAlarmRuleId"] = request.DIAlarmRuleId;
|
|
41482
|
+
}
|
|
41483
|
+
|
|
41484
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
41485
|
+
body: OpenApiUtil.parseToMap(body),
|
|
41486
|
+
});
|
|
41487
|
+
let params = new $OpenApi.Params({
|
|
41488
|
+
action: "GetDIAlarmRule",
|
|
41489
|
+
version: "2020-05-18",
|
|
41490
|
+
protocol: "HTTPS",
|
|
41491
|
+
pathname: "/",
|
|
41492
|
+
method: "POST",
|
|
41493
|
+
authType: "AK",
|
|
41494
|
+
style: "RPC",
|
|
41495
|
+
reqBodyType: "formData",
|
|
41496
|
+
bodyType: "json",
|
|
41497
|
+
});
|
|
41498
|
+
return $tea.cast<GetDIAlarmRuleResponse>(await this.callApi(params, req, runtime), new GetDIAlarmRuleResponse({}));
|
|
41499
|
+
}
|
|
41500
|
+
|
|
41501
|
+
async getDIAlarmRule(request: GetDIAlarmRuleRequest): Promise<GetDIAlarmRuleResponse> {
|
|
41502
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
41503
|
+
return await this.getDIAlarmRuleWithOptions(request, runtime);
|
|
41504
|
+
}
|
|
41505
|
+
|
|
41506
|
+
async getDIJobWithOptions(request: GetDIJobRequest, runtime: $Util.RuntimeOptions): Promise<GetDIJobResponse> {
|
|
41507
|
+
Util.validateModel(request);
|
|
41508
|
+
let body : {[key: string ]: any} = { };
|
|
41509
|
+
if (!Util.isUnset(request.DIJobId)) {
|
|
41510
|
+
body["DIJobId"] = request.DIJobId;
|
|
41511
|
+
}
|
|
41512
|
+
|
|
41513
|
+
if (!Util.isUnset(request.withDetails)) {
|
|
41514
|
+
body["WithDetails"] = request.withDetails;
|
|
41515
|
+
}
|
|
41516
|
+
|
|
41517
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
41518
|
+
body: OpenApiUtil.parseToMap(body),
|
|
41519
|
+
});
|
|
41520
|
+
let params = new $OpenApi.Params({
|
|
41521
|
+
action: "GetDIJob",
|
|
41522
|
+
version: "2020-05-18",
|
|
41523
|
+
protocol: "HTTPS",
|
|
41524
|
+
pathname: "/",
|
|
41525
|
+
method: "POST",
|
|
41526
|
+
authType: "AK",
|
|
41527
|
+
style: "RPC",
|
|
41528
|
+
reqBodyType: "formData",
|
|
41529
|
+
bodyType: "json",
|
|
41530
|
+
});
|
|
41531
|
+
return $tea.cast<GetDIJobResponse>(await this.callApi(params, req, runtime), new GetDIJobResponse({}));
|
|
41532
|
+
}
|
|
41533
|
+
|
|
41534
|
+
async getDIJob(request: GetDIJobRequest): Promise<GetDIJobResponse> {
|
|
41535
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
41536
|
+
return await this.getDIJobWithOptions(request, runtime);
|
|
41537
|
+
}
|
|
41538
|
+
|
|
38675
41539
|
async getDISyncInstanceInfoWithOptions(request: GetDISyncInstanceInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetDISyncInstanceInfoResponse> {
|
|
38676
41540
|
Util.validateModel(request);
|
|
38677
41541
|
let query = { };
|
|
@@ -41574,6 +44438,92 @@ export default class Client extends OpenApi {
|
|
|
41574
44438
|
return await this.listConnectionsWithOptions(request, runtime);
|
|
41575
44439
|
}
|
|
41576
44440
|
|
|
44441
|
+
async listDIAlarmRulesWithOptions(request: ListDIAlarmRulesRequest, runtime: $Util.RuntimeOptions): Promise<ListDIAlarmRulesResponse> {
|
|
44442
|
+
Util.validateModel(request);
|
|
44443
|
+
let body : {[key: string ]: any} = { };
|
|
44444
|
+
if (!Util.isUnset(request.DIJobId)) {
|
|
44445
|
+
body["DIJobId"] = request.DIJobId;
|
|
44446
|
+
}
|
|
44447
|
+
|
|
44448
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
44449
|
+
body["PageNumber"] = request.pageNumber;
|
|
44450
|
+
}
|
|
44451
|
+
|
|
44452
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
44453
|
+
body["PageSize"] = request.pageSize;
|
|
44454
|
+
}
|
|
44455
|
+
|
|
44456
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
44457
|
+
body: OpenApiUtil.parseToMap(body),
|
|
44458
|
+
});
|
|
44459
|
+
let params = new $OpenApi.Params({
|
|
44460
|
+
action: "ListDIAlarmRules",
|
|
44461
|
+
version: "2020-05-18",
|
|
44462
|
+
protocol: "HTTPS",
|
|
44463
|
+
pathname: "/",
|
|
44464
|
+
method: "POST",
|
|
44465
|
+
authType: "AK",
|
|
44466
|
+
style: "RPC",
|
|
44467
|
+
reqBodyType: "formData",
|
|
44468
|
+
bodyType: "json",
|
|
44469
|
+
});
|
|
44470
|
+
return $tea.cast<ListDIAlarmRulesResponse>(await this.callApi(params, req, runtime), new ListDIAlarmRulesResponse({}));
|
|
44471
|
+
}
|
|
44472
|
+
|
|
44473
|
+
async listDIAlarmRules(request: ListDIAlarmRulesRequest): Promise<ListDIAlarmRulesResponse> {
|
|
44474
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
44475
|
+
return await this.listDIAlarmRulesWithOptions(request, runtime);
|
|
44476
|
+
}
|
|
44477
|
+
|
|
44478
|
+
async listDIJobsWithOptions(request: ListDIJobsRequest, runtime: $Util.RuntimeOptions): Promise<ListDIJobsResponse> {
|
|
44479
|
+
Util.validateModel(request);
|
|
44480
|
+
let body : {[key: string ]: any} = { };
|
|
44481
|
+
if (!Util.isUnset(request.destinationDataSourceType)) {
|
|
44482
|
+
body["DestinationDataSourceType"] = request.destinationDataSourceType;
|
|
44483
|
+
}
|
|
44484
|
+
|
|
44485
|
+
if (!Util.isUnset(request.jobName)) {
|
|
44486
|
+
body["JobName"] = request.jobName;
|
|
44487
|
+
}
|
|
44488
|
+
|
|
44489
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
44490
|
+
body["PageNumber"] = request.pageNumber;
|
|
44491
|
+
}
|
|
44492
|
+
|
|
44493
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
44494
|
+
body["PageSize"] = request.pageSize;
|
|
44495
|
+
}
|
|
44496
|
+
|
|
44497
|
+
if (!Util.isUnset(request.projectId)) {
|
|
44498
|
+
body["ProjectId"] = request.projectId;
|
|
44499
|
+
}
|
|
44500
|
+
|
|
44501
|
+
if (!Util.isUnset(request.sourceDataSourceType)) {
|
|
44502
|
+
body["SourceDataSourceType"] = request.sourceDataSourceType;
|
|
44503
|
+
}
|
|
44504
|
+
|
|
44505
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
44506
|
+
body: OpenApiUtil.parseToMap(body),
|
|
44507
|
+
});
|
|
44508
|
+
let params = new $OpenApi.Params({
|
|
44509
|
+
action: "ListDIJobs",
|
|
44510
|
+
version: "2020-05-18",
|
|
44511
|
+
protocol: "HTTPS",
|
|
44512
|
+
pathname: "/",
|
|
44513
|
+
method: "POST",
|
|
44514
|
+
authType: "AK",
|
|
44515
|
+
style: "RPC",
|
|
44516
|
+
reqBodyType: "formData",
|
|
44517
|
+
bodyType: "json",
|
|
44518
|
+
});
|
|
44519
|
+
return $tea.cast<ListDIJobsResponse>(await this.callApi(params, req, runtime), new ListDIJobsResponse({}));
|
|
44520
|
+
}
|
|
44521
|
+
|
|
44522
|
+
async listDIJobs(request: ListDIJobsRequest): Promise<ListDIJobsResponse> {
|
|
44523
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
44524
|
+
return await this.listDIJobsWithOptions(request, runtime);
|
|
44525
|
+
}
|
|
44526
|
+
|
|
41577
44527
|
/**
|
|
41578
44528
|
* DataWorks allows you to set the default global configuration for only the processing rules of DDL messages in sync solutions. After you configure the **processing rules of DDL messages** in sync solutions, the configuration is set as the default global configuration and applies to all real-time sync nodes. You can also modify the **processing rules of DDL messages** based on your business requirements. For more information, see [Sync solutions](~~199008~~).
|
|
41579
44529
|
*
|
|
@@ -44994,6 +47944,49 @@ export default class Client extends OpenApi {
|
|
|
44994
47944
|
return await this.setSuccessInstanceWithOptions(request, runtime);
|
|
44995
47945
|
}
|
|
44996
47946
|
|
|
47947
|
+
async startDIJobWithOptions(tmpReq: StartDIJobRequest, runtime: $Util.RuntimeOptions): Promise<StartDIJobResponse> {
|
|
47948
|
+
Util.validateModel(tmpReq);
|
|
47949
|
+
let request = new StartDIJobShrinkRequest({ });
|
|
47950
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
47951
|
+
if (!Util.isUnset(tmpReq.realtimeStartSettings)) {
|
|
47952
|
+
request.realtimeStartSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.realtimeStartSettings, "RealtimeStartSettings", "json");
|
|
47953
|
+
}
|
|
47954
|
+
|
|
47955
|
+
let body : {[key: string ]: any} = { };
|
|
47956
|
+
if (!Util.isUnset(request.DIJobId)) {
|
|
47957
|
+
body["DIJobId"] = request.DIJobId;
|
|
47958
|
+
}
|
|
47959
|
+
|
|
47960
|
+
if (!Util.isUnset(request.forceToRerun)) {
|
|
47961
|
+
body["ForceToRerun"] = request.forceToRerun;
|
|
47962
|
+
}
|
|
47963
|
+
|
|
47964
|
+
if (!Util.isUnset(request.realtimeStartSettingsShrink)) {
|
|
47965
|
+
body["RealtimeStartSettings"] = request.realtimeStartSettingsShrink;
|
|
47966
|
+
}
|
|
47967
|
+
|
|
47968
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
47969
|
+
body: OpenApiUtil.parseToMap(body),
|
|
47970
|
+
});
|
|
47971
|
+
let params = new $OpenApi.Params({
|
|
47972
|
+
action: "StartDIJob",
|
|
47973
|
+
version: "2020-05-18",
|
|
47974
|
+
protocol: "HTTPS",
|
|
47975
|
+
pathname: "/",
|
|
47976
|
+
method: "POST",
|
|
47977
|
+
authType: "AK",
|
|
47978
|
+
style: "RPC",
|
|
47979
|
+
reqBodyType: "formData",
|
|
47980
|
+
bodyType: "json",
|
|
47981
|
+
});
|
|
47982
|
+
return $tea.cast<StartDIJobResponse>(await this.callApi(params, req, runtime), new StartDIJobResponse({}));
|
|
47983
|
+
}
|
|
47984
|
+
|
|
47985
|
+
async startDIJob(request: StartDIJobRequest): Promise<StartDIJobResponse> {
|
|
47986
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
47987
|
+
return await this.startDIJobWithOptions(request, runtime);
|
|
47988
|
+
}
|
|
47989
|
+
|
|
44997
47990
|
async startDISyncInstanceWithOptions(request: StartDISyncInstanceRequest, runtime: $Util.RuntimeOptions): Promise<StartDISyncInstanceResponse> {
|
|
44998
47991
|
Util.validateModel(request);
|
|
44999
47992
|
let query = { };
|
|
@@ -45068,6 +48061,35 @@ export default class Client extends OpenApi {
|
|
|
45068
48061
|
return await this.startMigrationWithOptions(request, runtime);
|
|
45069
48062
|
}
|
|
45070
48063
|
|
|
48064
|
+
async stopDIJobWithOptions(request: StopDIJobRequest, runtime: $Util.RuntimeOptions): Promise<StopDIJobResponse> {
|
|
48065
|
+
Util.validateModel(request);
|
|
48066
|
+
let body : {[key: string ]: any} = { };
|
|
48067
|
+
if (!Util.isUnset(request.DIJobId)) {
|
|
48068
|
+
body["DIJobId"] = request.DIJobId;
|
|
48069
|
+
}
|
|
48070
|
+
|
|
48071
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
48072
|
+
body: OpenApiUtil.parseToMap(body),
|
|
48073
|
+
});
|
|
48074
|
+
let params = new $OpenApi.Params({
|
|
48075
|
+
action: "StopDIJob",
|
|
48076
|
+
version: "2020-05-18",
|
|
48077
|
+
protocol: "HTTPS",
|
|
48078
|
+
pathname: "/",
|
|
48079
|
+
method: "POST",
|
|
48080
|
+
authType: "AK",
|
|
48081
|
+
style: "RPC",
|
|
48082
|
+
reqBodyType: "formData",
|
|
48083
|
+
bodyType: "json",
|
|
48084
|
+
});
|
|
48085
|
+
return $tea.cast<StopDIJobResponse>(await this.callApi(params, req, runtime), new StopDIJobResponse({}));
|
|
48086
|
+
}
|
|
48087
|
+
|
|
48088
|
+
async stopDIJob(request: StopDIJobRequest): Promise<StopDIJobResponse> {
|
|
48089
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
48090
|
+
return await this.stopDIJobWithOptions(request, runtime);
|
|
48091
|
+
}
|
|
48092
|
+
|
|
45071
48093
|
async stopDISyncInstanceWithOptions(request: StopDISyncInstanceRequest, runtime: $Util.RuntimeOptions): Promise<StopDISyncInstanceResponse> {
|
|
45072
48094
|
Util.validateModel(request);
|
|
45073
48095
|
let query = { };
|
|
@@ -45673,6 +48695,132 @@ export default class Client extends OpenApi {
|
|
|
45673
48695
|
return await this.updateConnectionWithOptions(request, runtime);
|
|
45674
48696
|
}
|
|
45675
48697
|
|
|
48698
|
+
async updateDIAlarmRuleWithOptions(tmpReq: UpdateDIAlarmRuleRequest, runtime: $Util.RuntimeOptions): Promise<UpdateDIAlarmRuleResponse> {
|
|
48699
|
+
Util.validateModel(tmpReq);
|
|
48700
|
+
let request = new UpdateDIAlarmRuleShrinkRequest({ });
|
|
48701
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
48702
|
+
if (!Util.isUnset(tmpReq.notificationSettings)) {
|
|
48703
|
+
request.notificationSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.notificationSettings, "NotificationSettings", "json");
|
|
48704
|
+
}
|
|
48705
|
+
|
|
48706
|
+
if (!Util.isUnset(tmpReq.triggerConditions)) {
|
|
48707
|
+
request.triggerConditionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.triggerConditions, "TriggerConditions", "json");
|
|
48708
|
+
}
|
|
48709
|
+
|
|
48710
|
+
let body : {[key: string ]: any} = { };
|
|
48711
|
+
if (!Util.isUnset(request.DIAlarmRuleId)) {
|
|
48712
|
+
body["DIAlarmRuleId"] = request.DIAlarmRuleId;
|
|
48713
|
+
}
|
|
48714
|
+
|
|
48715
|
+
if (!Util.isUnset(request.description)) {
|
|
48716
|
+
body["Description"] = request.description;
|
|
48717
|
+
}
|
|
48718
|
+
|
|
48719
|
+
if (!Util.isUnset(request.enabled)) {
|
|
48720
|
+
body["Enabled"] = request.enabled;
|
|
48721
|
+
}
|
|
48722
|
+
|
|
48723
|
+
if (!Util.isUnset(request.metricType)) {
|
|
48724
|
+
body["MetricType"] = request.metricType;
|
|
48725
|
+
}
|
|
48726
|
+
|
|
48727
|
+
if (!Util.isUnset(request.notificationSettingsShrink)) {
|
|
48728
|
+
body["NotificationSettings"] = request.notificationSettingsShrink;
|
|
48729
|
+
}
|
|
48730
|
+
|
|
48731
|
+
if (!Util.isUnset(request.triggerConditionsShrink)) {
|
|
48732
|
+
body["TriggerConditions"] = request.triggerConditionsShrink;
|
|
48733
|
+
}
|
|
48734
|
+
|
|
48735
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
48736
|
+
body: OpenApiUtil.parseToMap(body),
|
|
48737
|
+
});
|
|
48738
|
+
let params = new $OpenApi.Params({
|
|
48739
|
+
action: "UpdateDIAlarmRule",
|
|
48740
|
+
version: "2020-05-18",
|
|
48741
|
+
protocol: "HTTPS",
|
|
48742
|
+
pathname: "/",
|
|
48743
|
+
method: "POST",
|
|
48744
|
+
authType: "AK",
|
|
48745
|
+
style: "RPC",
|
|
48746
|
+
reqBodyType: "formData",
|
|
48747
|
+
bodyType: "json",
|
|
48748
|
+
});
|
|
48749
|
+
return $tea.cast<UpdateDIAlarmRuleResponse>(await this.callApi(params, req, runtime), new UpdateDIAlarmRuleResponse({}));
|
|
48750
|
+
}
|
|
48751
|
+
|
|
48752
|
+
async updateDIAlarmRule(request: UpdateDIAlarmRuleRequest): Promise<UpdateDIAlarmRuleResponse> {
|
|
48753
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
48754
|
+
return await this.updateDIAlarmRuleWithOptions(request, runtime);
|
|
48755
|
+
}
|
|
48756
|
+
|
|
48757
|
+
async updateDIJobWithOptions(tmpReq: UpdateDIJobRequest, runtime: $Util.RuntimeOptions): Promise<UpdateDIJobResponse> {
|
|
48758
|
+
Util.validateModel(tmpReq);
|
|
48759
|
+
let request = new UpdateDIJobShrinkRequest({ });
|
|
48760
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
48761
|
+
if (!Util.isUnset(tmpReq.jobSettings)) {
|
|
48762
|
+
request.jobSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.jobSettings, "JobSettings", "json");
|
|
48763
|
+
}
|
|
48764
|
+
|
|
48765
|
+
if (!Util.isUnset(tmpReq.resourceSettings)) {
|
|
48766
|
+
request.resourceSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceSettings, "ResourceSettings", "json");
|
|
48767
|
+
}
|
|
48768
|
+
|
|
48769
|
+
if (!Util.isUnset(tmpReq.tableMappings)) {
|
|
48770
|
+
request.tableMappingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tableMappings, "TableMappings", "json");
|
|
48771
|
+
}
|
|
48772
|
+
|
|
48773
|
+
if (!Util.isUnset(tmpReq.transformationRules)) {
|
|
48774
|
+
request.transformationRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.transformationRules, "TransformationRules", "json");
|
|
48775
|
+
}
|
|
48776
|
+
|
|
48777
|
+
let body : {[key: string ]: any} = { };
|
|
48778
|
+
if (!Util.isUnset(request.DIJobId)) {
|
|
48779
|
+
body["DIJobId"] = request.DIJobId;
|
|
48780
|
+
}
|
|
48781
|
+
|
|
48782
|
+
if (!Util.isUnset(request.description)) {
|
|
48783
|
+
body["Description"] = request.description;
|
|
48784
|
+
}
|
|
48785
|
+
|
|
48786
|
+
if (!Util.isUnset(request.jobSettingsShrink)) {
|
|
48787
|
+
body["JobSettings"] = request.jobSettingsShrink;
|
|
48788
|
+
}
|
|
48789
|
+
|
|
48790
|
+
if (!Util.isUnset(request.resourceSettingsShrink)) {
|
|
48791
|
+
body["ResourceSettings"] = request.resourceSettingsShrink;
|
|
48792
|
+
}
|
|
48793
|
+
|
|
48794
|
+
if (!Util.isUnset(request.tableMappingsShrink)) {
|
|
48795
|
+
body["TableMappings"] = request.tableMappingsShrink;
|
|
48796
|
+
}
|
|
48797
|
+
|
|
48798
|
+
if (!Util.isUnset(request.transformationRulesShrink)) {
|
|
48799
|
+
body["TransformationRules"] = request.transformationRulesShrink;
|
|
48800
|
+
}
|
|
48801
|
+
|
|
48802
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
48803
|
+
body: OpenApiUtil.parseToMap(body),
|
|
48804
|
+
});
|
|
48805
|
+
let params = new $OpenApi.Params({
|
|
48806
|
+
action: "UpdateDIJob",
|
|
48807
|
+
version: "2020-05-18",
|
|
48808
|
+
protocol: "HTTPS",
|
|
48809
|
+
pathname: "/",
|
|
48810
|
+
method: "POST",
|
|
48811
|
+
authType: "AK",
|
|
48812
|
+
style: "RPC",
|
|
48813
|
+
reqBodyType: "formData",
|
|
48814
|
+
bodyType: "json",
|
|
48815
|
+
});
|
|
48816
|
+
return $tea.cast<UpdateDIJobResponse>(await this.callApi(params, req, runtime), new UpdateDIJobResponse({}));
|
|
48817
|
+
}
|
|
48818
|
+
|
|
48819
|
+
async updateDIJob(request: UpdateDIJobRequest): Promise<UpdateDIJobResponse> {
|
|
48820
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
48821
|
+
return await this.updateDIJobWithOptions(request, runtime);
|
|
48822
|
+
}
|
|
48823
|
+
|
|
45676
48824
|
/**
|
|
45677
48825
|
* The operation that you want to perform. Set the value to **UpdateDIProjectConfig**.
|
|
45678
48826
|
*
|