tencentcloud-sdk-nodejs-redis 4.0.388 → 4.0.389

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.
@@ -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 DescribeInstanceAccount(req, cb) {
118
- return this.request("DescribeInstanceAccount", req, cb);
117
+ async DescribeInstanceBackups(req, cb) {
118
+ return this.request("DescribeInstanceBackups", req, cb);
119
119
  }
120
120
  /**
121
- * 获取备份配置
121
+ * 查询实例DTS信息
122
122
  */
123
- async DescribeAutoBackupConfig(req, cb) {
124
- return this.request("DescribeAutoBackupConfig", req, cb);
123
+ async DescribeInstanceDTSInfo(req, cb) {
124
+ return this.request("DescribeInstanceDTSInfo", req, cb);
125
125
  }
126
126
  /**
127
127
  * 查询实例CPU耗时
@@ -202,10 +202,10 @@ class Client extends TencentCloudCommon.AbstractClient {
202
202
  return this.request("DisableReplicaReadonly", req, cb);
203
203
  }
204
204
  /**
205
- * 查询实例DTS信息
205
+ * 获取备份配置
206
206
  */
207
- async DescribeInstanceDTSInfo(req, cb) {
208
- return this.request("DescribeInstanceDTSInfo", req, cb);
207
+ async DescribeAutoBackupConfig(req, cb) {
208
+ return this.request("DescribeAutoBackupConfig", req, cb);
209
209
  }
210
210
  /**
211
211
  * 修改实例网络配置
@@ -226,10 +226,10 @@ class Client extends TencentCloudCommon.AbstractClient {
226
226
  return this.request("DescribeInstanceMonitorSIP", req, cb);
227
227
  }
228
228
  /**
229
- * 本接口(CreateInstances)用于创建redis实例。
229
+ * 清空Redis实例的实例数据。
230
230
  */
231
- async CreateInstances(req, cb) {
232
- return this.request("CreateInstances", req, cb);
231
+ async ClearInstance(req, cb) {
232
+ return this.request("ClearInstance", req, cb);
233
233
  }
234
234
  /**
235
235
  * 修改实例子账号
@@ -274,10 +274,10 @@ class Client extends TencentCloudCommon.AbstractClient {
274
274
  return this.request("DescribeTaskInfo", req, cb);
275
275
  }
276
276
  /**
277
- * 开通外网
277
+ * 查询备份Rdb下载地址(接口灰度中,需要加白名单使用)
278
278
  */
279
- async AllocateWanAddress(req, cb) {
280
- return this.request("AllocateWanAddress", req, cb);
279
+ async DescribeBackupUrl(req, cb) {
280
+ return this.request("DescribeBackupUrl", req, cb);
281
281
  }
282
282
  /**
283
283
  * 本接口(DescribeProxySlowLog)用于查询代理慢查询。
@@ -303,6 +303,12 @@ class Client extends TencentCloudCommon.AbstractClient {
303
303
  async AssociateSecurityGroups(req, cb) {
304
304
  return this.request("AssociateSecurityGroups", req, cb);
305
305
  }
306
+ /**
307
+ * 实例proxy版本升级
308
+ */
309
+ async UpgradeProxyVersion(req, cb) {
310
+ return this.request("UpgradeProxyVersion", req, cb);
311
+ }
306
312
  /**
307
313
  * 本接口(ModifyInstanceParams)用于修改实例参数。
308
314
  */
@@ -310,10 +316,10 @@ class Client extends TencentCloudCommon.AbstractClient {
310
316
  return this.request("ModifyInstanceParams", req, cb);
311
317
  }
312
318
  /**
313
- * 实例proxy版本升级
319
+ * 查询订单信息
314
320
  */
315
- async UpgradeProxyVersion(req, cb) {
316
- return this.request("UpgradeProxyVersion", req, cb);
321
+ async DescribeInstanceDealDetail(req, cb) {
322
+ return this.request("DescribeInstanceDealDetail", req, cb);
317
323
  }
318
324
  /**
319
325
  * 修改参数模板
@@ -363,6 +369,12 @@ class Client extends TencentCloudCommon.AbstractClient {
363
369
  async DescribeInstanceMonitorBigKeyTypeDist(req, cb) {
364
370
  return this.request("DescribeInstanceMonitorBigKeyTypeDist", req, cb);
365
371
  }
372
+ /**
373
+ * 复制组实例切主
374
+ */
375
+ async ChangeMasterInstance(req, cb) {
376
+ return this.request("ChangeMasterInstance", req, cb);
377
+ }
366
378
  /**
367
379
  * 重置密码
368
380
  */
@@ -454,10 +466,10 @@ class Client extends TencentCloudCommon.AbstractClient {
454
466
  return this.request("DescribeInstanceParamRecords", req, cb);
455
467
  }
456
468
  /**
457
- * 清空Redis实例的实例数据。
469
+ * 本接口(CreateInstances)用于创建redis实例。
458
470
  */
459
- async ClearInstance(req, cb) {
460
- return this.request("ClearInstance", req, cb);
471
+ async CreateInstances(req, cb) {
472
+ return this.request("CreateInstances", req, cb);
461
473
  }
462
474
  /**
463
475
  * 查询Redis节点详细信息
@@ -466,10 +478,10 @@ class Client extends TencentCloudCommon.AbstractClient {
466
478
  return this.request("DescribeInstanceZoneInfo", req, cb);
467
479
  }
468
480
  /**
469
- * 查询订单信息
481
+ * 开通外网
470
482
  */
471
- async DescribeInstanceDealDetail(req, cb) {
472
- return this.request("DescribeInstanceDealDetail", req, cb);
483
+ async AllocateWanAddress(req, cb) {
484
+ return this.request("AllocateWanAddress", req, cb);
473
485
  }
474
486
  /**
475
487
  * 删除实例子账号
@@ -478,10 +490,10 @@ class Client extends TencentCloudCommon.AbstractClient {
478
490
  return this.request("DeleteInstanceAccount", req, cb);
479
491
  }
480
492
  /**
481
- * 查询 CRS 实例备份列表
493
+ * 查看实例子账号信息
482
494
  */
483
- async DescribeInstanceBackups(req, cb) {
484
- return this.request("DescribeInstanceBackups", req, cb);
495
+ async DescribeInstanceAccount(req, cb) {
496
+ return this.request("DescribeInstanceAccount", req, cb);
485
497
  }
486
498
  /**
487
499
  * 本接口(DisassociateSecurityGroups)用于安全组批量解绑实例。
@@ -508,10 +520,10 @@ class Client extends TencentCloudCommon.AbstractClient {
508
520
  return this.request("DescribeInstanceMonitorTookDist", req, cb);
509
521
  }
510
522
  /**
511
- * 查询备份Rdb下载地址(接口灰度中,需要加白名单使用)
523
+ * 复制组实例更换角色
512
524
  */
513
- async DescribeBackupUrl(req, cb) {
514
- return this.request("DescribeBackupUrl", req, cb);
525
+ async ChangeInstanceRole(req, cb) {
526
+ return this.request("ChangeInstanceRole", req, cb);
515
527
  }
516
528
  }
517
529
  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
- * DescribeInstanceMonitorHotKey请求参数结构体
1448
+ * ChangeMasterInstance请求参数结构体
1436
1449
  */
1437
- export interface DescribeInstanceMonitorHotKeyRequest {
1450
+ export interface ChangeMasterInstanceRequest {
1438
1451
  /**
1439
- * 实例Id
1452
+ * 复制组ID
1440
1453
  */
1441
- InstanceId: string;
1454
+ GroupId: string;
1442
1455
  /**
1443
- * 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时
1456
+ * 实例ID
1444
1457
  */
1445
- SpanType: number;
1458
+ InstanceId: string;
1446
1459
  }
1447
1460
  /**
1448
1461
  * DescribeInstanceDTSInfo请求参数结构体
@@ -3157,6 +3170,23 @@ export interface DestroyPostpaidInstanceRequest {
3157
3170
  */
3158
3171
  InstanceId: string;
3159
3172
  }
3173
+ /**
3174
+ * ChangeInstanceRole请求参数结构体
3175
+ */
3176
+ export interface ChangeInstanceRoleRequest {
3177
+ /**
3178
+ * 复制组ID
3179
+ */
3180
+ GroupId: string;
3181
+ /**
3182
+ * 实例ID
3183
+ */
3184
+ InstanceId: string;
3185
+ /**
3186
+ * 实例角色,rw可读写,r只读
3187
+ */
3188
+ InstanceRole: string;
3189
+ }
3160
3190
  /**
3161
3191
  * DeleteInstanceAccount请求参数结构体
3162
3192
  */
@@ -3170,6 +3200,19 @@ export interface DeleteInstanceAccountRequest {
3170
3200
  */
3171
3201
  AccountName: string;
3172
3202
  }
3203
+ /**
3204
+ * DescribeInstanceMonitorHotKey请求参数结构体
3205
+ */
3206
+ export interface DescribeInstanceMonitorHotKeyRequest {
3207
+ /**
3208
+ * 实例Id
3209
+ */
3210
+ InstanceId: string;
3211
+ /**
3212
+ * 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时
3213
+ */
3214
+ SpanType: number;
3215
+ }
3173
3216
  /**
3174
3217
  * UpgradeInstance返回参数结构体
3175
3218
  */
@@ -4272,6 +4315,19 @@ export interface TendisSlowLogDetail {
4272
4315
  */
4273
4316
  Node: string;
4274
4317
  }
4318
+ /**
4319
+ * ChangeInstanceRole返回参数结构体
4320
+ */
4321
+ export interface ChangeInstanceRoleResponse {
4322
+ /**
4323
+ * 异步流程ID
4324
+ */
4325
+ TaskId: number;
4326
+ /**
4327
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4328
+ */
4329
+ RequestId?: string;
4330
+ }
4275
4331
  /**
4276
4332
  * UpgradeProxyVersion请求参数结构体
4277
4333
  */