tencentcloud-sdk-cynosdb 3.0.806 → 3.0.807
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/v20190107/models.rb +74 -8
- 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: 9757e20dce5735b77bf082e0ebbc31edbc34908c
|
4
|
+
data.tar.gz: 36b71b1d6cd4f4c71678a01bd48c53469c7fb075
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c718fb3282e5ecdbc2510a2c8292e488b01d7ba480335963e9ec2bbfc4fcdda9be421d5293449b815d23fb72e0458fab893a69d0950d2a7f2e76b5fdccceeba
|
7
|
+
data.tar.gz: 0f11cb65b0c8eec1617760b57d395323877baa06058d2fe6a0883501a2f7e3f0cd6f23af43bf297fc4426b3bcd3d4db606c4be9395e94ca0a54091c59f73690d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.807
|
data/lib/v20190107/models.rb
CHANGED
@@ -154,17 +154,21 @@ module TencentCloud
|
|
154
154
|
# @type ClusterId: String
|
155
155
|
# @param SlaveZone: 从可用区
|
156
156
|
# @type SlaveZone: String
|
157
|
+
# @param BinlogSyncWay: binlog同步方式。默认值:async。可选值:sync、semisync、async
|
158
|
+
# @type BinlogSyncWay: String
|
157
159
|
|
158
|
-
attr_accessor :ClusterId, :SlaveZone
|
160
|
+
attr_accessor :ClusterId, :SlaveZone, :BinlogSyncWay
|
159
161
|
|
160
|
-
def initialize(clusterid=nil, slavezone=nil)
|
162
|
+
def initialize(clusterid=nil, slavezone=nil, binlogsyncway=nil)
|
161
163
|
@ClusterId = clusterid
|
162
164
|
@SlaveZone = slavezone
|
165
|
+
@BinlogSyncWay = binlogsyncway
|
163
166
|
end
|
164
167
|
|
165
168
|
def deserialize(params)
|
166
169
|
@ClusterId = params['ClusterId']
|
167
170
|
@SlaveZone = params['SlaveZone']
|
171
|
+
@BinlogSyncWay = params['BinlogSyncWay']
|
168
172
|
end
|
169
173
|
end
|
170
174
|
|
@@ -1477,14 +1481,22 @@ module TencentCloud
|
|
1477
1481
|
# @param NewSlaveZone: 新从可用区
|
1478
1482
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1479
1483
|
# @type NewSlaveZone: Array
|
1484
|
+
# @param NewSlaveZoneAttr: 新从可用区属性
|
1485
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1486
|
+
# @type NewSlaveZoneAttr: Array
|
1487
|
+
# @param OldSlaveZoneAttr: 旧可用区属性
|
1488
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1489
|
+
# @type OldSlaveZoneAttr: Array
|
1480
1490
|
|
1481
|
-
attr_accessor :OldMasterZone, :OldSlaveZone, :NewMasterZone, :NewSlaveZone
|
1491
|
+
attr_accessor :OldMasterZone, :OldSlaveZone, :NewMasterZone, :NewSlaveZone, :NewSlaveZoneAttr, :OldSlaveZoneAttr
|
1482
1492
|
|
1483
|
-
def initialize(oldmasterzone=nil, oldslavezone=nil, newmasterzone=nil, newslavezone=nil)
|
1493
|
+
def initialize(oldmasterzone=nil, oldslavezone=nil, newmasterzone=nil, newslavezone=nil, newslavezoneattr=nil, oldslavezoneattr=nil)
|
1484
1494
|
@OldMasterZone = oldmasterzone
|
1485
1495
|
@OldSlaveZone = oldslavezone
|
1486
1496
|
@NewMasterZone = newmasterzone
|
1487
1497
|
@NewSlaveZone = newslavezone
|
1498
|
+
@NewSlaveZoneAttr = newslavezoneattr
|
1499
|
+
@OldSlaveZoneAttr = oldslavezoneattr
|
1488
1500
|
end
|
1489
1501
|
|
1490
1502
|
def deserialize(params)
|
@@ -1492,6 +1504,22 @@ module TencentCloud
|
|
1492
1504
|
@OldSlaveZone = params['OldSlaveZone']
|
1493
1505
|
@NewMasterZone = params['NewMasterZone']
|
1494
1506
|
@NewSlaveZone = params['NewSlaveZone']
|
1507
|
+
unless params['NewSlaveZoneAttr'].nil?
|
1508
|
+
@NewSlaveZoneAttr = []
|
1509
|
+
params['NewSlaveZoneAttr'].each do |i|
|
1510
|
+
slavezoneattritem_tmp = SlaveZoneAttrItem.new
|
1511
|
+
slavezoneattritem_tmp.deserialize(i)
|
1512
|
+
@NewSlaveZoneAttr << slavezoneattritem_tmp
|
1513
|
+
end
|
1514
|
+
end
|
1515
|
+
unless params['OldSlaveZoneAttr'].nil?
|
1516
|
+
@OldSlaveZoneAttr = []
|
1517
|
+
params['OldSlaveZoneAttr'].each do |i|
|
1518
|
+
slavezoneattritem_tmp = SlaveZoneAttrItem.new
|
1519
|
+
slavezoneattritem_tmp.deserialize(i)
|
1520
|
+
@OldSlaveZoneAttr << slavezoneattritem_tmp
|
1521
|
+
end
|
1522
|
+
end
|
1495
1523
|
end
|
1496
1524
|
end
|
1497
1525
|
|
@@ -2857,10 +2885,13 @@ module TencentCloud
|
|
2857
2885
|
# @param NetworkType: 节点网络类型
|
2858
2886
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2859
2887
|
# @type NetworkType: String
|
2888
|
+
# @param SlaveZoneAttr: 备可用区属性
|
2889
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2890
|
+
# @type SlaveZoneAttr: Array
|
2860
2891
|
|
2861
|
-
attr_accessor :ClusterId, :ClusterName, :Region, :Zone, :PhysicalZone, :Status, :StatusDesc, :ServerlessStatus, :StorageId, :Storage, :MaxStorageSize, :MinStorageSize, :StoragePayMode, :VpcName, :VpcId, :SubnetName, :SubnetId, :Charset, :CreateTime, :DbType, :DbMode, :DbVersion, :StorageLimit, :UsedStorage, :Vip, :Vport, :RoAddr, :Ability, :CynosVersion, :BusinessType, :HasSlaveZone, :IsFreeze, :Tasks, :MasterZone, :SlaveZones, :InstanceSet, :PayMode, :PeriodEndTime, :ProjectID, :ResourceTags, :ProxyStatus, :LogBin, :IsSkipTrade, :PitrType, :IsOpenPasswordComplexity, :NetworkStatus, :ResourcePackages, :RenewFlag, :NetworkType
|
2892
|
+
attr_accessor :ClusterId, :ClusterName, :Region, :Zone, :PhysicalZone, :Status, :StatusDesc, :ServerlessStatus, :StorageId, :Storage, :MaxStorageSize, :MinStorageSize, :StoragePayMode, :VpcName, :VpcId, :SubnetName, :SubnetId, :Charset, :CreateTime, :DbType, :DbMode, :DbVersion, :StorageLimit, :UsedStorage, :Vip, :Vport, :RoAddr, :Ability, :CynosVersion, :BusinessType, :HasSlaveZone, :IsFreeze, :Tasks, :MasterZone, :SlaveZones, :InstanceSet, :PayMode, :PeriodEndTime, :ProjectID, :ResourceTags, :ProxyStatus, :LogBin, :IsSkipTrade, :PitrType, :IsOpenPasswordComplexity, :NetworkStatus, :ResourcePackages, :RenewFlag, :NetworkType, :SlaveZoneAttr
|
2862
2893
|
|
2863
|
-
def initialize(clusterid=nil, clustername=nil, region=nil, zone=nil, physicalzone=nil, status=nil, statusdesc=nil, serverlessstatus=nil, storageid=nil, storage=nil, maxstoragesize=nil, minstoragesize=nil, storagepaymode=nil, vpcname=nil, vpcid=nil, subnetname=nil, subnetid=nil, charset=nil, createtime=nil, dbtype=nil, dbmode=nil, dbversion=nil, storagelimit=nil, usedstorage=nil, vip=nil, vport=nil, roaddr=nil, ability=nil, cynosversion=nil, businesstype=nil, hasslavezone=nil, isfreeze=nil, tasks=nil, masterzone=nil, slavezones=nil, instanceset=nil, paymode=nil, periodendtime=nil, projectid=nil, resourcetags=nil, proxystatus=nil, logbin=nil, isskiptrade=nil, pitrtype=nil, isopenpasswordcomplexity=nil, networkstatus=nil, resourcepackages=nil, renewflag=nil, networktype=nil)
|
2894
|
+
def initialize(clusterid=nil, clustername=nil, region=nil, zone=nil, physicalzone=nil, status=nil, statusdesc=nil, serverlessstatus=nil, storageid=nil, storage=nil, maxstoragesize=nil, minstoragesize=nil, storagepaymode=nil, vpcname=nil, vpcid=nil, subnetname=nil, subnetid=nil, charset=nil, createtime=nil, dbtype=nil, dbmode=nil, dbversion=nil, storagelimit=nil, usedstorage=nil, vip=nil, vport=nil, roaddr=nil, ability=nil, cynosversion=nil, businesstype=nil, hasslavezone=nil, isfreeze=nil, tasks=nil, masterzone=nil, slavezones=nil, instanceset=nil, paymode=nil, periodendtime=nil, projectid=nil, resourcetags=nil, proxystatus=nil, logbin=nil, isskiptrade=nil, pitrtype=nil, isopenpasswordcomplexity=nil, networkstatus=nil, resourcepackages=nil, renewflag=nil, networktype=nil, slavezoneattr=nil)
|
2864
2895
|
@ClusterId = clusterid
|
2865
2896
|
@ClusterName = clustername
|
2866
2897
|
@Region = region
|
@@ -2910,6 +2941,7 @@ module TencentCloud
|
|
2910
2941
|
@ResourcePackages = resourcepackages
|
2911
2942
|
@RenewFlag = renewflag
|
2912
2943
|
@NetworkType = networktype
|
2944
|
+
@SlaveZoneAttr = slavezoneattr
|
2913
2945
|
end
|
2914
2946
|
|
2915
2947
|
def deserialize(params)
|
@@ -3000,6 +3032,14 @@ module TencentCloud
|
|
3000
3032
|
end
|
3001
3033
|
@RenewFlag = params['RenewFlag']
|
3002
3034
|
@NetworkType = params['NetworkType']
|
3035
|
+
unless params['SlaveZoneAttr'].nil?
|
3036
|
+
@SlaveZoneAttr = []
|
3037
|
+
params['SlaveZoneAttr'].each do |i|
|
3038
|
+
slavezoneattritem_tmp = SlaveZoneAttrItem.new
|
3039
|
+
slavezoneattritem_tmp.deserialize(i)
|
3040
|
+
@SlaveZoneAttr << slavezoneattritem_tmp
|
3041
|
+
end
|
3042
|
+
end
|
3003
3043
|
end
|
3004
3044
|
end
|
3005
3045
|
|
@@ -8701,19 +8741,23 @@ module TencentCloud
|
|
8701
8741
|
# @type OldSlaveZone: String
|
8702
8742
|
# @param NewSlaveZone: 新从可用区
|
8703
8743
|
# @type NewSlaveZone: String
|
8744
|
+
# @param BinlogSyncWay: binlog同步方式。默认值:async。可选值:sync、semisync、async
|
8745
|
+
# @type BinlogSyncWay: String
|
8704
8746
|
|
8705
|
-
attr_accessor :ClusterId, :OldSlaveZone, :NewSlaveZone
|
8747
|
+
attr_accessor :ClusterId, :OldSlaveZone, :NewSlaveZone, :BinlogSyncWay
|
8706
8748
|
|
8707
|
-
def initialize(clusterid=nil, oldslavezone=nil, newslavezone=nil)
|
8749
|
+
def initialize(clusterid=nil, oldslavezone=nil, newslavezone=nil, binlogsyncway=nil)
|
8708
8750
|
@ClusterId = clusterid
|
8709
8751
|
@OldSlaveZone = oldslavezone
|
8710
8752
|
@NewSlaveZone = newslavezone
|
8753
|
+
@BinlogSyncWay = binlogsyncway
|
8711
8754
|
end
|
8712
8755
|
|
8713
8756
|
def deserialize(params)
|
8714
8757
|
@ClusterId = params['ClusterId']
|
8715
8758
|
@OldSlaveZone = params['OldSlaveZone']
|
8716
8759
|
@NewSlaveZone = params['NewSlaveZone']
|
8760
|
+
@BinlogSyncWay = params['BinlogSyncWay']
|
8717
8761
|
end
|
8718
8762
|
end
|
8719
8763
|
|
@@ -12002,6 +12046,28 @@ module TencentCloud
|
|
12002
12046
|
end
|
12003
12047
|
end
|
12004
12048
|
|
12049
|
+
# 可用区属性项
|
12050
|
+
class SlaveZoneAttrItem < TencentCloud::Common::AbstractModel
|
12051
|
+
# @param Zone: 可用区
|
12052
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12053
|
+
# @type Zone: String
|
12054
|
+
# @param BinlogSyncWay: binlog同步方式
|
12055
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12056
|
+
# @type BinlogSyncWay: String
|
12057
|
+
|
12058
|
+
attr_accessor :Zone, :BinlogSyncWay
|
12059
|
+
|
12060
|
+
def initialize(zone=nil, binlogsyncway=nil)
|
12061
|
+
@Zone = zone
|
12062
|
+
@BinlogSyncWay = binlogsyncway
|
12063
|
+
end
|
12064
|
+
|
12065
|
+
def deserialize(params)
|
12066
|
+
@Zone = params['Zone']
|
12067
|
+
@BinlogSyncWay = params['BinlogSyncWay']
|
12068
|
+
end
|
12069
|
+
end
|
12070
|
+
|
12005
12071
|
# 备可用区库存信息
|
12006
12072
|
class SlaveZoneStockInfo < TencentCloud::Common::AbstractModel
|
12007
12073
|
# @param SlaveZone: 备可用区
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cynosdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.807
|
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-04-
|
11
|
+
date: 2024-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|