tencentcloud-sdk-cdb 3.0.408 → 3.0.409
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 +0 -24
- data/lib/v20170320/models.rb +22 -305
- 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: 9794af5cb4417ac32cdcef64ef0534e6dff0bb64
|
4
|
+
data.tar.gz: 0582dfddba2ba17286c78a81ab88736b6cbbac46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 410a73307ffa01f9c65c07e61df4aa76753fc61bac929c19c56df884694f90286eccbddce755adb522aef6772086fd2239735247e168fab42a992cb586c13d9d
|
7
|
+
data.tar.gz: 85f3a0f866208d77f7c67d10aeb95b37b00adefa63d3666fd750b78d6c7d5d29f636ea4f82c6f22af8c965f2efd64dfb301bbee930fcd14bd00f43d4a00cae31
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.409
|
data/lib/v20170320/client.rb
CHANGED
@@ -1374,30 +1374,6 @@ module TencentCloud
|
|
1374
1374
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1375
1375
|
end
|
1376
1376
|
|
1377
|
-
# 本接口(DescribeDBZoneConfig)用于查询可创建的云数据库各地域可售卖的规格配置。
|
1378
|
-
|
1379
|
-
# @param request: Request instance for DescribeDBZoneConfig.
|
1380
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeDBZoneConfigRequest`
|
1381
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeDBZoneConfigResponse`
|
1382
|
-
def DescribeDBZoneConfig(request)
|
1383
|
-
body = send_request('DescribeDBZoneConfig', request.serialize)
|
1384
|
-
response = JSON.parse(body)
|
1385
|
-
if response['Response'].key?('Error') == false
|
1386
|
-
model = DescribeDBZoneConfigResponse.new
|
1387
|
-
model.deserialize(response['Response'])
|
1388
|
-
model
|
1389
|
-
else
|
1390
|
-
code = response['Response']['Error']['Code']
|
1391
|
-
message = response['Response']['Error']['Message']
|
1392
|
-
reqid = response['Response']['RequestId']
|
1393
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1394
|
-
end
|
1395
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1396
|
-
raise e
|
1397
|
-
rescue StandardError => e
|
1398
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1399
|
-
end
|
1400
|
-
|
1401
1377
|
# 本接口(DescribeDataBackupOverview)用于查询用户在当前地域总的数据备份概览。
|
1402
1378
|
|
1403
1379
|
# @param request: Request instance for DescribeDataBackupOverview.
|
data/lib/v20170320/models.rb
CHANGED
@@ -3675,24 +3675,32 @@ module TencentCloud
|
|
3675
3675
|
|
3676
3676
|
# DescribeBinlogBackupOverview返回参数结构体
|
3677
3677
|
class DescribeBinlogBackupOverviewResponse < TencentCloud::Common::AbstractModel
|
3678
|
-
# @param BinlogBackupVolume:
|
3678
|
+
# @param BinlogBackupVolume: 总的日志备份容量,包含异地日志备份(单位为字节)。
|
3679
3679
|
# @type BinlogBackupVolume: Integer
|
3680
|
-
# @param BinlogBackupCount:
|
3680
|
+
# @param BinlogBackupCount: 总的日志备份个数,包含异地日志备份。
|
3681
3681
|
# @type BinlogBackupCount: Integer
|
3682
|
+
# @param RemoteBinlogVolume: 异地日志备份容量(单位为字节)。
|
3683
|
+
# @type RemoteBinlogVolume: Integer
|
3684
|
+
# @param RemoteBinlogCount: 异地日志备份个数。
|
3685
|
+
# @type RemoteBinlogCount: Integer
|
3682
3686
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3683
3687
|
# @type RequestId: String
|
3684
3688
|
|
3685
|
-
attr_accessor :BinlogBackupVolume, :BinlogBackupCount, :RequestId
|
3689
|
+
attr_accessor :BinlogBackupVolume, :BinlogBackupCount, :RemoteBinlogVolume, :RemoteBinlogCount, :RequestId
|
3686
3690
|
|
3687
|
-
def initialize(binlogbackupvolume=nil, binlogbackupcount=nil, requestid=nil)
|
3691
|
+
def initialize(binlogbackupvolume=nil, binlogbackupcount=nil, remotebinlogvolume=nil, remotebinlogcount=nil, requestid=nil)
|
3688
3692
|
@BinlogBackupVolume = binlogbackupvolume
|
3689
3693
|
@BinlogBackupCount = binlogbackupcount
|
3694
|
+
@RemoteBinlogVolume = remotebinlogvolume
|
3695
|
+
@RemoteBinlogCount = remotebinlogcount
|
3690
3696
|
@RequestId = requestid
|
3691
3697
|
end
|
3692
3698
|
|
3693
3699
|
def deserialize(params)
|
3694
3700
|
@BinlogBackupVolume = params['BinlogBackupVolume']
|
3695
3701
|
@BinlogBackupCount = params['BinlogBackupCount']
|
3702
|
+
@RemoteBinlogVolume = params['RemoteBinlogVolume']
|
3703
|
+
@RemoteBinlogCount = params['RemoteBinlogCount']
|
3696
3704
|
@RequestId = params['RequestId']
|
3697
3705
|
end
|
3698
3706
|
end
|
@@ -4611,48 +4619,6 @@ module TencentCloud
|
|
4611
4619
|
end
|
4612
4620
|
end
|
4613
4621
|
|
4614
|
-
# DescribeDBZoneConfig请求参数结构体
|
4615
|
-
class DescribeDBZoneConfigRequest < TencentCloud::Common::AbstractModel
|
4616
|
-
|
4617
|
-
|
4618
|
-
def initialize()
|
4619
|
-
end
|
4620
|
-
|
4621
|
-
def deserialize(params)
|
4622
|
-
end
|
4623
|
-
end
|
4624
|
-
|
4625
|
-
# DescribeDBZoneConfig返回参数结构体
|
4626
|
-
class DescribeDBZoneConfigResponse < TencentCloud::Common::AbstractModel
|
4627
|
-
# @param TotalCount: 可售卖地域配置数量
|
4628
|
-
# @type TotalCount: Integer
|
4629
|
-
# @param Items: 可售卖地域配置详情
|
4630
|
-
# @type Items: Array
|
4631
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4632
|
-
# @type RequestId: String
|
4633
|
-
|
4634
|
-
attr_accessor :TotalCount, :Items, :RequestId
|
4635
|
-
|
4636
|
-
def initialize(totalcount=nil, items=nil, requestid=nil)
|
4637
|
-
@TotalCount = totalcount
|
4638
|
-
@Items = items
|
4639
|
-
@RequestId = requestid
|
4640
|
-
end
|
4641
|
-
|
4642
|
-
def deserialize(params)
|
4643
|
-
@TotalCount = params['TotalCount']
|
4644
|
-
unless params['Items'].nil?
|
4645
|
-
@Items = []
|
4646
|
-
params['Items'].each do |i|
|
4647
|
-
regionsellconf_tmp = RegionSellConf.new
|
4648
|
-
regionsellconf_tmp.deserialize(i)
|
4649
|
-
@Items << regionsellconf_tmp
|
4650
|
-
end
|
4651
|
-
end
|
4652
|
-
@RequestId = params['RequestId']
|
4653
|
-
end
|
4654
|
-
end
|
4655
|
-
|
4656
4622
|
# DescribeDataBackupOverview请求参数结构体
|
4657
4623
|
class DescribeDataBackupOverviewRequest < TencentCloud::Common::AbstractModel
|
4658
4624
|
# @param Product: 需要查询的云数据库产品类型,目前仅支持 "mysql"。
|
@@ -4683,18 +4649,24 @@ module TencentCloud
|
|
4683
4649
|
# @type ManualBackupVolume: Integer
|
4684
4650
|
# @param ManualBackupCount: 当前地域的手动备份总个数。
|
4685
4651
|
# @type ManualBackupCount: Integer
|
4652
|
+
# @param RemoteBackupVolume: 当前地域异地备份总容量。
|
4653
|
+
# @type RemoteBackupVolume: Integer
|
4654
|
+
# @param RemoteBackupCount: 当前地域异地备份总个数。
|
4655
|
+
# @type RemoteBackupCount: Integer
|
4686
4656
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4687
4657
|
# @type RequestId: String
|
4688
4658
|
|
4689
|
-
attr_accessor :DataBackupVolume, :DataBackupCount, :AutoBackupVolume, :AutoBackupCount, :ManualBackupVolume, :ManualBackupCount, :RequestId
|
4659
|
+
attr_accessor :DataBackupVolume, :DataBackupCount, :AutoBackupVolume, :AutoBackupCount, :ManualBackupVolume, :ManualBackupCount, :RemoteBackupVolume, :RemoteBackupCount, :RequestId
|
4690
4660
|
|
4691
|
-
def initialize(databackupvolume=nil, databackupcount=nil, autobackupvolume=nil, autobackupcount=nil, manualbackupvolume=nil, manualbackupcount=nil, requestid=nil)
|
4661
|
+
def initialize(databackupvolume=nil, databackupcount=nil, autobackupvolume=nil, autobackupcount=nil, manualbackupvolume=nil, manualbackupcount=nil, remotebackupvolume=nil, remotebackupcount=nil, requestid=nil)
|
4692
4662
|
@DataBackupVolume = databackupvolume
|
4693
4663
|
@DataBackupCount = databackupcount
|
4694
4664
|
@AutoBackupVolume = autobackupvolume
|
4695
4665
|
@AutoBackupCount = autobackupcount
|
4696
4666
|
@ManualBackupVolume = manualbackupvolume
|
4697
4667
|
@ManualBackupCount = manualbackupcount
|
4668
|
+
@RemoteBackupVolume = remotebackupvolume
|
4669
|
+
@RemoteBackupCount = remotebackupcount
|
4698
4670
|
@RequestId = requestid
|
4699
4671
|
end
|
4700
4672
|
|
@@ -4705,6 +4677,8 @@ module TencentCloud
|
|
4705
4677
|
@AutoBackupCount = params['AutoBackupCount']
|
4706
4678
|
@ManualBackupVolume = params['ManualBackupVolume']
|
4707
4679
|
@ManualBackupCount = params['ManualBackupCount']
|
4680
|
+
@RemoteBackupVolume = params['RemoteBackupVolume']
|
4681
|
+
@RemoteBackupCount = params['RemoteBackupCount']
|
4708
4682
|
@RequestId = params['RequestId']
|
4709
4683
|
end
|
4710
4684
|
end
|
@@ -9145,45 +9119,6 @@ module TencentCloud
|
|
9145
9119
|
end
|
9146
9120
|
end
|
9147
9121
|
|
9148
|
-
# 地域售卖配置
|
9149
|
-
class RegionSellConf < TencentCloud::Common::AbstractModel
|
9150
|
-
# @param RegionName: 地域中文名称
|
9151
|
-
# @type RegionName: String
|
9152
|
-
# @param Area: 所属大区
|
9153
|
-
# @type Area: String
|
9154
|
-
# @param IsDefaultRegion: 是否为默认地域
|
9155
|
-
# @type IsDefaultRegion: Integer
|
9156
|
-
# @param Region: 地域名称
|
9157
|
-
# @type Region: String
|
9158
|
-
# @param ZonesConf: 可用区售卖配置
|
9159
|
-
# @type ZonesConf: Array
|
9160
|
-
|
9161
|
-
attr_accessor :RegionName, :Area, :IsDefaultRegion, :Region, :ZonesConf
|
9162
|
-
|
9163
|
-
def initialize(regionname=nil, area=nil, isdefaultregion=nil, region=nil, zonesconf=nil)
|
9164
|
-
@RegionName = regionname
|
9165
|
-
@Area = area
|
9166
|
-
@IsDefaultRegion = isdefaultregion
|
9167
|
-
@Region = region
|
9168
|
-
@ZonesConf = zonesconf
|
9169
|
-
end
|
9170
|
-
|
9171
|
-
def deserialize(params)
|
9172
|
-
@RegionName = params['RegionName']
|
9173
|
-
@Area = params['Area']
|
9174
|
-
@IsDefaultRegion = params['IsDefaultRegion']
|
9175
|
-
@Region = params['Region']
|
9176
|
-
unless params['ZonesConf'].nil?
|
9177
|
-
@ZonesConf = []
|
9178
|
-
params['ZonesConf'].each do |i|
|
9179
|
-
zonesellconf_tmp = ZoneSellConf.new
|
9180
|
-
zonesellconf_tmp.deserialize(i)
|
9181
|
-
@ZonesConf << zonesellconf_tmp
|
9182
|
-
end
|
9183
|
-
end
|
9184
|
-
end
|
9185
|
-
end
|
9186
|
-
|
9187
9122
|
# ReleaseIsolatedDBInstances请求参数结构体
|
9188
9123
|
class ReleaseIsolatedDBInstancesRequest < TencentCloud::Common::AbstractModel
|
9189
9124
|
# @param InstanceIds: 实例 ID 数组,单个实例 ID 格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
@@ -9948,120 +9883,6 @@ module TencentCloud
|
|
9948
9883
|
end
|
9949
9884
|
end
|
9950
9885
|
|
9951
|
-
# 售卖配置详情
|
9952
|
-
class SellConfig < TencentCloud::Common::AbstractModel
|
9953
|
-
# @param Device: 设备类型(废弃)
|
9954
|
-
# @type Device: String
|
9955
|
-
# @param Type: 售卖规格描述(废弃)
|
9956
|
-
# @type Type: String
|
9957
|
-
# @param CdbType: 实例类型(废弃)
|
9958
|
-
# @type CdbType: String
|
9959
|
-
# @param Memory: 内存大小,单位为MB
|
9960
|
-
# @type Memory: Integer
|
9961
|
-
# @param Cpu: CPU核心数
|
9962
|
-
# @type Cpu: Integer
|
9963
|
-
# @param VolumeMin: 磁盘最小规格,单位为GB
|
9964
|
-
# @type VolumeMin: Integer
|
9965
|
-
# @param VolumeMax: 磁盘最大规格,单位为GB
|
9966
|
-
# @type VolumeMax: Integer
|
9967
|
-
# @param VolumeStep: 磁盘步长,单位为GB
|
9968
|
-
# @type VolumeStep: Integer
|
9969
|
-
# @param Connection: 链接数
|
9970
|
-
# @type Connection: Integer
|
9971
|
-
# @param Qps: 每秒查询数量
|
9972
|
-
# @type Qps: Integer
|
9973
|
-
# @param Iops: 每秒IO数量
|
9974
|
-
# @type Iops: Integer
|
9975
|
-
# @param Info: 应用场景描述
|
9976
|
-
# @type Info: String
|
9977
|
-
# @param Status: 状态值,0 表示该规格对外售卖
|
9978
|
-
# @type Status: Integer
|
9979
|
-
# @param Tag: 标签值(废弃)
|
9980
|
-
# @type Tag: Integer
|
9981
|
-
# @param DeviceType: 实例类型,可能的取值范围有:UNIVERSAL (通用型), EXCLUSIVE (独享型), BASIC (基础型)
|
9982
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9983
|
-
# @type DeviceType: String
|
9984
|
-
# @param DeviceTypeName: 实例类型描述,可能的取值范围有:通用型, 独享型, 基础型
|
9985
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9986
|
-
# @type DeviceTypeName: String
|
9987
|
-
# @param EngineType: 引擎类型描述,可能的取值范围有:Innodb,RocksDB
|
9988
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9989
|
-
# @type EngineType: String
|
9990
|
-
|
9991
|
-
attr_accessor :Device, :Type, :CdbType, :Memory, :Cpu, :VolumeMin, :VolumeMax, :VolumeStep, :Connection, :Qps, :Iops, :Info, :Status, :Tag, :DeviceType, :DeviceTypeName, :EngineType
|
9992
|
-
|
9993
|
-
def initialize(device=nil, type=nil, cdbtype=nil, memory=nil, cpu=nil, volumemin=nil, volumemax=nil, volumestep=nil, connection=nil, qps=nil, iops=nil, info=nil, status=nil, tag=nil, devicetype=nil, devicetypename=nil, enginetype=nil)
|
9994
|
-
@Device = device
|
9995
|
-
@Type = type
|
9996
|
-
@CdbType = cdbtype
|
9997
|
-
@Memory = memory
|
9998
|
-
@Cpu = cpu
|
9999
|
-
@VolumeMin = volumemin
|
10000
|
-
@VolumeMax = volumemax
|
10001
|
-
@VolumeStep = volumestep
|
10002
|
-
@Connection = connection
|
10003
|
-
@Qps = qps
|
10004
|
-
@Iops = iops
|
10005
|
-
@Info = info
|
10006
|
-
@Status = status
|
10007
|
-
@Tag = tag
|
10008
|
-
@DeviceType = devicetype
|
10009
|
-
@DeviceTypeName = devicetypename
|
10010
|
-
@EngineType = enginetype
|
10011
|
-
end
|
10012
|
-
|
10013
|
-
def deserialize(params)
|
10014
|
-
@Device = params['Device']
|
10015
|
-
@Type = params['Type']
|
10016
|
-
@CdbType = params['CdbType']
|
10017
|
-
@Memory = params['Memory']
|
10018
|
-
@Cpu = params['Cpu']
|
10019
|
-
@VolumeMin = params['VolumeMin']
|
10020
|
-
@VolumeMax = params['VolumeMax']
|
10021
|
-
@VolumeStep = params['VolumeStep']
|
10022
|
-
@Connection = params['Connection']
|
10023
|
-
@Qps = params['Qps']
|
10024
|
-
@Iops = params['Iops']
|
10025
|
-
@Info = params['Info']
|
10026
|
-
@Status = params['Status']
|
10027
|
-
@Tag = params['Tag']
|
10028
|
-
@DeviceType = params['DeviceType']
|
10029
|
-
@DeviceTypeName = params['DeviceTypeName']
|
10030
|
-
@EngineType = params['EngineType']
|
10031
|
-
end
|
10032
|
-
end
|
10033
|
-
|
10034
|
-
# 售卖实例类型
|
10035
|
-
class SellType < TencentCloud::Common::AbstractModel
|
10036
|
-
# @param TypeName: 售卖实例名称
|
10037
|
-
# @type TypeName: String
|
10038
|
-
# @param EngineVersion: 内核版本号
|
10039
|
-
# @type EngineVersion: Array
|
10040
|
-
# @param Configs: 售卖规格详细配置
|
10041
|
-
# @type Configs: Array
|
10042
|
-
|
10043
|
-
attr_accessor :TypeName, :EngineVersion, :Configs
|
10044
|
-
|
10045
|
-
def initialize(typename=nil, engineversion=nil, configs=nil)
|
10046
|
-
@TypeName = typename
|
10047
|
-
@EngineVersion = engineversion
|
10048
|
-
@Configs = configs
|
10049
|
-
end
|
10050
|
-
|
10051
|
-
def deserialize(params)
|
10052
|
-
@TypeName = params['TypeName']
|
10053
|
-
@EngineVersion = params['EngineVersion']
|
10054
|
-
unless params['Configs'].nil?
|
10055
|
-
@Configs = []
|
10056
|
-
params['Configs'].each do |i|
|
10057
|
-
sellconfig_tmp = SellConfig.new
|
10058
|
-
sellconfig_tmp.deserialize(i)
|
10059
|
-
@Configs << sellconfig_tmp
|
10060
|
-
end
|
10061
|
-
end
|
10062
|
-
end
|
10063
|
-
end
|
10064
|
-
|
10065
9886
|
# 从库的配置信息
|
10066
9887
|
class SlaveConfig < TencentCloud::Common::AbstractModel
|
10067
9888
|
# @param ReplicationMode: 从库复制方式,可能的返回值:aysnc-异步,semisync-半同步
|
@@ -11193,110 +11014,6 @@ module TencentCloud
|
|
11193
11014
|
end
|
11194
11015
|
end
|
11195
11016
|
|
11196
|
-
# 可用区售卖配置
|
11197
|
-
class ZoneSellConf < TencentCloud::Common::AbstractModel
|
11198
|
-
# @param Status: 可用区状态。可能的返回值为:1-上线;3-停售;4-不展示
|
11199
|
-
# @type Status: Integer
|
11200
|
-
# @param ZoneName: 可用区中文名称
|
11201
|
-
# @type ZoneName: String
|
11202
|
-
# @param IsCustom: 实例类型是否为自定义类型
|
11203
|
-
# @type IsCustom: Boolean
|
11204
|
-
# @param IsSupportDr: 是否支持灾备
|
11205
|
-
# @type IsSupportDr: Boolean
|
11206
|
-
# @param IsSupportVpc: 是否支持私有网络
|
11207
|
-
# @type IsSupportVpc: Boolean
|
11208
|
-
# @param HourInstanceSaleMaxNum: 小时计费实例最大售卖数量
|
11209
|
-
# @type HourInstanceSaleMaxNum: Integer
|
11210
|
-
# @param IsDefaultZone: 是否为默认可用区
|
11211
|
-
# @type IsDefaultZone: Boolean
|
11212
|
-
# @param IsBm: 是否为黑石区
|
11213
|
-
# @type IsBm: Boolean
|
11214
|
-
# @param PayType: 支持的付费类型。可能的返回值为:0-包年包月;1-小时计费;2-后付费
|
11215
|
-
# @type PayType: Array
|
11216
|
-
# @param ProtectMode: 数据复制类型。0-异步复制;1-半同步复制;2-强同步复制
|
11217
|
-
# @type ProtectMode: Array
|
11218
|
-
# @param Zone: 可用区名称
|
11219
|
-
# @type Zone: String
|
11220
|
-
# @param SellType: 售卖实例类型数组
|
11221
|
-
# @type SellType: Array
|
11222
|
-
# @param ZoneConf: 多可用区信息
|
11223
|
-
# @type ZoneConf: :class:`Tencentcloud::Cdb.v20170320.models.ZoneConf`
|
11224
|
-
# @param DrZone: 可支持的灾备可用区信息
|
11225
|
-
# @type DrZone: Array
|
11226
|
-
# @param IsSupportRemoteRo: 是否支持跨可用区只读
|
11227
|
-
# @type IsSupportRemoteRo: Boolean
|
11228
|
-
# @param RemoteRoZone: 可支持的跨可用区只读区信息
|
11229
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11230
|
-
# @type RemoteRoZone: Array
|
11231
|
-
# @param ExClusterStatus: 独享型可用区状态。可能的返回值为:1-上线;3-停售;4-不展示
|
11232
|
-
# @type ExClusterStatus: Integer
|
11233
|
-
# @param ExClusterRemoteRoZone: 独享型可支持的跨可用区只读区信息
|
11234
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11235
|
-
# @type ExClusterRemoteRoZone: Array
|
11236
|
-
# @param ExClusterZoneConf: 独享型多可用区信息
|
11237
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11238
|
-
# @type ExClusterZoneConf: :class:`Tencentcloud::Cdb.v20170320.models.ZoneConf`
|
11239
|
-
|
11240
|
-
attr_accessor :Status, :ZoneName, :IsCustom, :IsSupportDr, :IsSupportVpc, :HourInstanceSaleMaxNum, :IsDefaultZone, :IsBm, :PayType, :ProtectMode, :Zone, :SellType, :ZoneConf, :DrZone, :IsSupportRemoteRo, :RemoteRoZone, :ExClusterStatus, :ExClusterRemoteRoZone, :ExClusterZoneConf
|
11241
|
-
|
11242
|
-
def initialize(status=nil, zonename=nil, iscustom=nil, issupportdr=nil, issupportvpc=nil, hourinstancesalemaxnum=nil, isdefaultzone=nil, isbm=nil, paytype=nil, protectmode=nil, zone=nil, selltype=nil, zoneconf=nil, drzone=nil, issupportremotero=nil, remoterozone=nil, exclusterstatus=nil, exclusterremoterozone=nil, exclusterzoneconf=nil)
|
11243
|
-
@Status = status
|
11244
|
-
@ZoneName = zonename
|
11245
|
-
@IsCustom = iscustom
|
11246
|
-
@IsSupportDr = issupportdr
|
11247
|
-
@IsSupportVpc = issupportvpc
|
11248
|
-
@HourInstanceSaleMaxNum = hourinstancesalemaxnum
|
11249
|
-
@IsDefaultZone = isdefaultzone
|
11250
|
-
@IsBm = isbm
|
11251
|
-
@PayType = paytype
|
11252
|
-
@ProtectMode = protectmode
|
11253
|
-
@Zone = zone
|
11254
|
-
@SellType = selltype
|
11255
|
-
@ZoneConf = zoneconf
|
11256
|
-
@DrZone = drzone
|
11257
|
-
@IsSupportRemoteRo = issupportremotero
|
11258
|
-
@RemoteRoZone = remoterozone
|
11259
|
-
@ExClusterStatus = exclusterstatus
|
11260
|
-
@ExClusterRemoteRoZone = exclusterremoterozone
|
11261
|
-
@ExClusterZoneConf = exclusterzoneconf
|
11262
|
-
end
|
11263
|
-
|
11264
|
-
def deserialize(params)
|
11265
|
-
@Status = params['Status']
|
11266
|
-
@ZoneName = params['ZoneName']
|
11267
|
-
@IsCustom = params['IsCustom']
|
11268
|
-
@IsSupportDr = params['IsSupportDr']
|
11269
|
-
@IsSupportVpc = params['IsSupportVpc']
|
11270
|
-
@HourInstanceSaleMaxNum = params['HourInstanceSaleMaxNum']
|
11271
|
-
@IsDefaultZone = params['IsDefaultZone']
|
11272
|
-
@IsBm = params['IsBm']
|
11273
|
-
@PayType = params['PayType']
|
11274
|
-
@ProtectMode = params['ProtectMode']
|
11275
|
-
@Zone = params['Zone']
|
11276
|
-
unless params['SellType'].nil?
|
11277
|
-
@SellType = []
|
11278
|
-
params['SellType'].each do |i|
|
11279
|
-
selltype_tmp = SellType.new
|
11280
|
-
selltype_tmp.deserialize(i)
|
11281
|
-
@SellType << selltype_tmp
|
11282
|
-
end
|
11283
|
-
end
|
11284
|
-
unless params['ZoneConf'].nil?
|
11285
|
-
@ZoneConf = ZoneConf.new
|
11286
|
-
@ZoneConf.deserialize(params['ZoneConf'])
|
11287
|
-
end
|
11288
|
-
@DrZone = params['DrZone']
|
11289
|
-
@IsSupportRemoteRo = params['IsSupportRemoteRo']
|
11290
|
-
@RemoteRoZone = params['RemoteRoZone']
|
11291
|
-
@ExClusterStatus = params['ExClusterStatus']
|
11292
|
-
@ExClusterRemoteRoZone = params['ExClusterRemoteRoZone']
|
11293
|
-
unless params['ExClusterZoneConf'].nil?
|
11294
|
-
@ExClusterZoneConf = ZoneConf.new
|
11295
|
-
@ExClusterZoneConf.deserialize(params['ExClusterZoneConf'])
|
11296
|
-
end
|
11297
|
-
end
|
11298
|
-
end
|
11299
|
-
|
11300
11017
|
end
|
11301
11018
|
end
|
11302
11019
|
end
|
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.409
|
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-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|