tencentcloud-sdk-mongodb 3.0.423 → 3.0.424

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73ad4fe031fd91a4ddc95e19c485d660ca7465e9
4
- data.tar.gz: 5328d12b1c05c7a1819c6239ec15b71c5a72aaf4
3
+ metadata.gz: 7a18af9a3b48338a35b965d25c37ade274d04e98
4
+ data.tar.gz: 0b49177acdd65268fcbe121a5388396746ab7adf
5
5
  SHA512:
6
- metadata.gz: 737739513fa58ceca2b76aef11c644bc6a91e37968ee401a2c172ee0df9ecfd39f813948c60b8493edeb53a93c070e58b1baaf54e5fdb589618eeec38ca6a246
7
- data.tar.gz: 6cf18daf4420217974a33fb1f7a8c9d503f195271368d45d9d4234eb6ea5e3276cd55738ecdc6d6ad54f3bf208eedec26abe33fa5f6a701536ec1fefbd22ce29
6
+ metadata.gz: 9131349dcecd33b67a7218a303f581c71c4605f3b5808593c518d89f433fc34c3f81a927510e2ab6834564c5e2090ac8b8e48cd4d6f69381fe6fbff8b808bcaf
7
+ data.tar.gz: c0fce388bb46d01dff059a41beb331bf1e51d1d522a27f2a5a4f75b87dd9ca9ad2c51591eb997252ad069f973f38f1ecde5eaf9b33423192bdf522d159daa5b1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.423
1
+ 3.0.424
@@ -485,7 +485,7 @@ module TencentCloud
485
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
486
  end
487
487
 
488
- # 本接口用于创建数据库实例询价。本接口参数中必须传入region参数,否则无法通过校验。本接口仅允许针对购买限制范围内的实例配置进行询价。
488
+ # 本接口(InquirePriceCreateDBInstances)用于创建数据库实例询价。本接口参数中必须传入region参数,否则无法通过校验。本接口仅允许针对购买限制范围内的实例配置进行询价。
489
489
 
490
490
  # @param request: Request instance for InquirePriceCreateDBInstances.
491
491
  # @type request: :class:`Tencentcloud::mongodb::V20190725::InquirePriceCreateDBInstancesRequest`
@@ -1555,30 +1555,44 @@ module TencentCloud
1555
1555
 
1556
1556
  # InquirePriceCreateDBInstances请求参数结构体
1557
1557
  class InquirePriceCreateDBInstancesRequest < TencentCloud::Common::AbstractModel
1558
- # @param Zone: 实例所属区域名称,格式如:ap-guangzhou-2
1558
+ # @param Zone: 实例所属区域及可用区信息。格式:ap-guangzhou-2
1559
1559
  # @type Zone: String
1560
- # @param NodeNum: 每个副本集内节点个数,具体参照查询云数据库的售卖规格返回参数
1560
+ # @param NodeNum: 每个分片的主从节点数量。<br>取值范围:请通过接口<a href="https://cloud.tencent.com/document/product/240/38567">DescribeSpecInfo</a>查询,其返回的数据结构SpecItems中的参数MinStorage与MaxStorage分别对应其最小磁盘规格与最大磁盘规格。</br>
1561
1561
  # @type NodeNum: Integer
1562
- # @param Memory: 实例内存大小,单位:GB
1562
+ # @param Memory: 实例内存大小。<ul><li>单位:GB。</li><li>取值范围:请通过接口<a href="https://cloud.tencent.com/document/product/240/38567">DescribeSpecInfo</a>查询,其返回的数据结构SpecItems中的参数CPU与Memory分别对应CPU核数与内存规格。</li></ul>
1563
1563
  # @type Memory: Integer
1564
- # @param Volume: 实例硬盘大小,单位:GB
1564
+ # @param Volume: 实例硬盘大小。<ul><li>单位:GB。</li><li>取值范围:请通过接口<a href="https://cloud.tencent.com/document/product/240/38567">DescribeSpecInfo</a>查询,其返回的数据结构SpecItems中的参数MinNodeNum与MaxNodeNum分别对应其最小值与最大值。</li></ul>
1565
1565
  # @type Volume: Integer
1566
- # @param MongoVersion: 版本号,具体支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是MONGO_3_WT:MongoDB 3.2 WiredTiger存储引擎版本,MONGO_3_ROCKS:MongoDB 3.2 RocksDB存储引擎版本,MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本
1566
+ # @param MongoVersion: 实例版本信息。<ul><li>具体支持的版本,请通过接口<a href="https://cloud.tencent.com/document/product/240/38567">DescribeSpecInfo</a>查询,其返回的数据结构SpecItems中的参数MongoVersionCode为实例所支持的版本信息。</li><li>版本信息与版本号对应关系如下:<ul><li>MONGO_3_WT:MongoDB 3.2 WiredTiger存储引擎版本。</li><li>MONGO_3_ROCKS:MongoDB 3.2 RocksDB存储引擎版本。</li><li>MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。</li><li>MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。</li></ul>
1567
1567
  # @type MongoVersion: String
1568
- # @param MachineCode: 机器类型,HIO:高IO型;HIO10G:高IO万兆型;
1568
+ # @param MachineCode: 机器类型。<ul><li>HIO:高IO型。</li><li>HIO10G:高IO万兆型。</li></ul>
1569
1569
  # @type MachineCode: String
1570
- # @param GoodsNum: 实例数量, 最小值1,最大值为10
1570
+ # @param GoodsNum: 实例数量,取值范围为[1,10]。
1571
1571
  # @type GoodsNum: Integer
1572
- # @param Period: 实例时长,单位:月,可选值包括[1,2,3,4,5,6,7,8,9,10,11,12,24,36]
1573
- # @type Period: Integer
1574
- # @param ClusterType: 实例类型,REPLSET-副本集,SHARD-分片集群,STANDALONE-单节点
1572
+ # @param ClusterType: 实例类型。<ul><li>REPLSET:副本集。</li><li>SHARD:分片集群。</li><li>STANDALONE:单节点。</li></ul>
1575
1573
  # @type ClusterType: String
1576
- # @param ReplicateSetNum: 副本集个数,创建副本集实例时,该参数必须设置为1;创建分片实例时,具体参照查询云数据库的售卖规格返回参数;若为单节点实例,该参数设置为0
1574
+ # @param ReplicateSetNum: 副本集个数。<ul><li>创建副本集实例时,该参数固定设置为1。</li><li>创建分片集群时,指分片数量,请通过接口<a href="https://cloud.tencent.com/document/product/240/38567">DescribeSpecInfo</a>查询,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。</li><li>若为单节点实例,该参数固定设置为0。</li></ul>
1577
1575
  # @type ReplicateSetNum: Integer
1578
-
1579
- attr_accessor :Zone, :NodeNum, :Memory, :Volume, :MongoVersion, :MachineCode, :GoodsNum, :Period, :ClusterType, :ReplicateSetNum
1580
-
1581
- def initialize(zone=nil, nodenum=nil, memory=nil, volume=nil, mongoversion=nil, machinecode=nil, goodsnum=nil, period=nil, clustertype=nil, replicatesetnum=nil)
1576
+ # @param Period: 选择包年包月计费模式时,您需要设定购买实例的时长。即<b>InstanceChargeType</b>设定为<b>PREPAID</b>时,该参数必须配置。<ul><li>单位:月。</li><li>可选值包括[1,2,3,4,5,6,7,8,9,10,11,12,24,36]。</li></ul>
1577
+ # @type Period: Integer
1578
+ # @param InstanceChargeType: 实例付费方式。<ul><li>PREPAID:包年包月计费。</li><li>POSTPAID_BY_HOUR:按量计费。</li></ul>
1579
+ # @type InstanceChargeType: String
1580
+ # @param MongosCpu: 分片实例询价必填参数,指 Mongos CPU核数,取值范围为[1,16]。
1581
+ # @type MongosCpu: Integer
1582
+ # @param MongosMemory: 分片实例询价必填参数,指 Mongos 内存,取值范围为[2,32],单位:GB。
1583
+ # @type MongosMemory: Integer
1584
+ # @param MongosNum: 分片实例询价必填参数,指 Mongos 个数,取值范围为[3,32]。
1585
+ # @type MongosNum: Integer
1586
+ # @param ConfigServerCpu: 分片实例询价必填参数,指 ConfigServer CPU核数,取值为1,单位:GB。
1587
+ # @type ConfigServerCpu: Integer
1588
+ # @param ConfigServerMemory: 分片实例询价必填参数,指 ConfigServer 内存大小,取值为2,单位:GB。
1589
+ # @type ConfigServerMemory: Integer
1590
+ # @param ConfigServerVolume: 分片实例询价必填参数,指 ConfigServer 磁盘大小,取值为 20,单位:GB。
1591
+ # @type ConfigServerVolume: Integer
1592
+
1593
+ attr_accessor :Zone, :NodeNum, :Memory, :Volume, :MongoVersion, :MachineCode, :GoodsNum, :ClusterType, :ReplicateSetNum, :Period, :InstanceChargeType, :MongosCpu, :MongosMemory, :MongosNum, :ConfigServerCpu, :ConfigServerMemory, :ConfigServerVolume
1594
+
1595
+ def initialize(zone=nil, nodenum=nil, memory=nil, volume=nil, mongoversion=nil, machinecode=nil, goodsnum=nil, clustertype=nil, replicatesetnum=nil, period=nil, instancechargetype=nil, mongoscpu=nil, mongosmemory=nil, mongosnum=nil, configservercpu=nil, configservermemory=nil, configservervolume=nil)
1582
1596
  @Zone = zone
1583
1597
  @NodeNum = nodenum
1584
1598
  @Memory = memory
@@ -1586,9 +1600,16 @@ module TencentCloud
1586
1600
  @MongoVersion = mongoversion
1587
1601
  @MachineCode = machinecode
1588
1602
  @GoodsNum = goodsnum
1589
- @Period = period
1590
1603
  @ClusterType = clustertype
1591
1604
  @ReplicateSetNum = replicatesetnum
1605
+ @Period = period
1606
+ @InstanceChargeType = instancechargetype
1607
+ @MongosCpu = mongoscpu
1608
+ @MongosMemory = mongosmemory
1609
+ @MongosNum = mongosnum
1610
+ @ConfigServerCpu = configservercpu
1611
+ @ConfigServerMemory = configservermemory
1612
+ @ConfigServerVolume = configservervolume
1592
1613
  end
1593
1614
 
1594
1615
  def deserialize(params)
@@ -1599,9 +1620,16 @@ module TencentCloud
1599
1620
  @MongoVersion = params['MongoVersion']
1600
1621
  @MachineCode = params['MachineCode']
1601
1622
  @GoodsNum = params['GoodsNum']
1602
- @Period = params['Period']
1603
1623
  @ClusterType = params['ClusterType']
1604
1624
  @ReplicateSetNum = params['ReplicateSetNum']
1625
+ @Period = params['Period']
1626
+ @InstanceChargeType = params['InstanceChargeType']
1627
+ @MongosCpu = params['MongosCpu']
1628
+ @MongosMemory = params['MongosMemory']
1629
+ @MongosNum = params['MongosNum']
1630
+ @ConfigServerCpu = params['ConfigServerCpu']
1631
+ @ConfigServerMemory = params['ConfigServerMemory']
1632
+ @ConfigServerVolume = params['ConfigServerVolume']
1605
1633
  end
1606
1634
  end
1607
1635
 
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.423
4
+ version: 3.0.424
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-30 00:00:00.000000000 Z
11
+ date: 2022-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common