tencentcloud-sdk-nodejs-redis 4.1.122 → 4.1.126

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/README.md CHANGED
@@ -62,6 +62,8 @@ npm install tencentcloud-sdk-slim-nodejs --save
62
62
 
63
63
  1. clone 代码到本地:
64
64
  ```
65
+ git clone https://cnb.cool/tencent/cloud/api/sdk/tencentcloud-sdk-nodejs
66
+ # 或者
65
67
  git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
66
68
  # 或者
67
69
  git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
@@ -135,7 +137,7 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
135
137
  // ...
136
138
  ```
137
139
 
138
- 实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts)。
140
+ 实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](src/common/interface.ts)。
139
141
 
140
142
  ## Common Client
141
143
 
@@ -143,17 +145,17 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
143
145
 
144
146
  **注意,您必须明确知道您调用的接口所需参数,否则可能会调用失败。**
145
147
 
146
- 详细使用请参阅示例:[使用 Common Client 进行调用](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples/common)
148
+ 详细使用请参阅示例:[使用 Common Client 进行调用](examples/common)
147
149
 
148
150
  ## 更多示例
149
151
 
150
- 请参考 [examples](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples) 目录。
152
+ 请参考 [examples](examples) 目录。
151
153
 
152
154
  # 相关配置
153
155
 
154
156
  ## 代理
155
157
 
156
- 如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
158
+ 如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
157
159
 
158
160
  # 凭证管理
159
161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-redis",
3
- "version": "4.1.122",
3
+ "version": "4.1.126",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -2946,7 +2946,7 @@ export interface DescribeTaskListRequest {
2946
2946
  */
2947
2947
  InstanceId?: string;
2948
2948
  /**
2949
- * 实例名称。
2949
+ * 实例名称。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例名称。
2950
2950
  */
2951
2951
  InstanceName?: string;
2952
2952
  /**
@@ -2954,7 +2954,7 @@ export interface DescribeTaskListRequest {
2954
2954
  */
2955
2955
  Limit?: number;
2956
2956
  /**
2957
- * 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
2957
+ * 分页偏移量。取值需为 Limit 的整数倍:offset=limit*(页码-1),默认值为0
2958
2958
  */
2959
2959
  Offset?: number;
2960
2960
  /**
@@ -3534,9 +3534,9 @@ export interface DescribeInstanceShardsRequest {
3534
3534
  */
3535
3535
  InstanceId: string;
3536
3536
  /**
3537
- * 是否过滤掉从节信息。
3537
+ * 指定是否过滤掉从节信息。
3538
3538
  - true;过滤从节点。
3539
- - false:不过滤。
3539
+ - false:不过滤。默认为 false。
3540
3540
  */
3541
3541
  FilterSlave?: boolean;
3542
3542
  }
@@ -4593,7 +4593,7 @@ export interface ModifyReplicationGroupResponse {
4593
4593
  */
4594
4594
  export interface DeleteParamTemplateRequest {
4595
4595
  /**
4596
- * 参数模板 ID。
4596
+ * 参数模板 ID。请登录 [Redis 控制台的参数模版](https://console.cloud.tencent.com/redis/templates)页面获取模版 ID
4597
4597
  */
4598
4598
  TemplateId: string;
4599
4599
  }
@@ -5299,15 +5299,18 @@ export interface InquiryPriceCreateInstanceRequest {
5299
5299
  */
5300
5300
  BillingMode: number;
5301
5301
  /**
5302
- * 实例所属的可用区ID,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
5302
+ * 实例所属的可用区 ID,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
5303
+ **说明**:请在 **ZoneId** 与 **ZoneName** 中至少指定一个参数。
5303
5304
  */
5304
5305
  ZoneId?: number;
5305
5306
  /**
5306
- * 实例分片数量。2.8 标准架构无需配置分片,其余版本标准架构需要配置分片数量为1。集群架构需指定需购买的分片数量。
5307
+ * 实例分片数量。
5308
+ - 标准架构需要配置分片数量为1。
5309
+ - 集群架构分片数量支持设置为1、3、5、8、12、16、24、32、40、48、64、80、96、128。
5307
5310
  */
5308
5311
  RedisShardNum?: number;
5309
5312
  /**
5310
- * 实例副本数量。2.8 标准架构无需配置副本数量。
5313
+ * 实例副本数量。取值范围为:1、2、3、4、5。
5311
5314
  */
5312
5315
  RedisReplicasNum?: number;
5313
5316
  /**
@@ -5318,6 +5321,7 @@ export interface InquiryPriceCreateInstanceRequest {
5318
5321
  ReplicasReadonly?: boolean;
5319
5322
  /**
5320
5323
  * 实例所属的可用区名称,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
5324
+ **说明**:请在 **ZoneId** 与 **ZoneName** 中至少指定一个参数。
5321
5325
  */
5322
5326
  ZoneName?: string;
5323
5327
  /**