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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190725/client.rb +1 -1
- data/lib/v20190725/models.rb +45 -17
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a18af9a3b48338a35b965d25c37ade274d04e98
|
4
|
+
data.tar.gz: 0b49177acdd65268fcbe121a5388396746ab7adf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9131349dcecd33b67a7218a303f581c71c4605f3b5808593c518d89f433fc34c3f81a927510e2ab6834564c5e2090ac8b8e48cd4d6f69381fe6fbff8b808bcaf
|
7
|
+
data.tar.gz: c0fce388bb46d01dff059a41beb331bf1e51d1d522a27f2a5a4f75b87dd9ca9ad2c51591eb997252ad069f973f38f1ecde5eaf9b33423192bdf522d159daa5b1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.424
|
data/lib/v20190725/client.rb
CHANGED
@@ -485,7 +485,7 @@ module TencentCloud
|
|
485
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
486
|
end
|
487
487
|
|
488
|
-
#
|
488
|
+
# 本接口(InquirePriceCreateDBInstances)用于创建数据库实例询价。本接口参数中必须传入region参数,否则无法通过校验。本接口仅允许针对购买限制范围内的实例配置进行询价。
|
489
489
|
|
490
490
|
# @param request: Request instance for InquirePriceCreateDBInstances.
|
491
491
|
# @type request: :class:`Tencentcloud::mongodb::V20190725::InquirePriceCreateDBInstancesRequest`
|
data/lib/v20190725/models.rb
CHANGED
@@ -1555,30 +1555,44 @@ module TencentCloud
|
|
1555
1555
|
|
1556
1556
|
# InquirePriceCreateDBInstances请求参数结构体
|
1557
1557
|
class InquirePriceCreateDBInstancesRequest < TencentCloud::Common::AbstractModel
|
1558
|
-
# @param Zone:
|
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:
|
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:
|
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:
|
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:
|
1568
|
+
# @param MachineCode: 机器类型。<ul><li>HIO:高IO型。</li><li>HIO10G:高IO万兆型。</li></ul>
|
1569
1569
|
# @type MachineCode: String
|
1570
|
-
# @param GoodsNum:
|
1570
|
+
# @param GoodsNum: 实例数量,取值范围为[1,10]。
|
1571
1571
|
# @type GoodsNum: Integer
|
1572
|
-
# @param
|
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:
|
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
|
-
|
1580
|
-
|
1581
|
-
|
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.
|
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
|
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
|