tencentcloud-sdk-nodejs-redis 4.0.875 → 4.0.877

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
  */
@@ -628,7 +654,7 @@ export interface DescribeSlowLogResponse {
628
654
  */
629
655
  TotalCount?: number;
630
656
  /**
631
- * 该参数存在命名不规范问题,建议用参数InstanceSlowLogDetail取代。慢查询详情。
657
+ * 已废弃,该参数存在命名不规范问题,后续用参数InstanceSlowLogDetail取代。慢查询详情。
632
658
  */
633
659
  InstanceSlowlogDetail?: Array<InstanceSlowlogDetail>;
634
660
  /**
@@ -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
  */
@@ -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
  */
@@ -2730,6 +2808,19 @@ export interface DescribeTaskListRequest {
2730
2808
  */
2731
2809
  OperateUin?: Array<string>;
2732
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
+ }
2733
2824
  /**
2734
2825
  * ModifyInstanceEvent请求参数结构体
2735
2826
  */
@@ -3074,7 +3165,7 @@ export interface ModifyNetworkConfigRequest {
3074
3165
  */
3075
3166
  export interface DescribeInstanceSecurityGroupRequest {
3076
3167
  /**
3077
- * 实例 ID 列表。例如;["crs-f2ho5rsz\n"]
3168
+ * 实例 ID 列表,数组长度限制[0,100]。例如:["crs-f2ho5rsz\n"]
3078
3169
  */
3079
3170
  InstanceIds: Array<string>;
3080
3171
  }
@@ -3582,11 +3673,15 @@ export interface TendisNodes {
3582
3673
  /**
3583
3674
  * 节点ID
3584
3675
  */
3585
- NodeId: string;
3676
+ NodeId?: string;
3586
3677
  /**
3587
3678
  * 节点角色
3588
3679
  */
3589
- NodeRole: string;
3680
+ NodeRole?: string;
3681
+ /**
3682
+ * 可用区 ID。
3683
+ */
3684
+ ZoneId?: number;
3590
3685
  }
3591
3686
  /**
3592
3687
  * SwitchProxy返回参数结构体
@@ -3837,6 +3932,23 @@ export interface DescribeInstanceDealDetailResponse {
3837
3932
  */
3838
3933
  RequestId?: string;
3839
3934
  }
3935
+ /**
3936
+ * ModifyReplicationGroup请求参数结构体
3937
+ */
3938
+ export interface ModifyReplicationGroupRequest {
3939
+ /**
3940
+ * 复制组字符串ID
3941
+ */
3942
+ GroupId: string;
3943
+ /**
3944
+ * 复制组名称
3945
+ */
3946
+ GroupName?: string;
3947
+ /**
3948
+ * 备注
3949
+ */
3950
+ Remark?: string;
3951
+ }
3840
3952
  /**
3841
3953
  * 复制组信息
3842
3954
  */
@@ -4120,6 +4232,15 @@ export interface DescribeSlowLogRequest {
4120
4232
  */
4121
4233
  Role?: string;
4122
4234
  }
4235
+ /**
4236
+ * ModifyReplicationGroup返回参数结构体
4237
+ */
4238
+ export interface ModifyReplicationGroupResponse {
4239
+ /**
4240
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4241
+ */
4242
+ RequestId?: string;
4243
+ }
4123
4244
  /**
4124
4245
  * DeleteParamTemplate请求参数结构体
4125
4246
  */
@@ -4341,17 +4462,19 @@ export interface ModifyParamTemplateRequest {
4341
4462
  ParamList?: Array<InstanceParam>;
4342
4463
  }
4343
4464
  /**
4344
- * ModfiyInstancePassword返回参数结构体
4465
+ * 可使用的地域信息
4345
4466
  */
4346
- export interface ModfiyInstancePasswordResponse {
4467
+ export interface AvailableRegion {
4347
4468
  /**
4348
- * 任务 ID。
4469
+ * 地域
4470
+ 注意:此字段可能返回 null,表示取不到有效值。
4349
4471
  */
4350
- TaskId?: number;
4472
+ Region?: string;
4351
4473
  /**
4352
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4474
+ * 可用区信息
4475
+ 注意:此字段可能返回 null,表示取不到有效值。
4353
4476
  */
4354
- RequestId?: string;
4477
+ AvailableZones?: Array<string>;
4355
4478
  }
4356
4479
  /**
4357
4480
  * 实例详细信息列表。
@@ -5234,9 +5357,9 @@ export interface SwitchProxyRequest {
5234
5357
  ProxyID?: string;
5235
5358
  }
5236
5359
  /**
5237
- * DescribeProductInfo请求参数结构体
5360
+ * DescribeInstanceSpecBandwidth请求参数结构体
5238
5361
  */
5239
- export declare type DescribeProductInfoRequest = null;
5362
+ export declare type DescribeInstanceSpecBandwidthRequest = null;
5240
5363
  /**
5241
5364
  * SwitchInstanceVip返回参数结构体
5242
5365
  */
@@ -5582,25 +5705,17 @@ export interface ChangeInstanceRoleResponse {
5582
5705
  RequestId?: string;
5583
5706
  }
5584
5707
  /**
5585
- * UpgradeProxyVersion请求参数结构体
5708
+ * DescribeGlobalReplicationArea返回参数结构体
5586
5709
  */
5587
- export interface UpgradeProxyVersionRequest {
5588
- /**
5589
- * 实例ID
5590
- */
5591
- InstanceId: string;
5710
+ export interface DescribeGlobalReplicationAreaResponse {
5592
5711
  /**
5593
- * 当前proxy版本
5594
- */
5595
- CurrentProxyVersion: string;
5596
- /**
5597
- * 可升级的redis版本
5712
+ * 可用地域信息
5598
5713
  */
5599
- UpgradeProxyVersion: string;
5714
+ AvailableRegions?: Array<AvailableRegion>;
5600
5715
  /**
5601
- * 1-立即升级 0-维护时间窗口升级
5716
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5602
5717
  */
5603
- InstanceTypeUpgradeNow: number;
5718
+ RequestId?: string;
5604
5719
  }
5605
5720
  /**
5606
5721
  * 可用区内产品信息
@@ -5609,31 +5724,31 @@ export interface ZoneCapacityConf {
5609
5724
  /**
5610
5725
  * 可用区ID:如ap-guangzhou-3
5611
5726
  */
5612
- ZoneId: string;
5727
+ ZoneId?: string;
5613
5728
  /**
5614
5729
  * 可用区名称
5615
5730
  */
5616
- ZoneName: string;
5731
+ ZoneName?: string;
5617
5732
  /**
5618
5733
  * 可用区是否售罄
5619
5734
  */
5620
- IsSaleout: boolean;
5735
+ IsSaleout?: boolean;
5621
5736
  /**
5622
5737
  * 是否为默认可用区
5623
5738
  */
5624
- IsDefault: boolean;
5739
+ IsDefault?: boolean;
5625
5740
  /**
5626
5741
  * 网络类型:basenet -- 基础网络;vpcnet -- VPC网络
5627
5742
  */
5628
- NetWorkType: Array<string>;
5743
+ NetWorkType?: Array<string>;
5629
5744
  /**
5630
5745
  * 可用区内产品规格等信息
5631
5746
  */
5632
- ProductSet: Array<ProductConf>;
5747
+ ProductSet?: Array<ProductConf>;
5633
5748
  /**
5634
5749
  * 可用区ID:如100003
5635
5750
  */
5636
- OldZoneId: number;
5751
+ OldZoneId?: number;
5637
5752
  }
5638
5753
  /**
5639
5754
  * ModifyInstanceEvent返回参数结构体