tencentcloud-sdk-nodejs-cdb 4.1.85 → 4.1.90
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/package.json
CHANGED
|
@@ -316,8 +316,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
316
316
|
*/
|
|
317
317
|
DescribeProjectSecurityGroups(req: DescribeProjectSecurityGroupsRequest, cb?: (error: string, rep: DescribeProjectSecurityGroupsResponse) => void): Promise<DescribeProjectSecurityGroupsResponse>;
|
|
318
318
|
/**
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
* 本接口(DescribeSlowLogs)用于获取云数据库实例的慢查询日志。
|
|
320
|
+
说明:若单次查询数据量过大,则有可能响应超时,建议缩短单次查询时间范围,如一小时,避免导致超时。
|
|
321
|
+
*/
|
|
321
322
|
DescribeSlowLogs(req: DescribeSlowLogsRequest, cb?: (error: string, rep: DescribeSlowLogsResponse) => void): Promise<DescribeSlowLogsResponse>;
|
|
322
323
|
/**
|
|
323
324
|
* 本接口(InquiryPriceUpgradeInstances)用于查询云数据库实例升级的价格,支持查询按量计费或者包年包月实例的升级价格,实例类型支持主实例、灾备实例和只读实例。
|
|
@@ -478,8 +478,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
478
478
|
return this.request("DescribeProjectSecurityGroups", req, cb);
|
|
479
479
|
}
|
|
480
480
|
/**
|
|
481
|
-
|
|
482
|
-
|
|
481
|
+
* 本接口(DescribeSlowLogs)用于获取云数据库实例的慢查询日志。
|
|
482
|
+
说明:若单次查询数据量过大,则有可能响应超时,建议缩短单次查询时间范围,如一小时,避免导致超时。
|
|
483
|
+
*/
|
|
483
484
|
async DescribeSlowLogs(req, cb) {
|
|
484
485
|
return this.request("DescribeSlowLogs", req, cb);
|
|
485
486
|
}
|
|
@@ -480,19 +480,19 @@ export interface ParamRecord {
|
|
|
480
480
|
*/
|
|
481
481
|
export interface DescribeParamTemplatesRequest {
|
|
482
482
|
/**
|
|
483
|
-
*
|
|
483
|
+
* 引擎版本,缺省则查询所有。可取值为:5.5、5.6、5.7、8.0。
|
|
484
484
|
*/
|
|
485
485
|
EngineVersions?: Array<string>;
|
|
486
486
|
/**
|
|
487
|
-
*
|
|
487
|
+
* 引擎类型,缺省则查询所有。可取值为:InnoDB、RocksDB,不区分大小写。
|
|
488
488
|
*/
|
|
489
489
|
EngineTypes?: Array<string>;
|
|
490
490
|
/**
|
|
491
|
-
*
|
|
491
|
+
* 模板名称,缺省则查询所有。支持模糊匹配。
|
|
492
492
|
*/
|
|
493
493
|
TemplateNames?: Array<string>;
|
|
494
494
|
/**
|
|
495
|
-
* 模板
|
|
495
|
+
* 模板 ID,缺省则查询所有。
|
|
496
496
|
*/
|
|
497
497
|
TemplateIds?: Array<number | bigint>;
|
|
498
498
|
}
|
|
@@ -817,7 +817,7 @@ export interface PeriodStrategy {
|
|
|
817
817
|
*/
|
|
818
818
|
export interface DescribeParamTemplateInfoRequest {
|
|
819
819
|
/**
|
|
820
|
-
* 参数模板 ID
|
|
820
|
+
* 参数模板 ID。可通过 [DescribeParamTemplates](https://cloud.tencent.com/document/api/236/32659) 接口获取。
|
|
821
821
|
*/
|
|
822
822
|
TemplateId: number;
|
|
823
823
|
}
|
|
@@ -2095,7 +2095,7 @@ export interface DescribeParamTemplateInfoResponse {
|
|
|
2095
2095
|
*/
|
|
2096
2096
|
Name?: string;
|
|
2097
2097
|
/**
|
|
2098
|
-
*
|
|
2098
|
+
* 参数模板对应实例版本,可取值:5.5、5.6、5.7、8.0。
|
|
2099
2099
|
*/
|
|
2100
2100
|
EngineVersion?: string;
|
|
2101
2101
|
/**
|
|
@@ -2441,7 +2441,7 @@ export interface DescribeBinlogsRequest {
|
|
|
2441
2441
|
*/
|
|
2442
2442
|
Offset?: number;
|
|
2443
2443
|
/**
|
|
2444
|
-
* 分页大小,默认值为20,最小值为1,最大值为
|
|
2444
|
+
* 分页大小,默认值为20,最小值为1,最大值为1000。
|
|
2445
2445
|
*/
|
|
2446
2446
|
Limit?: number;
|
|
2447
2447
|
/**
|
|
@@ -2835,7 +2835,7 @@ export interface SwitchDBInstanceMasterSlaveResponse {
|
|
|
2835
2835
|
*/
|
|
2836
2836
|
export interface DescribeBackupsRequest {
|
|
2837
2837
|
/**
|
|
2838
|
-
* 实例ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
|
2838
|
+
* 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
|
2839
2839
|
*/
|
|
2840
2840
|
InstanceId: string;
|
|
2841
2841
|
/**
|
|
@@ -2843,7 +2843,7 @@ export interface DescribeBackupsRequest {
|
|
|
2843
2843
|
*/
|
|
2844
2844
|
Offset?: number;
|
|
2845
2845
|
/**
|
|
2846
|
-
* 分页大小,默认值为20,最小值为1,最大值为
|
|
2846
|
+
* 分页大小,默认值为20,最小值为1,最大值为1000。
|
|
2847
2847
|
*/
|
|
2848
2848
|
Limit?: number;
|
|
2849
2849
|
}
|
|
@@ -3007,10 +3007,12 @@ export interface BinlogInfo {
|
|
|
3007
3007
|
Date?: string;
|
|
3008
3008
|
/**
|
|
3009
3009
|
* 下载地址
|
|
3010
|
+
说明:此下载地址和参数 InternetUrl 的下载地址一样。
|
|
3010
3011
|
*/
|
|
3011
3012
|
IntranetUrl?: string;
|
|
3012
3013
|
/**
|
|
3013
3014
|
* 下载地址
|
|
3015
|
+
说明:此下载地址和参数 IntranetUrl 的下载地址一样。
|
|
3014
3016
|
*/
|
|
3015
3017
|
InternetUrl?: string;
|
|
3016
3018
|
/**
|
|
@@ -3043,6 +3045,7 @@ export interface BinlogInfo {
|
|
|
3043
3045
|
CosStorageType?: number;
|
|
3044
3046
|
/**
|
|
3045
3047
|
* 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
|
3048
|
+
* @deprecated
|
|
3046
3049
|
*/
|
|
3047
3050
|
InstanceId?: string;
|
|
3048
3051
|
}
|
|
@@ -3403,7 +3406,7 @@ export interface DeleteAccountsResponse {
|
|
|
3403
3406
|
*/
|
|
3404
3407
|
export interface ParamTemplateInfo {
|
|
3405
3408
|
/**
|
|
3406
|
-
* 参数模板ID
|
|
3409
|
+
* 参数模板 ID
|
|
3407
3410
|
*/
|
|
3408
3411
|
TemplateId?: number;
|
|
3409
3412
|
/**
|
|
@@ -3415,15 +3418,15 @@ export interface ParamTemplateInfo {
|
|
|
3415
3418
|
*/
|
|
3416
3419
|
Description?: string;
|
|
3417
3420
|
/**
|
|
3418
|
-
*
|
|
3421
|
+
* 实例引擎版本,值为:5.5、5.6、5.7、8.0。
|
|
3419
3422
|
*/
|
|
3420
3423
|
EngineVersion?: string;
|
|
3421
3424
|
/**
|
|
3422
|
-
*
|
|
3425
|
+
* 参数模板类型,值为:HIGH_STABILITY、HIGH_PERFORMANCE。
|
|
3423
3426
|
*/
|
|
3424
3427
|
TemplateType?: string;
|
|
3425
3428
|
/**
|
|
3426
|
-
*
|
|
3429
|
+
* 参数模板引擎,值为:InnoDB、RocksDB。
|
|
3427
3430
|
*/
|
|
3428
3431
|
EngineType?: string;
|
|
3429
3432
|
}
|
|
@@ -5197,19 +5200,19 @@ export interface ModifyAuditServiceRequest {
|
|
|
5197
5200
|
*/
|
|
5198
5201
|
export interface DescribeErrorLogDataRequest {
|
|
5199
5202
|
/**
|
|
5200
|
-
* 实例 ID
|
|
5203
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
5201
5204
|
*/
|
|
5202
5205
|
InstanceId: string;
|
|
5203
5206
|
/**
|
|
5204
|
-
* 开始时间戳。例如
|
|
5207
|
+
* 开始时间戳。例如1585142640,秒级。
|
|
5205
5208
|
*/
|
|
5206
5209
|
StartTime: number;
|
|
5207
5210
|
/**
|
|
5208
|
-
* 结束时间戳。例如
|
|
5211
|
+
* 结束时间戳。例如1585142640,秒级。
|
|
5209
5212
|
*/
|
|
5210
5213
|
EndTime: number;
|
|
5211
5214
|
/**
|
|
5212
|
-
* 要匹配的关键字列表,最多支持15
|
|
5215
|
+
* 要匹配的关键字列表,最多支持15个关键字,支持模糊匹配。
|
|
5213
5216
|
*/
|
|
5214
5217
|
KeyWords?: Array<string>;
|
|
5215
5218
|
/**
|
|
@@ -8220,7 +8223,7 @@ export interface DescribeSlowLogsRequest {
|
|
|
8220
8223
|
*/
|
|
8221
8224
|
Offset?: number;
|
|
8222
8225
|
/**
|
|
8223
|
-
* 分页大小,默认值为20,最小值为1,最大值为
|
|
8226
|
+
* 分页大小,默认值为20,最小值为1,最大值为1000。
|
|
8224
8227
|
*/
|
|
8225
8228
|
Limit?: number;
|
|
8226
8229
|
}
|
|
@@ -10247,7 +10250,7 @@ export interface DescribeSSLStatusRequest {
|
|
|
10247
10250
|
*/
|
|
10248
10251
|
export interface DescribeSlowLogDataRequest {
|
|
10249
10252
|
/**
|
|
10250
|
-
* 实例 ID
|
|
10253
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
10251
10254
|
*/
|
|
10252
10255
|
InstanceId: string;
|
|
10253
10256
|
/**
|
|
@@ -10273,11 +10276,16 @@ export interface DescribeSlowLogDataRequest {
|
|
|
10273
10276
|
*/
|
|
10274
10277
|
DataBases?: Array<string>;
|
|
10275
10278
|
/**
|
|
10276
|
-
*
|
|
10279
|
+
* 排序字段,当前支持字段及含义如下,默认值为 Timestamp。
|
|
10280
|
+
1. Timestamp:SQL 的执行时间
|
|
10281
|
+
2. QueryTime:SQL 的执行时长(秒)
|
|
10282
|
+
3. LockTime:锁时长(秒)
|
|
10283
|
+
4. RowsExamined:扫描行数
|
|
10284
|
+
5. RowsSent:结果集行数
|
|
10277
10285
|
*/
|
|
10278
10286
|
SortBy?: string;
|
|
10279
10287
|
/**
|
|
10280
|
-
*
|
|
10288
|
+
* 升序还是降序排列。当前支持值为 ASC - 升序,DESC - 降序 ,默认值为 ASC。
|
|
10281
10289
|
*/
|
|
10282
10290
|
OrderBy?: string;
|
|
10283
10291
|
/**
|
|
@@ -10285,7 +10293,7 @@ export interface DescribeSlowLogDataRequest {
|
|
|
10285
10293
|
*/
|
|
10286
10294
|
Offset?: number;
|
|
10287
10295
|
/**
|
|
10288
|
-
* 一次性返回的记录数量,默认为100,最大为
|
|
10296
|
+
* 一次性返回的记录数量,默认为100,最大为800。
|
|
10289
10297
|
*/
|
|
10290
10298
|
Limit?: number;
|
|
10291
10299
|
/**
|