tencentcloud-sdk-nodejs 4.1.315 → 4.1.316
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/es/common/sdk_version.js +1 -1
- package/es/services/aiart/v20221229/aiart_client.js +23 -38
- package/es/services/databuddy/v20260715/databuddy_client.js +53 -35
- package/es/services/dbbrain/v20210527/dbbrain_client.js +3 -0
- package/es/services/hai/v20230812/hai_client.js +3 -0
- package/es/services/teo/v20220901/teo_client.js +6 -0
- package/es/services/trocket/v20230308/trocket_client.js +25 -4
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +59 -84
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +73 -108
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +83 -376
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +6 -6
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +159 -76
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +25 -13
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +102 -78
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +132 -96
- package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +721 -318
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +288 -18
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +50 -42
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +31 -45
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1 -1
- package/tencentcloud/services/hai/v20230812/hai_client.d.ts +5 -1
- package/tencentcloud/services/hai/v20230812/hai_client.js +6 -0
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +58 -45
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +118 -79
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +21 -16
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +0 -8
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +13 -1
- package/tencentcloud/services/teo/v20220901/teo_client.js +16 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +58 -8
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +42 -39
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +40 -12
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +55 -13
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +629 -172
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +206 -143
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +9 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeSlowLogTimeSeriesStatsRequest, DescribeUserAutonomyProfileRequest, DescribeMetricTopProxiesResponse, DescribeDBAuditLogTopSqlsRequest, DescribeDBAutonomyActionsRequest, CancelDBAutonomyActionResponse, OpenAuditServiceResponse, DescribeUserAutonomyProfileResponse, DescribeRedisTopHotKeysRequest, CreateDBDiagReportTaskRequest, DescribeDBDiagReportContentRequest, DescribeAuditLogFilesResponse, DescribeIndexRecommendAggregationSlowLogsRequest, DescribeSlowLogsRequest, DescribeRedisCmdPerfTimeSeriesRequest, CreateRedisBigKeyAnalysisTaskResponse, UpdateDatabaseAutonomyStatusRequest, CreateSecurityAuditLogExportTaskRequest, DescribeTopSpaceTableTimeSeriesResponse, DescribeDBDiagEventResponse, DescribeDBDiagHistoryRequest, DescribeDBAutonomyActionsResponse, DescribeSlowLogTopSqlsRequest, DescribeRedisBigKeyAnalysisTasksResponse, DescribeDBDiagReportTasksResponse, AddUserContactResponse, CancelKillTaskResponse, DescribeRedisTopBigKeysResponse, DescribeSqlTemplateRequest, DescribeTopSpaceSchemaTimeSeriesResponse, ModifySqlFiltersRequest, CreateKillTaskResponse, DescribeAuditInstanceListResponse, DescribeRedisSlowLogTopSqlsResponse, DescribeDBInstancesResponse, CreateUserAutonomyProfileResponse, DescribeProxySessionKillTasksRequest, ModifyAlarmPolicyResponse, ModifyUserAutonomyProfileResponse, DescribeIndexRecommendInfoResponse, CreateRedisBigKeyAnalysisTaskRequest, DescribeMySqlProcessListResponse, UpdateMonitorSwitchRequest, DescribeRedisSlowLogTopSqlsRequest, DescribeTopSpaceTablesResponse, DescribeMongoDBProcessListRequest, DescribeDatabaseAutonomyStatusRequest, KillMySqlThreadsResponse, CreateSchedulerMailProfileRequest, DescribeDBAutonomyEventsResponse, DeleteAuditLogFileResponse, DescribeDBSpaceStatusRequest, DescribeRedisProcessListRequest, DescribeRedisCommandCostStatisticsRequest, ModifyDiagDBInstanceConfRequest, DescribeSlowLogsResponse, DescribeSecurityAuditLogDownloadUrlsRequest, CreateDBDiagReportTaskResponse, DescribeDBInstancesRequest, CreateDBDiagReportUrlsResponse, UpdateMonitorSwitchResponse, DescribeDBAutonomyActionRequest, DescribeRedisTopKeyPrefixListRequest, CancelKillTaskRequest, CreateIgnoreDiagRecordResponse, CreateAuditLogFileResponse,
|
|
3
|
+
import { DescribeSlowLogTimeSeriesStatsRequest, DescribeUserAutonomyProfileRequest, DescribeMetricTopProxiesResponse, DescribeDBAuditLogTopSqlsRequest, DescribeDBAutonomyActionsRequest, CancelDBAutonomyActionResponse, OpenAuditServiceResponse, DescribeUserAutonomyProfileResponse, DescribeTopSpaceTablesV2Request, DescribeRedisTopHotKeysRequest, CreateDBDiagReportTaskRequest, DescribeDBDiagReportContentRequest, DescribeAuditLogFilesResponse, DescribeIndexRecommendAggregationSlowLogsRequest, DescribeSlowLogsRequest, DescribeRedisCmdPerfTimeSeriesRequest, CreateRedisBigKeyAnalysisTaskResponse, UpdateDatabaseAutonomyStatusRequest, CreateSecurityAuditLogExportTaskRequest, DescribeTopSpaceTableTimeSeriesResponse, DescribeDBDiagEventResponse, DescribeDBDiagHistoryRequest, DescribeDBAutonomyActionsResponse, DescribeSlowLogTopSqlsRequest, DescribeRedisBigKeyAnalysisTasksResponse, DescribeDBDiagReportTasksResponse, AddUserContactResponse, CancelKillTaskResponse, DescribeRedisTopBigKeysResponse, DescribeSqlTemplateRequest, DescribeTopSpaceSchemaTimeSeriesResponse, ModifySqlFiltersRequest, CreateKillTaskResponse, DescribeAuditInstanceListResponse, DescribeRedisSlowLogTopSqlsResponse, DescribeDBInstancesResponse, CreateUserAutonomyProfileResponse, DescribeProxySessionKillTasksRequest, ModifyAlarmPolicyResponse, ModifyUserAutonomyProfileResponse, DescribeIndexRecommendInfoResponse, CreateRedisBigKeyAnalysisTaskRequest, DescribeMySqlProcessListResponse, UpdateMonitorSwitchRequest, DescribeRedisSlowLogTopSqlsRequest, DescribeTopSpaceTablesResponse, DescribeMongoDBProcessListRequest, DescribeDatabaseAutonomyStatusRequest, KillMySqlThreadsResponse, CreateSchedulerMailProfileRequest, DescribeDBAutonomyEventsResponse, DeleteAuditLogFileResponse, DescribeDBSpaceStatusRequest, DescribeRedisProcessListRequest, DescribeRedisCommandCostStatisticsRequest, ModifyDiagDBInstanceConfRequest, DescribeSlowLogsResponse, DescribeSecurityAuditLogDownloadUrlsRequest, CreateDBDiagReportTaskResponse, DescribeDBInstancesRequest, CreateDBDiagReportUrlsResponse, UpdateMonitorSwitchResponse, DescribeDBAutonomyActionRequest, DescribeRedisTopKeyPrefixListRequest, CancelKillTaskRequest, CreateIgnoreDiagRecordResponse, CreateAuditLogFileResponse, DescribeDatabaseAutonomyStatusResponse, DeleteSqlFiltersResponse, DescribeHealthScoreTimeSeriesRequest, DescribeDBDiagEventsRequest, CreateDBDiagReportUrlsRequest, CreateDBDiagReportUrlResponse, DescribeRedisUnExpiredKeyStatisticsResponse, CreateProxySessionKillTaskRequest, DeleteDBDiagReportTasksResponse, DescribeProxyProcessStatisticsResponse, DescribeHealthScoreTimeSeriesResponse, UpdateAgentSwitchRequest, DescribeRedisCmdPerfTimeSeriesResponse, ModifySqlFiltersResponse, CreateMailProfileRequest, UpdateAgentSwitchResponse, VerifyUserAccountRequest, DescribeSlowLogUserHostStatsResponse, DescribeIndexRecommendInfoRequest, DescribeMailProfileRequest, ModifyAuditServiceRequest, DeleteSecurityAuditLogExportTasksResponse, KillMySqlThreadsRequest, DescribeSqlFiltersResponse, CreateDBDiagReportUrlRequest, CloseAuditServiceResponse, UpdateDatabaseAutonomyStatusResponse, DeleteRedisBigKeyAnalysisTasksResponse, CloseAuditServiceRequest, DescribeSqlTemplateResponse, DescribeRedisTopCostCommandsRequest, DescribeDBDiagHistoryResponse, CreateUserAutonomyProfileRequest, DescribeAllUserContactResponse, DescribeRedisCommandCostStatisticsResponse, CancelDBAutonomyEventResponse, AddUserContactRequest, CreateSqlFilterRequest, CreateMongoDBKillTaskRequest, DescribeTopSpaceTablesRequest, DescribeRedisTopCostCommandsResponse, OpenAuditServiceRequest, DescribeAllUserContactRequest, DescribeDBDiagEventRequest, DescribeNoPrimaryKeyTablesRequest, DescribeTopSpaceSchemasRequest, DescribeAuditInstanceListRequest, DescribeRedisBigKeyAnalysisTasksRequest, DescribeSqlFiltersRequest, DescribeSecurityAuditLogExportTasksRequest, DescribeRedisUnExpiredKeyStatisticsRequest, DeleteSecurityAuditLogExportTasksRequest, CreateSchedulerMailProfileResponse, DescribeAlarmTemplateResponse, DescribeTopSpaceSchemaTimeSeriesRequest, DescribeDBAuditLogTopSqlsResponse, DescribeIndexRecommendAggregationSlowLogsResponse, DescribeDBDiagEventsResponse, DescribeMailProfileResponse, DescribeRedisTopBigKeysRequest, ModifyUserAutonomyProfileRequest, DescribeMetricTopProxiesRequest, CancelRedisBigKeyAnalysisTasksRequest, ModifyAuditServiceResponse, DescribeDBAutonomyEventsRequest, DescribeHealthScoreRequest, CreateIgnoreDiagRecordRequest, DeleteRedisBigKeyAnalysisTasksRequest, DescribeDiagDBInstancesResponse, DescribeAllUserGroupRequest, CreateKillTaskRequest, DescribeRedisTopHotKeysResponse, CreateSecurityAuditLogExportTaskResponse, DescribeRedisCommandOverviewResponse, CreateSqlFilterResponse, DescribeSlowLogUserHostStatsRequest, DescribeTopSpaceSchemasResponse, DescribeSlowLogQueryTimeStatsResponse, CreateProxySessionKillTaskResponse, CancelDBAutonomyActionRequest, DeleteDBDiagReportTasksRequest, DescribeAlarmTemplateRequest, VerifyUserAccountResponse, DescribeSlowLogTimeSeriesStatsResponse, DescribeProxyProcessStatisticsRequest, ModifyAlarmPolicyRequest, CreateMongoDBKillTaskResponse, DescribeRedisCommandOverviewRequest, DescribeAllUserGroupResponse, DescribeRedisProcessListResponse, CreateAuditLogFileRequest, DeleteAuditLogFileRequest, ModifyDiagDBInstanceConfResponse, DescribeTopSpaceTablesV2Response, DescribeUserSqlAdviceResponse, DescribeDBSpaceStatusResponse, CancelDBAutonomyEventRequest, DescribeTopSpaceTableTimeSeriesRequest, DescribeUserSqlAdviceRequest, DescribeDBAutonomyActionResponse, DescribeDBDiagReportTasksRequest, DescribeDBPerfTimeSeriesResponse, DescribeRedisTopKeyPrefixListResponse, DescribeHealthScoreResponse, DescribeMongoDBProcessListResponse, CancelRedisBigKeyAnalysisTasksResponse, DescribeSecurityAuditLogExportTasksResponse, DescribeDBDiagReportContentResponse, DescribeSlowLogTopSqlsResponse, DescribeNoPrimaryKeyTablesResponse, DescribeDBPerfTimeSeriesRequest, DescribeAuditLogFilesRequest, DeleteSqlFiltersRequest, CreateMailProfileResponse, DescribeDiagDBInstancesRequest, DescribeMySqlProcessListRequest, DescribeSecurityAuditLogDownloadUrlsResponse, DescribeSlowLogQueryTimeStatsRequest, DescribeProxySessionKillTasksResponse } from "./dbbrain_models";
|
|
4
4
|
/**
|
|
5
5
|
* dbbrain client
|
|
6
6
|
* @class
|
|
@@ -267,6 +267,10 @@ export declare class Client extends AbstractClient {
|
|
|
267
267
|
* 获取当前实例下的单个proxy的会话统计详情信息, 返回数据为单个 proxy 的会话统计信息。【注意】该接口仅限部分环境调用。
|
|
268
268
|
*/
|
|
269
269
|
DescribeProxyProcessStatistics(req: DescribeProxyProcessStatisticsRequest, cb?: (error: string, rep: DescribeProxyProcessStatisticsResponse) => void): Promise<DescribeProxyProcessStatisticsResponse>;
|
|
270
|
+
/**
|
|
271
|
+
* 表级空间 Top 对象查询(融合接口,多产品统一入口),按 SortBy 指定的排序字段返回实例内空间占用 Top N 的表/集合。支持产品:mysql(云数据库 MySQL)、cynosdb(TDSQL-C MySQL 版)、mongodb(云数据库 MongoDB)、postgres(云数据库 PostgreSQL)、dcdb(TDSQL MySQL 版)、tdsql(TDSQL)、mariadb(云数据库 MariaDB)。返回值根据产品类型返回对应字段:MySQL 系列返回 MysqlObjects,PostgreSQL 返回 PostgresObjects(PG 的 relation/bloat 字段与 MySQL 语义不同),MongoDB 返回 MongodbObjects。
|
|
272
|
+
*/
|
|
273
|
+
DescribeTopSpaceTablesV2(req: DescribeTopSpaceTablesV2Request, cb?: (error: string, rep: DescribeTopSpaceTablesV2Response) => void): Promise<DescribeTopSpaceTablesV2Response>;
|
|
270
274
|
/**
|
|
271
275
|
* 查询实例SQL限流任务列表。
|
|
272
276
|
*/
|
|
@@ -417,6 +417,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
417
417
|
async DescribeProxyProcessStatistics(req, cb) {
|
|
418
418
|
return this.request("DescribeProxyProcessStatistics", req, cb);
|
|
419
419
|
}
|
|
420
|
+
/**
|
|
421
|
+
* 表级空间 Top 对象查询(融合接口,多产品统一入口),按 SortBy 指定的排序字段返回实例内空间占用 Top N 的表/集合。支持产品:mysql(云数据库 MySQL)、cynosdb(TDSQL-C MySQL 版)、mongodb(云数据库 MongoDB)、postgres(云数据库 PostgreSQL)、dcdb(TDSQL MySQL 版)、tdsql(TDSQL)、mariadb(云数据库 MariaDB)。返回值根据产品类型返回对应字段:MySQL 系列返回 MysqlObjects,PostgreSQL 返回 PostgresObjects(PG 的 relation/bloat 字段与 MySQL 语义不同),MongoDB 返回 MongodbObjects。
|
|
422
|
+
*/
|
|
423
|
+
async DescribeTopSpaceTablesV2(req, cb) {
|
|
424
|
+
return this.request("DescribeTopSpaceTablesV2", req, cb);
|
|
425
|
+
}
|
|
420
426
|
/**
|
|
421
427
|
* 查询实例SQL限流任务列表。
|
|
422
428
|
*/
|
|
@@ -273,6 +273,31 @@ export interface DescribeUserAutonomyProfileResponse {
|
|
|
273
273
|
*/
|
|
274
274
|
RequestId?: string;
|
|
275
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* DescribeTopSpaceTablesV2请求参数结构体
|
|
278
|
+
*/
|
|
279
|
+
export interface DescribeTopSpaceTablesV2Request {
|
|
280
|
+
/**
|
|
281
|
+
* <p>实例ID。</p>
|
|
282
|
+
*/
|
|
283
|
+
InstanceId: string;
|
|
284
|
+
/**
|
|
285
|
+
* <p>服务产品类型,支持值包括:mysql(云数据库 MySQL)、cynosdb(TDSQL-C MySQL 版)、mongodb(云数据库 MongoDB)、postgres(云数据库 PostgreSQL)、dcdb(TDSQL MySQL 版)、tdsql(TDSQL)、mariadb(云数据库 MariaDB)。</p>
|
|
286
|
+
*/
|
|
287
|
+
Product: string;
|
|
288
|
+
/**
|
|
289
|
+
* <p>查询日期,格式:yyyy-MM-dd。默认当天。</p>
|
|
290
|
+
*/
|
|
291
|
+
Date?: string;
|
|
292
|
+
/**
|
|
293
|
+
* <p>排序字段。MySQL/PG/TDSQL 系列支持:PhysicalFileSize/DataLength/IndexLength/TotalLength/DataFree/FragRatio/TableRows,默认 PhysicalFileSize。MongoDB 支持:Collection.CollectionSize/Collection.StorageSize/Collection.Size/Collection.AvgObjSize/Collection.Count/Collection.TotalIndexSize,默认 Collection.CollectionSize。</p>
|
|
294
|
+
*/
|
|
295
|
+
SortBy?: string;
|
|
296
|
+
/**
|
|
297
|
+
* <p>返回数量,默认20,最大100。</p>
|
|
298
|
+
*/
|
|
299
|
+
Limit?: number;
|
|
300
|
+
}
|
|
276
301
|
/**
|
|
277
302
|
* DescribeRedisTopHotKeys请求参数结构体
|
|
278
303
|
*/
|
|
@@ -768,6 +793,56 @@ export interface DescribeRedisBigKeyAnalysisTasksResponse {
|
|
|
768
793
|
*/
|
|
769
794
|
RequestId?: string;
|
|
770
795
|
}
|
|
796
|
+
/**
|
|
797
|
+
* PostgreSQL 产品空间对象项。字段语义与 MySQL 不同:使用 pg_relation_size / pg_total_relation_size 等 PG 特有指标。库级查询时不包含 TableSchema/TableName 字段;表级查询时包含全部字段。
|
|
798
|
+
*/
|
|
799
|
+
export interface PostgresSpaceObjectItem {
|
|
800
|
+
/**
|
|
801
|
+
* <p>数据库名(PostgreSQL 顶层 catalog)。</p>
|
|
802
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
803
|
+
*/
|
|
804
|
+
TableCatalog?: string;
|
|
805
|
+
/**
|
|
806
|
+
* <p>Schema 名(Level=TABLE 时返回)。</p>
|
|
807
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
808
|
+
*/
|
|
809
|
+
TableSchema?: string;
|
|
810
|
+
/**
|
|
811
|
+
* <p>表名(Level=TABLE 时返回)。</p>
|
|
812
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
813
|
+
*/
|
|
814
|
+
TableName?: string;
|
|
815
|
+
/**
|
|
816
|
+
* <p>表本身大小(MB),对应 pg_relation_size。</p>
|
|
817
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
818
|
+
*/
|
|
819
|
+
RelationSize?: number;
|
|
820
|
+
/**
|
|
821
|
+
* <p>表数据大小(MB),含 TOAST 但不含索引,对应 pg_table_size。</p>
|
|
822
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
823
|
+
*/
|
|
824
|
+
TableSize?: number;
|
|
825
|
+
/**
|
|
826
|
+
* <p>索引大小(MB),对应 pg_indexes_size。</p>
|
|
827
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
828
|
+
*/
|
|
829
|
+
IndexSize?: number;
|
|
830
|
+
/**
|
|
831
|
+
* <p>总大小(MB),含数据、索引、TOAST,对应 pg_total_relation_size。</p>
|
|
832
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
833
|
+
*/
|
|
834
|
+
TotalRelationSize?: number;
|
|
835
|
+
/**
|
|
836
|
+
* <p>表膨胀率(PostgreSQL 特有指标)。</p>
|
|
837
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
838
|
+
*/
|
|
839
|
+
TableBloat?: number;
|
|
840
|
+
/**
|
|
841
|
+
* <p>表行数。</p>
|
|
842
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
843
|
+
*/
|
|
844
|
+
TableRows?: number;
|
|
845
|
+
}
|
|
771
846
|
/**
|
|
772
847
|
* DescribeDBDiagReportTasks返回参数结构体
|
|
773
848
|
*/
|
|
@@ -1128,6 +1203,14 @@ export interface SlowLogTopSqlItem {
|
|
|
1128
1203
|
* SQL模板的MD5值
|
|
1129
1204
|
*/
|
|
1130
1205
|
Md5?: string;
|
|
1206
|
+
/**
|
|
1207
|
+
*
|
|
1208
|
+
*/
|
|
1209
|
+
SqlType?: string;
|
|
1210
|
+
/**
|
|
1211
|
+
*
|
|
1212
|
+
*/
|
|
1213
|
+
InstanceId?: string;
|
|
1131
1214
|
}
|
|
1132
1215
|
/**
|
|
1133
1216
|
* CreateKillTask返回参数结构体
|
|
@@ -2249,6 +2332,10 @@ export interface SlowLogInfoItem {
|
|
|
2249
2332
|
* 返回行数
|
|
2250
2333
|
*/
|
|
2251
2334
|
RowsSent?: number;
|
|
2335
|
+
/**
|
|
2336
|
+
*
|
|
2337
|
+
*/
|
|
2338
|
+
InstanceId?: string;
|
|
2252
2339
|
}
|
|
2253
2340
|
/**
|
|
2254
2341
|
* CreateAuditLogFile返回参数结构体
|
|
@@ -2346,29 +2433,69 @@ export interface IndexesToBuild {
|
|
|
2346
2433
|
Status?: number;
|
|
2347
2434
|
}
|
|
2348
2435
|
/**
|
|
2349
|
-
*
|
|
2436
|
+
* MongoDB 集合级空间使用明细,包含集合的存储、索引、碎片等各维度指标。
|
|
2350
2437
|
*/
|
|
2351
|
-
export interface
|
|
2438
|
+
export interface MongoCollectionDetail {
|
|
2352
2439
|
/**
|
|
2353
|
-
*
|
|
2440
|
+
* <p>集合命名空间,格式为 db.collection。</p>
|
|
2441
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2354
2442
|
*/
|
|
2355
|
-
|
|
2443
|
+
CollStats?: string;
|
|
2356
2444
|
/**
|
|
2357
|
-
*
|
|
2445
|
+
* <p>集合逻辑大小(字节,未压缩)。</p>
|
|
2446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2358
2447
|
*/
|
|
2359
|
-
|
|
2448
|
+
CollectionSize?: number;
|
|
2360
2449
|
/**
|
|
2361
|
-
*
|
|
2450
|
+
* <p>集合已分配但未使用的空间(字节)。</p>
|
|
2451
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2362
2452
|
*/
|
|
2363
|
-
|
|
2453
|
+
DataFree?: number;
|
|
2364
2454
|
/**
|
|
2365
|
-
*
|
|
2455
|
+
* <p>空间利用率(百分比字符串)。</p>
|
|
2456
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2366
2457
|
*/
|
|
2367
|
-
|
|
2458
|
+
SpaceRatio?: string;
|
|
2368
2459
|
/**
|
|
2369
|
-
*
|
|
2460
|
+
* <p>碎片率(百分比字符串)。</p>
|
|
2461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2370
2462
|
*/
|
|
2371
|
-
|
|
2463
|
+
FragRatio?: string;
|
|
2464
|
+
/**
|
|
2465
|
+
* <p>集合数据大小(字节)。</p>
|
|
2466
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2467
|
+
*/
|
|
2468
|
+
Size?: number;
|
|
2469
|
+
/**
|
|
2470
|
+
* <p>所有索引占用大小(字节)。</p>
|
|
2471
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2472
|
+
*/
|
|
2473
|
+
TotalIndexSize?: number;
|
|
2474
|
+
/**
|
|
2475
|
+
* <p>平均文档大小(字节)。</p>
|
|
2476
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2477
|
+
*/
|
|
2478
|
+
AvgObjSize?: number;
|
|
2479
|
+
/**
|
|
2480
|
+
* <p>集合实际占用存储大小(字节,压缩后)。</p>
|
|
2481
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2482
|
+
*/
|
|
2483
|
+
StorageSize?: number;
|
|
2484
|
+
/**
|
|
2485
|
+
* <p>文档数量。</p>
|
|
2486
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2487
|
+
*/
|
|
2488
|
+
Count?: number;
|
|
2489
|
+
/**
|
|
2490
|
+
* <p>压缩率(百分比字符串)。</p>
|
|
2491
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2492
|
+
*/
|
|
2493
|
+
CompressionRatio?: string;
|
|
2494
|
+
/**
|
|
2495
|
+
* <p>可复用文件空间(字节)。</p>
|
|
2496
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2497
|
+
*/
|
|
2498
|
+
FileReuseBytes?: number;
|
|
2372
2499
|
}
|
|
2373
2500
|
/**
|
|
2374
2501
|
* DescribeDatabaseAutonomyStatus返回参数结构体
|
|
@@ -3832,6 +3959,31 @@ export interface DescribeRedisTopCostCommandsResponse {
|
|
|
3832
3959
|
*/
|
|
3833
3960
|
RequestId?: string;
|
|
3834
3961
|
}
|
|
3962
|
+
/**
|
|
3963
|
+
* OpenAuditService请求参数结构体
|
|
3964
|
+
*/
|
|
3965
|
+
export interface OpenAuditServiceRequest {
|
|
3966
|
+
/**
|
|
3967
|
+
* 服务产品类型,支持值包括: "dcdb" - 云数据库 Tdsql, "mariadb" - 云数据库 MariaDB。
|
|
3968
|
+
*/
|
|
3969
|
+
Product: string;
|
|
3970
|
+
/**
|
|
3971
|
+
* 与Product保持一致。如:"dcdb" ,"mariadb"。
|
|
3972
|
+
*/
|
|
3973
|
+
NodeRequestType: string;
|
|
3974
|
+
/**
|
|
3975
|
+
* 实例ID。
|
|
3976
|
+
*/
|
|
3977
|
+
InstanceId: string;
|
|
3978
|
+
/**
|
|
3979
|
+
* 日志保存总时长,只能是7,30,90,180,365,1095,1825。
|
|
3980
|
+
*/
|
|
3981
|
+
LogExpireDay: number;
|
|
3982
|
+
/**
|
|
3983
|
+
* 高频日志保存时长,只能是7,30,90,180,365,1095,1825。
|
|
3984
|
+
*/
|
|
3985
|
+
HotLogExpireDay: number;
|
|
3986
|
+
}
|
|
3835
3987
|
/**
|
|
3836
3988
|
* 库空间统计数据。
|
|
3837
3989
|
*/
|
|
@@ -4419,6 +4571,41 @@ export interface DescribeAlarmTemplateResponse {
|
|
|
4419
4571
|
*/
|
|
4420
4572
|
RequestId?: string;
|
|
4421
4573
|
}
|
|
4574
|
+
/**
|
|
4575
|
+
* MongoDB 产品表级(集合级)空间对象项,描述单个集合的空间使用统计信息。
|
|
4576
|
+
*/
|
|
4577
|
+
export interface MongoDBTableSpaceItem {
|
|
4578
|
+
/**
|
|
4579
|
+
* <p>应用 Id(AppId)。</p>
|
|
4580
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4581
|
+
*/
|
|
4582
|
+
AppId?: number;
|
|
4583
|
+
/**
|
|
4584
|
+
* <p>实例 Id。</p>
|
|
4585
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4586
|
+
*/
|
|
4587
|
+
InstanceId?: string;
|
|
4588
|
+
/**
|
|
4589
|
+
* <p>数据库名。</p>
|
|
4590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4591
|
+
*/
|
|
4592
|
+
Db?: string;
|
|
4593
|
+
/**
|
|
4594
|
+
* <p>数据采集时间戳(毫秒)。</p>
|
|
4595
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4596
|
+
*/
|
|
4597
|
+
Timestamp?: number;
|
|
4598
|
+
/**
|
|
4599
|
+
* <p>磁盘占用大小(字节)。</p>
|
|
4600
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4601
|
+
*/
|
|
4602
|
+
SizeOnDisk?: number;
|
|
4603
|
+
/**
|
|
4604
|
+
* <p>集合级空间使用明细。</p>
|
|
4605
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4606
|
+
*/
|
|
4607
|
+
Collection?: MongoCollectionDetail;
|
|
4608
|
+
}
|
|
4422
4609
|
/**
|
|
4423
4610
|
* DescribeTopSpaceSchemaTimeSeries请求参数结构体
|
|
4424
4611
|
*/
|
|
@@ -4953,6 +5140,19 @@ export interface DescribeRedisCommandOverviewResponse {
|
|
|
4953
5140
|
*/
|
|
4954
5141
|
RequestId?: string;
|
|
4955
5142
|
}
|
|
5143
|
+
/**
|
|
5144
|
+
* sql会话统计信息
|
|
5145
|
+
*/
|
|
5146
|
+
export interface StatisticInfo {
|
|
5147
|
+
/**
|
|
5148
|
+
* 统计分析的维度。
|
|
5149
|
+
*/
|
|
5150
|
+
Dimension?: string;
|
|
5151
|
+
/**
|
|
5152
|
+
* 统计分析的维度下的统计数据详情。
|
|
5153
|
+
*/
|
|
5154
|
+
Data?: Array<StatisticDataInfo>;
|
|
5155
|
+
}
|
|
4956
5156
|
/**
|
|
4957
5157
|
* CreateSqlFilter返回参数结构体
|
|
4958
5158
|
*/
|
|
@@ -5349,17 +5549,59 @@ export interface DescribeProxyProcessStatisticsRequest {
|
|
|
5349
5549
|
OrderDirection?: string;
|
|
5350
5550
|
}
|
|
5351
5551
|
/**
|
|
5352
|
-
*
|
|
5552
|
+
* MySQL 系列产品空间对象项。库级查询时不包含 TableName/Engine 字段;表级查询时包含全部字段。
|
|
5353
5553
|
*/
|
|
5354
|
-
export interface
|
|
5554
|
+
export interface MysqlSpaceObjectItem {
|
|
5355
5555
|
/**
|
|
5356
|
-
*
|
|
5556
|
+
* <p>数据库名。</p>
|
|
5557
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5357
5558
|
*/
|
|
5358
|
-
|
|
5559
|
+
TableSchema?: string;
|
|
5359
5560
|
/**
|
|
5360
|
-
*
|
|
5561
|
+
* <p>表名(Level=TABLE时返回)。</p>
|
|
5562
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5361
5563
|
*/
|
|
5362
|
-
|
|
5564
|
+
TableName?: string;
|
|
5565
|
+
/**
|
|
5566
|
+
* <p>存储引擎(Level=TABLE时返回)。</p>
|
|
5567
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5568
|
+
*/
|
|
5569
|
+
Engine?: string;
|
|
5570
|
+
/**
|
|
5571
|
+
* <p>行数。</p>
|
|
5572
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5573
|
+
*/
|
|
5574
|
+
TableRows?: number;
|
|
5575
|
+
/**
|
|
5576
|
+
* <p>总使用空间(MB)。</p>
|
|
5577
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5578
|
+
*/
|
|
5579
|
+
TotalLength?: number;
|
|
5580
|
+
/**
|
|
5581
|
+
* <p>数据空间(MB)。</p>
|
|
5582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5583
|
+
*/
|
|
5584
|
+
DataLength?: number;
|
|
5585
|
+
/**
|
|
5586
|
+
* <p>索引空间(MB)。</p>
|
|
5587
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5588
|
+
*/
|
|
5589
|
+
IndexLength?: number;
|
|
5590
|
+
/**
|
|
5591
|
+
* <p>碎片空间(MB)。</p>
|
|
5592
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5593
|
+
*/
|
|
5594
|
+
DataFree?: number;
|
|
5595
|
+
/**
|
|
5596
|
+
* <p>碎片率(%)。</p>
|
|
5597
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5598
|
+
*/
|
|
5599
|
+
FragRatio?: number;
|
|
5600
|
+
/**
|
|
5601
|
+
* <p>物理文件大小(MB)。</p>
|
|
5602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5603
|
+
*/
|
|
5604
|
+
PhysicalFileSize?: number;
|
|
5363
5605
|
}
|
|
5364
5606
|
/**
|
|
5365
5607
|
* 监控数据(浮点型)
|
|
@@ -5566,6 +5808,34 @@ export interface ModifyDiagDBInstanceConfResponse {
|
|
|
5566
5808
|
*/
|
|
5567
5809
|
RequestId?: string;
|
|
5568
5810
|
}
|
|
5811
|
+
/**
|
|
5812
|
+
* DescribeTopSpaceTablesV2返回参数结构体
|
|
5813
|
+
*/
|
|
5814
|
+
export interface DescribeTopSpaceTablesV2Response {
|
|
5815
|
+
/**
|
|
5816
|
+
* <p>MySQL/PG/TDSQL 系列产品表级空间对象列表。当产品为 mysql/cynosdb/tdsql/dcdb/mariadb/postgres 时返回。</p>
|
|
5817
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5818
|
+
*/
|
|
5819
|
+
MysqlObjects?: Array<MysqlSpaceObjectItem>;
|
|
5820
|
+
/**
|
|
5821
|
+
* <p>PostgreSQL 产品表级空间对象列表。当产品为 postgres 时返回。字段语义与 MySQL 不同:使用 RelationSize / TableSize / IndexSize / TotalRelationSize / TableBloat 等 PG 特有指标。</p>
|
|
5822
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5823
|
+
*/
|
|
5824
|
+
PostgresObjects?: Array<PostgresSpaceObjectItem>;
|
|
5825
|
+
/**
|
|
5826
|
+
* <p>MongoDB 产品表级(集合级)空间对象列表。当产品为 mongodb 时返回。</p>
|
|
5827
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5828
|
+
*/
|
|
5829
|
+
MongodbObjects?: Array<MongoDBTableSpaceItem>;
|
|
5830
|
+
/**
|
|
5831
|
+
* <p>数据采集时间戳(秒)。</p>
|
|
5832
|
+
*/
|
|
5833
|
+
Timestamp?: number;
|
|
5834
|
+
/**
|
|
5835
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5836
|
+
*/
|
|
5837
|
+
RequestId?: string;
|
|
5838
|
+
}
|
|
5569
5839
|
/**
|
|
5570
5840
|
* DescribeUserSqlAdvice返回参数结构体
|
|
5571
5841
|
*/
|