tencentcloud-sdk-mongodb 3.0.1174 → 3.0.1180

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04b3914e5bb76638983ab86d78a27b7259aee060
4
- data.tar.gz: c87238f53d0f602d4f2747b30a4d6f829a5e5c67
3
+ metadata.gz: 8daacf5c13ac6041770bf439f16416bf32e67cac
4
+ data.tar.gz: ada43e25b27505a123cb48fbaa5c811dd2d8fba3
5
5
  SHA512:
6
- metadata.gz: 1e3dc5419025c3e59aa16f805f22b6726896fb5197faeababd5851d6527f7924295418a3287c06b5345036573d5b21f3ecd5066c23058033b0ffe9f563d3832c
7
- data.tar.gz: c3932599998b3deb86270b9fe7f5f686439e63ccdf05ee426c669ca97df84c48bfc85f13cf0fc31cbd23581febef360d2c8df66763ccdfefc29acc74dcb46218
6
+ metadata.gz: 1f5e361ba336a90463f214265a3f2b3855f199f7f095b8bad78a8680a519c22e59ff660d82de3ac27903ad3a02c8a8287b9b4d81d9744141a7c2096c68f2b303
7
+ data.tar.gz: 0ea03bf5cd46c948b065a978cdc436c5acbcdbb0d339ce96fecb1ca10c3ecfe6a8e9df0e401c90b297a7f229491008ff710b5c83d7b47165a0c3a7c382265d44
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1174
1
+ 3.0.1180
@@ -1475,7 +1475,7 @@ module TencentCloud
1475
1475
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1476
1476
  end
1477
1477
 
1478
- # 本接口(SetBackupRules)用于设置 MongoDB 云数据库的自动备份规则。
1478
+ # 本接口(SetBackupRules)用于设置 MongoDB 云数据库的自动备份规则。
1479
1479
 
1480
1480
  # @param request: Request instance for SetBackupRules.
1481
1481
  # @type request: :class:`Tencentcloud::mongodb::V20190725::SetBackupRulesRequest`
@@ -706,6 +706,7 @@ module TencentCloud
706
706
  # - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
707
707
  # - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
708
708
  # - MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
709
+ # - MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
709
710
  # @type MongoVersion: String
710
711
  # @param MachineCode: 产品规格类型。
711
712
  # - HIO10G:通用高HIO万兆型。
@@ -894,6 +895,7 @@ module TencentCloud
894
895
  # - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
895
896
  # - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
896
897
  # - MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
898
+ # - MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
897
899
  # @type MongoVersion: String
898
900
  # @param ClusterType: 实例类型。当 MirrorTplId 为空值时,该参数必填。
899
901
  # - REPLSET:副本集实例。
@@ -972,6 +974,7 @@ module TencentCloud
972
974
  # - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
973
975
  # - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
974
976
  # - MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
977
+ # - MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
975
978
  # @type MongoVersion: String
976
979
  # @param GoodsNum: 实例数量, 最小值1,最大值为30。
977
980
  # @type GoodsNum: Integer
@@ -2260,6 +2263,7 @@ module TencentCloud
2260
2263
  # - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
2261
2264
  # - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
2262
2265
  # - MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
2266
+ # - MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
2263
2267
  # @type MongoVersion: String
2264
2268
  # @param ClusterType: 模板适配集群类型。
2265
2269
  # - REPLSET:副本集实例。
@@ -2340,6 +2344,7 @@ module TencentCloud
2340
2344
  # - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
2341
2345
  # - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
2342
2346
  # - MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
2347
+ # - MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
2343
2348
  # @type MongoVersion: Array
2344
2349
  # @param TplType: 指定查询的模板类型。
2345
2350
  # - DEFAULT:系统默认模板。
@@ -3518,6 +3523,7 @@ module TencentCloud
3518
3523
  # - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
3519
3524
  # - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
3520
3525
  # - MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
3526
+ # - MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
3521
3527
  # @type MongoVersion: String
3522
3528
  # @param MachineCode: 产品规格类型。
3523
3529
  # - HIO10G:通用高HIO万兆型。
@@ -3797,6 +3803,7 @@ module TencentCloud
3797
3803
  # - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
3798
3804
  # - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
3799
3805
  # - MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
3806
+ # - MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
3800
3807
  # @type MongoVersion: String
3801
3808
  # @param Memory: 实例内存规格,单位:MB。
3802
3809
  # @type Memory: Integer
@@ -4781,8 +4788,8 @@ module TencentCloud
4781
4788
 
4782
4789
  attr_accessor :InstanceId, :Memory, :Volume, :OplogSize, :NodeNum, :ReplicateSetNum, :InMaintenance, :MongosMemory, :AddNodeList, :RemoveNodeList
4783
4790
  extend Gem::Deprecate
4784
- deprecate :OplogSize, :none, 2025, 11
4785
- deprecate :OplogSize=, :none, 2025, 11
4791
+ deprecate :OplogSize, :none, 2025, 12
4792
+ deprecate :OplogSize=, :none, 2025, 12
4786
4793
 
4787
4794
  def initialize(instanceid=nil, memory=nil, volume=nil, oplogsize=nil, nodenum=nil, replicatesetnum=nil, inmaintenance=nil, mongosmemory=nil, addnodelist=nil, removenodelist=nil)
4788
4795
  @InstanceId = instanceid
@@ -5173,6 +5180,7 @@ module TencentCloud
5173
5180
  # - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
5174
5181
  # - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
5175
5182
  # - MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
5183
+ # - MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
5176
5184
  # @type MongoVersion: String
5177
5185
  # @param ClusterType: 参数模板适用的数据库类型。
5178
5186
  # - REPLSET:副本集实例。
@@ -5615,7 +5623,7 @@ module TencentCloud
5615
5623
 
5616
5624
  # SetBackupRules请求参数结构体
5617
5625
  class SetBackupRulesRequest < TencentCloud::Common::AbstractModel
5618
- # @param InstanceId: 实例id,例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
5626
+ # @param InstanceId: 实例 ID。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
5619
5627
  # @type InstanceId: String
5620
5628
  # @param BackupMethod: 备份方式。
5621
5629
  # - 0:逻辑备份。
@@ -5627,27 +5635,47 @@ module TencentCloud
5627
5635
  # @type BackupMethod: Integer
5628
5636
  # @param BackupTime: 设置自动备份开始时间。取值范围为:[0,23],例如:该参数设置为2,表示02:00开始备份。
5629
5637
  # @type BackupTime: Integer
5630
- # @param BackupFrequency: 自动备份频率,内部展示,默认取值为24h。
5638
+ # @param BackupFrequency: 指定每日自动备份频率。
5639
+ # - 12: 每日备份2次,间隔约12小时。
5640
+ # - 24: 每日备份1次(默认),间隔约24小时。
5631
5641
  # @type BackupFrequency: Integer
5632
5642
  # @param Notify: 设置自动备份发生错误时,是否发送失败告警。
5633
5643
  # - true:发送。
5634
5644
  # - false:不发送。
5635
5645
  # @type Notify: Boolean
5636
- # @param BackupRetentionPeriod: 指定备份数据保存天数。默认为 7 天,支持设置为7、30、90、180、365。
5646
+ # @param BackupRetentionPeriod: 指定备份数据保留时长。
5647
+ # - 单位:天,默认为 7 天。
5648
+ # - 取值范围:[7,365]。
5637
5649
  # @type BackupRetentionPeriod: Integer
5638
- # @param ActiveWeekdays: 周几备份,0-6,逗号分割。仅对高级备份生效
5650
+ # @param ActiveWeekdays: 指定每周内执行自动备份的具体日期。
5651
+ # - 格式:请输入 0-6 之间的数字代表周日至周六(例如:1 代表周一),多个日期请用英文逗号 , 分隔。
5652
+ # - 示例:输入 1,3,5 表示系统将在每周的周一、周三、周五执行备份。
5653
+ # - 默认值:不设置,则默认为全周期 (0,1,2,3,4,5,6),即每日执行备份。
5639
5654
  # @type ActiveWeekdays: String
5640
- # @param LongTermUnit: 长期保留周期,周weekly,月monthly,空不开启
5655
+ # @param LongTermUnit: 长期保留周期。支持按周或按月选择特定日期的备份(例如,每月1日、15日的备份数据),将其保留更长周期。
5656
+ # - 不开启(默认):不启用长期保留功能。
5657
+ # - 按周保留: 指定为 weekly。
5658
+ # - 按月保留: 指定为 monthly。
5641
5659
  # @type LongTermUnit: String
5642
- # @param LongTermActiveDays: 长期保留哪些天的,周0-6,月1-31,逗号分割
5660
+ # @param LongTermActiveDays: 指定用于长期保留的具体备份日期。此设置仅在 **LongTermUnit** 被设为**weekly** 或 **monthly** 时生效。
5661
+ # - 按周(weekly)保留:请输入 0-6 之间的数字来代表周日至周六。多个日期请用英文逗号 , 分隔。
5662
+ # - 按月(monthly)保留:请输入 1-31 之间的数字来代表月份中的具体日期。多个日期请用英文逗号 , 分隔。
5643
5663
  # @type LongTermActiveDays: String
5644
- # @param LongTermExpiredDays: 长期备份保留多少天
5664
+ # @param LongTermExpiredDays: 长期备份保留时长。取值范围[30,1075]。
5645
5665
  # @type LongTermExpiredDays: Integer
5646
- # @param OplogExpiredDays: 增量保留多少天
5666
+ # @param OplogExpiredDays: 增量备份保留时长。
5667
+ # - 单位:天。
5668
+ # - 默认值:7天。
5669
+ # - 取值范围:[7,365]。
5647
5670
  # @type OplogExpiredDays: Integer
5648
- # @param BackupVersion: 备份版本。旧版本备份为0,高级备份为1。开启高级备份此值传1
5671
+ # @param BackupVersion: 指定备份版本。
5672
+ # - 旧版本备份:0。
5673
+ # - 开启高级备份:1。
5649
5674
  # @type BackupVersion: Integer
5650
- # @param AlarmWaterLevel: 告警额度。50-300
5675
+ # @param AlarmWaterLevel: 设置备份数据集存储空间使用率的告警阈值。
5676
+ # - 单位:%。
5677
+ # - 默认值:100。
5678
+ # - 取值范围:[50,300]。
5651
5679
  # @type AlarmWaterLevel: Integer
5652
5680
 
5653
5681
  attr_accessor :InstanceId, :BackupMethod, :BackupTime, :BackupFrequency, :Notify, :BackupRetentionPeriod, :ActiveWeekdays, :LongTermUnit, :LongTermActiveDays, :LongTermExpiredDays, :OplogExpiredDays, :BackupVersion, :AlarmWaterLevel
@@ -5887,7 +5915,7 @@ module TencentCloud
5887
5915
  # - 内存规格:支持4、8、16、32、64、128、240、512。单位g:表示GB。128g 则表示128GB。
5888
5916
  # @type SpecCode: String
5889
5917
  # @param Status: 售卖规格有效标志,取值范围如下:
5890
- # - 0:停止售卖,
5918
+ # - 0:停止售卖。
5891
5919
  # - 1:开放售卖。
5892
5920
  # @type Status: Integer
5893
5921
  # @param Cpu: 计算资源规格,CPU核数。
@@ -5911,12 +5939,22 @@ module TencentCloud
5911
5939
  # - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
5912
5940
  # - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
5913
5941
  # - MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
5942
+ # - MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
5914
5943
  # @type MongoVersionCode: String
5915
5944
  # @param MongoVersionValue: 实例版本对应的数字版本。
5945
+ # - MongoDB 3.2 版本:2。
5946
+ # - MongoDB 3.6 版本:4。
5947
+ # - MongoDB 4.0 版本:5。
5948
+ # - MongoDB 4.2 版本:9。
5949
+ # - MongoDB 4.4 版本:10。
5950
+ # - MongoDB 5.0 版本:11。
5951
+ # - MongoDB 6.0 版本:12。
5952
+ # - MongoDB 7.0 版本:13。
5953
+ # - MongoDB 8.0 版本:14。
5916
5954
  # @type MongoVersionValue: Integer
5917
- # @param Version: 实例版本信息。支持:4.2、4.4、5.0、6.0、7.0。
5955
+ # @param Version: 实例版本信息。支持:4.2、4.4、5.0、6.0、7.0、8.0
5918
5956
  # @type Version: String
5919
- # @param EngineName: 存储引擎。
5957
+ # @param EngineName: 存储引擎,仅支持 WiredTiger。
5920
5958
  # @type EngineName: String
5921
5959
  # @param ClusterType: 集群类型,取值如下:
5922
5960
  # - 1:分片集群。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mongodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1174
4
+ version: 3.0.1180
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-28 00:00:00.000000000 Z
11
+ date: 2025-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common