tencentcloud-sdk-nodejs-mongodb 4.1.154 → 4.1.156

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.154",
3
+ "version": "4.1.156",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -204,7 +204,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
204
204
  */
205
205
  InquirePriceCreateDBInstances(req: InquirePriceCreateDBInstancesRequest, cb?: (error: string, rep: InquirePriceCreateDBInstancesResponse) => void): Promise<InquirePriceCreateDBInstancesResponse>;
206
206
  /**
207
- * 本接口(SetBackupRules)用于设置 MongoDB 云数据库的自动备份规则。
207
+ * 本接口(SetBackupRules)用于设置 MongoDB 云数据库的自动备份规则。
208
208
  */
209
209
  SetBackupRules(req: SetBackupRulesRequest, cb?: (error: string, rep: SetBackupRulesResponse) => void): Promise<SetBackupRulesResponse>;
210
210
  /**
@@ -322,7 +322,7 @@ class Client extends TencentCloudCommon.AbstractClient {
322
322
  return this.request("InquirePriceCreateDBInstances", req, cb);
323
323
  }
324
324
  /**
325
- * 本接口(SetBackupRules)用于设置 MongoDB 云数据库的自动备份规则。
325
+ * 本接口(SetBackupRules)用于设置 MongoDB 云数据库的自动备份规则。
326
326
  */
327
327
  async SetBackupRules(req, cb) {
328
328
  return this.request("SetBackupRules", req, cb);
@@ -3516,7 +3516,7 @@ export interface EnableTransparentDataEncryptionResponse {
3516
3516
  */
3517
3517
  export interface SetBackupRulesRequest {
3518
3518
  /**
3519
- * 实例id,例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
3519
+ * 实例 ID。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
3520
3520
  */
3521
3521
  InstanceId: string;
3522
3522
  /**
@@ -3534,7 +3534,9 @@ export interface SetBackupRulesRequest {
3534
3534
  */
3535
3535
  BackupTime?: number;
3536
3536
  /**
3537
- * 自动备份频率,内部展示,默认取值为24h。
3537
+ * 指定每日自动备份频率。
3538
+ - 12: 每日备份2次,间隔约12小时。
3539
+ - 24: 每日备份1次(默认),间隔约24小时。
3538
3540
  */
3539
3541
  BackupFrequency?: number;
3540
3542
  /**
@@ -3544,35 +3546,54 @@ export interface SetBackupRulesRequest {
3544
3546
  */
3545
3547
  Notify?: boolean;
3546
3548
  /**
3547
- * 指定备份数据保存天数。默认为 7 天,支持设置为7、30、90、180、365。
3549
+ * 指定备份数据保留时长。
3550
+ - 单位:天,默认为 7 天。
3551
+ - 取值范围:[7,365]。
3548
3552
  */
3549
3553
  BackupRetentionPeriod?: number;
3550
3554
  /**
3551
- * 周几备份,0-6,逗号分割。仅对高级备份生效
3555
+ * 指定每周内执行自动备份的具体日期。
3556
+ - 格式:请输入 0-6 之间的数字代表周日至周六(例如:1 代表周一),多个日期请用英文逗号 , 分隔。
3557
+ - 示例:输入 1,3,5 表示系统将在每周的周一、周三、周五执行备份。
3558
+ - 默认值:不设置,则默认为全周期 (0,1,2,3,4,5,6),即每日执行备份。
3552
3559
  */
3553
3560
  ActiveWeekdays?: string;
3554
3561
  /**
3555
- * 长期保留周期,周weekly,月monthly,空不开启
3562
+ * 长期保留周期。支持按周或按月选择特定日期的备份(例如,每月1日、15日的备份数据),将其保留更长周期。
3563
+ - 不开启(默认):不启用长期保留功能。
3564
+ - 按周保留: 指定为 weekly。
3565
+ - 按月保留: 指定为 monthly。
3556
3566
  */
3557
3567
  LongTermUnit?: string;
3558
3568
  /**
3559
- * 长期保留哪些天的,周0-6,月1-31,逗号分割
3569
+ * 指定用于长期保留的具体备份日期。此设置仅在 **LongTermUnit** 被设为**weekly** 或 **monthly** 时生效。
3570
+ - 按周(weekly)保留:请输入 0-6 之间的数字来代表周日至周六。多个日期请用英文逗号 , 分隔。
3571
+ - 按月(monthly)保留:请输入 1-31 之间的数字来代表月份中的具体日期。多个日期请用英文逗号 , 分隔。
3560
3572
  */
3561
3573
  LongTermActiveDays?: string;
3562
3574
  /**
3563
- * 长期备份保留多少天
3575
+ * 长期备份保留时长。取值范围[30,1075]。
3564
3576
  */
3565
3577
  LongTermExpiredDays?: number;
3566
3578
  /**
3567
- * 增量保留多少天
3579
+ * 增量备份保留时长。
3580
+ - 单位:天。
3581
+ - 默认值:7天。
3582
+ - 取值范围:[7,365]。
3583
+
3568
3584
  */
3569
3585
  OplogExpiredDays?: number;
3570
3586
  /**
3571
- * 备份版本。旧版本备份为0,高级备份为1。开启高级备份此值传1
3587
+ * 指定备份版本。
3588
+ - 旧版本备份:0。
3589
+ - 开启高级备份:1。
3572
3590
  */
3573
3591
  BackupVersion?: number;
3574
3592
  /**
3575
- * 告警额度。50-300
3593
+ * 设置备份数据集存储空间使用率的告警阈值。
3594
+ - 单位:%。
3595
+ - 默认值:100。
3596
+ - 取值范围:[50,300]。
3576
3597
  */
3577
3598
  AlarmWaterLevel?: number;
3578
3599
  }