tencentcloud-sdk-nodejs-redis 4.0.595 → 4.0.597
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 +506 -0
- package/SERVICE_CHANGELOG.md +623 -85
- package/package.json +1 -1
- package/products.md +34 -34
- package/src/services/redis/v20180412/redis_client.ts +6 -6
- package/src/services/redis/v20180412/redis_models.ts +132 -107
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +6 -6
- package/tencentcloud/services/redis/v20180412/redis_client.js +6 -6
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +132 -107
|
@@ -472,7 +472,7 @@ export interface ModifyInstanceReadOnlyResponse {
|
|
|
472
472
|
*/
|
|
473
473
|
export interface DescribeInstanceZoneInfoRequest {
|
|
474
474
|
/**
|
|
475
|
-
*
|
|
475
|
+
* 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
476
476
|
*/
|
|
477
477
|
InstanceId?: string
|
|
478
478
|
}
|
|
@@ -814,17 +814,17 @@ export interface DescribeDBSecurityGroupsResponse {
|
|
|
814
814
|
/**
|
|
815
815
|
* 安全组规则。
|
|
816
816
|
*/
|
|
817
|
-
Groups
|
|
817
|
+
Groups?: Array<SecurityGroup>
|
|
818
818
|
|
|
819
819
|
/**
|
|
820
|
-
*
|
|
820
|
+
* 实例内网IPv4地址。
|
|
821
821
|
*/
|
|
822
|
-
VIP
|
|
822
|
+
VIP?: string
|
|
823
823
|
|
|
824
824
|
/**
|
|
825
|
-
*
|
|
825
|
+
* 内网端口。
|
|
826
826
|
*/
|
|
827
|
-
VPort
|
|
827
|
+
VPort?: string
|
|
828
828
|
|
|
829
829
|
/**
|
|
830
830
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -964,14 +964,14 @@ export interface DescribeInstancesResponse {
|
|
|
964
964
|
*/
|
|
965
965
|
export interface DescribeInstanceZoneInfoResponse {
|
|
966
966
|
/**
|
|
967
|
-
*
|
|
967
|
+
* 实例节点组的个数。
|
|
968
968
|
*/
|
|
969
|
-
TotalCount
|
|
969
|
+
TotalCount?: number
|
|
970
970
|
|
|
971
971
|
/**
|
|
972
|
-
*
|
|
972
|
+
* 实例节点组列表。
|
|
973
973
|
*/
|
|
974
|
-
ReplicaGroups
|
|
974
|
+
ReplicaGroups?: Array<ReplicaGroup>
|
|
975
975
|
|
|
976
976
|
/**
|
|
977
977
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -984,37 +984,45 @@ export interface DescribeInstanceZoneInfoResponse {
|
|
|
984
984
|
*/
|
|
985
985
|
export interface Account {
|
|
986
986
|
/**
|
|
987
|
-
* 实例ID
|
|
987
|
+
* 实例 ID。
|
|
988
988
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
989
989
|
*/
|
|
990
990
|
InstanceId: string
|
|
991
991
|
|
|
992
992
|
/**
|
|
993
|
-
*
|
|
993
|
+
* 账号名称。
|
|
994
994
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
995
995
|
*/
|
|
996
996
|
AccountName: string
|
|
997
997
|
|
|
998
998
|
/**
|
|
999
|
-
*
|
|
999
|
+
* 账号描述信息。
|
|
1000
1000
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1001
1001
|
*/
|
|
1002
1002
|
Remark: string
|
|
1003
1003
|
|
|
1004
1004
|
/**
|
|
1005
|
-
*
|
|
1005
|
+
* 读写权限策略。
|
|
1006
|
+
- r:只读。
|
|
1007
|
+
- w:只写。
|
|
1008
|
+
- rw:读写。
|
|
1006
1009
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1007
1010
|
*/
|
|
1008
1011
|
Privilege: string
|
|
1009
1012
|
|
|
1010
1013
|
/**
|
|
1011
|
-
*
|
|
1014
|
+
* 只读路由策略。
|
|
1015
|
+
- master:主节点。
|
|
1016
|
+
- replication:从节点。
|
|
1012
1017
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1013
1018
|
*/
|
|
1014
1019
|
ReadonlyPolicy: Array<string>
|
|
1015
1020
|
|
|
1016
1021
|
/**
|
|
1017
|
-
*
|
|
1022
|
+
* 子账号状态.
|
|
1023
|
+
- 1:账号变更中。
|
|
1024
|
+
- 2:账号有效。
|
|
1025
|
+
- 4:账号已删除。
|
|
1018
1026
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1019
1027
|
*/
|
|
1020
1028
|
Status: number
|
|
@@ -1055,22 +1063,22 @@ export interface InstanceProxySlowlogDetail {
|
|
|
1055
1063
|
*/
|
|
1056
1064
|
export interface SecurityGroupsInboundAndOutbound {
|
|
1057
1065
|
/**
|
|
1058
|
-
*
|
|
1066
|
+
* 标识出入数据库的IP与端口是否被允许。
|
|
1059
1067
|
*/
|
|
1060
1068
|
Action: string
|
|
1061
1069
|
|
|
1062
1070
|
/**
|
|
1063
|
-
* IP地址
|
|
1071
|
+
* 出入数据库的IP地址
|
|
1064
1072
|
*/
|
|
1065
1073
|
Ip: string
|
|
1066
1074
|
|
|
1067
1075
|
/**
|
|
1068
|
-
*
|
|
1076
|
+
* 端口号。
|
|
1069
1077
|
*/
|
|
1070
1078
|
Port: string
|
|
1071
1079
|
|
|
1072
1080
|
/**
|
|
1073
|
-
*
|
|
1081
|
+
* 协议类型。
|
|
1074
1082
|
*/
|
|
1075
1083
|
Proto: string
|
|
1076
1084
|
}
|
|
@@ -1341,43 +1349,47 @@ export interface ModifyAutoBackupConfigRequest {
|
|
|
1341
1349
|
*/
|
|
1342
1350
|
export interface InstanceMultiParam {
|
|
1343
1351
|
/**
|
|
1344
|
-
*
|
|
1352
|
+
* 参数名称。
|
|
1345
1353
|
*/
|
|
1346
1354
|
ParamName: string
|
|
1347
1355
|
|
|
1348
1356
|
/**
|
|
1349
|
-
*
|
|
1357
|
+
* 参数类型。例如:multi。
|
|
1350
1358
|
*/
|
|
1351
1359
|
ValueType: string
|
|
1352
1360
|
|
|
1353
1361
|
/**
|
|
1354
|
-
|
|
1355
|
-
|
|
1362
|
+
* 参数修改后是否需要重启。
|
|
1363
|
+
- true:需要。
|
|
1364
|
+
- false:不需要。
|
|
1365
|
+
*/
|
|
1356
1366
|
NeedRestart: string
|
|
1357
1367
|
|
|
1358
1368
|
/**
|
|
1359
|
-
*
|
|
1369
|
+
* 参数默认值。
|
|
1360
1370
|
*/
|
|
1361
1371
|
DefaultValue: string
|
|
1362
1372
|
|
|
1363
1373
|
/**
|
|
1364
|
-
*
|
|
1374
|
+
* 当前运行参数值。
|
|
1365
1375
|
*/
|
|
1366
1376
|
CurrentValue: string
|
|
1367
1377
|
|
|
1368
1378
|
/**
|
|
1369
|
-
*
|
|
1379
|
+
* 参数说明。
|
|
1370
1380
|
*/
|
|
1371
1381
|
Tips: string
|
|
1372
1382
|
|
|
1373
1383
|
/**
|
|
1374
|
-
*
|
|
1384
|
+
* 参数说明。
|
|
1375
1385
|
*/
|
|
1376
1386
|
EnumValue: Array<string>
|
|
1377
1387
|
|
|
1378
1388
|
/**
|
|
1379
|
-
|
|
1380
|
-
|
|
1389
|
+
* 参数修改的状态。
|
|
1390
|
+
- 1:修改中。
|
|
1391
|
+
- 2:修改完成。
|
|
1392
|
+
*/
|
|
1381
1393
|
Status: number
|
|
1382
1394
|
}
|
|
1383
1395
|
|
|
@@ -1396,27 +1408,27 @@ export interface DescribeInstanceDealDetailRequest {
|
|
|
1396
1408
|
*/
|
|
1397
1409
|
export interface RedisNode {
|
|
1398
1410
|
/**
|
|
1399
|
-
*
|
|
1411
|
+
* Redis 节点上 Key 的个数。
|
|
1400
1412
|
*/
|
|
1401
1413
|
Keys: number
|
|
1402
1414
|
|
|
1403
1415
|
/**
|
|
1404
|
-
* 节点
|
|
1416
|
+
* Redis 节点 Slot 分布范围。例如:0-5460。
|
|
1405
1417
|
*/
|
|
1406
1418
|
Slot: string
|
|
1407
1419
|
|
|
1408
1420
|
/**
|
|
1409
|
-
* 节点的序列ID
|
|
1421
|
+
* 节点的序列 ID。
|
|
1410
1422
|
*/
|
|
1411
1423
|
NodeId: string
|
|
1412
1424
|
|
|
1413
1425
|
/**
|
|
1414
|
-
*
|
|
1426
|
+
* 节点的状态。
|
|
1415
1427
|
*/
|
|
1416
1428
|
Status: string
|
|
1417
1429
|
|
|
1418
1430
|
/**
|
|
1419
|
-
*
|
|
1431
|
+
* 节点角色。
|
|
1420
1432
|
*/
|
|
1421
1433
|
Role: string
|
|
1422
1434
|
}
|
|
@@ -2206,8 +2218,9 @@ export interface DescribeDBSecurityGroupsRequest {
|
|
|
2206
2218
|
Product: string
|
|
2207
2219
|
|
|
2208
2220
|
/**
|
|
2209
|
-
|
|
2210
|
-
|
|
2221
|
+
* 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
2222
|
+
|
|
2223
|
+
*/
|
|
2211
2224
|
InstanceId: string
|
|
2212
2225
|
}
|
|
2213
2226
|
|
|
@@ -2232,12 +2245,12 @@ export interface InquiryPriceCreateInstanceResponse {
|
|
|
2232
2245
|
*/
|
|
2233
2246
|
export interface InstanceSecurityGroupDetail {
|
|
2234
2247
|
/**
|
|
2235
|
-
* 实例
|
|
2248
|
+
* 实例 ID。
|
|
2236
2249
|
*/
|
|
2237
2250
|
InstanceId: string
|
|
2238
2251
|
|
|
2239
2252
|
/**
|
|
2240
|
-
*
|
|
2253
|
+
* 安全组信息,包括:安全组 ID、安全组名称、安全组出入站规则。
|
|
2241
2254
|
*/
|
|
2242
2255
|
SecurityGroupDetails: Array<SecurityGroupDetail>
|
|
2243
2256
|
}
|
|
@@ -2247,29 +2260,29 @@ export interface InstanceSecurityGroupDetail {
|
|
|
2247
2260
|
*/
|
|
2248
2261
|
export interface DescribeInstanceParamsResponse {
|
|
2249
2262
|
/**
|
|
2250
|
-
*
|
|
2263
|
+
* 参数列表总数量。
|
|
2251
2264
|
*/
|
|
2252
|
-
TotalCount
|
|
2265
|
+
TotalCount?: number
|
|
2253
2266
|
|
|
2254
2267
|
/**
|
|
2255
|
-
*
|
|
2268
|
+
* 实例枚举类型参数。
|
|
2256
2269
|
*/
|
|
2257
|
-
InstanceEnumParam
|
|
2270
|
+
InstanceEnumParam?: Array<InstanceEnumParam>
|
|
2258
2271
|
|
|
2259
2272
|
/**
|
|
2260
|
-
*
|
|
2273
|
+
* 实例整型参数。
|
|
2261
2274
|
*/
|
|
2262
|
-
InstanceIntegerParam
|
|
2275
|
+
InstanceIntegerParam?: Array<InstanceIntegerParam>
|
|
2263
2276
|
|
|
2264
2277
|
/**
|
|
2265
|
-
*
|
|
2278
|
+
* 实例字符型参数。
|
|
2266
2279
|
*/
|
|
2267
|
-
InstanceTextParam
|
|
2280
|
+
InstanceTextParam?: Array<InstanceTextParam>
|
|
2268
2281
|
|
|
2269
2282
|
/**
|
|
2270
|
-
*
|
|
2283
|
+
* 实例多选项型参数。
|
|
2271
2284
|
*/
|
|
2272
|
-
InstanceMultiParam
|
|
2285
|
+
InstanceMultiParam?: Array<InstanceMultiParam>
|
|
2273
2286
|
|
|
2274
2287
|
/**
|
|
2275
2288
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2653,17 +2666,17 @@ export interface DescribeInstanceMonitorBigKeySizeDistRequest {
|
|
|
2653
2666
|
*/
|
|
2654
2667
|
export interface DescribeInstanceAccountRequest {
|
|
2655
2668
|
/**
|
|
2656
|
-
*
|
|
2669
|
+
* 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
2657
2670
|
*/
|
|
2658
2671
|
InstanceId: string
|
|
2659
2672
|
|
|
2660
2673
|
/**
|
|
2661
|
-
*
|
|
2674
|
+
* 分页大小。
|
|
2662
2675
|
*/
|
|
2663
2676
|
Limit: number
|
|
2664
2677
|
|
|
2665
2678
|
/**
|
|
2666
|
-
*
|
|
2679
|
+
* 分页偏移量。取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
2667
2680
|
*/
|
|
2668
2681
|
Offset: number
|
|
2669
2682
|
}
|
|
@@ -2673,43 +2686,47 @@ export interface DescribeInstanceAccountRequest {
|
|
|
2673
2686
|
*/
|
|
2674
2687
|
export interface InstanceTextParam {
|
|
2675
2688
|
/**
|
|
2676
|
-
*
|
|
2689
|
+
* 参数名称。
|
|
2677
2690
|
*/
|
|
2678
2691
|
ParamName: string
|
|
2679
2692
|
|
|
2680
2693
|
/**
|
|
2681
|
-
*
|
|
2694
|
+
* 参数类型。例如:text。
|
|
2682
2695
|
*/
|
|
2683
2696
|
ValueType: string
|
|
2684
2697
|
|
|
2685
2698
|
/**
|
|
2686
|
-
|
|
2687
|
-
|
|
2699
|
+
* 参数修改后是否需要重启。
|
|
2700
|
+
- true:需要。
|
|
2701
|
+
- false:不需要。
|
|
2702
|
+
*/
|
|
2688
2703
|
NeedRestart: string
|
|
2689
2704
|
|
|
2690
2705
|
/**
|
|
2691
|
-
*
|
|
2706
|
+
* 参数默认值。
|
|
2692
2707
|
*/
|
|
2693
2708
|
DefaultValue: string
|
|
2694
2709
|
|
|
2695
2710
|
/**
|
|
2696
|
-
*
|
|
2711
|
+
* 参数当前运行值。
|
|
2697
2712
|
*/
|
|
2698
2713
|
CurrentValue: string
|
|
2699
2714
|
|
|
2700
2715
|
/**
|
|
2701
|
-
*
|
|
2716
|
+
* 参数说明。
|
|
2702
2717
|
*/
|
|
2703
2718
|
Tips: string
|
|
2704
2719
|
|
|
2705
2720
|
/**
|
|
2706
|
-
*
|
|
2721
|
+
* 参数可取值。
|
|
2707
2722
|
*/
|
|
2708
2723
|
TextValue: Array<string>
|
|
2709
2724
|
|
|
2710
2725
|
/**
|
|
2711
|
-
|
|
2712
|
-
|
|
2726
|
+
* 参数修改状态。
|
|
2727
|
+
- 1: 修改中。
|
|
2728
|
+
- 2:修改完成。
|
|
2729
|
+
*/
|
|
2713
2730
|
Status: number
|
|
2714
2731
|
}
|
|
2715
2732
|
|
|
@@ -3103,7 +3120,7 @@ export interface ModifyNetworkConfigRequest {
|
|
|
3103
3120
|
*/
|
|
3104
3121
|
export interface DescribeInstanceSecurityGroupRequest {
|
|
3105
3122
|
/**
|
|
3106
|
-
*
|
|
3123
|
+
* 实例 ID 列表。例如;["crs-f2ho5rsz\n"]
|
|
3107
3124
|
*/
|
|
3108
3125
|
InstanceIds: Array<string>
|
|
3109
3126
|
}
|
|
@@ -3146,7 +3163,7 @@ export interface InstanceParamHistory {
|
|
|
3146
3163
|
*/
|
|
3147
3164
|
export interface DescribeInstanceParamsRequest {
|
|
3148
3165
|
/**
|
|
3149
|
-
*
|
|
3166
|
+
* 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
3150
3167
|
*/
|
|
3151
3168
|
InstanceId: string
|
|
3152
3169
|
}
|
|
@@ -3531,9 +3548,9 @@ export interface DescribeMaintenanceWindowResponse {
|
|
|
3531
3548
|
*/
|
|
3532
3549
|
export interface DescribeInstanceSecurityGroupResponse {
|
|
3533
3550
|
/**
|
|
3534
|
-
*
|
|
3551
|
+
* 实例安全组信息。
|
|
3535
3552
|
*/
|
|
3536
|
-
InstanceSecurityGroupsDetail
|
|
3553
|
+
InstanceSecurityGroupsDetail?: Array<InstanceSecurityGroupDetail>
|
|
3537
3554
|
|
|
3538
3555
|
/**
|
|
3539
3556
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -3676,7 +3693,7 @@ export interface ManualBackupInstanceResponse {
|
|
|
3676
3693
|
/**
|
|
3677
3694
|
* 任务ID
|
|
3678
3695
|
*/
|
|
3679
|
-
TaskId
|
|
3696
|
+
TaskId?: number
|
|
3680
3697
|
|
|
3681
3698
|
/**
|
|
3682
3699
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -3883,16 +3900,16 @@ export interface AssociateSecurityGroupsResponse {
|
|
|
3883
3900
|
}
|
|
3884
3901
|
|
|
3885
3902
|
/**
|
|
3886
|
-
*
|
|
3903
|
+
* 实例节点组信息
|
|
3887
3904
|
*/
|
|
3888
3905
|
export interface ReplicaGroup {
|
|
3889
3906
|
/**
|
|
3890
|
-
* 节点组ID
|
|
3907
|
+
* 节点组 ID。
|
|
3891
3908
|
*/
|
|
3892
3909
|
GroupId: number
|
|
3893
3910
|
|
|
3894
3911
|
/**
|
|
3895
|
-
*
|
|
3912
|
+
* 节点组的名称,主节点为空。
|
|
3896
3913
|
*/
|
|
3897
3914
|
GroupName: string
|
|
3898
3915
|
|
|
@@ -4289,7 +4306,7 @@ export interface DescribeSlowLogRequest {
|
|
|
4289
4306
|
MinQueryTime?: number
|
|
4290
4307
|
|
|
4291
4308
|
/**
|
|
4292
|
-
* 每个页面展示的慢查询条数,默认值为20。
|
|
4309
|
+
* 每个页面展示的慢查询条数,默认值为20。取值范围:[20,1000]。
|
|
4293
4310
|
*/
|
|
4294
4311
|
Limit?: number
|
|
4295
4312
|
|
|
@@ -4461,18 +4478,21 @@ export interface UpgradeInstanceResponse {
|
|
|
4461
4478
|
*/
|
|
4462
4479
|
export interface ManualBackupInstanceRequest {
|
|
4463
4480
|
/**
|
|
4464
|
-
*
|
|
4481
|
+
* 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
4465
4482
|
*/
|
|
4466
4483
|
InstanceId: string
|
|
4467
4484
|
|
|
4468
4485
|
/**
|
|
4469
|
-
*
|
|
4486
|
+
* 手动备份任务的备注信息。
|
|
4470
4487
|
*/
|
|
4471
4488
|
Remark?: string
|
|
4472
4489
|
|
|
4473
4490
|
/**
|
|
4474
|
-
|
|
4475
|
-
|
|
4491
|
+
* 备份数据的保存天数。
|
|
4492
|
+
- 单位:天;默认值为7天;取值范围:[0.1825]。如果超过 7天,请[提交工单](https://console.cloud.tencent.com/workorder/category)申请。
|
|
4493
|
+
- 如果不配置该参数,默认与自动备份的保留时间一致。
|
|
4494
|
+
- 如果未设置自动备份,默认为7天。
|
|
4495
|
+
*/
|
|
4476
4496
|
StorageDays?: number
|
|
4477
4497
|
}
|
|
4478
4498
|
|
|
@@ -5353,32 +5373,33 @@ export interface DescribeTendisSlowLogRequest {
|
|
|
5353
5373
|
*/
|
|
5354
5374
|
export interface DescribeProxySlowLogRequest {
|
|
5355
5375
|
/**
|
|
5356
|
-
|
|
5357
|
-
|
|
5376
|
+
* 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
5377
|
+
|
|
5378
|
+
*/
|
|
5358
5379
|
InstanceId: string
|
|
5359
5380
|
|
|
5360
5381
|
/**
|
|
5361
|
-
*
|
|
5382
|
+
* 慢查询的开始时间。
|
|
5362
5383
|
*/
|
|
5363
5384
|
BeginTime: string
|
|
5364
5385
|
|
|
5365
5386
|
/**
|
|
5366
|
-
*
|
|
5387
|
+
* 慢查询的结束时间。
|
|
5367
5388
|
*/
|
|
5368
5389
|
EndTime: string
|
|
5369
5390
|
|
|
5370
5391
|
/**
|
|
5371
|
-
*
|
|
5392
|
+
* 慢查询阈值,单位:毫秒。
|
|
5372
5393
|
*/
|
|
5373
5394
|
MinQueryTime?: number
|
|
5374
5395
|
|
|
5375
5396
|
/**
|
|
5376
|
-
*
|
|
5397
|
+
* 分页大小。默认为 20,取值范围[20,1000]。
|
|
5377
5398
|
*/
|
|
5378
5399
|
Limit?: number
|
|
5379
5400
|
|
|
5380
5401
|
/**
|
|
5381
|
-
* 偏移量,取Limit
|
|
5402
|
+
* 偏移量,取Limit整数倍。
|
|
5382
5403
|
*/
|
|
5383
5404
|
Offset?: number
|
|
5384
5405
|
}
|
|
@@ -5388,14 +5409,14 @@ export interface DescribeProxySlowLogRequest {
|
|
|
5388
5409
|
*/
|
|
5389
5410
|
export interface DescribeProxySlowLogResponse {
|
|
5390
5411
|
/**
|
|
5391
|
-
*
|
|
5412
|
+
* 慢查询总数。
|
|
5392
5413
|
*/
|
|
5393
|
-
TotalCount
|
|
5414
|
+
TotalCount?: number
|
|
5394
5415
|
|
|
5395
5416
|
/**
|
|
5396
|
-
*
|
|
5417
|
+
* 慢查询详情。
|
|
5397
5418
|
*/
|
|
5398
|
-
InstanceProxySlowLogDetail
|
|
5419
|
+
InstanceProxySlowLogDetail?: Array<InstanceProxySlowlogDetail>
|
|
5399
5420
|
|
|
5400
5421
|
/**
|
|
5401
5422
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5423,16 +5444,16 @@ export interface ModifyInstanceReadOnlyRequest {
|
|
|
5423
5444
|
*/
|
|
5424
5445
|
export interface DescribeInstanceAccountResponse {
|
|
5425
5446
|
/**
|
|
5426
|
-
*
|
|
5447
|
+
* 账号详细信息。
|
|
5427
5448
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5428
5449
|
*/
|
|
5429
|
-
Accounts
|
|
5450
|
+
Accounts?: Array<Account>
|
|
5430
5451
|
|
|
5431
5452
|
/**
|
|
5432
|
-
*
|
|
5453
|
+
* 账号个数。
|
|
5433
5454
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5434
5455
|
*/
|
|
5435
|
-
TotalCount
|
|
5456
|
+
TotalCount?: number
|
|
5436
5457
|
|
|
5437
5458
|
/**
|
|
5438
5459
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5620,43 +5641,47 @@ export interface HotKeyInfo {
|
|
|
5620
5641
|
*/
|
|
5621
5642
|
export interface InstanceEnumParam {
|
|
5622
5643
|
/**
|
|
5623
|
-
*
|
|
5644
|
+
* 参数名称。
|
|
5624
5645
|
*/
|
|
5625
5646
|
ParamName: string
|
|
5626
5647
|
|
|
5627
5648
|
/**
|
|
5628
|
-
*
|
|
5649
|
+
* 参数类型,例如:Enum。
|
|
5629
5650
|
*/
|
|
5630
5651
|
ValueType: string
|
|
5631
5652
|
|
|
5632
5653
|
/**
|
|
5633
|
-
|
|
5634
|
-
|
|
5654
|
+
* 参数值修改后是否需要重启。
|
|
5655
|
+
- true:需要。
|
|
5656
|
+
- false:不需要。
|
|
5657
|
+
*/
|
|
5635
5658
|
NeedRestart: string
|
|
5636
5659
|
|
|
5637
5660
|
/**
|
|
5638
|
-
*
|
|
5661
|
+
* 参数默认值。
|
|
5639
5662
|
*/
|
|
5640
5663
|
DefaultValue: string
|
|
5641
5664
|
|
|
5642
5665
|
/**
|
|
5643
|
-
*
|
|
5666
|
+
* 参数当前运行值。
|
|
5644
5667
|
*/
|
|
5645
5668
|
CurrentValue: string
|
|
5646
5669
|
|
|
5647
5670
|
/**
|
|
5648
|
-
*
|
|
5671
|
+
* 参数说明。
|
|
5649
5672
|
*/
|
|
5650
5673
|
Tips: string
|
|
5651
5674
|
|
|
5652
5675
|
/**
|
|
5653
|
-
*
|
|
5676
|
+
* 参数可取的值。
|
|
5654
5677
|
*/
|
|
5655
5678
|
EnumValue: Array<string>
|
|
5656
5679
|
|
|
5657
5680
|
/**
|
|
5658
|
-
|
|
5659
|
-
|
|
5681
|
+
* 参数修改状态。
|
|
5682
|
+
- 1: 修改中。
|
|
5683
|
+
- 2:修改完成。
|
|
5684
|
+
*/
|
|
5660
5685
|
Status: number
|
|
5661
5686
|
}
|
|
5662
5687
|
|
|
@@ -5741,37 +5766,37 @@ export interface RemoveReplicationInstanceResponse {
|
|
|
5741
5766
|
*/
|
|
5742
5767
|
export interface SecurityGroupDetail {
|
|
5743
5768
|
/**
|
|
5744
|
-
* 项目
|
|
5769
|
+
* 项目ID。
|
|
5745
5770
|
*/
|
|
5746
5771
|
ProjectId: number
|
|
5747
5772
|
|
|
5748
5773
|
/**
|
|
5749
|
-
*
|
|
5774
|
+
* 创建安全组的时间。
|
|
5750
5775
|
*/
|
|
5751
5776
|
CreateTime: string
|
|
5752
5777
|
|
|
5753
5778
|
/**
|
|
5754
|
-
* 安全组
|
|
5779
|
+
* 安全组 ID。
|
|
5755
5780
|
*/
|
|
5756
5781
|
SecurityGroupId: string
|
|
5757
5782
|
|
|
5758
5783
|
/**
|
|
5759
|
-
*
|
|
5784
|
+
* 安全组名称。
|
|
5760
5785
|
*/
|
|
5761
5786
|
SecurityGroupName: string
|
|
5762
5787
|
|
|
5763
5788
|
/**
|
|
5764
|
-
*
|
|
5789
|
+
* 安全组标记。
|
|
5765
5790
|
*/
|
|
5766
5791
|
SecurityGroupRemark: string
|
|
5767
5792
|
|
|
5768
5793
|
/**
|
|
5769
|
-
*
|
|
5794
|
+
* 安全组入站规则,即控制访问数据库的来源。
|
|
5770
5795
|
*/
|
|
5771
5796
|
InboundRule: Array<SecurityGroupsInboundAndOutbound>
|
|
5772
5797
|
|
|
5773
5798
|
/**
|
|
5774
|
-
*
|
|
5799
|
+
* 安全组出站规则。
|
|
5775
5800
|
*/
|
|
5776
5801
|
OutboundRule: Array<SecurityGroupsInboundAndOutbound>
|
|
5777
5802
|
}
|
|
@@ -27,7 +27,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
27
27
|
*/
|
|
28
28
|
CleanUpInstance(req: CleanUpInstanceRequest, cb?: (error: string, rep: CleanUpInstanceResponse) => void): Promise<CleanUpInstanceResponse>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* 本接口(DescribeInstanceAccount)用于查看实例子账号信息。
|
|
31
31
|
*/
|
|
32
32
|
DescribeInstanceAccount(req: DescribeInstanceAccountRequest, cb?: (error: string, rep: DescribeInstanceAccountResponse) => void): Promise<DescribeInstanceAccountResponse>;
|
|
33
33
|
/**
|
|
@@ -59,7 +59,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
59
59
|
*/
|
|
60
60
|
ModifyInstanceAccount(req: ModifyInstanceAccountRequest, cb?: (error: string, rep: ModifyInstanceAccountResponse) => void): Promise<ModifyInstanceAccountResponse>;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* 本接口(DescribeInstanceSecurityGroup)用于查询实例安全组信息。
|
|
63
63
|
*/
|
|
64
64
|
DescribeInstanceSecurityGroup(req: DescribeInstanceSecurityGroupRequest, cb?: (error: string, rep: DescribeInstanceSecurityGroupResponse) => void): Promise<DescribeInstanceSecurityGroupResponse>;
|
|
65
65
|
/**
|
|
@@ -167,7 +167,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
167
167
|
*/
|
|
168
168
|
InquiryPriceCreateInstance(req: InquiryPriceCreateInstanceRequest, cb?: (error: string, rep: InquiryPriceCreateInstanceResponse) => void): Promise<InquiryPriceCreateInstanceResponse>;
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
170
|
+
* 本接口(DescribeInstanceParams)用于查询实例参数列表。
|
|
171
171
|
*/
|
|
172
172
|
DescribeInstanceParams(req: DescribeInstanceParamsRequest, cb?: (error: string, rep: DescribeInstanceParamsResponse) => void): Promise<DescribeInstanceParamsResponse>;
|
|
173
173
|
/**
|
|
@@ -183,7 +183,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
183
183
|
*/
|
|
184
184
|
DisassociateSecurityGroups(req: DisassociateSecurityGroupsRequest, cb?: (error: string, rep: DisassociateSecurityGroupsResponse) => void): Promise<DisassociateSecurityGroupsResponse>;
|
|
185
185
|
/**
|
|
186
|
-
*
|
|
186
|
+
* 本接口(ManualBackupInstance)用于手动备份Redis实例。
|
|
187
187
|
*/
|
|
188
188
|
ManualBackupInstance(req: ManualBackupInstanceRequest, cb?: (error: string, rep: ManualBackupInstanceResponse) => void): Promise<ManualBackupInstanceResponse>;
|
|
189
189
|
/**
|
|
@@ -283,7 +283,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
283
283
|
*/
|
|
284
284
|
DescribeBackupDownloadRestriction(req?: DescribeBackupDownloadRestrictionRequest, cb?: (error: string, rep: DescribeBackupDownloadRestrictionResponse) => void): Promise<DescribeBackupDownloadRestrictionResponse>;
|
|
285
285
|
/**
|
|
286
|
-
*
|
|
286
|
+
* 本接口(DescribeInstanceZoneInfo)用于查询 Redis 节点详细信息。
|
|
287
287
|
*/
|
|
288
288
|
DescribeInstanceZoneInfo(req: DescribeInstanceZoneInfoRequest, cb?: (error: string, rep: DescribeInstanceZoneInfoResponse) => void): Promise<DescribeInstanceZoneInfoResponse>;
|
|
289
289
|
/**
|
|
@@ -351,7 +351,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
351
351
|
*/
|
|
352
352
|
UpgradeInstance(req: UpgradeInstanceRequest, cb?: (error: string, rep: UpgradeInstanceResponse) => void): Promise<UpgradeInstanceResponse>;
|
|
353
353
|
/**
|
|
354
|
-
*
|
|
354
|
+
* 本接口(DescribeDBSecurityGroups)用于查询实例的安全组详情。
|
|
355
355
|
*/
|
|
356
356
|
DescribeDBSecurityGroups(req: DescribeDBSecurityGroupsRequest, cb?: (error: string, rep: DescribeDBSecurityGroupsResponse) => void): Promise<DescribeDBSecurityGroupsResponse>;
|
|
357
357
|
/**
|