tencentcloud-sdk-nodejs 4.0.328 → 4.0.331
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/CHANGELOG.md +443 -0
- package/SERVICE_CHANGELOG.md +689 -11
- package/package.json +1 -1
- package/products.md +23 -22
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +5 -5
- package/src/services/apigateway/v20180808/apigateway_models.ts +129 -88
- package/src/services/car/index.ts +5 -0
- package/src/services/car/v20220110/car_client.ts +67 -0
- package/src/services/car/v20220110/car_models.ts +106 -0
- package/src/services/car/v20220110/index.ts +6 -0
- package/src/services/cdb/v20170320/cdb_models.ts +1 -1
- package/src/services/cdn/v20180606/cdn_client.ts +3 -1
- package/src/services/cdn/v20180606/cdn_models.ts +67 -9
- package/src/services/ckafka/v20190819/ckafka_models.ts +12 -2
- package/src/services/clb/v20180317/clb_models.ts +5 -4
- package/src/services/cls/v20201016/cls_models.ts +12 -0
- package/src/services/cvm/v20170312/cvm_models.ts +17 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +145 -34
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +646 -91
- package/src/services/dlc/v20210125/dlc_models.ts +24 -1
- package/src/services/domain/v20180808/domain_client.ts +15 -2
- package/src/services/domain/v20180808/domain_models.ts +202 -30
- package/src/services/ess/v20201111/ess_models.ts +4 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +2 -2
- package/src/services/monitor/v20180724/monitor_models.ts +11 -6
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +32 -1
- package/src/services/rce/v20201103/rce_models.ts +11 -0
- package/src/services/redis/v20180412/redis_client.ts +37 -13
- package/src/services/redis/v20180412/redis_models.ts +113 -53
- package/src/services/tcss/v20201101/tcss_models.ts +83 -13
- package/src/services/vod/v20180717/vod_models.ts +22 -2
- package/src/services/waf/v20180125/waf_client.ts +14 -0
- package/src/services/waf/v20180125/waf_models.ts +73 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +5 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +5 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +121 -88
- package/tencentcloud/services/car/index.d.ts +6 -0
- package/tencentcloud/services/car/index.js +7 -0
- package/tencentcloud/services/car/v20220110/car_client.d.ts +22 -0
- package/tencentcloud/services/car/v20220110/car_client.js +49 -0
- package/tencentcloud/services/car/v20220110/car_models.d.ts +78 -0
- package/tencentcloud/services/car/v20220110/car_models.js +18 -0
- package/tencentcloud/services/car/v20220110/index.d.ts +6 -0
- package/tencentcloud/services/car/v20220110/index.js +9 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +57 -8
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +10 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -4
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +10 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +14 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +47 -11
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +69 -15
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +534 -69
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -1
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +179 -30
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +3 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -5
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +27 -1
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +9 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +13 -5
- package/tencentcloud/services/redis/v20180412/redis_client.js +18 -6
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +96 -44
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +70 -11
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +18 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +62 -2
- package/test/car.v20220110.test.js +51 -0
- package/test/dbbrain.v20210527.test.js +100 -10
- package/test/domain.v20180808.test.js +10 -0
- package/test/redis.v20180412.test.js +24 -4
- package/test/waf.v20180125.test.js +10 -0
|
@@ -11,6 +11,39 @@ export interface SchemaSpaceTimeSeries {
|
|
|
11
11
|
*/
|
|
12
12
|
SeriesData: MonitorMetricSeriesData;
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* redis key空间信息。
|
|
16
|
+
*/
|
|
17
|
+
export interface RedisKeySpaceData {
|
|
18
|
+
/**
|
|
19
|
+
* key名。
|
|
20
|
+
*/
|
|
21
|
+
Key: string;
|
|
22
|
+
/**
|
|
23
|
+
* key类型。
|
|
24
|
+
*/
|
|
25
|
+
Type: string;
|
|
26
|
+
/**
|
|
27
|
+
* key编码方式。
|
|
28
|
+
*/
|
|
29
|
+
Encoding: string;
|
|
30
|
+
/**
|
|
31
|
+
* key过期时间戳(毫秒),0代表未设置过期时间。
|
|
32
|
+
*/
|
|
33
|
+
ExpireTime: number;
|
|
34
|
+
/**
|
|
35
|
+
* key内存大小,单位Byte。
|
|
36
|
+
*/
|
|
37
|
+
Length: number;
|
|
38
|
+
/**
|
|
39
|
+
* 元素个数。
|
|
40
|
+
*/
|
|
41
|
+
ItemCount: number;
|
|
42
|
+
/**
|
|
43
|
+
* 最大元素长度。
|
|
44
|
+
*/
|
|
45
|
+
MaxElementSize: number;
|
|
46
|
+
}
|
|
14
47
|
/**
|
|
15
48
|
* 健康报告任务详情。
|
|
16
49
|
*/
|
|
@@ -48,20 +81,6 @@ export interface HealthReportTask {
|
|
|
48
81
|
*/
|
|
49
82
|
HealthStatus: HealthStatus;
|
|
50
83
|
}
|
|
51
|
-
/**
|
|
52
|
-
* CreateDBDiagReportTask返回参数结构体
|
|
53
|
-
*/
|
|
54
|
-
export interface CreateDBDiagReportTaskResponse {
|
|
55
|
-
/**
|
|
56
|
-
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
57
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
58
|
-
*/
|
|
59
|
-
AsyncRequestId: number;
|
|
60
|
-
/**
|
|
61
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
62
|
-
*/
|
|
63
|
-
RequestId?: string;
|
|
64
|
-
}
|
|
65
84
|
/**
|
|
66
85
|
* CreateDBDiagReportTask请求参数结构体
|
|
67
86
|
*/
|
|
@@ -302,14 +321,56 @@ export interface AddUserContactResponse {
|
|
|
302
321
|
RequestId?: string;
|
|
303
322
|
}
|
|
304
323
|
/**
|
|
305
|
-
*
|
|
324
|
+
* CancelKillTask返回参数结构体
|
|
306
325
|
*/
|
|
307
|
-
export interface
|
|
326
|
+
export interface CancelKillTaskResponse {
|
|
327
|
+
/**
|
|
328
|
+
* kill会话任务终止成功返回1。
|
|
329
|
+
*/
|
|
330
|
+
Status: number;
|
|
308
331
|
/**
|
|
309
332
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
310
333
|
*/
|
|
311
334
|
RequestId?: string;
|
|
312
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* DescribeRedisTopBigKeys返回参数结构体
|
|
338
|
+
*/
|
|
339
|
+
export interface DescribeRedisTopBigKeysResponse {
|
|
340
|
+
/**
|
|
341
|
+
* top key列表。
|
|
342
|
+
*/
|
|
343
|
+
TopKeys: Array<RedisKeySpaceData>;
|
|
344
|
+
/**
|
|
345
|
+
* 采集时间戳(秒)。
|
|
346
|
+
*/
|
|
347
|
+
Timestamp: number;
|
|
348
|
+
/**
|
|
349
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
350
|
+
*/
|
|
351
|
+
RequestId?: string;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* DescribeSqlTemplate请求参数结构体
|
|
355
|
+
*/
|
|
356
|
+
export interface DescribeSqlTemplateRequest {
|
|
357
|
+
/**
|
|
358
|
+
* 实例ID。
|
|
359
|
+
*/
|
|
360
|
+
InstanceId: string;
|
|
361
|
+
/**
|
|
362
|
+
* 数据库名。
|
|
363
|
+
*/
|
|
364
|
+
Schema: string;
|
|
365
|
+
/**
|
|
366
|
+
* SQL语句。
|
|
367
|
+
*/
|
|
368
|
+
SqlText: string;
|
|
369
|
+
/**
|
|
370
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
371
|
+
*/
|
|
372
|
+
Product?: string;
|
|
373
|
+
}
|
|
313
374
|
/**
|
|
314
375
|
* DescribeTopSpaceSchemaTimeSeries返回参数结构体
|
|
315
376
|
*/
|
|
@@ -428,6 +489,81 @@ export interface SlowLogTopSqlItem {
|
|
|
428
489
|
*/
|
|
429
490
|
Md5: string;
|
|
430
491
|
}
|
|
492
|
+
/**
|
|
493
|
+
* DescribeNoPrimaryKeyTables返回参数结构体
|
|
494
|
+
*/
|
|
495
|
+
export interface DescribeNoPrimaryKeyTablesResponse {
|
|
496
|
+
/**
|
|
497
|
+
* 无主键表总数。
|
|
498
|
+
*/
|
|
499
|
+
NoPrimaryKeyTableCount: number;
|
|
500
|
+
/**
|
|
501
|
+
* 与昨日扫描无主键表的差值,正数为增加,负数为减少,0为无变化。
|
|
502
|
+
*/
|
|
503
|
+
NoPrimaryKeyTableCountDiff: number;
|
|
504
|
+
/**
|
|
505
|
+
* 记录的无主键表总数(不超过无主键表总数),可用于分页查询。
|
|
506
|
+
*/
|
|
507
|
+
NoPrimaryKeyTableRecordCount: number;
|
|
508
|
+
/**
|
|
509
|
+
* 无主键表列表。
|
|
510
|
+
*/
|
|
511
|
+
NoPrimaryKeyTables: Array<Table>;
|
|
512
|
+
/**
|
|
513
|
+
* 采集时间戳(秒)。
|
|
514
|
+
*/
|
|
515
|
+
Timestamp: number;
|
|
516
|
+
/**
|
|
517
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
518
|
+
*/
|
|
519
|
+
RequestId?: string;
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* 实例诊断历史事件
|
|
523
|
+
*/
|
|
524
|
+
export interface DiagHistoryEventItem {
|
|
525
|
+
/**
|
|
526
|
+
* 诊断类型。
|
|
527
|
+
*/
|
|
528
|
+
DiagType: string;
|
|
529
|
+
/**
|
|
530
|
+
* 结束时间。
|
|
531
|
+
*/
|
|
532
|
+
EndTime: string;
|
|
533
|
+
/**
|
|
534
|
+
* 开始时间。
|
|
535
|
+
*/
|
|
536
|
+
StartTime: string;
|
|
537
|
+
/**
|
|
538
|
+
* 事件唯一ID 。
|
|
539
|
+
*/
|
|
540
|
+
EventId: number;
|
|
541
|
+
/**
|
|
542
|
+
* 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。
|
|
543
|
+
*/
|
|
544
|
+
Severity: number;
|
|
545
|
+
/**
|
|
546
|
+
* 诊断概要。
|
|
547
|
+
*/
|
|
548
|
+
Outline: string;
|
|
549
|
+
/**
|
|
550
|
+
* 诊断项说明。
|
|
551
|
+
*/
|
|
552
|
+
DiagItem: string;
|
|
553
|
+
/**
|
|
554
|
+
* 实例 ID 。
|
|
555
|
+
*/
|
|
556
|
+
InstanceId: string;
|
|
557
|
+
/**
|
|
558
|
+
* 保留字段。
|
|
559
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
560
|
+
*/
|
|
561
|
+
Metric: string;
|
|
562
|
+
/**
|
|
563
|
+
* 地域。
|
|
564
|
+
*/
|
|
565
|
+
Region: string;
|
|
566
|
+
}
|
|
431
567
|
/**
|
|
432
568
|
* DescribeProxySessionKillTasks请求参数结构体
|
|
433
569
|
*/
|
|
@@ -546,6 +682,15 @@ export interface TaskInfo {
|
|
|
546
682
|
*/
|
|
547
683
|
InstanceId: string;
|
|
548
684
|
}
|
|
685
|
+
/**
|
|
686
|
+
* ModifySqlFilters返回参数结构体
|
|
687
|
+
*/
|
|
688
|
+
export interface ModifySqlFiltersResponse {
|
|
689
|
+
/**
|
|
690
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
691
|
+
*/
|
|
692
|
+
RequestId?: string;
|
|
693
|
+
}
|
|
549
694
|
/**
|
|
550
695
|
* KillMySqlThreads返回参数结构体
|
|
551
696
|
*/
|
|
@@ -675,41 +820,18 @@ export interface DescribeSecurityAuditLogDownloadUrlsRequest {
|
|
|
675
820
|
Product: string;
|
|
676
821
|
}
|
|
677
822
|
/**
|
|
678
|
-
*
|
|
823
|
+
* CreateDBDiagReportTask返回参数结构体
|
|
679
824
|
*/
|
|
680
|
-
export interface
|
|
681
|
-
/**
|
|
682
|
-
* 线程ID。
|
|
683
|
-
*/
|
|
684
|
-
ID: string;
|
|
685
|
-
/**
|
|
686
|
-
* 线程的操作账号名。
|
|
687
|
-
*/
|
|
688
|
-
User: string;
|
|
689
|
-
/**
|
|
690
|
-
* 线程的操作主机地址。
|
|
691
|
-
*/
|
|
692
|
-
Host: string;
|
|
693
|
-
/**
|
|
694
|
-
* 线程的操作数据库。
|
|
695
|
-
*/
|
|
696
|
-
DB: string;
|
|
697
|
-
/**
|
|
698
|
-
* 线程的操作状态。
|
|
699
|
-
*/
|
|
700
|
-
State: string;
|
|
701
|
-
/**
|
|
702
|
-
* 线程的执行类型。
|
|
703
|
-
*/
|
|
704
|
-
Command: string;
|
|
825
|
+
export interface CreateDBDiagReportTaskResponse {
|
|
705
826
|
/**
|
|
706
|
-
*
|
|
827
|
+
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
707
829
|
*/
|
|
708
|
-
|
|
830
|
+
AsyncRequestId: number;
|
|
709
831
|
/**
|
|
710
|
-
*
|
|
832
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
711
833
|
*/
|
|
712
|
-
|
|
834
|
+
RequestId?: string;
|
|
713
835
|
}
|
|
714
836
|
/**
|
|
715
837
|
* CreateMailProfile返回参数结构体
|
|
@@ -742,50 +864,54 @@ export interface DescribeSlowLogTimeSeriesStatsRequest {
|
|
|
742
864
|
Product?: string;
|
|
743
865
|
}
|
|
744
866
|
/**
|
|
745
|
-
*
|
|
867
|
+
* CancelKillTask请求参数结构体
|
|
746
868
|
*/
|
|
747
|
-
export interface
|
|
869
|
+
export interface CancelKillTaskRequest {
|
|
748
870
|
/**
|
|
749
|
-
*
|
|
871
|
+
* 实例ID。
|
|
750
872
|
*/
|
|
751
|
-
|
|
873
|
+
InstanceId: string;
|
|
752
874
|
/**
|
|
753
|
-
*
|
|
875
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
754
876
|
*/
|
|
755
|
-
|
|
877
|
+
Product?: string;
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* 关系型数据库线程
|
|
881
|
+
*/
|
|
882
|
+
export interface MySqlProcess {
|
|
756
883
|
/**
|
|
757
|
-
*
|
|
884
|
+
* 线程ID。
|
|
758
885
|
*/
|
|
759
|
-
|
|
886
|
+
ID: string;
|
|
760
887
|
/**
|
|
761
|
-
*
|
|
888
|
+
* 线程的操作账号名。
|
|
762
889
|
*/
|
|
763
|
-
|
|
890
|
+
User: string;
|
|
764
891
|
/**
|
|
765
|
-
*
|
|
892
|
+
* 线程的操作主机地址。
|
|
766
893
|
*/
|
|
767
|
-
|
|
894
|
+
Host: string;
|
|
768
895
|
/**
|
|
769
|
-
*
|
|
896
|
+
* 线程的操作数据库。
|
|
770
897
|
*/
|
|
771
|
-
|
|
898
|
+
DB: string;
|
|
772
899
|
/**
|
|
773
|
-
*
|
|
900
|
+
* 线程的操作状态。
|
|
774
901
|
*/
|
|
775
|
-
|
|
902
|
+
State: string;
|
|
776
903
|
/**
|
|
777
|
-
*
|
|
904
|
+
* 线程的执行类型。
|
|
778
905
|
*/
|
|
779
|
-
|
|
906
|
+
Command: string;
|
|
780
907
|
/**
|
|
781
|
-
*
|
|
782
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
908
|
+
* 线程的操作时长,单位秒。
|
|
783
909
|
*/
|
|
784
|
-
|
|
910
|
+
Time: string;
|
|
785
911
|
/**
|
|
786
|
-
*
|
|
912
|
+
* 线程的操作语句。
|
|
787
913
|
*/
|
|
788
|
-
|
|
914
|
+
Info: string;
|
|
789
915
|
}
|
|
790
916
|
/**
|
|
791
917
|
* DescribeDBDiagHistory请求参数结构体
|
|
@@ -821,6 +947,15 @@ export interface CreateKillTaskResponse {
|
|
|
821
947
|
*/
|
|
822
948
|
RequestId?: string;
|
|
823
949
|
}
|
|
950
|
+
/**
|
|
951
|
+
* DeleteSqlFilters返回参数结构体
|
|
952
|
+
*/
|
|
953
|
+
export interface DeleteSqlFiltersResponse {
|
|
954
|
+
/**
|
|
955
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
956
|
+
*/
|
|
957
|
+
RequestId?: string;
|
|
958
|
+
}
|
|
824
959
|
/**
|
|
825
960
|
* DescribeDBDiagEvents请求参数结构体
|
|
826
961
|
*/
|
|
@@ -992,6 +1127,27 @@ export interface MailConfiguration {
|
|
|
992
1127
|
*/
|
|
993
1128
|
ContactGroup?: Array<number>;
|
|
994
1129
|
}
|
|
1130
|
+
/**
|
|
1131
|
+
* VerifyUserAccount请求参数结构体
|
|
1132
|
+
*/
|
|
1133
|
+
export interface VerifyUserAccountRequest {
|
|
1134
|
+
/**
|
|
1135
|
+
* 实例ID。
|
|
1136
|
+
*/
|
|
1137
|
+
InstanceId: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* 数据库账号名。
|
|
1140
|
+
*/
|
|
1141
|
+
User: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* 数据库账号密码。
|
|
1144
|
+
*/
|
|
1145
|
+
Password: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1148
|
+
*/
|
|
1149
|
+
Product?: string;
|
|
1150
|
+
}
|
|
995
1151
|
/**
|
|
996
1152
|
* DescribeSlowLogUserHostStats返回参数结构体
|
|
997
1153
|
*/
|
|
@@ -1154,6 +1310,23 @@ export interface KillMySqlThreadsRequest {
|
|
|
1154
1310
|
*/
|
|
1155
1311
|
Product?: string;
|
|
1156
1312
|
}
|
|
1313
|
+
/**
|
|
1314
|
+
* DescribeSqlFilters返回参数结构体
|
|
1315
|
+
*/
|
|
1316
|
+
export interface DescribeSqlFiltersResponse {
|
|
1317
|
+
/**
|
|
1318
|
+
* 限流任务总数目。
|
|
1319
|
+
*/
|
|
1320
|
+
TotalCount: number;
|
|
1321
|
+
/**
|
|
1322
|
+
* 限流任务列表。
|
|
1323
|
+
*/
|
|
1324
|
+
Items: Array<SQLFilter>;
|
|
1325
|
+
/**
|
|
1326
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1327
|
+
*/
|
|
1328
|
+
RequestId?: string;
|
|
1329
|
+
}
|
|
1157
1330
|
/**
|
|
1158
1331
|
* CreateDBDiagReportUrl请求参数结构体
|
|
1159
1332
|
*/
|
|
@@ -1188,6 +1361,35 @@ export interface DescribeSecurityAuditLogExportTasksResponse {
|
|
|
1188
1361
|
*/
|
|
1189
1362
|
RequestId?: string;
|
|
1190
1363
|
}
|
|
1364
|
+
/**
|
|
1365
|
+
* DescribeSqlTemplate返回参数结构体
|
|
1366
|
+
*/
|
|
1367
|
+
export interface DescribeSqlTemplateResponse {
|
|
1368
|
+
/**
|
|
1369
|
+
* 数据库名。
|
|
1370
|
+
*/
|
|
1371
|
+
Schema: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* SQL语句。
|
|
1374
|
+
*/
|
|
1375
|
+
SqlText: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* SQL类型。
|
|
1378
|
+
*/
|
|
1379
|
+
SqlType: string;
|
|
1380
|
+
/**
|
|
1381
|
+
* SQL模版内容。
|
|
1382
|
+
*/
|
|
1383
|
+
SqlTemplate: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* SQL模版ID。
|
|
1386
|
+
*/
|
|
1387
|
+
SqlId: number;
|
|
1388
|
+
/**
|
|
1389
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1390
|
+
*/
|
|
1391
|
+
RequestId?: string;
|
|
1392
|
+
}
|
|
1191
1393
|
/**
|
|
1192
1394
|
* 获取健康得分返回的详情。
|
|
1193
1395
|
*/
|
|
@@ -1252,6 +1454,31 @@ export interface DescribeDBDiagEventRequest {
|
|
|
1252
1454
|
*/
|
|
1253
1455
|
Product?: string;
|
|
1254
1456
|
}
|
|
1457
|
+
/**
|
|
1458
|
+
* ModifySqlFilters请求参数结构体
|
|
1459
|
+
*/
|
|
1460
|
+
export interface ModifySqlFiltersRequest {
|
|
1461
|
+
/**
|
|
1462
|
+
* 实例ID。
|
|
1463
|
+
*/
|
|
1464
|
+
InstanceId: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
|
1467
|
+
*/
|
|
1468
|
+
SessionToken: string;
|
|
1469
|
+
/**
|
|
1470
|
+
* SQL限流任务ID列表。
|
|
1471
|
+
*/
|
|
1472
|
+
FilterIds: Array<number>;
|
|
1473
|
+
/**
|
|
1474
|
+
* 限流任务状态,取值支持TERMINATED - 终止。
|
|
1475
|
+
*/
|
|
1476
|
+
Status: string;
|
|
1477
|
+
/**
|
|
1478
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1479
|
+
*/
|
|
1480
|
+
Product?: string;
|
|
1481
|
+
}
|
|
1255
1482
|
/**
|
|
1256
1483
|
* DescribeAllUserContact返回参数结构体
|
|
1257
1484
|
*/
|
|
@@ -1347,6 +1574,39 @@ export interface AddUserContactRequest {
|
|
|
1347
1574
|
*/
|
|
1348
1575
|
Product: string;
|
|
1349
1576
|
}
|
|
1577
|
+
/**
|
|
1578
|
+
* CreateSqlFilter请求参数结构体
|
|
1579
|
+
*/
|
|
1580
|
+
export interface CreateSqlFilterRequest {
|
|
1581
|
+
/**
|
|
1582
|
+
* 实例ID。
|
|
1583
|
+
*/
|
|
1584
|
+
InstanceId: string;
|
|
1585
|
+
/**
|
|
1586
|
+
* 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
|
1587
|
+
*/
|
|
1588
|
+
SessionToken: string;
|
|
1589
|
+
/**
|
|
1590
|
+
* SQL类型,取值包括SELECT, UPDATE, DELETE, INSERT, REPLACE。
|
|
1591
|
+
*/
|
|
1592
|
+
SqlType: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* 关键字,用于筛选SQL语句,多个关键字用英文逗号分隔,逗号不能作为关键词,多个关键词之间的关系为“逻辑与”。
|
|
1595
|
+
*/
|
|
1596
|
+
FilterKey: string;
|
|
1597
|
+
/**
|
|
1598
|
+
* 最大并发度,取值不能小于0,如果该值设为 0,则表示限制所有匹配的SQL执行。
|
|
1599
|
+
*/
|
|
1600
|
+
MaxConcurrency: number;
|
|
1601
|
+
/**
|
|
1602
|
+
* 限流时长,单位秒,支持-1和小于2147483647的正整数,-1表示永不过期。
|
|
1603
|
+
*/
|
|
1604
|
+
Duration: number;
|
|
1605
|
+
/**
|
|
1606
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1607
|
+
*/
|
|
1608
|
+
Product?: string;
|
|
1609
|
+
}
|
|
1350
1610
|
/**
|
|
1351
1611
|
* 实例基础信息。
|
|
1352
1612
|
*/
|
|
@@ -1460,6 +1720,31 @@ export interface DescribeDiagDBInstancesRequest {
|
|
|
1460
1720
|
*/
|
|
1461
1721
|
Regions?: Array<string>;
|
|
1462
1722
|
}
|
|
1723
|
+
/**
|
|
1724
|
+
* DescribeNoPrimaryKeyTables请求参数结构体
|
|
1725
|
+
*/
|
|
1726
|
+
export interface DescribeNoPrimaryKeyTablesRequest {
|
|
1727
|
+
/**
|
|
1728
|
+
* 实例ID。
|
|
1729
|
+
*/
|
|
1730
|
+
InstanceId: string;
|
|
1731
|
+
/**
|
|
1732
|
+
* 查询日期,最早为30天前的日期。
|
|
1733
|
+
*/
|
|
1734
|
+
Date: string;
|
|
1735
|
+
/**
|
|
1736
|
+
* 查询数目,默认为20,最大为100。
|
|
1737
|
+
*/
|
|
1738
|
+
Limit?: number;
|
|
1739
|
+
/**
|
|
1740
|
+
* 偏移量,默认为0。
|
|
1741
|
+
*/
|
|
1742
|
+
Offset?: number;
|
|
1743
|
+
/**
|
|
1744
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1745
|
+
*/
|
|
1746
|
+
Product?: string;
|
|
1747
|
+
}
|
|
1463
1748
|
/**
|
|
1464
1749
|
* 查询实例列表,返回实例的相关信息的对象。
|
|
1465
1750
|
*/
|
|
@@ -1577,6 +1862,57 @@ export interface InstanceInfo {
|
|
|
1577
1862
|
*/
|
|
1578
1863
|
AuditRunningStatus: string;
|
|
1579
1864
|
}
|
|
1865
|
+
/**
|
|
1866
|
+
* CreateSqlFilter返回参数结构体
|
|
1867
|
+
*/
|
|
1868
|
+
export interface CreateSqlFilterResponse {
|
|
1869
|
+
/**
|
|
1870
|
+
* 限流任务ID。
|
|
1871
|
+
*/
|
|
1872
|
+
FilterId: number;
|
|
1873
|
+
/**
|
|
1874
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1875
|
+
*/
|
|
1876
|
+
RequestId?: string;
|
|
1877
|
+
}
|
|
1878
|
+
/**
|
|
1879
|
+
* VerifyUserAccount返回参数结构体
|
|
1880
|
+
*/
|
|
1881
|
+
export interface VerifyUserAccountResponse {
|
|
1882
|
+
/**
|
|
1883
|
+
* 会话token,有效期为5分钟。
|
|
1884
|
+
*/
|
|
1885
|
+
SessionToken: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1888
|
+
*/
|
|
1889
|
+
RequestId?: string;
|
|
1890
|
+
}
|
|
1891
|
+
/**
|
|
1892
|
+
* DescribeSqlFilters请求参数结构体
|
|
1893
|
+
*/
|
|
1894
|
+
export interface DescribeSqlFiltersRequest {
|
|
1895
|
+
/**
|
|
1896
|
+
* 实例ID。
|
|
1897
|
+
*/
|
|
1898
|
+
InstanceId: string;
|
|
1899
|
+
/**
|
|
1900
|
+
* 任务ID列表,用于筛选任务列表。
|
|
1901
|
+
*/
|
|
1902
|
+
FilterIds?: Array<number>;
|
|
1903
|
+
/**
|
|
1904
|
+
* 任务状态列表,用于筛选任务列表,取值包括RUNNING - 运行中, FINISHED - 已完成, TERMINATED - 已终止。
|
|
1905
|
+
*/
|
|
1906
|
+
Statuses?: Array<string>;
|
|
1907
|
+
/**
|
|
1908
|
+
* 偏移量,默认为0。
|
|
1909
|
+
*/
|
|
1910
|
+
Offset?: number;
|
|
1911
|
+
/**
|
|
1912
|
+
* 返回数量,默认为20,最大值为100。
|
|
1913
|
+
*/
|
|
1914
|
+
Limit?: number;
|
|
1915
|
+
}
|
|
1580
1916
|
/**
|
|
1581
1917
|
* DescribeSecurityAuditLogExportTasks请求参数结构体
|
|
1582
1918
|
*/
|
|
@@ -1717,6 +2053,35 @@ export interface DescribeMailProfileResponse {
|
|
|
1717
2053
|
*/
|
|
1718
2054
|
RequestId?: string;
|
|
1719
2055
|
}
|
|
2056
|
+
/**
|
|
2057
|
+
* DescribeRedisTopBigKeys请求参数结构体
|
|
2058
|
+
*/
|
|
2059
|
+
export interface DescribeRedisTopBigKeysRequest {
|
|
2060
|
+
/**
|
|
2061
|
+
* 实例ID。
|
|
2062
|
+
*/
|
|
2063
|
+
InstanceId: string;
|
|
2064
|
+
/**
|
|
2065
|
+
* 查询日期,最早可为前30天的日期。
|
|
2066
|
+
*/
|
|
2067
|
+
Date: string;
|
|
2068
|
+
/**
|
|
2069
|
+
* 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
|
|
2070
|
+
*/
|
|
2071
|
+
Product: string;
|
|
2072
|
+
/**
|
|
2073
|
+
* 排序字段,取值包括Capacity - 内存,ItemCount - 元素数量。
|
|
2074
|
+
*/
|
|
2075
|
+
SortBy?: string;
|
|
2076
|
+
/**
|
|
2077
|
+
* key类型筛选条件,默认为不进行筛选,取值包括string, list, set, hash, sortedset, stream。
|
|
2078
|
+
*/
|
|
2079
|
+
KeyType?: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* 查询数目,默认为20,最大值为100。
|
|
2082
|
+
*/
|
|
2083
|
+
Limit?: number;
|
|
2084
|
+
}
|
|
1720
2085
|
/**
|
|
1721
2086
|
* DescribeHealthScore请求参数结构体
|
|
1722
2087
|
*/
|
|
@@ -1932,6 +2297,15 @@ export interface DescribeAllUserGroupResponse {
|
|
|
1932
2297
|
*/
|
|
1933
2298
|
RequestId?: string;
|
|
1934
2299
|
}
|
|
2300
|
+
/**
|
|
2301
|
+
* ModifyDiagDBInstanceConf返回参数结构体
|
|
2302
|
+
*/
|
|
2303
|
+
export interface ModifyDiagDBInstanceConfResponse {
|
|
2304
|
+
/**
|
|
2305
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2306
|
+
*/
|
|
2307
|
+
RequestId?: string;
|
|
2308
|
+
}
|
|
1935
2309
|
/**
|
|
1936
2310
|
* DescribeUserSqlAdvice返回参数结构体
|
|
1937
2311
|
*/
|
|
@@ -1994,6 +2368,55 @@ export interface DescribeDBSpaceStatusResponse {
|
|
|
1994
2368
|
*/
|
|
1995
2369
|
RequestId?: string;
|
|
1996
2370
|
}
|
|
2371
|
+
/**
|
|
2372
|
+
* 实例SQL限流任务。
|
|
2373
|
+
*/
|
|
2374
|
+
export interface SQLFilter {
|
|
2375
|
+
/**
|
|
2376
|
+
* 任务ID。
|
|
2377
|
+
*/
|
|
2378
|
+
Id: number;
|
|
2379
|
+
/**
|
|
2380
|
+
* 任务状态,取值包括RUNNING - 运行中, FINISHED - 已完成, TERMINATED - 已终止。
|
|
2381
|
+
*/
|
|
2382
|
+
Status: string;
|
|
2383
|
+
/**
|
|
2384
|
+
* SQL类型,取值包括SELECT, UPDATE, DELETE, INSERT, REPLACE。
|
|
2385
|
+
*/
|
|
2386
|
+
SqlType: string;
|
|
2387
|
+
/**
|
|
2388
|
+
* 筛选SQL的关键词,多个关键词用英文逗号拼接。
|
|
2389
|
+
*/
|
|
2390
|
+
OriginKeys: string;
|
|
2391
|
+
/**
|
|
2392
|
+
* 筛选SQL的规则。
|
|
2393
|
+
*/
|
|
2394
|
+
OriginRule: string;
|
|
2395
|
+
/**
|
|
2396
|
+
* 已拒绝SQL数目。
|
|
2397
|
+
*/
|
|
2398
|
+
RejectedSqlCount: number;
|
|
2399
|
+
/**
|
|
2400
|
+
* 当前并发数。
|
|
2401
|
+
*/
|
|
2402
|
+
CurrentConcurrency: number;
|
|
2403
|
+
/**
|
|
2404
|
+
* 最大并发数。
|
|
2405
|
+
*/
|
|
2406
|
+
MaxConcurrency: number;
|
|
2407
|
+
/**
|
|
2408
|
+
* 任务创建时间。
|
|
2409
|
+
*/
|
|
2410
|
+
CreateTime: string;
|
|
2411
|
+
/**
|
|
2412
|
+
* 当前时间。
|
|
2413
|
+
*/
|
|
2414
|
+
CurrentTime: string;
|
|
2415
|
+
/**
|
|
2416
|
+
* 限流过期时间。
|
|
2417
|
+
*/
|
|
2418
|
+
ExpireTime: string;
|
|
2419
|
+
}
|
|
1997
2420
|
/**
|
|
1998
2421
|
* 描述组信息。
|
|
1999
2422
|
*/
|
|
@@ -2218,6 +2641,23 @@ export interface DescribeSlowLogTopSqlsResponse {
|
|
|
2218
2641
|
*/
|
|
2219
2642
|
RequestId?: string;
|
|
2220
2643
|
}
|
|
2644
|
+
/**
|
|
2645
|
+
* DeleteSqlFilters请求参数结构体
|
|
2646
|
+
*/
|
|
2647
|
+
export interface DeleteSqlFiltersRequest {
|
|
2648
|
+
/**
|
|
2649
|
+
* 实例ID。
|
|
2650
|
+
*/
|
|
2651
|
+
InstanceId: string;
|
|
2652
|
+
/**
|
|
2653
|
+
* 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
|
2654
|
+
*/
|
|
2655
|
+
SessionToken: string;
|
|
2656
|
+
/**
|
|
2657
|
+
* 限流任务ID列表。
|
|
2658
|
+
*/
|
|
2659
|
+
FilterIds: Array<number>;
|
|
2660
|
+
}
|
|
2221
2661
|
/**
|
|
2222
2662
|
* DescribeUserSqlAdvice请求参数结构体
|
|
2223
2663
|
*/
|
|
@@ -2239,6 +2679,31 @@ export interface DescribeUserSqlAdviceRequest {
|
|
|
2239
2679
|
*/
|
|
2240
2680
|
Product?: string;
|
|
2241
2681
|
}
|
|
2682
|
+
/**
|
|
2683
|
+
* 表结构。
|
|
2684
|
+
*/
|
|
2685
|
+
export interface Table {
|
|
2686
|
+
/**
|
|
2687
|
+
* 库名。
|
|
2688
|
+
*/
|
|
2689
|
+
TableSchema: string;
|
|
2690
|
+
/**
|
|
2691
|
+
* 表名。
|
|
2692
|
+
*/
|
|
2693
|
+
TableName: string;
|
|
2694
|
+
/**
|
|
2695
|
+
* 库表的存储引擎。
|
|
2696
|
+
*/
|
|
2697
|
+
Engine: string;
|
|
2698
|
+
/**
|
|
2699
|
+
* 行数。
|
|
2700
|
+
*/
|
|
2701
|
+
TableRows: number;
|
|
2702
|
+
/**
|
|
2703
|
+
* 总使用空间(MB)。
|
|
2704
|
+
*/
|
|
2705
|
+
TotalLength: number;
|
|
2706
|
+
}
|
|
2242
2707
|
/**
|
|
2243
2708
|
* DescribeMySqlProcessList请求参数结构体
|
|
2244
2709
|
*/
|