tencentcloud-sdk-nodejs-redis 4.0.272 → 4.0.276

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.
@@ -280,6 +280,23 @@ export interface CreateInstancesRequest {
280
280
  */
281
281
  TemplateId?: string;
282
282
  }
283
+ /**
284
+ * CreateReplicationGroup请求参数结构体
285
+ */
286
+ export interface CreateReplicationGroupRequest {
287
+ /**
288
+ * 实例ID
289
+ */
290
+ InstanceId: string;
291
+ /**
292
+ * 复制组名称
293
+ */
294
+ GroupName?: string;
295
+ /**
296
+ * 备注信息
297
+ */
298
+ Remark?: string;
299
+ }
283
300
  /**
284
301
  * DescribeInstanceZoneInfo请求参数结构体
285
302
  */
@@ -1145,6 +1162,19 @@ export interface DescribeInstanceDTSInfoResponse {
1145
1162
  */
1146
1163
  RequestId?: string;
1147
1164
  }
1165
+ /**
1166
+ * AddReplicationInstance返回参数结构体
1167
+ */
1168
+ export interface AddReplicationInstanceResponse {
1169
+ /**
1170
+ * 异步流程ID
1171
+ */
1172
+ TaskId: number;
1173
+ /**
1174
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1175
+ */
1176
+ RequestId?: string;
1177
+ }
1148
1178
  /**
1149
1179
  * DestroyPostpaidInstance返回参数结构体
1150
1180
  */
@@ -1194,7 +1224,7 @@ export interface ChangeReplicaToMasterRequest {
1194
1224
  /**
1195
1225
  * 副本Id
1196
1226
  */
1197
- GroupId: number;
1227
+ GroupId?: number;
1198
1228
  }
1199
1229
  /**
1200
1230
  * Proxy节点信息
@@ -1691,6 +1721,23 @@ export interface DescribeInstanceMonitorTookDistRequest {
1691
1721
  */
1692
1722
  SpanType: number;
1693
1723
  }
1724
+ /**
1725
+ * DeleteReplicationInstance请求参数结构体
1726
+ */
1727
+ export interface DeleteReplicationInstanceRequest {
1728
+ /**
1729
+ * 复制组ID
1730
+ */
1731
+ GroupId: string;
1732
+ /**
1733
+ * 实例ID
1734
+ */
1735
+ InstanceId: string;
1736
+ /**
1737
+ * 数据同步类型,true:需要数据强同步,false:不需要强同步,仅限删除主实例
1738
+ */
1739
+ SyncType: boolean;
1740
+ }
1694
1741
  /**
1695
1742
  * KillMasterGroup请求参数结构体
1696
1743
  */
@@ -1709,6 +1756,10 @@ export interface KillMasterGroupRequest {
1709
1756
  d.()`~!@#$%^&*-+=_|{}[]:;<>,.?/
1710
1757
  */
1711
1758
  Password: string;
1759
+ /**
1760
+ * 单AZ实例节点信息
1761
+ */
1762
+ ShardIds?: Array<number>;
1712
1763
  }
1713
1764
  /**
1714
1765
  * 实例字符型参数描述
@@ -2628,6 +2679,19 @@ export interface DescribeInstanceMonitorBigKeyTypeDistResponse {
2628
2679
  */
2629
2680
  RequestId?: string;
2630
2681
  }
2682
+ /**
2683
+ * DeleteReplicationInstance返回参数结构体
2684
+ */
2685
+ export interface DeleteReplicationInstanceResponse {
2686
+ /**
2687
+ * 异步任务ID
2688
+ */
2689
+ TaskId: number;
2690
+ /**
2691
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2692
+ */
2693
+ RequestId?: string;
2694
+ }
2631
2695
  /**
2632
2696
  * CleanUpInstance请求参数结构体
2633
2697
  */
@@ -3171,6 +3235,19 @@ export interface ModifyMaintenanceWindowResponse {
3171
3235
  */
3172
3236
  RequestId?: string;
3173
3237
  }
3238
+ /**
3239
+ * CreateReplicationGroup返回参数结构体
3240
+ */
3241
+ export interface CreateReplicationGroupResponse {
3242
+ /**
3243
+ * 异步流程ID
3244
+ */
3245
+ TaskId: number;
3246
+ /**
3247
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3248
+ */
3249
+ RequestId?: string;
3250
+ }
3174
3251
  /**
3175
3252
  * DescribeInstanceMonitorBigKeyTypeDist请求参数结构体
3176
3253
  */
@@ -3354,6 +3431,23 @@ export interface DescribeMaintenanceWindowRequest {
3354
3431
  */
3355
3432
  InstanceId: string;
3356
3433
  }
3434
+ /**
3435
+ * AddReplicationInstance请求参数结构体
3436
+ */
3437
+ export interface AddReplicationInstanceRequest {
3438
+ /**
3439
+ * 复制组ID
3440
+ */
3441
+ GroupId: string;
3442
+ /**
3443
+ * 实例ID
3444
+ */
3445
+ InstanceId: string;
3446
+ /**
3447
+ * 实例角色,rw可读写,r只读
3448
+ */
3449
+ InstanceRole: string;
3450
+ }
3357
3451
  /**
3358
3452
  * 实例节点类型
3359
3453
  */