tencentcloud-sdk-nodejs-redis 4.0.588 → 4.0.590

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.
@@ -58,19 +58,17 @@ export interface RedisBackupSet {
58
58
  */
59
59
  StartTime: string;
60
60
  /**
61
- * 备份ID。
61
+ * 备份任务ID。
62
62
  */
63
63
  BackupId: string;
64
64
  /**
65
65
  * 备份类型。
66
-
67
- - 1:用户发起的手动备份。
68
- - 0:凌晨系统发起的备份。
66
+ - 1:凌晨系统发起的备份。
67
+ - 0:用户发起的手动备份。
69
68
  */
70
69
  BackupType: string;
71
70
  /**
72
71
  * 备份状态。
73
-
74
72
  - 1:备份被其它流程锁定。
75
73
  - 2:备份正常,没有被任何流程锁定。
76
74
  - -1:备份已过期。
@@ -84,7 +82,6 @@ export interface RedisBackupSet {
84
82
  Remark: string;
85
83
  /**
86
84
  * 备份是否被锁定。
87
-
88
85
  - 0:未被锁定。
89
86
  - 1:已被锁定。
90
87
  */
@@ -574,9 +571,9 @@ export interface ModifyInstanceRequest {
574
571
  */
575
572
  export interface KillMasterGroupResponse {
576
573
  /**
577
- * 异步任务ID
574
+ * 异步任务ID
578
575
  */
579
- TaskId: number;
576
+ TaskId?: number;
580
577
  /**
581
578
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
582
579
  */
@@ -789,11 +786,11 @@ export interface DescribeInstancesResponse {
789
786
  /**
790
787
  * 实例总数量。
791
788
  */
792
- TotalCount: number;
789
+ TotalCount?: number;
793
790
  /**
794
791
  * 实例详细信息列表。
795
792
  */
796
- InstanceSet: Array<InstanceSet>;
793
+ InstanceSet?: Array<InstanceSet>;
797
794
  /**
798
795
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
799
796
  */
@@ -1398,11 +1395,11 @@ export interface CreateParamTemplateResponse {
1398
1395
  */
1399
1396
  export interface InstanceTagInfo {
1400
1397
  /**
1401
- * 标签键
1398
+ * 标签键。
1402
1399
  */
1403
1400
  TagKey: string;
1404
1401
  /**
1405
- * 标签值
1402
+ * 标签值。
1406
1403
  */
1407
1404
  TagValue: string;
1408
1405
  }
@@ -2119,21 +2116,18 @@ export interface DeleteReplicationInstanceRequest {
2119
2116
  */
2120
2117
  export interface KillMasterGroupRequest {
2121
2118
  /**
2122
- * 实例ID
2119
+ * 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
2123
2120
  */
2124
2121
  InstanceId: string;
2125
2122
  /**
2126
- * 1.长度8-30位,推荐使用12位以上的密码
2127
- 2.不能以"/"开头
2128
- 3.至少包含两项
2129
- a.小写字母a-z
2130
- b.大写字母A-Z
2131
- c.数字0-9
2132
- d.()`~!@#$%^&*-+=_|{}[]:;<>,.?/
2123
+ * 该参数用于配置指定实例的访问密码。若为免密认证,该参数则无需配置。密码复杂度要求如下所示。
2124
+ - 长度8-30位,推荐使用12位以上的密码
2125
+ - 不能以"/"开头
2126
+ - 至少包含小写字母a-z、大写字母A-Z、数字0-9及其 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
2133
2127
  */
2134
- Password: string;
2128
+ Password?: string;
2135
2129
  /**
2136
- * 单AZ实例节点信息
2130
+ * 分片集群的分片 ID。
2137
2131
  */
2138
2132
  ShardIds?: Array<number>;
2139
2133
  }
@@ -3078,11 +3072,11 @@ export interface ManualBackupInstanceResponse {
3078
3072
  */
3079
3073
  export interface InstanceNode {
3080
3074
  /**
3081
- * Id
3075
+ * 实例 ID。
3082
3076
  */
3083
3077
  Id: number;
3084
3078
  /**
3085
- * 节点详细信息
3079
+ * 节点详细信息。
3086
3080
  */
3087
3081
  InstanceClusterNode: Array<InstanceClusterNode>;
3088
3082
  }
@@ -4344,55 +4338,62 @@ export interface AddReplicationInstanceRequest {
4344
4338
  */
4345
4339
  export interface InstanceClusterNode {
4346
4340
  /**
4347
- * 节点名称
4341
+ * 节点名称。
4348
4342
  */
4349
4343
  Name: string;
4350
4344
  /**
4351
- * 实例运行时节点Id
4345
+ * 实例运行时节点 ID。
4352
4346
  */
4353
4347
  RunId: string;
4354
4348
  /**
4355
- * 集群角色:0-master;1-slave
4356
- */
4349
+ * 集群角色。
4350
+ - 0:master。
4351
+ - 1:slave。
4352
+ */
4357
4353
  Role: number;
4358
4354
  /**
4359
- * 节点状态:0-readwrite, 1-read, 2-backup
4360
- */
4355
+ * 节点状态。
4356
+ - 0:readwrite,。
4357
+ - 1:read。
4358
+ - 2:backup。
4359
+ */
4361
4360
  Status: number;
4362
4361
  /**
4363
- * 服务状态:0-down;1-on
4364
- */
4362
+ * 服务状态。
4363
+ 0-down。
4364
+ 1-on
4365
+ */
4365
4366
  Connected: number;
4366
4367
  /**
4367
- * 节点创建时间
4368
+ * 节点创建时间。
4368
4369
  */
4369
4370
  CreateTime: string;
4370
4371
  /**
4371
- * 节点下线时间
4372
+ * 节点下线时间。
4372
4373
  */
4373
4374
  DownTime: string;
4374
4375
  /**
4375
- * 节点slot分布
4376
+ * 节点 Slot 分布区间。
4376
4377
  */
4377
4378
  Slots: string;
4378
4379
  /**
4379
- * 节点key分布
4380
+ * 节点 Key分布。
4380
4381
  */
4381
4382
  Keys: number;
4382
4383
  /**
4383
- * 节点qps
4384
+ * 节点 QPS。分片节点每秒执行次数。单位:次/秒。
4384
4385
  */
4385
4386
  Qps: number;
4386
4387
  /**
4387
- * 节点qps倾斜度
4388
+ * 节点 QPS 倾斜度。
4388
4389
  */
4389
4390
  QpsSlope: number;
4390
4391
  /**
4391
- * 节点存储
4392
+ * 节点存储。
4392
4393
  */
4393
4394
  Storage: number;
4394
4395
  /**
4395
- * 节点存储倾斜度
4396
+ * 节点存储倾斜度。
4396
4397
  */
4397
4398
  StorageSlope: number;
4398
4399
  }