tencentcloud-sdk-nodejs-dbbrain 4.0.1053 → 4.1.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.
Files changed (32) hide show
  1. package/README.md +18 -4
  2. package/es/index.js +1 -0
  3. package/es/services/dbbrain/index.js +6 -0
  4. package/es/services/dbbrain/v20191016/dbbrain_client.js +87 -0
  5. package/es/services/dbbrain/v20191016/dbbrain_models.js +0 -0
  6. package/es/services/dbbrain/v20191016/index.js +6 -0
  7. package/es/services/dbbrain/v20210527/dbbrain_client.js +219 -0
  8. package/es/services/dbbrain/v20210527/dbbrain_models.js +0 -0
  9. package/es/services/dbbrain/v20210527/index.js +6 -0
  10. package/es/services/index.js +1 -0
  11. package/package.json +24 -8
  12. package/tencentcloud/services/dbbrain/v20191016/dbbrain_client.js +2 -1
  13. package/tencentcloud/services/dbbrain/v20191016/dbbrain_models.d.ts +14 -32
  14. package/tencentcloud/services/dbbrain/v20191016/index.js +2 -1
  15. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +31 -3
  16. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +47 -4
  17. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +468 -159
  18. package/tencentcloud/services/dbbrain/v20210527/index.js +2 -1
  19. package/index.d.ts +0 -2
  20. package/index.js +0 -6
  21. package/prettier.config.js +0 -38
  22. package/src/index.ts +0 -1
  23. package/src/services/dbbrain/index.ts +0 -7
  24. package/src/services/dbbrain/v20191016/dbbrain_client.ts +0 -384
  25. package/src/services/dbbrain/v20191016/dbbrain_models.ts +0 -2108
  26. package/src/services/dbbrain/v20191016/index.ts +0 -6
  27. package/src/services/dbbrain/v20210527/dbbrain_client.ts +0 -858
  28. package/src/services/dbbrain/v20210527/dbbrain_models.ts +0 -4712
  29. package/src/services/dbbrain/v20210527/index.ts +0 -6
  30. package/src/services/index.ts +0 -1
  31. package/tsconfig.json +0 -33
  32. package/typings/index.d.ts +0 -2
@@ -28,6 +28,23 @@ export interface SlowLogUser {
28
28
  */
29
29
  Count?: number;
30
30
  }
31
+ /**
32
+ * DescribeUserAutonomyProfile请求参数结构体
33
+ */
34
+ export interface DescribeUserAutonomyProfileRequest {
35
+ /**
36
+ * 配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)。
37
+ */
38
+ ProfileType: string;
39
+ /**
40
+ * 实列ID。
41
+ */
42
+ InstanceId: string;
43
+ /**
44
+ * 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
45
+ */
46
+ Product: string;
47
+ }
31
48
  /**
32
49
  * redis key空间信息。
33
50
  */
@@ -95,41 +112,21 @@ export interface DescribeRedisTopKeyPrefixListRequest {
95
112
  ShardIds?: Array<number | bigint>;
96
113
  }
97
114
  /**
98
- * 健康报告任务详情。
115
+ * DescribeDBAutonomyActions请求参数结构体
99
116
  */
100
- export interface HealthReportTask {
101
- /**
102
- * 异步任务请求 ID。
103
- */
104
- AsyncRequestId: number;
105
- /**
106
- * 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" - 定时生成;"MANUAL" - 手动触发。
107
- */
108
- Source: string;
109
- /**
110
- * 任务完成进度,单位%。
111
- */
112
- Progress: number;
113
- /**
114
- * 任务创建时间。
115
- */
116
- CreateTime: string;
117
- /**
118
- * 任务开始执行时间。
119
- */
120
- StartTime: string;
117
+ export interface DescribeDBAutonomyActionsRequest {
121
118
  /**
122
- * 任务完成执行时间。
119
+ * 事件ID。
123
120
  */
124
- EndTime: string;
121
+ EventId: number;
125
122
  /**
126
- * 任务所属实例的基础信息。
123
+ * 实列ID。
127
124
  */
128
- InstanceInfo: InstanceBasicInfo;
125
+ InstanceId: string;
129
126
  /**
130
- * 健康报告中的健康信息。
127
+ * 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
131
128
  */
132
- HealthStatus: HealthStatus;
129
+ Product: string;
133
130
  }
134
131
  /**
135
132
  * 安全审计日志导出任务信息
@@ -138,49 +135,52 @@ export interface SecLogExportTaskInfo {
138
135
  /**
139
136
  * 异步任务Id。
140
137
  */
141
- AsyncRequestId: number;
138
+ AsyncRequestId?: number;
142
139
  /**
143
140
  * 任务开始时间。
144
- 注意:此字段可能返回 null,表示取不到有效值。
145
141
  */
146
- StartTime: string;
142
+ StartTime?: string;
147
143
  /**
148
144
  * 任务结束时间。
149
- 注意:此字段可能返回 null,表示取不到有效值。
150
145
  */
151
- EndTime: string;
146
+ EndTime?: string;
152
147
  /**
153
148
  * 任务创建时间。
154
149
  */
155
- CreateTime: string;
150
+ CreateTime?: string;
156
151
  /**
157
152
  * 任务状态。
158
153
  */
159
- Status: string;
154
+ Status?: string;
160
155
  /**
161
156
  * 任务执行进度。
162
157
  */
163
- Progress: number;
158
+ Progress?: number;
164
159
  /**
165
160
  * 导出日志开始时间。
166
- 注意:此字段可能返回 null,表示取不到有效值。
167
161
  */
168
- LogStartTime: string;
162
+ LogStartTime?: string;
169
163
  /**
170
164
  * 导出日志结束时间。
171
- 注意:此字段可能返回 null,表示取不到有效值。
172
165
  */
173
- LogEndTime: string;
166
+ LogEndTime?: string;
174
167
  /**
175
168
  * 日志文件总大小,单位KB。
176
- 注意:此字段可能返回 null,表示取不到有效值。
177
169
  */
178
- TotalSize: number;
170
+ TotalSize?: number;
179
171
  /**
180
172
  * 风险等级列表。0 无风险;1 低风险;2 中风险;3 高风险。
181
- 注意:此字段可能返回 null,表示取不到有效值。
182
173
  */
183
- DangerLevels: Array<number | bigint>;
174
+ DangerLevels?: Array<number | bigint>;
175
+ }
176
+ /**
177
+ * CancelDBAutonomyAction返回参数结构体
178
+ */
179
+ export interface CancelDBAutonomyActionResponse {
180
+ /**
181
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
182
+ */
183
+ RequestId?: string;
184
184
  }
185
185
  /**
186
186
  * OpenAuditService返回参数结构体
@@ -195,6 +195,27 @@ export interface OpenAuditServiceResponse {
195
195
  */
196
196
  RequestId?: string;
197
197
  }
198
+ /**
199
+ * DescribeUserAutonomyProfile返回参数结构体
200
+ */
201
+ export interface DescribeUserAutonomyProfileResponse {
202
+ /**
203
+ * 配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)。
204
+ */
205
+ ProfileType?: string;
206
+ /**
207
+ * 更新时间。
208
+ */
209
+ UpdateTime?: string;
210
+ /**
211
+ * 自治用户配置。
212
+ */
213
+ ProfileInfo?: AutonomyUserProfileInfo;
214
+ /**
215
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
216
+ */
217
+ RequestId?: string;
218
+ }
198
219
  /**
199
220
  * DescribeRedisTopHotKeys请求参数结构体
200
221
  */
@@ -516,6 +537,23 @@ export interface DescribeDBDiagEventResponse {
516
537
  */
517
538
  RequestId?: string;
518
539
  }
540
+ /**
541
+ * DescribeDBAutonomyActions返回参数结构体
542
+ */
543
+ export interface DescribeDBAutonomyActionsResponse {
544
+ /**
545
+ * 自治事件总数。
546
+ */
547
+ TotalCount?: number;
548
+ /**
549
+ * 自治事件列表。
550
+ */
551
+ Actions?: Array<AutonomyActionVo>;
552
+ /**
553
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
554
+ */
555
+ RequestId?: string;
556
+ }
519
557
  /**
520
558
  * DescribeSlowLogTopSqls请求参数结构体
521
559
  */
@@ -634,7 +672,6 @@ export interface AuditInstanceInfo {
634
672
  Region?: string;
635
673
  /**
636
674
  * 资源Tags。
637
- 注意:此字段可能返回 null,表示取不到有效值。
638
675
  */
639
676
  ResourceTags?: Array<string>;
640
677
  }
@@ -671,6 +708,43 @@ export interface RedisBigKeyTask {
671
708
  */
672
709
  ShardIds?: Array<number | bigint>;
673
710
  }
711
+ /**
712
+ * 健康报告任务详情。
713
+ */
714
+ export interface HealthReportTask {
715
+ /**
716
+ * 异步任务请求 ID。
717
+ */
718
+ AsyncRequestId: number;
719
+ /**
720
+ * 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" - 定时生成;"MANUAL" - 手动触发。
721
+ */
722
+ Source: string;
723
+ /**
724
+ * 任务完成进度,单位%。
725
+ */
726
+ Progress: number;
727
+ /**
728
+ * 任务创建时间。
729
+ */
730
+ CreateTime: string;
731
+ /**
732
+ * 任务开始执行时间。
733
+ */
734
+ StartTime: string;
735
+ /**
736
+ * 任务完成执行时间。
737
+ */
738
+ EndTime: string;
739
+ /**
740
+ * 任务所属实例的基础信息。
741
+ */
742
+ InstanceInfo: InstanceBasicInfo;
743
+ /**
744
+ * 健康报告中的健康信息。
745
+ */
746
+ HealthStatus: HealthStatus;
747
+ }
674
748
  /**
675
749
  * CancelKillTask返回参数结构体
676
750
  */
@@ -735,6 +809,31 @@ export interface DescribeTopSpaceSchemaTimeSeriesResponse {
735
809
  */
736
810
  RequestId?: string;
737
811
  }
812
+ /**
813
+ * ModifySqlFilters请求参数结构体
814
+ */
815
+ export interface ModifySqlFiltersRequest {
816
+ /**
817
+ * 实例ID。
818
+ */
819
+ InstanceId: string;
820
+ /**
821
+ * SQL限流任务ID列表。
822
+ */
823
+ FilterIds: Array<number | bigint>;
824
+ /**
825
+ * 限流任务状态,取值支持TERMINATED - 终止。
826
+ */
827
+ Status: string;
828
+ /**
829
+ * 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
830
+ */
831
+ SessionToken?: string;
832
+ /**
833
+ * 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
834
+ */
835
+ Product?: string;
836
+ }
738
837
  /**
739
838
  * 过滤条件。可按设置的过滤条件过滤日志。
740
839
  */
@@ -937,7 +1036,6 @@ export interface DiagHistoryEventItem {
937
1036
  InstanceId?: string;
938
1037
  /**
939
1038
  * 保留字段。
940
- 注意:此字段可能返回 null,表示取不到有效值。
941
1039
  */
942
1040
  Metric?: string;
943
1041
  /**
@@ -945,6 +1043,15 @@ export interface DiagHistoryEventItem {
945
1043
  */
946
1044
  Region?: string;
947
1045
  }
1046
+ /**
1047
+ * CreateUserAutonomyProfile返回参数结构体
1048
+ */
1049
+ export interface CreateUserAutonomyProfileResponse {
1050
+ /**
1051
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1052
+ */
1053
+ RequestId?: string;
1054
+ }
948
1055
  /**
949
1056
  * DescribeProxySessionKillTasks请求参数结构体
950
1057
  */
@@ -971,6 +1078,32 @@ export interface ModifyAlarmPolicyResponse {
971
1078
  */
972
1079
  RequestId?: string;
973
1080
  }
1081
+ /**
1082
+ * ModifyUserAutonomyProfile返回参数结构体
1083
+ */
1084
+ export interface ModifyUserAutonomyProfileResponse {
1085
+ /**
1086
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1087
+ */
1088
+ RequestId?: string;
1089
+ }
1090
+ /**
1091
+ * CancelRedisBigKeyAnalysisTasks请求参数结构体
1092
+ */
1093
+ export interface CancelRedisBigKeyAnalysisTasksRequest {
1094
+ /**
1095
+ * 自治任务ID。
1096
+ */
1097
+ AsyncRequestIds: Array<number | bigint>;
1098
+ /**
1099
+ * 实列ID。
1100
+ */
1101
+ InstanceId: string;
1102
+ /**
1103
+ * 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
1104
+ */
1105
+ Product: string;
1106
+ }
974
1107
  /**
975
1108
  * CreateRedisBigKeyAnalysisTask请求参数结构体
976
1109
  */
@@ -1027,6 +1160,31 @@ export interface UpdateMonitorSwitchRequest {
1027
1160
  */
1028
1161
  Product: string;
1029
1162
  }
1163
+ /**
1164
+ * 自治用户配置详情
1165
+ */
1166
+ export interface AutonomyUserProfileInfo {
1167
+ /**
1168
+ * 是否开启自治。
1169
+ */
1170
+ Enabled?: boolean;
1171
+ /**
1172
+ * 用户Uin。
1173
+ */
1174
+ Uin?: string;
1175
+ /**
1176
+ * 内存上限。
1177
+ */
1178
+ MemoryUpperLimit?: number;
1179
+ /**
1180
+ * 指标阈值规则。
1181
+ */
1182
+ ThresholdRule?: MetricThreshold;
1183
+ /**
1184
+ * 自治功能类型。
1185
+ */
1186
+ EnabledItems?: Array<string>;
1187
+ }
1030
1188
  /**
1031
1189
  * 实时会话访问来源详情。
1032
1190
  */
@@ -1050,45 +1208,61 @@ export interface SessionItem {
1050
1208
  export interface StatisticDataInfo {
1051
1209
  /**
1052
1210
  * 统计维度的值。
1053
- 注意:此字段可能返回 null,表示取不到有效值。
1054
1211
  */
1055
1212
  Name?: string;
1056
1213
  /**
1057
1214
  * 平均时间。
1058
- 注意:此字段可能返回 null,表示取不到有效值。
1059
1215
  */
1060
1216
  TimeAvg?: number;
1061
1217
  /**
1062
1218
  * 总时间。
1063
- 注意:此字段可能返回 null,表示取不到有效值。
1064
1219
  */
1065
1220
  TimeSum?: number;
1066
1221
  /**
1067
1222
  * 数量。
1068
- 注意:此字段可能返回 null,表示取不到有效值。
1069
1223
  */
1070
1224
  Count?: number;
1071
1225
  }
1072
1226
  /**
1073
- * 实例健康详情。
1227
+ * 自治事件详情
1074
1228
  */
1075
- export interface HealthStatus {
1229
+ export interface AutonomyEventVo {
1076
1230
  /**
1077
- * 健康分数,满分100
1231
+ * 自治事件ID
1078
1232
  */
1079
- HealthScore?: number;
1233
+ EventId?: number;
1080
1234
  /**
1081
- * 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。
1235
+ * 自治事件类型:支持RunningAutoRecovery,RedisAutoScale
1082
1236
  */
1083
- HealthLevel?: string;
1237
+ Type?: string;
1084
1238
  /**
1085
- * 总扣分分数。
1239
+ * 自治事件状态:支持 RUNNING,FINISHED,TERMINATED
1086
1240
  */
1087
- ScoreLost?: number;
1241
+ Status?: string;
1088
1242
  /**
1089
- * 扣分详情。
1243
+ * 触发原因。
1090
1244
  */
1091
- ScoreDetails?: Array<ScoreDetail>;
1245
+ Reason?: string;
1246
+ /**
1247
+ * 自治任务触发时间。
1248
+ */
1249
+ TriggerTime?: number;
1250
+ /**
1251
+ * 自治任务最后触发时间。
1252
+ */
1253
+ LastTriggerTime?: number;
1254
+ /**
1255
+ * 自治任务创建时间。
1256
+ */
1257
+ CreateTime?: number;
1258
+ /**
1259
+ * 自治任务更新时间。
1260
+ */
1261
+ UpdateTime?: number;
1262
+ /**
1263
+ * 自治任务完成时间;非结束状态的时候,该值无意义。
1264
+ */
1265
+ FinishTime?: number;
1092
1266
  }
1093
1267
  /**
1094
1268
  * DescribeTopSpaceTables返回参数结构体
@@ -1224,6 +1398,23 @@ export interface ContactItem {
1224
1398
  */
1225
1399
  Mail?: string;
1226
1400
  }
1401
+ /**
1402
+ * DescribeDBAutonomyEvents返回参数结构体
1403
+ */
1404
+ export interface DescribeDBAutonomyEventsResponse {
1405
+ /**
1406
+ * 自治事件列表总数。
1407
+ */
1408
+ TotalCount?: number;
1409
+ /**
1410
+ * 自治事件列表。
1411
+ */
1412
+ Events?: Array<AutonomyEventVo>;
1413
+ /**
1414
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1415
+ */
1416
+ RequestId?: string;
1417
+ }
1227
1418
  /**
1228
1419
  * DeleteAuditLogFile返回参数结构体
1229
1420
  */
@@ -1319,21 +1510,48 @@ export interface TimeSlice {
1319
1510
  Timestamp: number;
1320
1511
  }
1321
1512
  /**
1322
- * DeleteDBDiagReportTasks请求参数结构体
1513
+ * 审计日志文件
1323
1514
  */
1324
- export interface DeleteDBDiagReportTasksRequest {
1515
+ export interface AuditLogFile {
1325
1516
  /**
1326
- * 需要删除的任务id列表
1517
+ * 审计日志文件生成异步任务ID。
1327
1518
  */
1328
- AsyncRequestIds: Array<number | bigint>;
1519
+ AsyncRequestId?: number;
1329
1520
  /**
1330
- * 实例ID
1521
+ * 审计日志文件名称。
1331
1522
  */
1332
- InstanceId: string;
1523
+ FileName?: string;
1333
1524
  /**
1334
- * 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"
1525
+ * 审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。
1335
1526
  */
1336
- Product?: string;
1527
+ CreateTime?: string;
1528
+ /**
1529
+ * 文件状态值。可能返回的值为:
1530
+ "creating" - 生成中;
1531
+ "failed" - 创建失败;
1532
+ "success" - 已生成;
1533
+ */
1534
+ Status?: string;
1535
+ /**
1536
+ * 文件大小,单位为 KB。
1537
+ */
1538
+ FileSize?: number;
1539
+ /**
1540
+ * 审计日志下载地址。
1541
+ */
1542
+ DownloadUrl?: string;
1543
+ /**
1544
+ * 错误信息。
1545
+ */
1546
+ ErrMsg?: string;
1547
+ /**
1548
+ * 文件生成进度。
1549
+ */
1550
+ Progress?: number;
1551
+ /**
1552
+ * 文件生成成功时间。
1553
+ */
1554
+ FinishTime?: string;
1337
1555
  }
1338
1556
  /**
1339
1557
  * ModifyDiagDBInstanceConf请求参数结构体
@@ -1476,6 +1694,23 @@ export interface DescribeSlowLogTimeSeriesStatsRequest {
1476
1694
  */
1477
1695
  Product?: string;
1478
1696
  }
1697
+ /**
1698
+ * 自治指标阈值
1699
+ */
1700
+ export interface MetricThreshold {
1701
+ /**
1702
+ * 指标。
1703
+ */
1704
+ Metric?: string;
1705
+ /**
1706
+ * 阈值。
1707
+ */
1708
+ Threshold?: number;
1709
+ /**
1710
+ * 时间间隔。
1711
+ */
1712
+ Duration?: number;
1713
+ }
1479
1714
  /**
1480
1715
  * CancelKillTask请求参数结构体
1481
1716
  */
@@ -1680,20 +1915,19 @@ export interface ScoreDetail {
1680
1915
  /**
1681
1916
  * 扣分项分类,取值包括:可用性、可维护性、性能及可靠性。
1682
1917
  */
1683
- IssueType: string;
1918
+ IssueType?: string;
1684
1919
  /**
1685
1920
  * 扣分总分。
1686
1921
  */
1687
- ScoreLost: number;
1922
+ ScoreLost?: number;
1688
1923
  /**
1689
1924
  * 扣分总分上限。
1690
1925
  */
1691
- ScoreLostMax: number;
1926
+ ScoreLostMax?: number;
1692
1927
  /**
1693
1928
  * 扣分项列表。
1694
- 注意:此字段可能返回 null,表示取不到有效值。
1695
1929
  */
1696
- Items: Array<ScoreItem>;
1930
+ Items?: Array<ScoreItem>;
1697
1931
  }
1698
1932
  /**
1699
1933
  * OpenAuditService请求参数结构体
@@ -2167,6 +2401,51 @@ export interface CreateDBDiagReportUrlRequest {
2167
2401
  */
2168
2402
  Product?: string;
2169
2403
  }
2404
+ /**
2405
+ * redis自治事件任务详情
2406
+ */
2407
+ export interface AutonomyActionVo {
2408
+ /**
2409
+ * 自治任务ID。
2410
+ */
2411
+ ActionId?: number;
2412
+ /**
2413
+ * 自治事件ID。
2414
+ */
2415
+ EventId?: number;
2416
+ /**
2417
+ * 类型:支持RedisAutoScaleUp
2418
+ */
2419
+ Type?: string;
2420
+ /**
2421
+ * 自治任务触发时间。
2422
+ */
2423
+ TriggerTime?: string;
2424
+ /**
2425
+ * 自治任务创建时间。
2426
+ */
2427
+ CreateTime?: string;
2428
+ /**
2429
+ * 自治任务更新时间
2430
+ */
2431
+ UpdateTime?: string;
2432
+ /**
2433
+ * 自治任务完成时间。
2434
+ */
2435
+ FinishTime?: string;
2436
+ /**
2437
+ * 剩余时间,单位:秒。
2438
+ */
2439
+ ExpireTime?: number;
2440
+ /**
2441
+ * 触发原因。
2442
+ */
2443
+ Reason?: string;
2444
+ /**
2445
+ * 自治任务状态:支持 RUNNING,FINISHED,TERMINATED,CANCELLED
2446
+ */
2447
+ Status?: string;
2448
+ }
2170
2449
  /**
2171
2450
  * CloseAuditService返回参数结构体
2172
2451
  */
@@ -2224,17 +2503,14 @@ export interface InstanceConfs {
2224
2503
  OverviewDisplay?: string;
2225
2504
  /**
2226
2505
  * redis大key分析的自定义分割符,仅redis使用
2227
- 注意:此字段可能返回 null,表示取不到有效值。
2228
2506
  */
2229
2507
  KeyDelimiters?: Array<string>;
2230
2508
  /**
2231
2509
  * 分片节点数量。
2232
- 注意:此字段可能返回 null,表示取不到有效值。
2233
2510
  */
2234
2511
  ShardNum?: string;
2235
2512
  /**
2236
2513
  * 是否开启大key周期性分析,仅redis产品有效。
2237
- 注意:此字段可能返回 null,表示取不到有效值。
2238
2514
  */
2239
2515
  AnalysisTopKey?: string;
2240
2516
  }
@@ -2244,32 +2520,26 @@ export interface InstanceConfs {
2244
2520
  export interface ReceiveInfo {
2245
2521
  /**
2246
2522
  * 接收组
2247
- 注意:此字段可能返回 null,表示取不到有效值。
2248
2523
  */
2249
2524
  ReceiveGroup?: Array<number | bigint>;
2250
2525
  /**
2251
2526
  * 最后接收时间
2252
- 注意:此字段可能返回 null,表示取不到有效值。
2253
2527
  */
2254
2528
  EndReceiveTime?: string;
2255
2529
  /**
2256
2530
  * 接收名
2257
- 注意:此字段可能返回 null,表示取不到有效值。
2258
2531
  */
2259
2532
  ReceiveName?: string;
2260
2533
  /**
2261
2534
  * 推送渠道
2262
- 注意:此字段可能返回 null,表示取不到有效值。
2263
2535
  */
2264
2536
  SendChannel?: Array<number | bigint>;
2265
2537
  /**
2266
2538
  * 开始时间
2267
- 注意:此字段可能返回 null,表示取不到有效值。
2268
2539
  */
2269
2540
  StartReceiveTime?: string;
2270
2541
  /**
2271
2542
  * 接收用户列表
2272
- 注意:此字段可能返回 null,表示取不到有效值。
2273
2543
  */
2274
2544
  ReceiveUin?: Array<ReceiveUin>;
2275
2545
  }
@@ -2349,6 +2619,27 @@ export interface DescribeDBDiagHistoryResponse {
2349
2619
  */
2350
2620
  RequestId?: string;
2351
2621
  }
2622
+ /**
2623
+ * CreateUserAutonomyProfile请求参数结构体
2624
+ */
2625
+ export interface CreateUserAutonomyProfileRequest {
2626
+ /**
2627
+ * 配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)
2628
+ */
2629
+ ProfileType: string;
2630
+ /**
2631
+ * 实列ID。
2632
+ */
2633
+ InstanceId: string;
2634
+ /**
2635
+ * 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
2636
+ */
2637
+ Product: string;
2638
+ /**
2639
+ * 自治功能相关配置,标准JSON字符串格式。
2640
+ */
2641
+ ProfileInfo?: string;
2642
+ }
2352
2643
  /**
2353
2644
  * mongodb慢查模板概览明细
2354
2645
  */
@@ -2371,34 +2662,29 @@ export interface Aggregation {
2371
2662
  SortCount?: number;
2372
2663
  /**
2373
2664
  * 慢查模板概览。
2374
- 注意:此字段可能返回 null,表示取不到有效值。
2375
2665
  */
2376
2666
  SlowLogs?: Array<string>;
2377
2667
  }
2378
2668
  /**
2379
- * ModifySqlFilters请求参数结构体
2669
+ * 实例健康详情。
2380
2670
  */
2381
- export interface ModifySqlFiltersRequest {
2382
- /**
2383
- * 实例ID。
2384
- */
2385
- InstanceId: string;
2671
+ export interface HealthStatus {
2386
2672
  /**
2387
- * SQL限流任务ID列表。
2673
+ * 健康分数,满分100。
2388
2674
  */
2389
- FilterIds: Array<number | bigint>;
2675
+ HealthScore?: number;
2390
2676
  /**
2391
- * 限流任务状态,取值支持TERMINATED - 终止。
2677
+ * 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。
2392
2678
  */
2393
- Status: string;
2679
+ HealthLevel?: string;
2394
2680
  /**
2395
- * 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
2681
+ * 总扣分分数。
2396
2682
  */
2397
- SessionToken?: string;
2683
+ ScoreLost?: number;
2398
2684
  /**
2399
- * 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
2685
+ * 扣分详情。
2400
2686
  */
2401
- Product?: string;
2687
+ ScoreDetails?: Array<ScoreDetail>;
2402
2688
  }
2403
2689
  /**
2404
2690
  * DescribeAllUserContact返回参数结构体
@@ -2454,22 +2740,18 @@ export interface ProfileInfo {
2454
2740
  export interface UserProfile {
2455
2741
  /**
2456
2742
  * 配置的id。
2457
- 注意:此字段可能返回 null,表示取不到有效值。
2458
2743
  */
2459
2744
  ProfileId?: string;
2460
2745
  /**
2461
2746
  * 配置类型,支持值包括:"dbScan_mail_configuration" - 数据库巡检邮件配置,"scheduler_mail_configuration" - 定期生成邮件配置。
2462
- 注意:此字段可能返回 null,表示取不到有效值。
2463
2747
  */
2464
2748
  ProfileType?: string;
2465
2749
  /**
2466
2750
  * 配置级别,支持值包括:"User" - 用户级别,"Instance" - 实例级别,其中数据库巡检邮件配置为用户级别,定期生成邮件配置为实例级别。
2467
- 注意:此字段可能返回 null,表示取不到有效值。
2468
2751
  */
2469
2752
  ProfileLevel?: string;
2470
2753
  /**
2471
2754
  * 配置名称。
2472
- 注意:此字段可能返回 null,表示取不到有效值。
2473
2755
  */
2474
2756
  ProfileName?: string;
2475
2757
  /**
@@ -2605,7 +2887,6 @@ export interface SchemaSpaceData {
2605
2887
  TableRows?: number;
2606
2888
  /**
2607
2889
  * 库中所有表对应的独立物理文件大小加和(MB)。
2608
- 注意:此字段可能返回 null,表示取不到有效值。
2609
2890
  */
2610
2891
  PhysicalFileSize?: number;
2611
2892
  }
@@ -2725,72 +3006,58 @@ export interface StatDimension {
2725
3006
  export interface AlarmProfileList {
2726
3007
  /**
2727
3008
  * 0-不是 1-是
2728
- 注意:此字段可能返回 null,表示取不到有效值。
2729
3009
  */
2730
3010
  IsWebHook?: number;
2731
3011
  /**
2732
3012
  * 接收告警用户数量
2733
- 注意:此字段可能返回 null,表示取不到有效值。
2734
3013
  */
2735
3014
  ReceiveUinCount?: number;
2736
3015
  /**
2737
3016
  * 语言
2738
- 注意:此字段可能返回 null,表示取不到有效值。
2739
3017
  */
2740
3018
  Lang?: string;
2741
3019
  /**
2742
3020
  * 模板类型
2743
- 注意:此字段可能返回 null,表示取不到有效值。
2744
3021
  */
2745
3022
  TemplateType?: string;
2746
3023
  /**
2747
3024
  * 备注
2748
- 注意:此字段可能返回 null,表示取不到有效值。
2749
3025
  */
2750
3026
  Remark?: string;
2751
3027
  /**
2752
3028
  * 接收组数量
2753
- 注意:此字段可能返回 null,表示取不到有效值。
2754
3029
  */
2755
3030
  ReceiveGroupCount?: number;
2756
3031
  /**
2757
3032
  * 更新用户的uin
2758
- 注意:此字段可能返回 null,表示取不到有效值。
2759
3033
  */
2760
3034
  UpdateUin?: number;
2761
3035
  /**
2762
3036
  * 接收类型
2763
- 注意:此字段可能返回 null,表示取不到有效值。
2764
3037
  */
2765
3038
  ReceiveType?: Array<number | bigint>;
2766
3039
  /**
2767
3040
  * 接收用户信息
2768
- 注意:此字段可能返回 null,表示取不到有效值。
2769
3041
  */
2770
3042
  ReceiveInfo?: Array<ReceiveInfo>;
2771
3043
  /**
2772
3044
  * 更新时间
2773
- 注意:此字段可能返回 null,表示取不到有效值。
2774
3045
  */
2775
3046
  UpdateTime?: string;
2776
3047
  /**
2777
3048
  * 模板名
2778
- 注意:此字段可能返回 null,表示取不到有效值。
2779
3049
  */
2780
3050
  TemplateName?: string;
2781
3051
  /**
2782
3052
  * 发送渠道
2783
- 注意:此字段可能返回 null,表示取不到有效值。
2784
3053
  */
2785
3054
  SendChannel?: Array<number | bigint>;
2786
3055
  /**
2787
3056
  * 模板id
2788
- 注意:此字段可能返回 null,表示取不到有效值。
2789
3057
  */
2790
3058
  TemplateId?: number;
2791
3059
  /**
2792
3060
  * webhook数量
2793
- 注意:此字段可能返回 null,表示取不到有效值。
2794
3061
  */
2795
3062
  WebHookCount?: number;
2796
3063
  }
@@ -2939,6 +3206,27 @@ export interface InstanceInfo {
2939
3206
  */
2940
3207
  InstanceStatus?: string;
2941
3208
  }
3209
+ /**
3210
+ * ModifyUserAutonomyProfile请求参数结构体
3211
+ */
3212
+ export interface ModifyUserAutonomyProfileRequest {
3213
+ /**
3214
+ * 配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)
3215
+ */
3216
+ ProfileType: string;
3217
+ /**
3218
+ * 实列ID。
3219
+ */
3220
+ InstanceId: string;
3221
+ /**
3222
+ * 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
3223
+ */
3224
+ Product: string;
3225
+ /**
3226
+ * 自治功能相关配置,标准JSON字符串格式。
3227
+ */
3228
+ NewProfileInfo?: string;
3229
+ }
2942
3230
  /**
2943
3231
  * 通知模板
2944
3232
  */
@@ -3322,6 +3610,35 @@ export interface ModifyAuditServiceResponse {
3322
3610
  */
3323
3611
  RequestId?: string;
3324
3612
  }
3613
+ /**
3614
+ * DescribeDBAutonomyEvents请求参数结构体
3615
+ */
3616
+ export interface DescribeDBAutonomyEventsRequest {
3617
+ /**
3618
+ * 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
3619
+ */
3620
+ Product: string;
3621
+ /**
3622
+ * 实列ID。
3623
+ */
3624
+ InstanceId: string;
3625
+ /**
3626
+ * 开始时间。
3627
+ */
3628
+ StartTime: string;
3629
+ /**
3630
+ * 结束时间。
3631
+ */
3632
+ EndTime: string;
3633
+ /**
3634
+ * 分页参数,默认值为0。
3635
+ */
3636
+ Offset?: number;
3637
+ /**
3638
+ * 分页参数,默认值为20。
3639
+ */
3640
+ Limit?: number;
3641
+ }
3325
3642
  /**
3326
3643
  * DescribeHealthScore请求参数结构体
3327
3644
  */
@@ -3556,51 +3873,38 @@ export interface CreateProxySessionKillTaskResponse {
3556
3873
  RequestId?: string;
3557
3874
  }
3558
3875
  /**
3559
- * 审计日志文件
3876
+ * CancelDBAutonomyAction请求参数结构体
3560
3877
  */
3561
- export interface AuditLogFile {
3562
- /**
3563
- * 审计日志文件生成异步任务ID。
3564
- 注意:此字段可能返回 null,表示取不到有效值。
3565
- */
3566
- AsyncRequestId?: number;
3567
- /**
3568
- * 审计日志文件名称。
3569
- */
3570
- FileName?: string;
3571
- /**
3572
- * 审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。
3573
- 注意:此字段可能返回 null,表示取不到有效值。
3574
- */
3575
- CreateTime?: string;
3878
+ export interface CancelDBAutonomyActionRequest {
3576
3879
  /**
3577
- * 文件状态值。可能返回的值为:
3578
- "creating" - 生成中;
3579
- "failed" - 创建失败;
3580
- "success" - 已生成;
3581
- 注意:此字段可能返回 null,表示取不到有效值。
3880
+ * 自治任务ID。
3582
3881
  */
3583
- Status?: string;
3882
+ ActionId: number;
3584
3883
  /**
3585
- * 文件大小,单位为 KB
3884
+ * 实列ID
3586
3885
  */
3587
- FileSize?: number;
3886
+ InstanceId: string;
3588
3887
  /**
3589
- * 审计日志下载地址。
3888
+ * 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
3590
3889
  */
3591
- DownloadUrl?: string;
3890
+ Product: string;
3891
+ }
3892
+ /**
3893
+ * DeleteDBDiagReportTasks请求参数结构体
3894
+ */
3895
+ export interface DeleteDBDiagReportTasksRequest {
3592
3896
  /**
3593
- * 错误信息。
3897
+ * 需要删除的任务id列表
3594
3898
  */
3595
- ErrMsg?: string;
3899
+ AsyncRequestIds: Array<number | bigint>;
3596
3900
  /**
3597
- * 文件生成进度。
3901
+ * 实例ID
3598
3902
  */
3599
- Progress?: number;
3903
+ InstanceId: string;
3600
3904
  /**
3601
- * 文件生成成功时间。
3905
+ * 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
3602
3906
  */
3603
- FinishTime?: string;
3907
+ Product?: string;
3604
3908
  }
3605
3909
  /**
3606
3910
  * DescribeAlarmTemplate请求参数结构体
@@ -3697,12 +4001,10 @@ export interface DescribeProxyProcessStatisticsRequest {
3697
4001
  export interface StatisticInfo {
3698
4002
  /**
3699
4003
  * 统计分析的维度。
3700
- 注意:此字段可能返回 null,表示取不到有效值。
3701
4004
  */
3702
4005
  Dimension?: string;
3703
4006
  /**
3704
4007
  * 统计分析的维度下的统计数据详情。
3705
- 注意:此字段可能返回 null,表示取不到有效值。
3706
4008
  */
3707
4009
  Data?: Array<StatisticDataInfo>;
3708
4010
  }
@@ -3713,16 +4015,15 @@ export interface MonitorFloatMetric {
3713
4015
  /**
3714
4016
  * 指标名称。
3715
4017
  */
3716
- Metric: string;
4018
+ Metric?: string;
3717
4019
  /**
3718
4020
  * 指标单位。
3719
4021
  */
3720
- Unit: string;
4022
+ Unit?: string;
3721
4023
  /**
3722
4024
  * 指标值。
3723
- 注意:此字段可能返回 null,表示取不到有效值。
3724
4025
  */
3725
- Values: Array<number>;
4026
+ Values?: Array<number>;
3726
4027
  }
3727
4028
  /**
3728
4029
  * ModifyAlarmPolicy请求参数结构体
@@ -4169,12 +4470,10 @@ export interface SlowLogInfoItem {
4169
4470
  Database?: string;
4170
4471
  /**
4171
4472
  * User来源
4172
- 注意:此字段可能返回 null,表示取不到有效值。
4173
4473
  */
4174
4474
  UserName?: string;
4175
4475
  /**
4176
4476
  * IP来源
4177
- 注意:此字段可能返回 null,表示取不到有效值。
4178
4477
  */
4179
4478
  UserHost?: string;
4180
4479
  /**
@@ -4183,17 +4482,14 @@ export interface SlowLogInfoItem {
4183
4482
  QueryTime?: number;
4184
4483
  /**
4185
4484
  * 锁时间,单位秒
4186
- 注意:此字段可能返回 null,表示取不到有效值。
4187
4485
  */
4188
4486
  LockTime?: number;
4189
4487
  /**
4190
4488
  * 扫描行数
4191
- 注意:此字段可能返回 null,表示取不到有效值。
4192
4489
  */
4193
4490
  RowsExamined?: number;
4194
4491
  /**
4195
4492
  * 返回行数
4196
- 注意:此字段可能返回 null,表示取不到有效值。
4197
4493
  */
4198
4494
  RowsSent?: number;
4199
4495
  }
@@ -4235,6 +4531,19 @@ export interface DescribeHealthScoreResponse {
4235
4531
  */
4236
4532
  RequestId?: string;
4237
4533
  }
4534
+ /**
4535
+ * CancelRedisBigKeyAnalysisTasks返回参数结构体
4536
+ */
4537
+ export interface CancelRedisBigKeyAnalysisTasksResponse {
4538
+ /**
4539
+ * 终止大Key任务结果;0-成功。
4540
+ */
4541
+ Status?: number;
4542
+ /**
4543
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4544
+ */
4545
+ RequestId?: string;
4546
+ }
4238
4547
  /**
4239
4548
  * DescribeSecurityAuditLogExportTasks返回参数结构体
4240
4549
  */