tencentcloud-sdk-mongodb 3.0.606 → 3.0.607
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 +60 -39
- 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: 45885108f16676628814ac5d39db82b242a4faad
|
|
4
|
+
data.tar.gz: 49c6b7153d07379b6a63bef0cd22f18e4063be23
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 568f4e486534d4bb8a2cdba615bfe2a2b00f22891a10288785d8db4466c525e1ac594cafe1a9383db0d638afb1181b9d6073400477bc130747abe61b7ea3000e
|
|
7
|
+
data.tar.gz: bff9a5ab44fd40766f27677562ebca969ef0d648bdbe23c1abefb448f0bed39093ff6b441d6ca598d772137f97f8c39d8ae81cf08e115ed90dec9b42d205ae48
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.607
|
data/lib/v20190725/models.rb
CHANGED
|
@@ -459,17 +459,13 @@ module TencentCloud
|
|
|
459
459
|
# - 不支持只读灾备实例。
|
|
460
460
|
# - 不能选择基础网络。
|
|
461
461
|
# @type AvailabilityZoneList: Array
|
|
462
|
-
# @param MongosCpu: Mongos CPU
|
|
463
|
-
# - 购买MongoDB 3.6 WiredTiger存储引擎版本以上的分片集群时,可选择性配置该参数。
|
|
464
|
-
# - 若不配置该参数,则根据Mongod节点规格默认适配 Mongos 规格,默认规格免费。
|
|
462
|
+
# @param MongosCpu: Mongos CPU 核数。购买分片集群时,必须填写。
|
|
465
463
|
# @type MongosCpu: Integer
|
|
466
|
-
# @param MongosMemory: Mongos
|
|
467
|
-
|
|
468
|
-
# - 若不配置该参数,则根据Mongod节点规格默认适配 Mongos 规格,默认规格免费。
|
|
464
|
+
# @param MongosMemory: Mongos 内存大小。购买分片集群时,必须填写。
|
|
465
|
+
|
|
469
466
|
# @type MongosMemory: Integer
|
|
470
|
-
# @param MongosNodeNum: Mongos
|
|
471
|
-
|
|
472
|
-
# - 若不配置该参数,则根据Mongod节点规格默认适配 Mongos 规格,默认规格免费。
|
|
467
|
+
# @param MongosNodeNum: Mongos 数量。购买分片集群时,必须填写。
|
|
468
|
+
|
|
473
469
|
# @type MongosNodeNum: Integer
|
|
474
470
|
# @param ReadonlyNodeNum: 只读节点数量,最大不超过7个。
|
|
475
471
|
# @type ReadonlyNodeNum: Integer
|
|
@@ -572,63 +568,88 @@ module TencentCloud
|
|
|
572
568
|
|
|
573
569
|
# CreateDBInstance请求参数结构体
|
|
574
570
|
class CreateDBInstanceRequest < TencentCloud::Common::AbstractModel
|
|
575
|
-
# @param NodeNum:
|
|
571
|
+
# @param NodeNum: 指每个副本集内节点个数。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
|
576
572
|
# @type NodeNum: Integer
|
|
577
|
-
# @param Memory: 实例内存大小,单位:GB
|
|
573
|
+
# @param Memory: 实例内存大小,单位:GB。
|
|
578
574
|
# @type Memory: Integer
|
|
579
|
-
# @param Volume: 实例硬盘大小,单位:GB
|
|
575
|
+
# @param Volume: 实例硬盘大小,单位:GB。
|
|
580
576
|
# @type Volume: Integer
|
|
581
|
-
# @param MongoVersion:
|
|
577
|
+
# @param MongoVersion: 指版本信息。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
|
578
|
+
# - MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。
|
|
579
|
+
# - MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。
|
|
580
|
+
# - MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
|
|
581
|
+
# - MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
|
|
582
582
|
# @type MongoVersion: String
|
|
583
|
-
# @param GoodsNum: 实例数量, 最小值1,最大值为10
|
|
583
|
+
# @param GoodsNum: 实例数量, 最小值1,最大值为10。
|
|
584
584
|
# @type GoodsNum: Integer
|
|
585
|
-
# @param Zone:
|
|
585
|
+
# @param Zone: 可用区信息,输入格式如:ap-guangzhou-2。
|
|
586
|
+
# - 具体信息,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
|
587
|
+
# - 该参数为主可用区,如果多可用区部署,Zone必须是AvailabilityZoneList中的一个。
|
|
586
588
|
# @type Zone: String
|
|
587
|
-
# @param Period: 实例时长,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]
|
|
589
|
+
# @param Period: 实例时长,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
588
590
|
# @type Period: Integer
|
|
589
|
-
# @param MachineCode:
|
|
591
|
+
# @param MachineCode: 机器类型。
|
|
592
|
+
# - HIO:高IO型。
|
|
593
|
+
# - HIO10G:高IO万兆。
|
|
590
594
|
# @type MachineCode: String
|
|
591
|
-
# @param ClusterType:
|
|
595
|
+
# @param ClusterType: 实例架构类型。
|
|
596
|
+
# - REPLSET:副本集。
|
|
597
|
+
# - SHARD:分片集群。
|
|
592
598
|
# @type ClusterType: String
|
|
593
|
-
# @param ReplicateSetNum:
|
|
599
|
+
# @param ReplicateSetNum: 指副本集数量。
|
|
600
|
+
# - 创建副本集实例,该参数只能为1。
|
|
601
|
+
# - 创建分片实例,指分片的数量。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
|
594
602
|
# @type ReplicateSetNum: Integer
|
|
595
|
-
# @param ProjectId: 项目ID
|
|
603
|
+
# @param ProjectId: 项目ID。若不设置该参数,则为默认项目。
|
|
596
604
|
# @type ProjectId: Integer
|
|
597
|
-
# @param VpcId: 私有网络
|
|
605
|
+
# @param VpcId: 私有网络ID。如果不设置该参数,则默认选择基础网络。
|
|
598
606
|
# @type VpcId: String
|
|
599
|
-
# @param SubnetId: 私有网络下的子网 ID
|
|
607
|
+
# @param SubnetId: 私有网络下的子网 ID,如果配置参数 VpcId,则 SubnetId必须配置。
|
|
600
608
|
# @type SubnetId: String
|
|
601
|
-
# @param Password:
|
|
609
|
+
# @param Password: 实例密码。自定义密码长度为8-32个字符,至少包含字母、数字和字符(!@#%^*()_)中的两种。
|
|
602
610
|
# @type Password: String
|
|
603
|
-
# @param Tags:
|
|
611
|
+
# @param Tags: 实例标签信息。
|
|
604
612
|
# @type Tags: Array
|
|
605
|
-
# @param AutoRenewFlag:
|
|
613
|
+
# @param AutoRenewFlag: 自动续费标记。
|
|
614
|
+
# - 0:不自动续费。默认为不自动续费。
|
|
615
|
+
# - 1:自动续费。
|
|
606
616
|
# @type AutoRenewFlag: Integer
|
|
607
|
-
# @param AutoVoucher:
|
|
617
|
+
# @param AutoVoucher: 是否自动选择代金券。
|
|
618
|
+
# - 1:是。
|
|
619
|
+
# - 0:否。默认为0。
|
|
608
620
|
# @type AutoVoucher: Integer
|
|
609
|
-
# @param Clone:
|
|
621
|
+
# @param Clone: 实例类型。
|
|
622
|
+
# - 1:正式实例。
|
|
623
|
+
# - 3:只读实例。
|
|
624
|
+
# - 4:灾备实例。
|
|
610
625
|
# @type Clone: Integer
|
|
611
|
-
# @param Father:
|
|
626
|
+
# @param Father: 父实例 ID。当参数**Clone**为3或者4时,即实例为只读或灾备实例时,该参数必须配置。
|
|
612
627
|
# @type Father: String
|
|
613
|
-
# @param SecurityGroup:
|
|
628
|
+
# @param SecurityGroup: 安全组。
|
|
614
629
|
# @type SecurityGroup: Array
|
|
615
|
-
# @param RestoreTime:
|
|
630
|
+
# @param RestoreTime: 克隆实例回档时间。
|
|
631
|
+
# - 若为克隆实例,则必须配置该参数。输入格式示例:2021-08-13 16:30:00。
|
|
632
|
+
# - 回档时间范围:仅能回档7天内时间点的数据。
|
|
616
633
|
# @type RestoreTime: String
|
|
617
|
-
# @param InstanceName:
|
|
634
|
+
# @param InstanceName: 实例名称。仅支持长度为60个字符的中文、英文、数字、下划线_、分隔符- 。
|
|
618
635
|
# @type InstanceName: String
|
|
619
|
-
# @param AvailabilityZoneList:
|
|
636
|
+
# @param AvailabilityZoneList: 多可用区部署的节点列表。具体信息,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)获取。
|
|
637
|
+
# - 多可用区部署节点只能部署在3个不同可用区。不支持将集群的大多数节点部署在同一个可用区。例如:3节点集群不支持2个节点部署在同一个区。
|
|
638
|
+
# - 不支持4.2及以上版本。
|
|
639
|
+
# - 不支持只读灾备实例。
|
|
640
|
+
# - 不能选择基础网络。
|
|
620
641
|
# @type AvailabilityZoneList: Array
|
|
621
|
-
# @param MongosCpu:
|
|
642
|
+
# @param MongosCpu: Mongos CPU 核数,购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
|
622
643
|
# @type MongosCpu: Integer
|
|
623
|
-
# @param MongosMemory:
|
|
644
|
+
# @param MongosMemory: Mongos 内存大小。购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
|
624
645
|
# @type MongosMemory: Integer
|
|
625
|
-
# @param MongosNodeNum:
|
|
646
|
+
# @param MongosNodeNum: Mongos 数量。购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。为了保障高可用,取值范围为[3,32]。
|
|
626
647
|
# @type MongosNodeNum: Integer
|
|
627
|
-
# @param ReadonlyNodeNum:
|
|
648
|
+
# @param ReadonlyNodeNum: 只读节点数量,取值范围[0,5]。
|
|
628
649
|
# @type ReadonlyNodeNum: Integer
|
|
629
|
-
# @param ReadonlyNodeAvailabilityZoneList:
|
|
650
|
+
# @param ReadonlyNodeAvailabilityZoneList: 指只读节点所属可用区。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。
|
|
630
651
|
# @type ReadonlyNodeAvailabilityZoneList: Array
|
|
631
|
-
# @param HiddenZone: Hidden
|
|
652
|
+
# @param HiddenZone: Hidden节点所属可用区。跨可用区部署实例,必须配置该参数。
|
|
632
653
|
# @type HiddenZone: String
|
|
633
654
|
|
|
634
655
|
attr_accessor :NodeNum, :Memory, :Volume, :MongoVersion, :GoodsNum, :Zone, :Period, :MachineCode, :ClusterType, :ReplicateSetNum, :ProjectId, :VpcId, :SubnetId, :Password, :Tags, :AutoRenewFlag, :AutoVoucher, :Clone, :Father, :SecurityGroup, :RestoreTime, :InstanceName, :AvailabilityZoneList, :MongosCpu, :MongosMemory, :MongosNodeNum, :ReadonlyNodeNum, :ReadonlyNodeAvailabilityZoneList, :HiddenZone
|
|
@@ -811,7 +832,7 @@ module TencentCloud
|
|
|
811
832
|
# @type UnitPrice: Float
|
|
812
833
|
# @param OriginalPrice: 原价
|
|
813
834
|
# @type OriginalPrice: Float
|
|
814
|
-
# @param DiscountPrice:
|
|
835
|
+
# @param DiscountPrice: 折扣价
|
|
815
836
|
# @type DiscountPrice: Float
|
|
816
837
|
|
|
817
838
|
attr_accessor :UnitPrice, :OriginalPrice, :DiscountPrice
|
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.607
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-07-
|
|
11
|
+
date: 2023-07-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|