tencentcloud-sdk-nodejs-redis 4.1.136 → 4.1.138

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-redis",
3
- "version": "4.1.136",
3
+ "version": "4.1.138",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -227,7 +227,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
227
227
  /**
228
228
  * 本接口(DescribeInstanceSpecBandwidth)用于查询或计算带宽规格。
229
229
  */
230
- DescribeInstanceSpecBandwidth(req?: DescribeInstanceSpecBandwidthRequest, cb?: (error: string, rep: DescribeInstanceSpecBandwidthResponse) => void): Promise<DescribeInstanceSpecBandwidthResponse>;
230
+ DescribeInstanceSpecBandwidth(req: DescribeInstanceSpecBandwidthRequest, cb?: (error: string, rep: DescribeInstanceSpecBandwidthResponse) => void): Promise<DescribeInstanceSpecBandwidthResponse>;
231
231
  /**
232
232
  * 本接口(DeleteInstanceAccount)用于删除实例子账号。
233
233
  */
@@ -482,6 +482,14 @@ export interface CreateReplicationGroupRequest {
482
482
  * DescribeInstanceSpecBandwidth返回参数结构体
483
483
  */
484
484
  export interface DescribeInstanceSpecBandwidthResponse {
485
+ /**
486
+ * 基础带宽。
487
+ */
488
+ Bandwidth?: number;
489
+ /**
490
+ * 链接限制。
491
+ */
492
+ ClientLimit?: number;
485
493
  /**
486
494
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
487
495
  */
@@ -5932,7 +5940,34 @@ export interface SwitchProxyRequest {
5932
5940
  /**
5933
5941
  * DescribeInstanceSpecBandwidth请求参数结构体
5934
5942
  */
5935
- export type DescribeInstanceSpecBandwidthRequest = null;
5943
+ export interface DescribeInstanceSpecBandwidthRequest {
5944
+ /**
5945
+ * 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。填写实例id或者规格,两者必选其一。
5946
+ */
5947
+ InstanceId?: string;
5948
+ /**
5949
+ * 分片大小,单位:MB
5950
+ */
5951
+ ShardSize?: number;
5952
+ /**
5953
+ * 分片数量。
5954
+ */
5955
+ ShardNum?: number;
5956
+ /**
5957
+ * 复制组数量。
5958
+ */
5959
+ ReplicateNum?: number;
5960
+ /**
5961
+ * 只读权重。
5962
+ - 100:开启从只读。
5963
+ - 0:关闭从只读。
5964
+ */
5965
+ ReadOnlyWeight?: number;
5966
+ /**
5967
+ * 实例类型,同 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的Type。
5968
+ */
5969
+ Type?: number;
5970
+ }
5936
5971
  /**
5937
5972
  * SwitchInstanceVip返回参数结构体
5938
5973
  */
@@ -6254,6 +6289,14 @@ export interface InstanceClusterShard {
6254
6289
  - 1:on。
6255
6290
  */
6256
6291
  Connected?: number;
6292
+ /**
6293
+ * 可用区信息。
6294
+ */
6295
+ ZoneId?: string;
6296
+ /**
6297
+ * 节点组 ID。
6298
+ */
6299
+ ReplicasNodeId?: number;
6257
6300
  }
6258
6301
  /**
6259
6302
  * OpenSSL返回参数结构体