tencentcloud-sdk-mongodb 3.0.884 → 3.0.885
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190725/models.rb +58 -40
- 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: 5940e8fad68dca3831a6cd261469e5c6e4fe4e93
|
|
4
|
+
data.tar.gz: 961b000a2e0ad62b77d301658cce4f019241cec4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bf7ccef3d5311309de2eb3cfb751b4347547fe31c3681f3d447cc43b7a073a65e8713ebcf8f6b8bf9df0de766e7b6fc6b6530158a47e2a41599880303e6406c
|
|
7
|
+
data.tar.gz: efd4c4be18d1ef98d7af735e334e734da1a1e8ac21729e73a74c78e9c925a1db75aba0fbb1c70b16a8c80bddc82a89b15416500d1b446981f14725e4df4ef165
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.885
|
data/lib/v20190725/models.rb
CHANGED
|
@@ -2431,8 +2431,8 @@ module TencentCloud
|
|
|
2431
2431
|
class InquirePriceCreateDBInstancesRequest < TencentCloud::Common::AbstractModel
|
|
2432
2432
|
# @param Zone: 实例所属区域及可用区信息。格式:ap-guangzhou-2。
|
|
2433
2433
|
# @type Zone: String
|
|
2434
|
-
# @param NodeNum:
|
|
2435
|
-
#
|
|
2434
|
+
# @param NodeNum: - 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
|
2435
|
+
# - 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
|
2436
2436
|
# @type NodeNum: Integer
|
|
2437
2437
|
# @param Memory: 实例内存大小。
|
|
2438
2438
|
# - 单位:GB。
|
|
@@ -2443,48 +2443,44 @@ module TencentCloud
|
|
|
2443
2443
|
# - 取值范围:请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询,其返回的数据结构SpecItems中的参数MinStorage与MaxStorage分别对应其最小磁盘规格与最大磁盘规格。
|
|
2444
2444
|
# @type Volume: Integer
|
|
2445
2445
|
# @param MongoVersion: 实例版本信息。具体支持的版本,请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询,其返回的数据结构SpecItems中的参数MongoVersionCode为实例所支持的版本信息。版本信息与版本号对应关系如下:
|
|
2446
|
-
# - MONGO_3_WT:MongoDB 3.2 WiredTiger存储引擎版本。
|
|
2447
|
-
# - MONGO_3_ROCKS:MongoDB 3.2 RocksDB存储引擎版本。
|
|
2448
2446
|
# - MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。
|
|
2449
2447
|
# - MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。
|
|
2450
2448
|
# - MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
|
|
2451
2449
|
# - MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
|
|
2452
2450
|
# - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
|
|
2451
|
+
# - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
|
|
2453
2452
|
# @type MongoVersion: String
|
|
2454
|
-
# @param MachineCode:
|
|
2455
|
-
# - HIO
|
|
2456
|
-
# -
|
|
2453
|
+
# @param MachineCode: 产品规格类型。
|
|
2454
|
+
# - HIO10G:通用高HIO万兆型。
|
|
2455
|
+
# - HCD:云盘版。
|
|
2457
2456
|
# @type MachineCode: String
|
|
2458
2457
|
# @param GoodsNum: 实例数量,取值范围为[1,10]。
|
|
2459
2458
|
# @type GoodsNum: Integer
|
|
2460
2459
|
# @param ClusterType: 实例类型。
|
|
2461
2460
|
# - REPLSET:副本集。
|
|
2462
2461
|
# - SHARD:分片集群。
|
|
2463
|
-
# - STANDALONE:单节点。
|
|
2464
2462
|
# @type ClusterType: String
|
|
2465
|
-
# @param ReplicateSetNum:
|
|
2466
|
-
# -
|
|
2467
|
-
# - 创建分片集群时,指分片数量,请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。
|
|
2468
|
-
# - 若为单节点实例,该参数固定设置为0。
|
|
2463
|
+
# @param ReplicateSetNum: - 创建副本集实例,指副本集数量,该参数只能为1。
|
|
2464
|
+
# - 创建分片集群实例,指分片的数量。请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询分片数量的取值范围,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。
|
|
2469
2465
|
# @type ReplicateSetNum: Integer
|
|
2470
|
-
# @param Period: - 选择包年包月计费模式,即 <b>InstanceChargeType </b>设定为<b>PREPAID</b
|
|
2466
|
+
# @param Period: - 选择包年包月计费模式,即 <b>InstanceChargeType </b>设定为<b>PREPAID</b>时,必须设置该参数,指定购买实例的购买时长。取值可选:[1,2,3,4,5,6,7,8,9,10,11,12,24,36];单位:月。
|
|
2471
2467
|
# -选择按量计费,即 <b>InstanceChargeType</b> 设定为 **POSTPAID_BY_HOUR** 时,该参数仅可配置为 1。
|
|
2472
2468
|
# @type Period: Integer
|
|
2473
2469
|
# @param InstanceChargeType: 实例付费方式。
|
|
2474
2470
|
# - PREPAID:包年包月计费。
|
|
2475
2471
|
# - POSTPAID_BY_HOUR:按量计费。
|
|
2476
2472
|
# @type InstanceChargeType: String
|
|
2477
|
-
# @param MongosCpu:
|
|
2473
|
+
# @param MongosCpu: Mongos CPU 核数,支持1、2、4、8、16。购买分片集群时,必须填写。注意为空时取默认取值为2C。
|
|
2478
2474
|
# @type MongosCpu: Integer
|
|
2479
|
-
# @param MongosMemory:
|
|
2475
|
+
# @param MongosMemory: Mongos 内存大小。- 购买分片集群时,必须填写。- 单位:GB,支持1核2GB、2核4GB、4核8GB、8核16GB、16核32GB。注意为空时取默认取值为4G。
|
|
2480
2476
|
# @type MongosMemory: Integer
|
|
2481
|
-
# @param MongosNum:
|
|
2477
|
+
# @param MongosNum: 指 Mongos 个数,取值范围为[3,32]。若为分片集群实例询价,则该参数必须设置。注意为空时取默认取值为3个节点。
|
|
2482
2478
|
# @type MongosNum: Integer
|
|
2483
|
-
# @param ConfigServerCpu:
|
|
2479
|
+
# @param ConfigServerCpu: 指 ConfigServer CPU核数,取值为1,单位:GB。若为分片集群实例询价,该参数必须设置。
|
|
2484
2480
|
# @type ConfigServerCpu: Integer
|
|
2485
|
-
# @param ConfigServerMemory:
|
|
2481
|
+
# @param ConfigServerMemory: 指 ConfigServer 内存大小,取值为2,单位:GB。若为分片集群实例询价,则该参数必须设置。
|
|
2486
2482
|
# @type ConfigServerMemory: Integer
|
|
2487
|
-
# @param ConfigServerVolume:
|
|
2483
|
+
# @param ConfigServerVolume: 指 ConfigServer 磁盘大小,取值为 20,单位:GB。若为分片集群实例询价,则该参数必须设置。
|
|
2488
2484
|
# @type ConfigServerVolume: Integer
|
|
2489
2485
|
|
|
2490
2486
|
attr_accessor :Zone, :NodeNum, :Memory, :Volume, :MongoVersion, :MachineCode, :GoodsNum, :ClusterType, :ReplicateSetNum, :Period, :InstanceChargeType, :MongosCpu, :MongosMemory, :MongosNum, :ConfigServerCpu, :ConfigServerMemory, :ConfigServerVolume
|
|
@@ -4345,47 +4341,69 @@ module TencentCloud
|
|
|
4345
4341
|
|
|
4346
4342
|
# mongodb售卖规格
|
|
4347
4343
|
class SpecItem < TencentCloud::Common::AbstractModel
|
|
4348
|
-
# @param SpecCode:
|
|
4344
|
+
# @param SpecCode: 规格信息标识。格式如:mongo.HIO10G.128g。由节点类型、规格类型、内存规格三部分组成。
|
|
4345
|
+
# - 节点类型,如下所示。
|
|
4346
|
+
# - mongo:Mongod 节点。
|
|
4347
|
+
# - mongos:Mongos 节点。
|
|
4348
|
+
# - cfgstr:Configserver 节点。
|
|
4349
|
+
# - 规格类型,如下所示。
|
|
4350
|
+
# - HIO10G:通用高HIO万兆型。
|
|
4351
|
+
# - HCD:云盘版类型。
|
|
4352
|
+
# - 内存规格,如下所示:
|
|
4353
|
+
# - 支持4、8、16、32、64、128、240、512。
|
|
4354
|
+
# - 单位g:表示GB。128g则表示128GB。
|
|
4349
4355
|
# @type SpecCode: String
|
|
4350
|
-
# @param Status:
|
|
4356
|
+
# @param Status: 售卖规格有效标志,取值范围如下:
|
|
4357
|
+
# - 0:停止售卖,
|
|
4358
|
+
# - 1:开放售卖。
|
|
4351
4359
|
# @type Status: Integer
|
|
4352
|
-
# @param Cpu:
|
|
4360
|
+
# @param Cpu: 计算资源规格,CPU核数。
|
|
4353
4361
|
# @type Cpu: Integer
|
|
4354
|
-
# @param Memory:
|
|
4362
|
+
# @param Memory: 内存规格,单位为:MB。
|
|
4355
4363
|
# @type Memory: Integer
|
|
4356
|
-
# @param DefaultStorage:
|
|
4364
|
+
# @param DefaultStorage: 默认磁盘规格,单位为:MB。
|
|
4357
4365
|
# @type DefaultStorage: Integer
|
|
4358
|
-
# @param MaxStorage:
|
|
4366
|
+
# @param MaxStorage: 最大磁盘规格,单位为:MB。
|
|
4359
4367
|
# @type MaxStorage: Integer
|
|
4360
|
-
# @param MinStorage:
|
|
4368
|
+
# @param MinStorage: 最小磁盘规格,单位为:MB。
|
|
4361
4369
|
# @type MinStorage: Integer
|
|
4362
|
-
# @param Qps:
|
|
4370
|
+
# @param Qps: 指每秒最大请求次数,单位为:次/秒。
|
|
4363
4371
|
# @type Qps: Integer
|
|
4364
|
-
# @param Conns:
|
|
4372
|
+
# @param Conns: 规格所支持的最大连接数限制。
|
|
4365
4373
|
# @type Conns: Integer
|
|
4366
|
-
# @param MongoVersionCode:
|
|
4374
|
+
# @param MongoVersionCode: 实例存储引擎版本信息。
|
|
4375
|
+
# - MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。
|
|
4376
|
+
# - MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。
|
|
4377
|
+
# - MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
|
|
4378
|
+
# - MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
|
|
4379
|
+
# - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
|
|
4380
|
+
# - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
|
|
4367
4381
|
# @type MongoVersionCode: String
|
|
4368
|
-
# @param MongoVersionValue:
|
|
4382
|
+
# @param MongoVersionValue: 实例版本对应的数字版本。
|
|
4369
4383
|
# @type MongoVersionValue: Integer
|
|
4370
|
-
# @param Version:
|
|
4384
|
+
# @param Version: 实例版本信息。支持:3.6、4.2、4.4、5.0、6.0。
|
|
4371
4385
|
# @type Version: String
|
|
4372
|
-
# @param EngineName:
|
|
4386
|
+
# @param EngineName: 存储引擎。
|
|
4373
4387
|
# @type EngineName: String
|
|
4374
|
-
# @param ClusterType:
|
|
4388
|
+
# @param ClusterType: 集群类型,取值如下:
|
|
4389
|
+
# - 1:分片集群。
|
|
4390
|
+
# - 0:副本集集群。
|
|
4375
4391
|
# @type ClusterType: Integer
|
|
4376
|
-
# @param MinNodeNum:
|
|
4392
|
+
# @param MinNodeNum: 每个副本集最小节点数。
|
|
4377
4393
|
# @type MinNodeNum: Integer
|
|
4378
|
-
# @param MaxNodeNum:
|
|
4394
|
+
# @param MaxNodeNum: 每个副本集最大节点数。
|
|
4379
4395
|
# @type MaxNodeNum: Integer
|
|
4380
|
-
# @param MinReplicateSetNum:
|
|
4396
|
+
# @param MinReplicateSetNum: 最小分片数。
|
|
4381
4397
|
# @type MinReplicateSetNum: Integer
|
|
4382
|
-
# @param MaxReplicateSetNum:
|
|
4398
|
+
# @param MaxReplicateSetNum: 最大分片数。
|
|
4383
4399
|
# @type MaxReplicateSetNum: Integer
|
|
4384
|
-
# @param MinReplicateSetNodeNum:
|
|
4400
|
+
# @param MinReplicateSetNodeNum: 每个分片最小节点数。
|
|
4385
4401
|
# @type MinReplicateSetNodeNum: Integer
|
|
4386
|
-
# @param MaxReplicateSetNodeNum:
|
|
4402
|
+
# @param MaxReplicateSetNodeNum: 每个分片最大节点数。
|
|
4387
4403
|
# @type MaxReplicateSetNodeNum: Integer
|
|
4388
|
-
# @param MachineType:
|
|
4404
|
+
# @param MachineType: 集群的规格类型,取值范围如下:
|
|
4405
|
+
# - HIO10G:通用高HIO万兆型。
|
|
4406
|
+
# - HCD:云盘版类型。
|
|
4389
4407
|
# @type MachineType: String
|
|
4390
4408
|
|
|
4391
4409
|
attr_accessor :SpecCode, :Status, :Cpu, :Memory, :DefaultStorage, :MaxStorage, :MinStorage, :Qps, :Conns, :MongoVersionCode, :MongoVersionValue, :Version, :EngineName, :ClusterType, :MinNodeNum, :MaxNodeNum, :MinReplicateSetNum, :MaxReplicateSetNum, :MinReplicateSetNodeNum, :MaxReplicateSetNodeNum, :MachineType
|
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.885
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-08-
|
|
11
|
+
date: 2024-08-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|