tencentcloud-sdk-nodejs-redis 4.0.388 → 4.0.432
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 +6462 -0
- package/README.md +3 -3
- package/SERVICE_CHANGELOG.md +4451 -124
- package/package.json +1 -1
- package/products.md +104 -100
- package/src/services/redis/v20180412/redis_client.ts +97 -61
- package/src/services/redis/v20180412/redis_models.ts +96 -6
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +33 -21
- package/tencentcloud/services/redis/v20180412/redis_client.js +48 -30
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +84 -6
|
@@ -112,16 +112,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
112
112
|
return this.request("DescribeParamTemplateInfo", req, cb);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* 查询 CRS 实例备份列表
|
|
116
116
|
*/
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
117
|
+
async DescribeInstanceBackups(req, cb) {
|
|
118
|
+
return this.request("DescribeInstanceBackups", req, cb);
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* 查询实例DTS信息
|
|
122
122
|
*/
|
|
123
|
-
async
|
|
124
|
-
return this.request("
|
|
123
|
+
async DescribeInstanceDTSInfo(req, cb) {
|
|
124
|
+
return this.request("DescribeInstanceDTSInfo", req, cb);
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
127
|
* 查询实例CPU耗时
|
|
@@ -129,6 +129,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
129
129
|
async DescribeInstanceMonitorTopNCmdTook(req, cb) {
|
|
130
130
|
return this.request("DescribeInstanceMonitorTopNCmdTook", req, cb);
|
|
131
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* Proxy模拟故障接口
|
|
134
|
+
*/
|
|
135
|
+
async SwitchProxy(req, cb) {
|
|
136
|
+
return this.request("SwitchProxy", req, cb);
|
|
137
|
+
}
|
|
132
138
|
/**
|
|
133
139
|
* 该接口仅支持多AZ实例副本组提主和单AZ副本提主
|
|
134
140
|
*/
|
|
@@ -202,10 +208,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
202
208
|
return this.request("DisableReplicaReadonly", req, cb);
|
|
203
209
|
}
|
|
204
210
|
/**
|
|
205
|
-
*
|
|
211
|
+
* 获取备份配置
|
|
206
212
|
*/
|
|
207
|
-
async
|
|
208
|
-
return this.request("
|
|
213
|
+
async DescribeAutoBackupConfig(req, cb) {
|
|
214
|
+
return this.request("DescribeAutoBackupConfig", req, cb);
|
|
209
215
|
}
|
|
210
216
|
/**
|
|
211
217
|
* 修改实例网络配置
|
|
@@ -226,10 +232,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
226
232
|
return this.request("DescribeInstanceMonitorSIP", req, cb);
|
|
227
233
|
}
|
|
228
234
|
/**
|
|
229
|
-
*
|
|
235
|
+
* 清空Redis实例的实例数据。
|
|
230
236
|
*/
|
|
231
|
-
async
|
|
232
|
-
return this.request("
|
|
237
|
+
async ClearInstance(req, cb) {
|
|
238
|
+
return this.request("ClearInstance", req, cb);
|
|
233
239
|
}
|
|
234
240
|
/**
|
|
235
241
|
* 修改实例子账号
|
|
@@ -274,10 +280,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
274
280
|
return this.request("DescribeTaskInfo", req, cb);
|
|
275
281
|
}
|
|
276
282
|
/**
|
|
277
|
-
*
|
|
283
|
+
* 查询备份Rdb下载地址(接口灰度中,需要加白名单使用)
|
|
278
284
|
*/
|
|
279
|
-
async
|
|
280
|
-
return this.request("
|
|
285
|
+
async DescribeBackupUrl(req, cb) {
|
|
286
|
+
return this.request("DescribeBackupUrl", req, cb);
|
|
281
287
|
}
|
|
282
288
|
/**
|
|
283
289
|
* 本接口(DescribeProxySlowLog)用于查询代理慢查询。
|
|
@@ -303,6 +309,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
303
309
|
async AssociateSecurityGroups(req, cb) {
|
|
304
310
|
return this.request("AssociateSecurityGroups", req, cb);
|
|
305
311
|
}
|
|
312
|
+
/**
|
|
313
|
+
* 实例proxy版本升级
|
|
314
|
+
*/
|
|
315
|
+
async UpgradeProxyVersion(req, cb) {
|
|
316
|
+
return this.request("UpgradeProxyVersion", req, cb);
|
|
317
|
+
}
|
|
306
318
|
/**
|
|
307
319
|
* 本接口(ModifyInstanceParams)用于修改实例参数。
|
|
308
320
|
*/
|
|
@@ -310,10 +322,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
310
322
|
return this.request("ModifyInstanceParams", req, cb);
|
|
311
323
|
}
|
|
312
324
|
/**
|
|
313
|
-
*
|
|
325
|
+
* 查询订单信息
|
|
314
326
|
*/
|
|
315
|
-
async
|
|
316
|
-
return this.request("
|
|
327
|
+
async DescribeInstanceDealDetail(req, cb) {
|
|
328
|
+
return this.request("DescribeInstanceDealDetail", req, cb);
|
|
317
329
|
}
|
|
318
330
|
/**
|
|
319
331
|
* 修改参数模板
|
|
@@ -363,6 +375,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
363
375
|
async DescribeInstanceMonitorBigKeyTypeDist(req, cb) {
|
|
364
376
|
return this.request("DescribeInstanceMonitorBigKeyTypeDist", req, cb);
|
|
365
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* 复制组实例切主
|
|
380
|
+
*/
|
|
381
|
+
async ChangeMasterInstance(req, cb) {
|
|
382
|
+
return this.request("ChangeMasterInstance", req, cb);
|
|
383
|
+
}
|
|
366
384
|
/**
|
|
367
385
|
* 重置密码
|
|
368
386
|
*/
|
|
@@ -454,10 +472,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
454
472
|
return this.request("DescribeInstanceParamRecords", req, cb);
|
|
455
473
|
}
|
|
456
474
|
/**
|
|
457
|
-
*
|
|
475
|
+
* 本接口(CreateInstances)用于创建redis实例。
|
|
458
476
|
*/
|
|
459
|
-
async
|
|
460
|
-
return this.request("
|
|
477
|
+
async CreateInstances(req, cb) {
|
|
478
|
+
return this.request("CreateInstances", req, cb);
|
|
461
479
|
}
|
|
462
480
|
/**
|
|
463
481
|
* 查询Redis节点详细信息
|
|
@@ -466,10 +484,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
466
484
|
return this.request("DescribeInstanceZoneInfo", req, cb);
|
|
467
485
|
}
|
|
468
486
|
/**
|
|
469
|
-
*
|
|
487
|
+
* 开通外网
|
|
470
488
|
*/
|
|
471
|
-
async
|
|
472
|
-
return this.request("
|
|
489
|
+
async AllocateWanAddress(req, cb) {
|
|
490
|
+
return this.request("AllocateWanAddress", req, cb);
|
|
473
491
|
}
|
|
474
492
|
/**
|
|
475
493
|
* 删除实例子账号
|
|
@@ -478,10 +496,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
478
496
|
return this.request("DeleteInstanceAccount", req, cb);
|
|
479
497
|
}
|
|
480
498
|
/**
|
|
481
|
-
*
|
|
499
|
+
* 查看实例子账号信息
|
|
482
500
|
*/
|
|
483
|
-
async
|
|
484
|
-
return this.request("
|
|
501
|
+
async DescribeInstanceAccount(req, cb) {
|
|
502
|
+
return this.request("DescribeInstanceAccount", req, cb);
|
|
485
503
|
}
|
|
486
504
|
/**
|
|
487
505
|
* 本接口(DisassociateSecurityGroups)用于安全组批量解绑实例。
|
|
@@ -508,10 +526,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
508
526
|
return this.request("DescribeInstanceMonitorTookDist", req, cb);
|
|
509
527
|
}
|
|
510
528
|
/**
|
|
511
|
-
*
|
|
529
|
+
* 复制组实例更换角色
|
|
512
530
|
*/
|
|
513
|
-
async
|
|
514
|
-
return this.request("
|
|
531
|
+
async ChangeInstanceRole(req, cb) {
|
|
532
|
+
return this.request("ChangeInstanceRole", req, cb);
|
|
515
533
|
}
|
|
516
534
|
}
|
|
517
535
|
exports.Client = Client;
|
|
@@ -1261,6 +1261,19 @@ export interface DescribeInstanceDTSInfoResponse {
|
|
|
1261
1261
|
*/
|
|
1262
1262
|
RequestId?: string;
|
|
1263
1263
|
}
|
|
1264
|
+
/**
|
|
1265
|
+
* ChangeMasterInstance返回参数结构体
|
|
1266
|
+
*/
|
|
1267
|
+
export interface ChangeMasterInstanceResponse {
|
|
1268
|
+
/**
|
|
1269
|
+
* 异步流程ID
|
|
1270
|
+
*/
|
|
1271
|
+
TaskId: number;
|
|
1272
|
+
/**
|
|
1273
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1274
|
+
*/
|
|
1275
|
+
RequestId?: string;
|
|
1276
|
+
}
|
|
1264
1277
|
/**
|
|
1265
1278
|
* AddReplicationInstance返回参数结构体
|
|
1266
1279
|
*/
|
|
@@ -1432,17 +1445,17 @@ export interface ModifyDBInstanceSecurityGroupsResponse {
|
|
|
1432
1445
|
RequestId?: string;
|
|
1433
1446
|
}
|
|
1434
1447
|
/**
|
|
1435
|
-
*
|
|
1448
|
+
* ChangeMasterInstance请求参数结构体
|
|
1436
1449
|
*/
|
|
1437
|
-
export interface
|
|
1450
|
+
export interface ChangeMasterInstanceRequest {
|
|
1438
1451
|
/**
|
|
1439
|
-
*
|
|
1452
|
+
* 复制组ID
|
|
1440
1453
|
*/
|
|
1441
|
-
|
|
1454
|
+
GroupId: string;
|
|
1442
1455
|
/**
|
|
1443
|
-
*
|
|
1456
|
+
* 实例ID
|
|
1444
1457
|
*/
|
|
1445
|
-
|
|
1458
|
+
InstanceId: string;
|
|
1446
1459
|
}
|
|
1447
1460
|
/**
|
|
1448
1461
|
* DescribeInstanceDTSInfo请求参数结构体
|
|
@@ -1995,6 +2008,19 @@ export interface DescribeInstanceAccountRequest {
|
|
|
1995
2008
|
*/
|
|
1996
2009
|
Offset: number;
|
|
1997
2010
|
}
|
|
2011
|
+
/**
|
|
2012
|
+
* SwitchProxy请求参数结构体
|
|
2013
|
+
*/
|
|
2014
|
+
export interface SwitchProxyRequest {
|
|
2015
|
+
/**
|
|
2016
|
+
* 实例ID
|
|
2017
|
+
*/
|
|
2018
|
+
InstanceId: string;
|
|
2019
|
+
/**
|
|
2020
|
+
* 实例ProxyID
|
|
2021
|
+
*/
|
|
2022
|
+
ProxyID?: string;
|
|
2023
|
+
}
|
|
1998
2024
|
/**
|
|
1999
2025
|
* DescribeInstanceParamRecords请求参数结构体
|
|
2000
2026
|
*/
|
|
@@ -2674,6 +2700,15 @@ export interface TendisNodes {
|
|
|
2674
2700
|
*/
|
|
2675
2701
|
NodeRole: string;
|
|
2676
2702
|
}
|
|
2703
|
+
/**
|
|
2704
|
+
* SwitchProxy返回参数结构体
|
|
2705
|
+
*/
|
|
2706
|
+
export interface SwitchProxyResponse {
|
|
2707
|
+
/**
|
|
2708
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2709
|
+
*/
|
|
2710
|
+
RequestId?: string;
|
|
2711
|
+
}
|
|
2677
2712
|
/**
|
|
2678
2713
|
* StartupInstance返回参数结构体
|
|
2679
2714
|
*/
|
|
@@ -3157,6 +3192,23 @@ export interface DestroyPostpaidInstanceRequest {
|
|
|
3157
3192
|
*/
|
|
3158
3193
|
InstanceId: string;
|
|
3159
3194
|
}
|
|
3195
|
+
/**
|
|
3196
|
+
* ChangeInstanceRole请求参数结构体
|
|
3197
|
+
*/
|
|
3198
|
+
export interface ChangeInstanceRoleRequest {
|
|
3199
|
+
/**
|
|
3200
|
+
* 复制组ID
|
|
3201
|
+
*/
|
|
3202
|
+
GroupId: string;
|
|
3203
|
+
/**
|
|
3204
|
+
* 实例ID
|
|
3205
|
+
*/
|
|
3206
|
+
InstanceId: string;
|
|
3207
|
+
/**
|
|
3208
|
+
* 实例角色,rw可读写,r只读
|
|
3209
|
+
*/
|
|
3210
|
+
InstanceRole: string;
|
|
3211
|
+
}
|
|
3160
3212
|
/**
|
|
3161
3213
|
* DeleteInstanceAccount请求参数结构体
|
|
3162
3214
|
*/
|
|
@@ -3170,6 +3222,19 @@ export interface DeleteInstanceAccountRequest {
|
|
|
3170
3222
|
*/
|
|
3171
3223
|
AccountName: string;
|
|
3172
3224
|
}
|
|
3225
|
+
/**
|
|
3226
|
+
* DescribeInstanceMonitorHotKey请求参数结构体
|
|
3227
|
+
*/
|
|
3228
|
+
export interface DescribeInstanceMonitorHotKeyRequest {
|
|
3229
|
+
/**
|
|
3230
|
+
* 实例Id
|
|
3231
|
+
*/
|
|
3232
|
+
InstanceId: string;
|
|
3233
|
+
/**
|
|
3234
|
+
* 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时
|
|
3235
|
+
*/
|
|
3236
|
+
SpanType: number;
|
|
3237
|
+
}
|
|
3173
3238
|
/**
|
|
3174
3239
|
* UpgradeInstance返回参数结构体
|
|
3175
3240
|
*/
|
|
@@ -4272,6 +4337,19 @@ export interface TendisSlowLogDetail {
|
|
|
4272
4337
|
*/
|
|
4273
4338
|
Node: string;
|
|
4274
4339
|
}
|
|
4340
|
+
/**
|
|
4341
|
+
* ChangeInstanceRole返回参数结构体
|
|
4342
|
+
*/
|
|
4343
|
+
export interface ChangeInstanceRoleResponse {
|
|
4344
|
+
/**
|
|
4345
|
+
* 异步流程ID
|
|
4346
|
+
*/
|
|
4347
|
+
TaskId: number;
|
|
4348
|
+
/**
|
|
4349
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4350
|
+
*/
|
|
4351
|
+
RequestId?: string;
|
|
4352
|
+
}
|
|
4275
4353
|
/**
|
|
4276
4354
|
* UpgradeProxyVersion请求参数结构体
|
|
4277
4355
|
*/
|