tencentcloud-sdk-cdb 3.0.941 → 3.0.943
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/v20170320/client.rb +2 -2
- data/lib/v20170320/models.rb +7 -5
- 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: 873f165cb9aa41fdcf19a3e77ffe21cdb65d5535
|
4
|
+
data.tar.gz: c8a53588edb8ad527bbc257dd1fa54fd530153d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44c8be33165e7493981684fc19a38c63d305b078209ee6b3f041f852cd92841f1b91335e17f65f93b3c21a6e391efb3d2d1c65d119888ed404d4361cd7a53da6
|
7
|
+
data.tar.gz: df70c61b9a3e6ad58a93d68ef97e2910851f2712dcaee3a32f7de9488612996881046e377aad71101ab380aa5c1f2a11be9153f16827435eb446152bcf80df9c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.943
|
data/lib/v20170320/client.rb
CHANGED
@@ -559,7 +559,7 @@ module TencentCloud
|
|
559
559
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
560
560
|
end
|
561
561
|
|
562
|
-
#
|
562
|
+
# 本接口(CreateDBInstance)用于创建包年包月的云数据库实例(包括主实例、灾备实例和只读实例),可通过传入实例规格、MySQL 版本号、购买时长和数量等信息创建云数据库实例。
|
563
563
|
|
564
564
|
# 该接口为异步接口,您还可以使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口查询该实例的详细信息。当该实例的 Status 为1,且 TaskStatus 为0,表示实例已经发货成功。
|
565
565
|
|
@@ -592,7 +592,7 @@ module TencentCloud
|
|
592
592
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
593
593
|
end
|
594
594
|
|
595
|
-
#
|
595
|
+
# 本接口(CreateDBInstanceHour)用于创建按量计费的实例,可通过传入实例规格、MySQL 版本号和数量等信息创建云数据库实例,支持主实例、灾备实例和只读实例的创建。
|
596
596
|
|
597
597
|
# 该接口为异步接口,您还可以使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口查询该实例的详细信息。当该实例的 Status 为 1,且 TaskStatus 为 0,表示实例已经发货成功。
|
598
598
|
|
data/lib/v20170320/models.rb
CHANGED
@@ -2975,10 +2975,12 @@ module TencentCloud
|
|
2975
2975
|
# @type ClusterTopology: :class:`Tencentcloud::Cdb.v20170320.models.ClusterTopology`
|
2976
2976
|
# @param DiskType: 磁盘类型,基础版或者集群版实例可以指定此参数。CLOUD_SSD 表示 SSD 云硬盘,CLOUD_HSSD 表示增强型 SSD 云硬盘。
|
2977
2977
|
# @type DiskType: String
|
2978
|
+
# @param ClusterType: 集群类型:cage——金融围拢,cdc——CDB ON CDC;dedicate——独享集群
|
2979
|
+
# @type ClusterType: String
|
2978
2980
|
|
2979
|
-
attr_accessor :GoodsNum, :Memory, :Volume, :EngineVersion, :UniqVpcId, :UniqSubnetId, :ProjectId, :Zone, :MasterInstanceId, :InstanceRole, :MasterRegion, :Port, :Password, :ParamList, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :SecurityGroup, :RoGroup, :AutoRenewFlag, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun, :EngineType, :Vips, :DataProtectVolume, :ClusterTopology, :DiskType
|
2981
|
+
attr_accessor :GoodsNum, :Memory, :Volume, :EngineVersion, :UniqVpcId, :UniqSubnetId, :ProjectId, :Zone, :MasterInstanceId, :InstanceRole, :MasterRegion, :Port, :Password, :ParamList, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :SecurityGroup, :RoGroup, :AutoRenewFlag, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun, :EngineType, :Vips, :DataProtectVolume, :ClusterTopology, :DiskType, :ClusterType
|
2980
2982
|
|
2981
|
-
def initialize(goodsnum=nil, memory=nil, volume=nil, engineversion=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, zone=nil, masterinstanceid=nil, instancerole=nil, masterregion=nil, port=nil, password=nil, paramlist=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, securitygroup=nil, rogroup=nil, autorenewflag=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil, dataprotectvolume=nil, clustertopology=nil, disktype=nil)
|
2983
|
+
def initialize(goodsnum=nil, memory=nil, volume=nil, engineversion=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, zone=nil, masterinstanceid=nil, instancerole=nil, masterregion=nil, port=nil, password=nil, paramlist=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, securitygroup=nil, rogroup=nil, autorenewflag=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil, dataprotectvolume=nil, clustertopology=nil, disktype=nil, clustertype=nil)
|
2982
2984
|
@GoodsNum = goodsnum
|
2983
2985
|
@Memory = memory
|
2984
2986
|
@Volume = volume
|
@@ -3019,6 +3021,7 @@ module TencentCloud
|
|
3019
3021
|
@DataProtectVolume = dataprotectvolume
|
3020
3022
|
@ClusterTopology = clustertopology
|
3021
3023
|
@DiskType = disktype
|
3024
|
+
@ClusterType = clustertype
|
3022
3025
|
end
|
3023
3026
|
|
3024
3027
|
def deserialize(params)
|
@@ -3082,6 +3085,7 @@ module TencentCloud
|
|
3082
3085
|
@ClusterTopology.deserialize(params['ClusterTopology'])
|
3083
3086
|
end
|
3084
3087
|
@DiskType = params['DiskType']
|
3088
|
+
@ClusterType = params['ClusterType']
|
3085
3089
|
end
|
3086
3090
|
end
|
3087
3091
|
|
@@ -3132,7 +3136,7 @@ module TencentCloud
|
|
3132
3136
|
# @type Port: Integer
|
3133
3137
|
# @param InstanceRole: 实例类型,默认为 master,支持值包括:master - 表示主实例,dr - 表示灾备实例,ro - 表示只读实例。
|
3134
3138
|
# @type InstanceRole: String
|
3135
|
-
# @param MasterInstanceId: 实例 ID,购买只读实例时必填,该字段表示只读实例的主实例ID,请使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口查询云数据库实例 ID。
|
3139
|
+
# @param MasterInstanceId: 实例 ID,购买只读实例时必填,该字段表示只读实例的主实例 ID,请使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口查询云数据库实例 ID。
|
3136
3140
|
# @type MasterInstanceId: String
|
3137
3141
|
# @param EngineVersion: MySQL 版本,值包括:5.5、5.6、5.7和8.0,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的实例版本。
|
3138
3142
|
# 说明:创建非集群版实例时,请根据需要指定实例版本(推荐5.7或8.0),若此参数不填,则默认值为5.6;若创建的是集群版实例,则此参数仅能指定为5.7或8.0。
|
@@ -11821,10 +11825,8 @@ module TencentCloud
|
|
11821
11825
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11822
11826
|
# @type Zone: String
|
11823
11827
|
# @param InstNodeId: 实例节点ID
|
11824
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11825
11828
|
# @type InstNodeId: String
|
11826
11829
|
# @param InstNodeRole: 节点角色
|
11827
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11828
11830
|
# @type InstNodeRole: String
|
11829
11831
|
|
11830
11832
|
attr_accessor :InstanceId, :InstanceName, :InstanceType, :Status, :Weight, :Region, :Zone, :InstNodeId, :InstNodeRole
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.943
|
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-11-
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|