tencentcloud-sdk-nodejs-redis 4.0.873 → 4.0.876

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.
@@ -1,3 +1,24 @@
1
+ /**
2
+ * UpgradeProxyVersion请求参数结构体
3
+ */
4
+ export interface UpgradeProxyVersionRequest {
5
+ /**
6
+ * 实例ID
7
+ */
8
+ InstanceId: string;
9
+ /**
10
+ * 当前proxy版本
11
+ */
12
+ CurrentProxyVersion: string;
13
+ /**
14
+ * 可升级的redis版本
15
+ */
16
+ UpgradeProxyVersion: string;
17
+ /**
18
+ * 1-立即升级 0-维护时间窗口升级
19
+ */
20
+ InstanceTypeUpgradeNow: number;
21
+ }
1
22
  /**
2
23
  * UpgradeSmallVersion请求参数结构体
3
24
  */
@@ -223,6 +244,15 @@ export interface ApplyParamsTemplateRequest {
223
244
  */
224
245
  TemplateId: string;
225
246
  }
247
+ /**
248
+ * DescribeReplicationGroupInstance请求参数结构体
249
+ */
250
+ export interface DescribeReplicationGroupInstanceRequest {
251
+ /**
252
+ * 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
253
+ */
254
+ InstanceId: string;
255
+ }
226
256
  /**
227
257
  * UpgradeInstanceVersion返回参数结构体
228
258
  */
@@ -396,13 +426,9 @@ export interface CreateReplicationGroupRequest {
396
426
  Remark?: string;
397
427
  }
398
428
  /**
399
- * ModifyInstanceReadOnly返回参数结构体
429
+ * DescribeInstanceSpecBandwidth返回参数结构体
400
430
  */
401
- export interface ModifyInstanceReadOnlyResponse {
402
- /**
403
- * 任务ID
404
- */
405
- TaskId: number;
431
+ export interface DescribeInstanceSpecBandwidthResponse {
406
432
  /**
407
433
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
408
434
  */
@@ -464,11 +490,11 @@ export interface ModifyNetworkConfigResponse {
464
490
  */
465
491
  export interface CommandTake {
466
492
  /**
467
- * 命令
493
+ * 命令名。
468
494
  */
469
495
  Cmd: string;
470
496
  /**
471
- * 耗时
497
+ * 耗时时长。
472
498
  */
473
499
  Took: number;
474
500
  }
@@ -1233,21 +1259,13 @@ export interface SecurityGroup {
1233
1259
  Inbound: Array<Inbound>;
1234
1260
  }
1235
1261
  /**
1236
- * DescribeInstanceBackups返回参数结构体
1262
+ * DescribeBandwidthRange请求参数结构体
1237
1263
  */
1238
- export interface DescribeInstanceBackupsResponse {
1239
- /**
1240
- * 备份总数。
1241
- */
1242
- TotalCount?: number;
1243
- /**
1244
- * 实例的备份数组。
1245
- */
1246
- BackupSet?: Array<RedisBackupSet>;
1264
+ export interface DescribeBandwidthRangeRequest {
1247
1265
  /**
1248
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
1266
+ * 实例 ID。
1249
1267
  */
1250
- RequestId?: string;
1268
+ InstanceId: string;
1251
1269
  }
1252
1270
  /**
1253
1271
  * DescribeInstanceParamRecords返回参数结构体
@@ -1735,18 +1753,9 @@ export interface DescribeInstanceEventsRequest {
1735
1753
  Grades?: Array<string>;
1736
1754
  }
1737
1755
  /**
1738
- * ChangeMasterInstance返回参数结构体
1756
+ * DescribeGlobalReplicationArea请求参数结构体
1739
1757
  */
1740
- export interface ChangeMasterInstanceResponse {
1741
- /**
1742
- * 异步流程ID。
1743
- */
1744
- TaskId?: number;
1745
- /**
1746
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1747
- */
1748
- RequestId?: string;
1749
- }
1758
+ export declare type DescribeGlobalReplicationAreaRequest = null;
1750
1759
  /**
1751
1760
  * AddReplicationInstance返回参数结构体
1752
1761
  */
@@ -2141,6 +2150,10 @@ export interface DescribeDBSecurityGroupsRequest {
2141
2150
  */
2142
2151
  InstanceId: string;
2143
2152
  }
2153
+ /**
2154
+ * DescribeProductInfo请求参数结构体
2155
+ */
2156
+ export declare type DescribeProductInfoRequest = null;
2144
2157
  /**
2145
2158
  * InquiryPriceCreateInstance返回参数结构体
2146
2159
  */
@@ -2197,6 +2210,37 @@ export interface DescribeInstanceParamsResponse {
2197
2210
  */
2198
2211
  RequestId?: string;
2199
2212
  }
2213
+ /**
2214
+ * DescribeReplicationGroupInstance返回参数结构体
2215
+ */
2216
+ export interface DescribeReplicationGroupInstanceResponse {
2217
+ /**
2218
+ * AppID。
2219
+ */
2220
+ AppId?: number;
2221
+ /**
2222
+ * 地域数字编号。
2223
+ */
2224
+ RegionId?: number;
2225
+ /**
2226
+ * 复制组字符串ID。
2227
+ */
2228
+ GroupId?: string;
2229
+ /**
2230
+ * 复制组名称。
2231
+ */
2232
+ GroupName?: string;
2233
+ /**
2234
+ * 实例复制组角色。
2235
+ - r: 备实例
2236
+ - rw: 主实例
2237
+ */
2238
+ InstanceRole?: string;
2239
+ /**
2240
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2241
+ */
2242
+ RequestId?: string;
2243
+ }
2200
2244
  /**
2201
2245
  * UpgradeProxyVersion返回参数结构体
2202
2246
  */
@@ -2280,6 +2324,19 @@ export interface DescribeProjectSecurityGroupsResponse {
2280
2324
  */
2281
2325
  RequestId?: string;
2282
2326
  }
2327
+ /**
2328
+ * ModifyInstanceReadOnly返回参数结构体
2329
+ */
2330
+ export interface ModifyInstanceReadOnlyResponse {
2331
+ /**
2332
+ * 任务ID
2333
+ */
2334
+ TaskId: number;
2335
+ /**
2336
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2337
+ */
2338
+ RequestId?: string;
2339
+ }
2283
2340
  /**
2284
2341
  * DescribeBackupDetail请求参数结构体
2285
2342
  */
@@ -2298,7 +2355,7 @@ export interface DescribeBackupDetailRequest {
2298
2355
  */
2299
2356
  export interface DescribeInstanceMonitorTookDistResponse {
2300
2357
  /**
2301
- * 时延分布信息
2358
+ * 时延分布信息。
2302
2359
  */
2303
2360
  Data?: Array<DelayDistribution>;
2304
2361
  /**
@@ -2307,13 +2364,21 @@ export interface DescribeInstanceMonitorTookDistResponse {
2307
2364
  RequestId?: string;
2308
2365
  }
2309
2366
  /**
2310
- * DescribeBandwidthRange请求参数结构体
2367
+ * DescribeInstanceBackups返回参数结构体
2311
2368
  */
2312
- export interface DescribeBandwidthRangeRequest {
2369
+ export interface DescribeInstanceBackupsResponse {
2313
2370
  /**
2314
- * 实例 ID。
2371
+ * 备份总数。
2315
2372
  */
2316
- InstanceId: string;
2373
+ TotalCount?: number;
2374
+ /**
2375
+ * 实例的备份数组。
2376
+ */
2377
+ BackupSet?: Array<RedisBackupSet>;
2378
+ /**
2379
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2380
+ */
2381
+ RequestId?: string;
2317
2382
  }
2318
2383
  /**
2319
2384
  * 实例整型参数描述
@@ -2375,6 +2440,19 @@ export interface UpgradeVersionToMultiAvailabilityZonesRequest {
2375
2440
  */
2376
2441
  UpgradeProxyAndRedisServer?: boolean;
2377
2442
  }
2443
+ /**
2444
+ * ModfiyInstancePassword返回参数结构体
2445
+ */
2446
+ export interface ModfiyInstancePasswordResponse {
2447
+ /**
2448
+ * 任务 ID。
2449
+ */
2450
+ TaskId?: number;
2451
+ /**
2452
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2453
+ */
2454
+ RequestId?: string;
2455
+ }
2378
2456
  /**
2379
2457
  * AllocateWanAddress返回参数结构体
2380
2458
  */
@@ -2397,15 +2475,19 @@ export interface AllocateWanAddressResponse {
2397
2475
  */
2398
2476
  export interface DescribeInstanceMonitorTookDistRequest {
2399
2477
  /**
2400
- * 实例Id
2478
+ * 实例 ID。
2401
2479
  */
2402
2480
  InstanceId: string;
2403
2481
  /**
2404
- * 时间;例如:"20190219"
2482
+ * 查询时间日期。
2405
2483
  */
2406
2484
  Date: string;
2407
2485
  /**
2408
- * 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时
2486
+ * 时间范围。
2487
+ - 1:实时。
2488
+ - 2:近30分钟。
2489
+ - 3:近6小时。
2490
+ - 4:近24小时。
2409
2491
  */
2410
2492
  SpanType: number;
2411
2493
  }
@@ -2510,7 +2592,7 @@ export interface DescribeInstanceMonitorTopNCmdTookResponse {
2510
2592
  /**
2511
2593
  * 耗时详细信息
2512
2594
  */
2513
- Data: Array<CommandTake>;
2595
+ Data?: Array<CommandTake>;
2514
2596
  /**
2515
2597
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2516
2598
  */
@@ -2726,6 +2808,19 @@ export interface DescribeTaskListRequest {
2726
2808
  */
2727
2809
  OperateUin?: Array<string>;
2728
2810
  }
2811
+ /**
2812
+ * ChangeMasterInstance返回参数结构体
2813
+ */
2814
+ export interface ChangeMasterInstanceResponse {
2815
+ /**
2816
+ * 异步流程ID。
2817
+ */
2818
+ TaskId?: number;
2819
+ /**
2820
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2821
+ */
2822
+ RequestId?: string;
2823
+ }
2729
2824
  /**
2730
2825
  * ModifyInstanceEvent请求参数结构体
2731
2826
  */
@@ -3280,7 +3375,7 @@ export interface DescribeProjectSecurityGroupsRequest {
3280
3375
  /**
3281
3376
  * 项目 ID。
3282
3377
  */
3283
- ProjectId: number;
3378
+ ProjectId?: number;
3284
3379
  /**
3285
3380
  * 偏移量,取值为Limit的整数倍。
3286
3381
  */
@@ -3833,6 +3928,23 @@ export interface DescribeInstanceDealDetailResponse {
3833
3928
  */
3834
3929
  RequestId?: string;
3835
3930
  }
3931
+ /**
3932
+ * ModifyReplicationGroup请求参数结构体
3933
+ */
3934
+ export interface ModifyReplicationGroupRequest {
3935
+ /**
3936
+ * 复制组字符串ID
3937
+ */
3938
+ GroupId: string;
3939
+ /**
3940
+ * 复制组名称
3941
+ */
3942
+ GroupName?: string;
3943
+ /**
3944
+ * 备注
3945
+ */
3946
+ Remark?: string;
3947
+ }
3836
3948
  /**
3837
3949
  * 复制组信息
3838
3950
  */
@@ -4052,11 +4164,11 @@ export interface DescribeInstancesRequest {
4052
4164
  */
4053
4165
  export interface SourceCommand {
4054
4166
  /**
4055
- * 命令
4167
+ * 命令名称。
4056
4168
  */
4057
4169
  Cmd: string;
4058
4170
  /**
4059
- * 执行次数
4171
+ * 执行次数。
4060
4172
  */
4061
4173
  Count: number;
4062
4174
  }
@@ -4116,6 +4228,15 @@ export interface DescribeSlowLogRequest {
4116
4228
  */
4117
4229
  Role?: string;
4118
4230
  }
4231
+ /**
4232
+ * ModifyReplicationGroup返回参数结构体
4233
+ */
4234
+ export interface ModifyReplicationGroupResponse {
4235
+ /**
4236
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4237
+ */
4238
+ RequestId?: string;
4239
+ }
4119
4240
  /**
4120
4241
  * DeleteParamTemplate请求参数结构体
4121
4242
  */
@@ -4207,11 +4328,15 @@ export interface DeleteInstanceAccountRequest {
4207
4328
  */
4208
4329
  export interface DescribeInstanceMonitorHotKeyRequest {
4209
4330
  /**
4210
- * 实例Id
4331
+ * 指定实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
4211
4332
  */
4212
4333
  InstanceId: string;
4213
4334
  /**
4214
- * 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时
4335
+ * 查询时间范围。
4336
+ - 1:实时。
4337
+ - 2:近30分钟。
4338
+ - 3:近6小时。
4339
+ - 4:近24小时。
4215
4340
  */
4216
4341
  SpanType: number;
4217
4342
  }
@@ -4333,17 +4458,19 @@ export interface ModifyParamTemplateRequest {
4333
4458
  ParamList?: Array<InstanceParam>;
4334
4459
  }
4335
4460
  /**
4336
- * ModfiyInstancePassword返回参数结构体
4461
+ * 可使用的地域信息
4337
4462
  */
4338
- export interface ModfiyInstancePasswordResponse {
4463
+ export interface AvailableRegion {
4339
4464
  /**
4340
- * 任务 ID。
4465
+ * 地域
4466
+ 注意:此字段可能返回 null,表示取不到有效值。
4341
4467
  */
4342
- TaskId?: number;
4468
+ Region?: string;
4343
4469
  /**
4344
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4470
+ * 可用区信息
4471
+ 注意:此字段可能返回 null,表示取不到有效值。
4345
4472
  */
4346
- RequestId?: string;
4473
+ AvailableZones?: Array<string>;
4347
4474
  }
4348
4475
  /**
4349
4476
  * 实例详细信息列表。
@@ -4694,11 +4821,15 @@ export interface DescribeInstanceMonitorBigKeyTypeDistRequest {
4694
4821
  */
4695
4822
  export interface DescribeInstanceMonitorTopNCmdTookRequest {
4696
4823
  /**
4697
- * 实例ID
4824
+ * 实例 ID
4698
4825
  */
4699
4826
  InstanceId: string;
4700
4827
  /**
4701
- * 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时
4828
+ * 查询时间范围。
4829
+ - 1:实时。
4830
+ - 2:近30分钟。
4831
+ - 3:近6小时。
4832
+ - 4:近24小时。
4702
4833
  */
4703
4834
  SpanType: number;
4704
4835
  }
@@ -5222,9 +5353,9 @@ export interface SwitchProxyRequest {
5222
5353
  ProxyID?: string;
5223
5354
  }
5224
5355
  /**
5225
- * DescribeProductInfo请求参数结构体
5356
+ * DescribeInstanceSpecBandwidth请求参数结构体
5226
5357
  */
5227
- export declare type DescribeProductInfoRequest = null;
5358
+ export declare type DescribeInstanceSpecBandwidthRequest = null;
5228
5359
  /**
5229
5360
  * SwitchInstanceVip返回参数结构体
5230
5361
  */
@@ -5570,25 +5701,17 @@ export interface ChangeInstanceRoleResponse {
5570
5701
  RequestId?: string;
5571
5702
  }
5572
5703
  /**
5573
- * UpgradeProxyVersion请求参数结构体
5704
+ * DescribeGlobalReplicationArea返回参数结构体
5574
5705
  */
5575
- export interface UpgradeProxyVersionRequest {
5706
+ export interface DescribeGlobalReplicationAreaResponse {
5576
5707
  /**
5577
- * 实例ID
5708
+ * 可用地域信息
5578
5709
  */
5579
- InstanceId: string;
5710
+ AvailableRegions?: Array<AvailableRegion>;
5580
5711
  /**
5581
- * 当前proxy版本
5582
- */
5583
- CurrentProxyVersion: string;
5584
- /**
5585
- * 可升级的redis版本
5586
- */
5587
- UpgradeProxyVersion: string;
5588
- /**
5589
- * 1-立即升级 0-维护时间窗口升级
5712
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5590
5713
  */
5591
- InstanceTypeUpgradeNow: number;
5714
+ RequestId?: string;
5592
5715
  }
5593
5716
  /**
5594
5717
  * 可用区内产品信息
@@ -5817,7 +5940,7 @@ export interface Instances {
5817
5940
  */
5818
5941
  export interface DescribeInstanceMonitorHotKeyResponse {
5819
5942
  /**
5820
- * 热Key详细信息
5943
+ * 热 Key 详细信息。
5821
5944
  */
5822
5945
  Data?: Array<HotKeyInfo>;
5823
5946
  /**