tencentcloud-sdk-nodejs-mongodb 4.1.179 → 4.1.180

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-mongodb",
3
- "version": "4.1.179",
3
+ "version": "4.1.180",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -236,7 +236,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
236
236
  */
237
237
  DescribeTransparentDataEncryptionStatus(req: DescribeTransparentDataEncryptionStatusRequest, cb?: (error: string, rep: DescribeTransparentDataEncryptionStatusResponse) => void): Promise<DescribeTransparentDataEncryptionStatusResponse>;
238
238
  /**
239
- * 本接口用于跨版本升级数据库内核。当前仅支持3.6版本升级为4.0版本、4.0版本升级为4.2版本、4.2版本升级为4.4版本及4.4版本升级为5.0版本。
239
+ * 本接口(UpgradeDbInstanceVersion)用于升级数据库版本。
240
+ **说明**:支持3.6及以上版本升级,仅支持从低版本向高版本逐级升级,不支持跨版本升级或版本降级。
240
241
  */
241
242
  UpgradeDbInstanceVersion(req: UpgradeDbInstanceVersionRequest, cb?: (error: string, rep: UpgradeDbInstanceVersionResponse) => void): Promise<UpgradeDbInstanceVersionResponse>;
242
243
  /**
@@ -370,7 +370,8 @@ class Client extends TencentCloudCommon.AbstractClient {
370
370
  return this.request("DescribeTransparentDataEncryptionStatus", req, cb);
371
371
  }
372
372
  /**
373
- * 本接口用于跨版本升级数据库内核。当前仅支持3.6版本升级为4.0版本、4.0版本升级为4.2版本、4.2版本升级为4.4版本及4.4版本升级为5.0版本。
373
+ * 本接口(UpgradeDbInstanceVersion)用于升级数据库版本。
374
+ **说明**:支持3.6及以上版本升级,仅支持从低版本向高版本逐级升级,不支持跨版本升级或版本降级。
374
375
  */
375
376
  async UpgradeDbInstanceVersion(req, cb) {
376
377
  return this.request("UpgradeDbInstanceVersion", req, cb);
@@ -1291,11 +1291,20 @@ export interface UpgradeDbInstanceVersionRequest {
1291
1291
  */
1292
1292
  InstanceId: string;
1293
1293
  /**
1294
- * 新升级的数据库版本,当前仅支持MONGO_40_WT(MongoDB 4.0 WiredTiger存储引擎版本)及MONGO_42_WT(MongoDB 4.0 WiredTiger存储引擎版本)。
1294
+ * 新升级的数据库版本。当前支持版本如下所示,支持旧版本向高版本升级,不支持跨版本升级。
1295
+ - MONGO_40_WT:4.0 版本。
1296
+ - MONGO_42_WT:4.2 版本。
1297
+ - MONGO_44_WT:4.4 版本
1298
+ - MONGO_50_WT:5.0 版本
1299
+ - MONGO_60_WT:6.0 版本。
1300
+ - MONGO_70_WT:7.0 版本。
1301
+ - MONGO_80_WT:8.0 版本。
1295
1302
  */
1296
1303
  MongoVersion: string;
1297
1304
  /**
1298
- * 是否在维护时间内升级。0-立即升级 1-维护时间内升级
1305
+ * 指定升级操作是否在维护时间内进行。
1306
+ - 0:立即升级。
1307
+ - 1:维护时间窗升级。
1299
1308
  */
1300
1309
  InMaintenance?: number;
1301
1310
  }