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
|
@@ -30,6 +30,46 @@ export interface SchemaSpaceTimeSeries {
|
|
|
30
30
|
SeriesData: MonitorMetricSeriesData
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* redis key空间信息。
|
|
35
|
+
*/
|
|
36
|
+
export interface RedisKeySpaceData {
|
|
37
|
+
/**
|
|
38
|
+
* key名。
|
|
39
|
+
*/
|
|
40
|
+
Key: string
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* key类型。
|
|
44
|
+
*/
|
|
45
|
+
Type: string
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* key编码方式。
|
|
49
|
+
*/
|
|
50
|
+
Encoding: string
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* key过期时间戳(毫秒),0代表未设置过期时间。
|
|
54
|
+
*/
|
|
55
|
+
ExpireTime: number
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* key内存大小,单位Byte。
|
|
59
|
+
*/
|
|
60
|
+
Length: number
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 元素个数。
|
|
64
|
+
*/
|
|
65
|
+
ItemCount: number
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* 最大元素长度。
|
|
69
|
+
*/
|
|
70
|
+
MaxElementSize: number
|
|
71
|
+
}
|
|
72
|
+
|
|
33
73
|
/**
|
|
34
74
|
* 健康报告任务详情。
|
|
35
75
|
*/
|
|
@@ -75,22 +115,6 @@ export interface HealthReportTask {
|
|
|
75
115
|
HealthStatus: HealthStatus
|
|
76
116
|
}
|
|
77
117
|
|
|
78
|
-
/**
|
|
79
|
-
* CreateDBDiagReportTask返回参数结构体
|
|
80
|
-
*/
|
|
81
|
-
export interface CreateDBDiagReportTaskResponse {
|
|
82
|
-
/**
|
|
83
|
-
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
84
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
85
|
-
*/
|
|
86
|
-
AsyncRequestId: number
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
90
|
-
*/
|
|
91
|
-
RequestId?: string
|
|
92
|
-
}
|
|
93
|
-
|
|
94
118
|
/**
|
|
95
119
|
* CreateDBDiagReportTask请求参数结构体
|
|
96
120
|
*/
|
|
@@ -378,15 +402,65 @@ export interface AddUserContactResponse {
|
|
|
378
402
|
}
|
|
379
403
|
|
|
380
404
|
/**
|
|
381
|
-
*
|
|
405
|
+
* CancelKillTask返回参数结构体
|
|
382
406
|
*/
|
|
383
|
-
export interface
|
|
407
|
+
export interface CancelKillTaskResponse {
|
|
408
|
+
/**
|
|
409
|
+
* kill会话任务终止成功返回1。
|
|
410
|
+
*/
|
|
411
|
+
Status: number
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
415
|
+
*/
|
|
416
|
+
RequestId?: string
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* DescribeRedisTopBigKeys返回参数结构体
|
|
421
|
+
*/
|
|
422
|
+
export interface DescribeRedisTopBigKeysResponse {
|
|
423
|
+
/**
|
|
424
|
+
* top key列表。
|
|
425
|
+
*/
|
|
426
|
+
TopKeys: Array<RedisKeySpaceData>
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* 采集时间戳(秒)。
|
|
430
|
+
*/
|
|
431
|
+
Timestamp: number
|
|
432
|
+
|
|
384
433
|
/**
|
|
385
434
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
386
435
|
*/
|
|
387
436
|
RequestId?: string
|
|
388
437
|
}
|
|
389
438
|
|
|
439
|
+
/**
|
|
440
|
+
* DescribeSqlTemplate请求参数结构体
|
|
441
|
+
*/
|
|
442
|
+
export interface DescribeSqlTemplateRequest {
|
|
443
|
+
/**
|
|
444
|
+
* 实例ID。
|
|
445
|
+
*/
|
|
446
|
+
InstanceId: string
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* 数据库名。
|
|
450
|
+
*/
|
|
451
|
+
Schema: string
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* SQL语句。
|
|
455
|
+
*/
|
|
456
|
+
SqlText: string
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
460
|
+
*/
|
|
461
|
+
Product?: string
|
|
462
|
+
}
|
|
463
|
+
|
|
390
464
|
/**
|
|
391
465
|
* DescribeTopSpaceSchemaTimeSeries返回参数结构体
|
|
392
466
|
*/
|
|
@@ -532,6 +606,97 @@ export interface SlowLogTopSqlItem {
|
|
|
532
606
|
Md5: string
|
|
533
607
|
}
|
|
534
608
|
|
|
609
|
+
/**
|
|
610
|
+
* DescribeNoPrimaryKeyTables返回参数结构体
|
|
611
|
+
*/
|
|
612
|
+
export interface DescribeNoPrimaryKeyTablesResponse {
|
|
613
|
+
/**
|
|
614
|
+
* 无主键表总数。
|
|
615
|
+
*/
|
|
616
|
+
NoPrimaryKeyTableCount: number
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* 与昨日扫描无主键表的差值,正数为增加,负数为减少,0为无变化。
|
|
620
|
+
*/
|
|
621
|
+
NoPrimaryKeyTableCountDiff: number
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* 记录的无主键表总数(不超过无主键表总数),可用于分页查询。
|
|
625
|
+
*/
|
|
626
|
+
NoPrimaryKeyTableRecordCount: number
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* 无主键表列表。
|
|
630
|
+
*/
|
|
631
|
+
NoPrimaryKeyTables: Array<Table>
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* 采集时间戳(秒)。
|
|
635
|
+
*/
|
|
636
|
+
Timestamp: number
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
640
|
+
*/
|
|
641
|
+
RequestId?: string
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* 实例诊断历史事件
|
|
646
|
+
*/
|
|
647
|
+
export interface DiagHistoryEventItem {
|
|
648
|
+
/**
|
|
649
|
+
* 诊断类型。
|
|
650
|
+
*/
|
|
651
|
+
DiagType: string
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* 结束时间。
|
|
655
|
+
*/
|
|
656
|
+
EndTime: string
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* 开始时间。
|
|
660
|
+
*/
|
|
661
|
+
StartTime: string
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* 事件唯一ID 。
|
|
665
|
+
*/
|
|
666
|
+
EventId: number
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。
|
|
670
|
+
*/
|
|
671
|
+
Severity: number
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* 诊断概要。
|
|
675
|
+
*/
|
|
676
|
+
Outline: string
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* 诊断项说明。
|
|
680
|
+
*/
|
|
681
|
+
DiagItem: string
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* 实例 ID 。
|
|
685
|
+
*/
|
|
686
|
+
InstanceId: string
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* 保留字段。
|
|
690
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
691
|
+
*/
|
|
692
|
+
Metric: string
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* 地域。
|
|
696
|
+
*/
|
|
697
|
+
Region: string
|
|
698
|
+
}
|
|
699
|
+
|
|
535
700
|
/**
|
|
536
701
|
* DescribeProxySessionKillTasks请求参数结构体
|
|
537
702
|
*/
|
|
@@ -673,6 +838,16 @@ export interface TaskInfo {
|
|
|
673
838
|
InstanceId: string
|
|
674
839
|
}
|
|
675
840
|
|
|
841
|
+
/**
|
|
842
|
+
* ModifySqlFilters返回参数结构体
|
|
843
|
+
*/
|
|
844
|
+
export interface ModifySqlFiltersResponse {
|
|
845
|
+
/**
|
|
846
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
847
|
+
*/
|
|
848
|
+
RequestId?: string
|
|
849
|
+
}
|
|
850
|
+
|
|
676
851
|
/**
|
|
677
852
|
* KillMySqlThreads返回参数结构体
|
|
678
853
|
*/
|
|
@@ -825,48 +1000,19 @@ export interface DescribeSecurityAuditLogDownloadUrlsRequest {
|
|
|
825
1000
|
}
|
|
826
1001
|
|
|
827
1002
|
/**
|
|
828
|
-
*
|
|
1003
|
+
* CreateDBDiagReportTask返回参数结构体
|
|
829
1004
|
*/
|
|
830
|
-
export interface
|
|
831
|
-
/**
|
|
832
|
-
* 线程ID。
|
|
833
|
-
*/
|
|
834
|
-
ID: string
|
|
835
|
-
|
|
836
|
-
/**
|
|
837
|
-
* 线程的操作账号名。
|
|
838
|
-
*/
|
|
839
|
-
User: string
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
* 线程的操作主机地址。
|
|
843
|
-
*/
|
|
844
|
-
Host: string
|
|
845
|
-
|
|
846
|
-
/**
|
|
847
|
-
* 线程的操作数据库。
|
|
848
|
-
*/
|
|
849
|
-
DB: string
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
* 线程的操作状态。
|
|
853
|
-
*/
|
|
854
|
-
State: string
|
|
855
|
-
|
|
856
|
-
/**
|
|
857
|
-
* 线程的执行类型。
|
|
858
|
-
*/
|
|
859
|
-
Command: string
|
|
860
|
-
|
|
1005
|
+
export interface CreateDBDiagReportTaskResponse {
|
|
861
1006
|
/**
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
1007
|
+
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
1008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1009
|
+
*/
|
|
1010
|
+
AsyncRequestId: number
|
|
865
1011
|
|
|
866
1012
|
/**
|
|
867
|
-
*
|
|
1013
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
868
1014
|
*/
|
|
869
|
-
|
|
1015
|
+
RequestId?: string
|
|
870
1016
|
}
|
|
871
1017
|
|
|
872
1018
|
/**
|
|
@@ -905,59 +1051,63 @@ export interface DescribeSlowLogTimeSeriesStatsRequest {
|
|
|
905
1051
|
}
|
|
906
1052
|
|
|
907
1053
|
/**
|
|
908
|
-
*
|
|
1054
|
+
* CancelKillTask请求参数结构体
|
|
909
1055
|
*/
|
|
910
|
-
export interface
|
|
1056
|
+
export interface CancelKillTaskRequest {
|
|
911
1057
|
/**
|
|
912
|
-
*
|
|
1058
|
+
* 实例ID。
|
|
913
1059
|
*/
|
|
914
|
-
|
|
1060
|
+
InstanceId: string
|
|
915
1061
|
|
|
916
1062
|
/**
|
|
917
|
-
*
|
|
1063
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
918
1064
|
*/
|
|
919
|
-
|
|
1065
|
+
Product?: string
|
|
1066
|
+
}
|
|
920
1067
|
|
|
1068
|
+
/**
|
|
1069
|
+
* 关系型数据库线程
|
|
1070
|
+
*/
|
|
1071
|
+
export interface MySqlProcess {
|
|
921
1072
|
/**
|
|
922
|
-
*
|
|
1073
|
+
* 线程ID。
|
|
923
1074
|
*/
|
|
924
|
-
|
|
1075
|
+
ID: string
|
|
925
1076
|
|
|
926
1077
|
/**
|
|
927
|
-
*
|
|
1078
|
+
* 线程的操作账号名。
|
|
928
1079
|
*/
|
|
929
|
-
|
|
1080
|
+
User: string
|
|
930
1081
|
|
|
931
1082
|
/**
|
|
932
|
-
*
|
|
1083
|
+
* 线程的操作主机地址。
|
|
933
1084
|
*/
|
|
934
|
-
|
|
1085
|
+
Host: string
|
|
935
1086
|
|
|
936
1087
|
/**
|
|
937
|
-
*
|
|
1088
|
+
* 线程的操作数据库。
|
|
938
1089
|
*/
|
|
939
|
-
|
|
1090
|
+
DB: string
|
|
940
1091
|
|
|
941
1092
|
/**
|
|
942
|
-
*
|
|
1093
|
+
* 线程的操作状态。
|
|
943
1094
|
*/
|
|
944
|
-
|
|
1095
|
+
State: string
|
|
945
1096
|
|
|
946
1097
|
/**
|
|
947
|
-
*
|
|
1098
|
+
* 线程的执行类型。
|
|
948
1099
|
*/
|
|
949
|
-
|
|
1100
|
+
Command: string
|
|
950
1101
|
|
|
951
1102
|
/**
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
Metric: string
|
|
1103
|
+
* 线程的操作时长,单位秒。
|
|
1104
|
+
*/
|
|
1105
|
+
Time: string
|
|
956
1106
|
|
|
957
1107
|
/**
|
|
958
|
-
*
|
|
1108
|
+
* 线程的操作语句。
|
|
959
1109
|
*/
|
|
960
|
-
|
|
1110
|
+
Info: string
|
|
961
1111
|
}
|
|
962
1112
|
|
|
963
1113
|
/**
|
|
@@ -1000,6 +1150,16 @@ export interface CreateKillTaskResponse {
|
|
|
1000
1150
|
RequestId?: string
|
|
1001
1151
|
}
|
|
1002
1152
|
|
|
1153
|
+
/**
|
|
1154
|
+
* DeleteSqlFilters返回参数结构体
|
|
1155
|
+
*/
|
|
1156
|
+
export interface DeleteSqlFiltersResponse {
|
|
1157
|
+
/**
|
|
1158
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1159
|
+
*/
|
|
1160
|
+
RequestId?: string
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1003
1163
|
/**
|
|
1004
1164
|
* DescribeDBDiagEvents请求参数结构体
|
|
1005
1165
|
*/
|
|
@@ -1205,6 +1365,31 @@ export interface MailConfiguration {
|
|
|
1205
1365
|
ContactGroup?: Array<number>
|
|
1206
1366
|
}
|
|
1207
1367
|
|
|
1368
|
+
/**
|
|
1369
|
+
* VerifyUserAccount请求参数结构体
|
|
1370
|
+
*/
|
|
1371
|
+
export interface VerifyUserAccountRequest {
|
|
1372
|
+
/**
|
|
1373
|
+
* 实例ID。
|
|
1374
|
+
*/
|
|
1375
|
+
InstanceId: string
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* 数据库账号名。
|
|
1379
|
+
*/
|
|
1380
|
+
User: string
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* 数据库账号密码。
|
|
1384
|
+
*/
|
|
1385
|
+
Password: string
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1389
|
+
*/
|
|
1390
|
+
Product?: string
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1208
1393
|
/**
|
|
1209
1394
|
* DescribeSlowLogUserHostStats返回参数结构体
|
|
1210
1395
|
*/
|
|
@@ -1400,6 +1585,26 @@ export interface KillMySqlThreadsRequest {
|
|
|
1400
1585
|
Product?: string
|
|
1401
1586
|
}
|
|
1402
1587
|
|
|
1588
|
+
/**
|
|
1589
|
+
* DescribeSqlFilters返回参数结构体
|
|
1590
|
+
*/
|
|
1591
|
+
export interface DescribeSqlFiltersResponse {
|
|
1592
|
+
/**
|
|
1593
|
+
* 限流任务总数目。
|
|
1594
|
+
*/
|
|
1595
|
+
TotalCount: number
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* 限流任务列表。
|
|
1599
|
+
*/
|
|
1600
|
+
Items: Array<SQLFilter>
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1604
|
+
*/
|
|
1605
|
+
RequestId?: string
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1403
1608
|
/**
|
|
1404
1609
|
* CreateDBDiagReportUrl请求参数结构体
|
|
1405
1610
|
*/
|
|
@@ -1412,27 +1617,62 @@ export interface CreateDBDiagReportUrlRequest {
|
|
|
1412
1617
|
/**
|
|
1413
1618
|
* 健康报告相应的任务ID,可通过DescribeDBDiagReportTasks查询。
|
|
1414
1619
|
*/
|
|
1415
|
-
AsyncRequestId: number
|
|
1620
|
+
AsyncRequestId: number
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1624
|
+
*/
|
|
1625
|
+
Product?: string
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* DescribeSecurityAuditLogExportTasks返回参数结构体
|
|
1630
|
+
*/
|
|
1631
|
+
export interface DescribeSecurityAuditLogExportTasksResponse {
|
|
1632
|
+
/**
|
|
1633
|
+
* 安全审计日志导出任务列表。
|
|
1634
|
+
*/
|
|
1635
|
+
Tasks: Array<SecLogExportTaskInfo>
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* 安全审计日志导出任务总数。
|
|
1639
|
+
*/
|
|
1640
|
+
TotalCount: number
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1644
|
+
*/
|
|
1645
|
+
RequestId?: string
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* DescribeSqlTemplate返回参数结构体
|
|
1650
|
+
*/
|
|
1651
|
+
export interface DescribeSqlTemplateResponse {
|
|
1652
|
+
/**
|
|
1653
|
+
* 数据库名。
|
|
1654
|
+
*/
|
|
1655
|
+
Schema: string
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* SQL语句。
|
|
1659
|
+
*/
|
|
1660
|
+
SqlText: string
|
|
1416
1661
|
|
|
1417
1662
|
/**
|
|
1418
|
-
*
|
|
1663
|
+
* SQL类型。
|
|
1419
1664
|
*/
|
|
1420
|
-
|
|
1421
|
-
}
|
|
1665
|
+
SqlType: string
|
|
1422
1666
|
|
|
1423
|
-
/**
|
|
1424
|
-
* DescribeSecurityAuditLogExportTasks返回参数结构体
|
|
1425
|
-
*/
|
|
1426
|
-
export interface DescribeSecurityAuditLogExportTasksResponse {
|
|
1427
1667
|
/**
|
|
1428
|
-
*
|
|
1668
|
+
* SQL模版内容。
|
|
1429
1669
|
*/
|
|
1430
|
-
|
|
1670
|
+
SqlTemplate: string
|
|
1431
1671
|
|
|
1432
1672
|
/**
|
|
1433
|
-
*
|
|
1673
|
+
* SQL模版ID。
|
|
1434
1674
|
*/
|
|
1435
|
-
|
|
1675
|
+
SqlId: number
|
|
1436
1676
|
|
|
1437
1677
|
/**
|
|
1438
1678
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1515,6 +1755,36 @@ export interface DescribeDBDiagEventRequest {
|
|
|
1515
1755
|
Product?: string
|
|
1516
1756
|
}
|
|
1517
1757
|
|
|
1758
|
+
/**
|
|
1759
|
+
* ModifySqlFilters请求参数结构体
|
|
1760
|
+
*/
|
|
1761
|
+
export interface ModifySqlFiltersRequest {
|
|
1762
|
+
/**
|
|
1763
|
+
* 实例ID。
|
|
1764
|
+
*/
|
|
1765
|
+
InstanceId: string
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
|
1769
|
+
*/
|
|
1770
|
+
SessionToken: string
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* SQL限流任务ID列表。
|
|
1774
|
+
*/
|
|
1775
|
+
FilterIds: Array<number>
|
|
1776
|
+
|
|
1777
|
+
/**
|
|
1778
|
+
* 限流任务状态,取值支持TERMINATED - 终止。
|
|
1779
|
+
*/
|
|
1780
|
+
Status: string
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1784
|
+
*/
|
|
1785
|
+
Product?: string
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1518
1788
|
/**
|
|
1519
1789
|
* DescribeAllUserContact返回参数结构体
|
|
1520
1790
|
*/
|
|
@@ -1626,6 +1896,46 @@ export interface AddUserContactRequest {
|
|
|
1626
1896
|
Product: string
|
|
1627
1897
|
}
|
|
1628
1898
|
|
|
1899
|
+
/**
|
|
1900
|
+
* CreateSqlFilter请求参数结构体
|
|
1901
|
+
*/
|
|
1902
|
+
export interface CreateSqlFilterRequest {
|
|
1903
|
+
/**
|
|
1904
|
+
* 实例ID。
|
|
1905
|
+
*/
|
|
1906
|
+
InstanceId: string
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
1909
|
+
* 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
|
1910
|
+
*/
|
|
1911
|
+
SessionToken: string
|
|
1912
|
+
|
|
1913
|
+
/**
|
|
1914
|
+
* SQL类型,取值包括SELECT, UPDATE, DELETE, INSERT, REPLACE。
|
|
1915
|
+
*/
|
|
1916
|
+
SqlType: string
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* 关键字,用于筛选SQL语句,多个关键字用英文逗号分隔,逗号不能作为关键词,多个关键词之间的关系为“逻辑与”。
|
|
1920
|
+
*/
|
|
1921
|
+
FilterKey: string
|
|
1922
|
+
|
|
1923
|
+
/**
|
|
1924
|
+
* 最大并发度,取值不能小于0,如果该值设为 0,则表示限制所有匹配的SQL执行。
|
|
1925
|
+
*/
|
|
1926
|
+
MaxConcurrency: number
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* 限流时长,单位秒,支持-1和小于2147483647的正整数,-1表示永不过期。
|
|
1930
|
+
*/
|
|
1931
|
+
Duration: number
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1935
|
+
*/
|
|
1936
|
+
Product?: string
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1629
1939
|
/**
|
|
1630
1940
|
* 实例基础信息。
|
|
1631
1941
|
*/
|
|
@@ -1762,6 +2072,36 @@ export interface DescribeDiagDBInstancesRequest {
|
|
|
1762
2072
|
Regions?: Array<string>
|
|
1763
2073
|
}
|
|
1764
2074
|
|
|
2075
|
+
/**
|
|
2076
|
+
* DescribeNoPrimaryKeyTables请求参数结构体
|
|
2077
|
+
*/
|
|
2078
|
+
export interface DescribeNoPrimaryKeyTablesRequest {
|
|
2079
|
+
/**
|
|
2080
|
+
* 实例ID。
|
|
2081
|
+
*/
|
|
2082
|
+
InstanceId: string
|
|
2083
|
+
|
|
2084
|
+
/**
|
|
2085
|
+
* 查询日期,最早为30天前的日期。
|
|
2086
|
+
*/
|
|
2087
|
+
Date: string
|
|
2088
|
+
|
|
2089
|
+
/**
|
|
2090
|
+
* 查询数目,默认为20,最大为100。
|
|
2091
|
+
*/
|
|
2092
|
+
Limit?: number
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* 偏移量,默认为0。
|
|
2096
|
+
*/
|
|
2097
|
+
Offset?: number
|
|
2098
|
+
|
|
2099
|
+
/**
|
|
2100
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
2101
|
+
*/
|
|
2102
|
+
Product?: string
|
|
2103
|
+
}
|
|
2104
|
+
|
|
1765
2105
|
/**
|
|
1766
2106
|
* 查询实例列表,返回实例的相关信息的对象。
|
|
1767
2107
|
*/
|
|
@@ -1907,6 +2247,66 @@ export interface InstanceInfo {
|
|
|
1907
2247
|
AuditRunningStatus: string
|
|
1908
2248
|
}
|
|
1909
2249
|
|
|
2250
|
+
/**
|
|
2251
|
+
* CreateSqlFilter返回参数结构体
|
|
2252
|
+
*/
|
|
2253
|
+
export interface CreateSqlFilterResponse {
|
|
2254
|
+
/**
|
|
2255
|
+
* 限流任务ID。
|
|
2256
|
+
*/
|
|
2257
|
+
FilterId: number
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2261
|
+
*/
|
|
2262
|
+
RequestId?: string
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
/**
|
|
2266
|
+
* VerifyUserAccount返回参数结构体
|
|
2267
|
+
*/
|
|
2268
|
+
export interface VerifyUserAccountResponse {
|
|
2269
|
+
/**
|
|
2270
|
+
* 会话token,有效期为5分钟。
|
|
2271
|
+
*/
|
|
2272
|
+
SessionToken: string
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2276
|
+
*/
|
|
2277
|
+
RequestId?: string
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
* DescribeSqlFilters请求参数结构体
|
|
2282
|
+
*/
|
|
2283
|
+
export interface DescribeSqlFiltersRequest {
|
|
2284
|
+
/**
|
|
2285
|
+
* 实例ID。
|
|
2286
|
+
*/
|
|
2287
|
+
InstanceId: string
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* 任务ID列表,用于筛选任务列表。
|
|
2291
|
+
*/
|
|
2292
|
+
FilterIds?: Array<number>
|
|
2293
|
+
|
|
2294
|
+
/**
|
|
2295
|
+
* 任务状态列表,用于筛选任务列表,取值包括RUNNING - 运行中, FINISHED - 已完成, TERMINATED - 已终止。
|
|
2296
|
+
*/
|
|
2297
|
+
Statuses?: Array<string>
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
* 偏移量,默认为0。
|
|
2301
|
+
*/
|
|
2302
|
+
Offset?: number
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* 返回数量,默认为20,最大值为100。
|
|
2306
|
+
*/
|
|
2307
|
+
Limit?: number
|
|
2308
|
+
}
|
|
2309
|
+
|
|
1910
2310
|
/**
|
|
1911
2311
|
* DescribeSecurityAuditLogExportTasks请求参数结构体
|
|
1912
2312
|
*/
|
|
@@ -2074,6 +2474,41 @@ export interface DescribeMailProfileResponse {
|
|
|
2074
2474
|
RequestId?: string
|
|
2075
2475
|
}
|
|
2076
2476
|
|
|
2477
|
+
/**
|
|
2478
|
+
* DescribeRedisTopBigKeys请求参数结构体
|
|
2479
|
+
*/
|
|
2480
|
+
export interface DescribeRedisTopBigKeysRequest {
|
|
2481
|
+
/**
|
|
2482
|
+
* 实例ID。
|
|
2483
|
+
*/
|
|
2484
|
+
InstanceId: string
|
|
2485
|
+
|
|
2486
|
+
/**
|
|
2487
|
+
* 查询日期,最早可为前30天的日期。
|
|
2488
|
+
*/
|
|
2489
|
+
Date: string
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
|
|
2493
|
+
*/
|
|
2494
|
+
Product: string
|
|
2495
|
+
|
|
2496
|
+
/**
|
|
2497
|
+
* 排序字段,取值包括Capacity - 内存,ItemCount - 元素数量。
|
|
2498
|
+
*/
|
|
2499
|
+
SortBy?: string
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* key类型筛选条件,默认为不进行筛选,取值包括string, list, set, hash, sortedset, stream。
|
|
2503
|
+
*/
|
|
2504
|
+
KeyType?: string
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* 查询数目,默认为20,最大值为100。
|
|
2508
|
+
*/
|
|
2509
|
+
Limit?: number
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2077
2512
|
/**
|
|
2078
2513
|
* DescribeHealthScore请求参数结构体
|
|
2079
2514
|
*/
|
|
@@ -2326,6 +2761,16 @@ export interface DescribeAllUserGroupResponse {
|
|
|
2326
2761
|
RequestId?: string
|
|
2327
2762
|
}
|
|
2328
2763
|
|
|
2764
|
+
/**
|
|
2765
|
+
* ModifyDiagDBInstanceConf返回参数结构体
|
|
2766
|
+
*/
|
|
2767
|
+
export interface ModifyDiagDBInstanceConfResponse {
|
|
2768
|
+
/**
|
|
2769
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2770
|
+
*/
|
|
2771
|
+
RequestId?: string
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2329
2774
|
/**
|
|
2330
2775
|
* DescribeUserSqlAdvice返回参数结构体
|
|
2331
2776
|
*/
|
|
@@ -2401,6 +2846,66 @@ export interface DescribeDBSpaceStatusResponse {
|
|
|
2401
2846
|
RequestId?: string
|
|
2402
2847
|
}
|
|
2403
2848
|
|
|
2849
|
+
/**
|
|
2850
|
+
* 实例SQL限流任务。
|
|
2851
|
+
*/
|
|
2852
|
+
export interface SQLFilter {
|
|
2853
|
+
/**
|
|
2854
|
+
* 任务ID。
|
|
2855
|
+
*/
|
|
2856
|
+
Id: number
|
|
2857
|
+
|
|
2858
|
+
/**
|
|
2859
|
+
* 任务状态,取值包括RUNNING - 运行中, FINISHED - 已完成, TERMINATED - 已终止。
|
|
2860
|
+
*/
|
|
2861
|
+
Status: string
|
|
2862
|
+
|
|
2863
|
+
/**
|
|
2864
|
+
* SQL类型,取值包括SELECT, UPDATE, DELETE, INSERT, REPLACE。
|
|
2865
|
+
*/
|
|
2866
|
+
SqlType: string
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* 筛选SQL的关键词,多个关键词用英文逗号拼接。
|
|
2870
|
+
*/
|
|
2871
|
+
OriginKeys: string
|
|
2872
|
+
|
|
2873
|
+
/**
|
|
2874
|
+
* 筛选SQL的规则。
|
|
2875
|
+
*/
|
|
2876
|
+
OriginRule: string
|
|
2877
|
+
|
|
2878
|
+
/**
|
|
2879
|
+
* 已拒绝SQL数目。
|
|
2880
|
+
*/
|
|
2881
|
+
RejectedSqlCount: number
|
|
2882
|
+
|
|
2883
|
+
/**
|
|
2884
|
+
* 当前并发数。
|
|
2885
|
+
*/
|
|
2886
|
+
CurrentConcurrency: number
|
|
2887
|
+
|
|
2888
|
+
/**
|
|
2889
|
+
* 最大并发数。
|
|
2890
|
+
*/
|
|
2891
|
+
MaxConcurrency: number
|
|
2892
|
+
|
|
2893
|
+
/**
|
|
2894
|
+
* 任务创建时间。
|
|
2895
|
+
*/
|
|
2896
|
+
CreateTime: string
|
|
2897
|
+
|
|
2898
|
+
/**
|
|
2899
|
+
* 当前时间。
|
|
2900
|
+
*/
|
|
2901
|
+
CurrentTime: string
|
|
2902
|
+
|
|
2903
|
+
/**
|
|
2904
|
+
* 限流过期时间。
|
|
2905
|
+
*/
|
|
2906
|
+
ExpireTime: string
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2404
2909
|
/**
|
|
2405
2910
|
* 描述组信息。
|
|
2406
2911
|
*/
|
|
@@ -2668,6 +3173,26 @@ export interface DescribeSlowLogTopSqlsResponse {
|
|
|
2668
3173
|
RequestId?: string
|
|
2669
3174
|
}
|
|
2670
3175
|
|
|
3176
|
+
/**
|
|
3177
|
+
* DeleteSqlFilters请求参数结构体
|
|
3178
|
+
*/
|
|
3179
|
+
export interface DeleteSqlFiltersRequest {
|
|
3180
|
+
/**
|
|
3181
|
+
* 实例ID。
|
|
3182
|
+
*/
|
|
3183
|
+
InstanceId: string
|
|
3184
|
+
|
|
3185
|
+
/**
|
|
3186
|
+
* 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
|
3187
|
+
*/
|
|
3188
|
+
SessionToken: string
|
|
3189
|
+
|
|
3190
|
+
/**
|
|
3191
|
+
* 限流任务ID列表。
|
|
3192
|
+
*/
|
|
3193
|
+
FilterIds: Array<number>
|
|
3194
|
+
}
|
|
3195
|
+
|
|
2671
3196
|
/**
|
|
2672
3197
|
* DescribeUserSqlAdvice请求参数结构体
|
|
2673
3198
|
*/
|
|
@@ -2693,6 +3218,36 @@ export interface DescribeUserSqlAdviceRequest {
|
|
|
2693
3218
|
Product?: string
|
|
2694
3219
|
}
|
|
2695
3220
|
|
|
3221
|
+
/**
|
|
3222
|
+
* 表结构。
|
|
3223
|
+
*/
|
|
3224
|
+
export interface Table {
|
|
3225
|
+
/**
|
|
3226
|
+
* 库名。
|
|
3227
|
+
*/
|
|
3228
|
+
TableSchema: string
|
|
3229
|
+
|
|
3230
|
+
/**
|
|
3231
|
+
* 表名。
|
|
3232
|
+
*/
|
|
3233
|
+
TableName: string
|
|
3234
|
+
|
|
3235
|
+
/**
|
|
3236
|
+
* 库表的存储引擎。
|
|
3237
|
+
*/
|
|
3238
|
+
Engine: string
|
|
3239
|
+
|
|
3240
|
+
/**
|
|
3241
|
+
* 行数。
|
|
3242
|
+
*/
|
|
3243
|
+
TableRows: number
|
|
3244
|
+
|
|
3245
|
+
/**
|
|
3246
|
+
* 总使用空间(MB)。
|
|
3247
|
+
*/
|
|
3248
|
+
TotalLength: number
|
|
3249
|
+
}
|
|
3250
|
+
|
|
2696
3251
|
/**
|
|
2697
3252
|
* DescribeMySqlProcessList请求参数结构体
|
|
2698
3253
|
*/
|