tencentcloud-sdk-cdb 3.0.405 → 3.0.406
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 +24 -0
- data/lib/v20170320/models.rb +327 -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: 3447d077ca672fc44d5fb680dea31848ae28e3bd
|
4
|
+
data.tar.gz: a1ccfd6bd00b05714ddc43fac83dc081c026b9bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cccbfdeb7bc27eef824cca001b3f888da5e665946a9d3b11917d331cd98302b32fd24a7e0763e6d72d766517a03739f678d20a184df897b816b99a5cf3153c5
|
7
|
+
data.tar.gz: 39ff10d4c95c63bcb44ad109a6971887c0ad4fca7a0d990e63da3e8a5df4561647d214f0ca081e8bae9b0a9d27459e8dbca1a908d8bbe1d633c7fc4aab0ddb97
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.406
|
data/lib/v20170320/client.rb
CHANGED
@@ -1084,6 +1084,30 @@ module TencentCloud
|
|
1084
1084
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1085
1085
|
end
|
1086
1086
|
|
1087
|
+
# 本接口(DescribeCdbZoneConfig)用于查询云数据库各地域可售卖的规格配置。
|
1088
|
+
|
1089
|
+
# @param request: Request instance for DescribeCdbZoneConfig.
|
1090
|
+
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeCdbZoneConfigRequest`
|
1091
|
+
# @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeCdbZoneConfigResponse`
|
1092
|
+
def DescribeCdbZoneConfig(request)
|
1093
|
+
body = send_request('DescribeCdbZoneConfig', request.serialize)
|
1094
|
+
response = JSON.parse(body)
|
1095
|
+
if response['Response'].key?('Error') == false
|
1096
|
+
model = DescribeCdbZoneConfigResponse.new
|
1097
|
+
model.deserialize(response['Response'])
|
1098
|
+
model
|
1099
|
+
else
|
1100
|
+
code = response['Response']['Error']['Code']
|
1101
|
+
message = response['Response']['Error']['Message']
|
1102
|
+
reqid = response['Response']['RequestId']
|
1103
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1104
|
+
end
|
1105
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1106
|
+
raise e
|
1107
|
+
rescue StandardError => e
|
1108
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1109
|
+
end
|
1110
|
+
|
1087
1111
|
# 本接口(DescribeCloneList) 用于查询用户实例的克隆任务列表。
|
1088
1112
|
|
1089
1113
|
# @param request: Request instance for DescribeCloneList.
|
data/lib/v20170320/models.rb
CHANGED
@@ -836,6 +836,273 @@ module TencentCloud
|
|
836
836
|
end
|
837
837
|
end
|
838
838
|
|
839
|
+
# 地域售卖配置
|
840
|
+
class CdbRegionSellConf < TencentCloud::Common::AbstractModel
|
841
|
+
# @param RegionName: 地域中文名称
|
842
|
+
# @type RegionName: String
|
843
|
+
# @param Area: 所属大区
|
844
|
+
# @type Area: String
|
845
|
+
# @param IsDefaultRegion: 是否为默认地域
|
846
|
+
# @type IsDefaultRegion: Integer
|
847
|
+
# @param Region: 地域名称
|
848
|
+
# @type Region: String
|
849
|
+
# @param RegionConfig: 地域的可用区售卖配置
|
850
|
+
# @type RegionConfig: Array
|
851
|
+
|
852
|
+
attr_accessor :RegionName, :Area, :IsDefaultRegion, :Region, :RegionConfig
|
853
|
+
|
854
|
+
def initialize(regionname=nil, area=nil, isdefaultregion=nil, region=nil, regionconfig=nil)
|
855
|
+
@RegionName = regionname
|
856
|
+
@Area = area
|
857
|
+
@IsDefaultRegion = isdefaultregion
|
858
|
+
@Region = region
|
859
|
+
@RegionConfig = regionconfig
|
860
|
+
end
|
861
|
+
|
862
|
+
def deserialize(params)
|
863
|
+
@RegionName = params['RegionName']
|
864
|
+
@Area = params['Area']
|
865
|
+
@IsDefaultRegion = params['IsDefaultRegion']
|
866
|
+
@Region = params['Region']
|
867
|
+
unless params['RegionConfig'].nil?
|
868
|
+
@RegionConfig = []
|
869
|
+
params['RegionConfig'].each do |i|
|
870
|
+
cdbzonesellconf_tmp = CdbZoneSellConf.new
|
871
|
+
cdbzonesellconf_tmp.deserialize(i)
|
872
|
+
@RegionConfig << cdbzonesellconf_tmp
|
873
|
+
end
|
874
|
+
end
|
875
|
+
end
|
876
|
+
end
|
877
|
+
|
878
|
+
# 售卖配置详情
|
879
|
+
class CdbSellConfig < TencentCloud::Common::AbstractModel
|
880
|
+
# @param Memory: 内存大小,单位为MB
|
881
|
+
# @type Memory: Integer
|
882
|
+
# @param Cpu: CPU核心数
|
883
|
+
# @type Cpu: Integer
|
884
|
+
# @param VolumeMin: 磁盘最小规格,单位为GB
|
885
|
+
# @type VolumeMin: Integer
|
886
|
+
# @param VolumeMax: 磁盘最大规格,单位为GB
|
887
|
+
# @type VolumeMax: Integer
|
888
|
+
# @param VolumeStep: 磁盘步长,单位为GB
|
889
|
+
# @type VolumeStep: Integer
|
890
|
+
# @param Iops: 每秒IO数量
|
891
|
+
# @type Iops: Integer
|
892
|
+
# @param Info: 应用场景描述
|
893
|
+
# @type Info: String
|
894
|
+
# @param Status: 状态值,0 表示该规格对外售卖
|
895
|
+
# @type Status: Integer
|
896
|
+
# @param DeviceType: 实例类型,可能的取值范围有:UNIVERSAL (通用型), EXCLUSIVE (独享型), BASIC (基础型)
|
897
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
898
|
+
# @type DeviceType: String
|
899
|
+
# @param EngineType: 引擎类型描述,可能的取值范围有:Innodb,RocksDB
|
900
|
+
# @type EngineType: String
|
901
|
+
# @param Id: 售卖规格Id
|
902
|
+
# @type Id: Integer
|
903
|
+
|
904
|
+
attr_accessor :Memory, :Cpu, :VolumeMin, :VolumeMax, :VolumeStep, :Iops, :Info, :Status, :DeviceType, :EngineType, :Id
|
905
|
+
|
906
|
+
def initialize(memory=nil, cpu=nil, volumemin=nil, volumemax=nil, volumestep=nil, iops=nil, info=nil, status=nil, devicetype=nil, enginetype=nil, id=nil)
|
907
|
+
@Memory = memory
|
908
|
+
@Cpu = cpu
|
909
|
+
@VolumeMin = volumemin
|
910
|
+
@VolumeMax = volumemax
|
911
|
+
@VolumeStep = volumestep
|
912
|
+
@Iops = iops
|
913
|
+
@Info = info
|
914
|
+
@Status = status
|
915
|
+
@DeviceType = devicetype
|
916
|
+
@EngineType = enginetype
|
917
|
+
@Id = id
|
918
|
+
end
|
919
|
+
|
920
|
+
def deserialize(params)
|
921
|
+
@Memory = params['Memory']
|
922
|
+
@Cpu = params['Cpu']
|
923
|
+
@VolumeMin = params['VolumeMin']
|
924
|
+
@VolumeMax = params['VolumeMax']
|
925
|
+
@VolumeStep = params['VolumeStep']
|
926
|
+
@Iops = params['Iops']
|
927
|
+
@Info = params['Info']
|
928
|
+
@Status = params['Status']
|
929
|
+
@DeviceType = params['DeviceType']
|
930
|
+
@EngineType = params['EngineType']
|
931
|
+
@Id = params['Id']
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
935
|
+
# 售卖实例类型
|
936
|
+
class CdbSellType < TencentCloud::Common::AbstractModel
|
937
|
+
# @param TypeName: 售卖实例名称
|
938
|
+
# @type TypeName: String
|
939
|
+
# @param EngineVersion: 引擎版本号
|
940
|
+
# @type EngineVersion: Array
|
941
|
+
# @param ConfigIds: 售卖规格Id
|
942
|
+
# @type ConfigIds: Array
|
943
|
+
|
944
|
+
attr_accessor :TypeName, :EngineVersion, :ConfigIds
|
945
|
+
|
946
|
+
def initialize(typename=nil, engineversion=nil, configids=nil)
|
947
|
+
@TypeName = typename
|
948
|
+
@EngineVersion = engineversion
|
949
|
+
@ConfigIds = configids
|
950
|
+
end
|
951
|
+
|
952
|
+
def deserialize(params)
|
953
|
+
@TypeName = params['TypeName']
|
954
|
+
@EngineVersion = params['EngineVersion']
|
955
|
+
@ConfigIds = params['ConfigIds']
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
959
|
+
# 各地域可售卖的规格配置
|
960
|
+
class CdbZoneDataResult < TencentCloud::Common::AbstractModel
|
961
|
+
# @param Configs: 售卖规格所有集合
|
962
|
+
# @type Configs: Array
|
963
|
+
# @param Regions: 售卖地域可用区集合
|
964
|
+
# @type Regions: Array
|
965
|
+
|
966
|
+
attr_accessor :Configs, :Regions
|
967
|
+
|
968
|
+
def initialize(configs=nil, regions=nil)
|
969
|
+
@Configs = configs
|
970
|
+
@Regions = regions
|
971
|
+
end
|
972
|
+
|
973
|
+
def deserialize(params)
|
974
|
+
unless params['Configs'].nil?
|
975
|
+
@Configs = []
|
976
|
+
params['Configs'].each do |i|
|
977
|
+
cdbsellconfig_tmp = CdbSellConfig.new
|
978
|
+
cdbsellconfig_tmp.deserialize(i)
|
979
|
+
@Configs << cdbsellconfig_tmp
|
980
|
+
end
|
981
|
+
end
|
982
|
+
unless params['Regions'].nil?
|
983
|
+
@Regions = []
|
984
|
+
params['Regions'].each do |i|
|
985
|
+
cdbregionsellconf_tmp = CdbRegionSellConf.new
|
986
|
+
cdbregionsellconf_tmp.deserialize(i)
|
987
|
+
@Regions << cdbregionsellconf_tmp
|
988
|
+
end
|
989
|
+
end
|
990
|
+
end
|
991
|
+
end
|
992
|
+
|
993
|
+
# 可用区售卖配置
|
994
|
+
class CdbZoneSellConf < TencentCloud::Common::AbstractModel
|
995
|
+
# @param Status: 可用区状态。可能的返回值为:1-上线;3-停售;4-不展示
|
996
|
+
# @type Status: Integer
|
997
|
+
# @param ZoneName: 可用区中文名称
|
998
|
+
# @type ZoneName: String
|
999
|
+
# @param IsCustom: 实例类型是否为自定义类型
|
1000
|
+
# @type IsCustom: Boolean
|
1001
|
+
# @param IsSupportDr: 是否支持灾备
|
1002
|
+
# @type IsSupportDr: Boolean
|
1003
|
+
# @param IsSupportVpc: 是否支持私有网络
|
1004
|
+
# @type IsSupportVpc: Boolean
|
1005
|
+
# @param HourInstanceSaleMaxNum: 小时计费实例最大售卖数量
|
1006
|
+
# @type HourInstanceSaleMaxNum: Integer
|
1007
|
+
# @param IsDefaultZone: 是否为默认可用区
|
1008
|
+
# @type IsDefaultZone: Boolean
|
1009
|
+
# @param IsBm: 是否为黑石区
|
1010
|
+
# @type IsBm: Boolean
|
1011
|
+
# @param PayType: 支持的付费类型。可能的返回值为:0-包年包月;1-小时计费;2-后付费
|
1012
|
+
# @type PayType: Array
|
1013
|
+
# @param ProtectMode: 数据复制类型。0-异步复制;1-半同步复制;2-强同步复制
|
1014
|
+
# @type ProtectMode: Array
|
1015
|
+
# @param Zone: 可用区名称
|
1016
|
+
# @type Zone: String
|
1017
|
+
# @param ZoneConf: 多可用区信息
|
1018
|
+
# @type ZoneConf: :class:`Tencentcloud::Cdb.v20170320.models.ZoneConf`
|
1019
|
+
# @param DrZone: 可支持的灾备可用区信息
|
1020
|
+
# @type DrZone: Array
|
1021
|
+
# @param IsSupportRemoteRo: 是否支持跨可用区只读
|
1022
|
+
# @type IsSupportRemoteRo: Boolean
|
1023
|
+
# @param RemoteRoZone: 可支持的跨可用区只读区信息
|
1024
|
+
# @type RemoteRoZone: Array
|
1025
|
+
# @param ExClusterStatus: 独享型可用区状态。可能的返回值为:1-上线;3-停售;4-不展示
|
1026
|
+
# @type ExClusterStatus: Integer
|
1027
|
+
# @param ExClusterRemoteRoZone: 独享型可支持的跨可用区只读区信息
|
1028
|
+
# @type ExClusterRemoteRoZone: Array
|
1029
|
+
# @param ExClusterZoneConf: 独享型多可用区信息
|
1030
|
+
# @type ExClusterZoneConf: :class:`Tencentcloud::Cdb.v20170320.models.ZoneConf`
|
1031
|
+
# @param SellType: 售卖实例类型数组,其中configIds的值与configs结构体中的id一一对应。
|
1032
|
+
# @type SellType: Array
|
1033
|
+
# @param ZoneId: 可用区id
|
1034
|
+
# @type ZoneId: Integer
|
1035
|
+
# @param IsSupportIpv6: 是否支持ipv6
|
1036
|
+
# @type IsSupportIpv6: Boolean
|
1037
|
+
# @param EngineType: 可支持的售卖数据库引擎类型
|
1038
|
+
# @type EngineType: Array
|
1039
|
+
|
1040
|
+
attr_accessor :Status, :ZoneName, :IsCustom, :IsSupportDr, :IsSupportVpc, :HourInstanceSaleMaxNum, :IsDefaultZone, :IsBm, :PayType, :ProtectMode, :Zone, :ZoneConf, :DrZone, :IsSupportRemoteRo, :RemoteRoZone, :ExClusterStatus, :ExClusterRemoteRoZone, :ExClusterZoneConf, :SellType, :ZoneId, :IsSupportIpv6, :EngineType
|
1041
|
+
|
1042
|
+
def initialize(status=nil, zonename=nil, iscustom=nil, issupportdr=nil, issupportvpc=nil, hourinstancesalemaxnum=nil, isdefaultzone=nil, isbm=nil, paytype=nil, protectmode=nil, zone=nil, zoneconf=nil, drzone=nil, issupportremotero=nil, remoterozone=nil, exclusterstatus=nil, exclusterremoterozone=nil, exclusterzoneconf=nil, selltype=nil, zoneid=nil, issupportipv6=nil, enginetype=nil)
|
1043
|
+
@Status = status
|
1044
|
+
@ZoneName = zonename
|
1045
|
+
@IsCustom = iscustom
|
1046
|
+
@IsSupportDr = issupportdr
|
1047
|
+
@IsSupportVpc = issupportvpc
|
1048
|
+
@HourInstanceSaleMaxNum = hourinstancesalemaxnum
|
1049
|
+
@IsDefaultZone = isdefaultzone
|
1050
|
+
@IsBm = isbm
|
1051
|
+
@PayType = paytype
|
1052
|
+
@ProtectMode = protectmode
|
1053
|
+
@Zone = zone
|
1054
|
+
@ZoneConf = zoneconf
|
1055
|
+
@DrZone = drzone
|
1056
|
+
@IsSupportRemoteRo = issupportremotero
|
1057
|
+
@RemoteRoZone = remoterozone
|
1058
|
+
@ExClusterStatus = exclusterstatus
|
1059
|
+
@ExClusterRemoteRoZone = exclusterremoterozone
|
1060
|
+
@ExClusterZoneConf = exclusterzoneconf
|
1061
|
+
@SellType = selltype
|
1062
|
+
@ZoneId = zoneid
|
1063
|
+
@IsSupportIpv6 = issupportipv6
|
1064
|
+
@EngineType = enginetype
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
def deserialize(params)
|
1068
|
+
@Status = params['Status']
|
1069
|
+
@ZoneName = params['ZoneName']
|
1070
|
+
@IsCustom = params['IsCustom']
|
1071
|
+
@IsSupportDr = params['IsSupportDr']
|
1072
|
+
@IsSupportVpc = params['IsSupportVpc']
|
1073
|
+
@HourInstanceSaleMaxNum = params['HourInstanceSaleMaxNum']
|
1074
|
+
@IsDefaultZone = params['IsDefaultZone']
|
1075
|
+
@IsBm = params['IsBm']
|
1076
|
+
@PayType = params['PayType']
|
1077
|
+
@ProtectMode = params['ProtectMode']
|
1078
|
+
@Zone = params['Zone']
|
1079
|
+
unless params['ZoneConf'].nil?
|
1080
|
+
@ZoneConf = ZoneConf.new
|
1081
|
+
@ZoneConf.deserialize(params['ZoneConf'])
|
1082
|
+
end
|
1083
|
+
@DrZone = params['DrZone']
|
1084
|
+
@IsSupportRemoteRo = params['IsSupportRemoteRo']
|
1085
|
+
@RemoteRoZone = params['RemoteRoZone']
|
1086
|
+
@ExClusterStatus = params['ExClusterStatus']
|
1087
|
+
@ExClusterRemoteRoZone = params['ExClusterRemoteRoZone']
|
1088
|
+
unless params['ExClusterZoneConf'].nil?
|
1089
|
+
@ExClusterZoneConf = ZoneConf.new
|
1090
|
+
@ExClusterZoneConf.deserialize(params['ExClusterZoneConf'])
|
1091
|
+
end
|
1092
|
+
unless params['SellType'].nil?
|
1093
|
+
@SellType = []
|
1094
|
+
params['SellType'].each do |i|
|
1095
|
+
cdbselltype_tmp = CdbSellType.new
|
1096
|
+
cdbselltype_tmp.deserialize(i)
|
1097
|
+
@SellType << cdbselltype_tmp
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
@ZoneId = params['ZoneId']
|
1101
|
+
@IsSupportIpv6 = params['IsSupportIpv6']
|
1102
|
+
@EngineType = params['EngineType']
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
839
1106
|
# 克隆任务记录。
|
840
1107
|
class CloneItem < TencentCloud::Common::AbstractModel
|
841
1108
|
# @param SrcInstanceId: 克隆任务的源实例Id。
|
@@ -3578,6 +3845,40 @@ module TencentCloud
|
|
3578
3845
|
end
|
3579
3846
|
end
|
3580
3847
|
|
3848
|
+
# DescribeCdbZoneConfig请求参数结构体
|
3849
|
+
class DescribeCdbZoneConfigRequest < TencentCloud::Common::AbstractModel
|
3850
|
+
|
3851
|
+
|
3852
|
+
def initialize()
|
3853
|
+
end
|
3854
|
+
|
3855
|
+
def deserialize(params)
|
3856
|
+
end
|
3857
|
+
end
|
3858
|
+
|
3859
|
+
# DescribeCdbZoneConfig返回参数结构体
|
3860
|
+
class DescribeCdbZoneConfigResponse < TencentCloud::Common::AbstractModel
|
3861
|
+
# @param DataResult: 售卖规格和地域信息集合
|
3862
|
+
# @type DataResult: :class:`Tencentcloud::Cdb.v20170320.models.CdbZoneDataResult`
|
3863
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3864
|
+
# @type RequestId: String
|
3865
|
+
|
3866
|
+
attr_accessor :DataResult, :RequestId
|
3867
|
+
|
3868
|
+
def initialize(dataresult=nil, requestid=nil)
|
3869
|
+
@DataResult = dataresult
|
3870
|
+
@RequestId = requestid
|
3871
|
+
end
|
3872
|
+
|
3873
|
+
def deserialize(params)
|
3874
|
+
unless params['DataResult'].nil?
|
3875
|
+
@DataResult = CdbZoneDataResult.new
|
3876
|
+
@DataResult.deserialize(params['DataResult'])
|
3877
|
+
end
|
3878
|
+
@RequestId = params['RequestId']
|
3879
|
+
end
|
3880
|
+
end
|
3881
|
+
|
3581
3882
|
# DescribeCloneList请求参数结构体
|
3582
3883
|
class DescribeCloneListRequest < TencentCloud::Common::AbstractModel
|
3583
3884
|
# @param InstanceId: 查询指定源实例的克隆任务列表。
|
@@ -4142,10 +4443,12 @@ module TencentCloud
|
|
4142
4443
|
# @type Cpu: Integer
|
4143
4444
|
# @param InstanceId: 续费询价实例ID。如需查询实例续费价格,填写InstanceId和Period即可。
|
4144
4445
|
# @type InstanceId: String
|
4446
|
+
# @param Ladder: 按量计费阶梯。仅PayType=HOUR_PAID有效,支持值包括:1,2,3。阶梯时长见https://cloud.tencent.com/document/product/236/18335。
|
4447
|
+
# @type Ladder: Integer
|
4145
4448
|
|
4146
|
-
attr_accessor :Period, :Zone, :GoodsNum, :Memory, :Volume, :InstanceRole, :PayType, :ProtectMode, :DeviceType, :InstanceNodes, :Cpu, :InstanceId
|
4449
|
+
attr_accessor :Period, :Zone, :GoodsNum, :Memory, :Volume, :InstanceRole, :PayType, :ProtectMode, :DeviceType, :InstanceNodes, :Cpu, :InstanceId, :Ladder
|
4147
4450
|
|
4148
|
-
def initialize(period=nil, zone=nil, goodsnum=nil, memory=nil, volume=nil, instancerole=nil, paytype=nil, protectmode=nil, devicetype=nil, instancenodes=nil, cpu=nil, instanceid=nil)
|
4451
|
+
def initialize(period=nil, zone=nil, goodsnum=nil, memory=nil, volume=nil, instancerole=nil, paytype=nil, protectmode=nil, devicetype=nil, instancenodes=nil, cpu=nil, instanceid=nil, ladder=nil)
|
4149
4452
|
@Period = period
|
4150
4453
|
@Zone = zone
|
4151
4454
|
@GoodsNum = goodsnum
|
@@ -4158,6 +4461,7 @@ module TencentCloud
|
|
4158
4461
|
@InstanceNodes = instancenodes
|
4159
4462
|
@Cpu = cpu
|
4160
4463
|
@InstanceId = instanceid
|
4464
|
+
@Ladder = ladder
|
4161
4465
|
end
|
4162
4466
|
|
4163
4467
|
def deserialize(params)
|
@@ -4173,29 +4477,34 @@ module TencentCloud
|
|
4173
4477
|
@InstanceNodes = params['InstanceNodes']
|
4174
4478
|
@Cpu = params['Cpu']
|
4175
4479
|
@InstanceId = params['InstanceId']
|
4480
|
+
@Ladder = params['Ladder']
|
4176
4481
|
end
|
4177
4482
|
end
|
4178
4483
|
|
4179
4484
|
# DescribeDBPrice返回参数结构体
|
4180
4485
|
class DescribeDBPriceResponse < TencentCloud::Common::AbstractModel
|
4181
|
-
# @param Price:
|
4486
|
+
# @param Price: 实例价格,单位:分。
|
4182
4487
|
# @type Price: Integer
|
4183
|
-
# @param OriginalPrice:
|
4488
|
+
# @param OriginalPrice: 实例原价,单位:分。
|
4184
4489
|
# @type OriginalPrice: Integer
|
4490
|
+
# @param Currency: 货币单位。CNY-人民币,USD-美元。
|
4491
|
+
# @type Currency: String
|
4185
4492
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4186
4493
|
# @type RequestId: String
|
4187
4494
|
|
4188
|
-
attr_accessor :Price, :OriginalPrice, :RequestId
|
4495
|
+
attr_accessor :Price, :OriginalPrice, :Currency, :RequestId
|
4189
4496
|
|
4190
|
-
def initialize(price=nil, originalprice=nil, requestid=nil)
|
4497
|
+
def initialize(price=nil, originalprice=nil, currency=nil, requestid=nil)
|
4191
4498
|
@Price = price
|
4192
4499
|
@OriginalPrice = originalprice
|
4500
|
+
@Currency = currency
|
4193
4501
|
@RequestId = requestid
|
4194
4502
|
end
|
4195
4503
|
|
4196
4504
|
def deserialize(params)
|
4197
4505
|
@Price = params['Price']
|
4198
4506
|
@OriginalPrice = params['OriginalPrice']
|
4507
|
+
@Currency = params['Currency']
|
4199
4508
|
@RequestId = params['RequestId']
|
4200
4509
|
end
|
4201
4510
|
end
|
@@ -6413,10 +6722,16 @@ module TencentCloud
|
|
6413
6722
|
# @param TagList: 标签列表
|
6414
6723
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6415
6724
|
# @type TagList: Array
|
6725
|
+
# @param EngineType: 引擎类型
|
6726
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6727
|
+
# @type EngineType: String
|
6728
|
+
# @param MaxDelayTime: 最大延迟阈值
|
6729
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6730
|
+
# @type MaxDelayTime: Integer
|
6416
6731
|
|
6417
|
-
attr_accessor :WanStatus, :Zone, :InitFlag, :RoVipInfo, :Memory, :Status, :VpcId, :SlaveInfo, :InstanceId, :Volume, :AutoRenew, :ProtectMode, :RoGroups, :SubnetId, :InstanceType, :ProjectId, :Region, :DeadlineTime, :DeployMode, :TaskStatus, :MasterInfo, :DeviceType, :EngineVersion, :InstanceName, :DrInfo, :WanDomain, :WanPort, :PayType, :CreateTime, :Vip, :Vport, :CdbError, :UniqVpcId, :UniqSubnetId, :PhysicalId, :Cpu, :Qps, :ZoneName, :DeviceClass, :DeployGroupId, :ZoneId, :InstanceNodes, :TagList
|
6732
|
+
attr_accessor :WanStatus, :Zone, :InitFlag, :RoVipInfo, :Memory, :Status, :VpcId, :SlaveInfo, :InstanceId, :Volume, :AutoRenew, :ProtectMode, :RoGroups, :SubnetId, :InstanceType, :ProjectId, :Region, :DeadlineTime, :DeployMode, :TaskStatus, :MasterInfo, :DeviceType, :EngineVersion, :InstanceName, :DrInfo, :WanDomain, :WanPort, :PayType, :CreateTime, :Vip, :Vport, :CdbError, :UniqVpcId, :UniqSubnetId, :PhysicalId, :Cpu, :Qps, :ZoneName, :DeviceClass, :DeployGroupId, :ZoneId, :InstanceNodes, :TagList, :EngineType, :MaxDelayTime
|
6418
6733
|
|
6419
|
-
def initialize(wanstatus=nil, zone=nil, initflag=nil, rovipinfo=nil, memory=nil, status=nil, vpcid=nil, slaveinfo=nil, instanceid=nil, volume=nil, autorenew=nil, protectmode=nil, rogroups=nil, subnetid=nil, instancetype=nil, projectid=nil, region=nil, deadlinetime=nil, deploymode=nil, taskstatus=nil, masterinfo=nil, devicetype=nil, engineversion=nil, instancename=nil, drinfo=nil, wandomain=nil, wanport=nil, paytype=nil, createtime=nil, vip=nil, vport=nil, cdberror=nil, uniqvpcid=nil, uniqsubnetid=nil, physicalid=nil, cpu=nil, qps=nil, zonename=nil, deviceclass=nil, deploygroupid=nil, zoneid=nil, instancenodes=nil, taglist=nil)
|
6734
|
+
def initialize(wanstatus=nil, zone=nil, initflag=nil, rovipinfo=nil, memory=nil, status=nil, vpcid=nil, slaveinfo=nil, instanceid=nil, volume=nil, autorenew=nil, protectmode=nil, rogroups=nil, subnetid=nil, instancetype=nil, projectid=nil, region=nil, deadlinetime=nil, deploymode=nil, taskstatus=nil, masterinfo=nil, devicetype=nil, engineversion=nil, instancename=nil, drinfo=nil, wandomain=nil, wanport=nil, paytype=nil, createtime=nil, vip=nil, vport=nil, cdberror=nil, uniqvpcid=nil, uniqsubnetid=nil, physicalid=nil, cpu=nil, qps=nil, zonename=nil, deviceclass=nil, deploygroupid=nil, zoneid=nil, instancenodes=nil, taglist=nil, enginetype=nil, maxdelaytime=nil)
|
6420
6735
|
@WanStatus = wanstatus
|
6421
6736
|
@Zone = zone
|
6422
6737
|
@InitFlag = initflag
|
@@ -6460,6 +6775,8 @@ module TencentCloud
|
|
6460
6775
|
@ZoneId = zoneid
|
6461
6776
|
@InstanceNodes = instancenodes
|
6462
6777
|
@TagList = taglist
|
6778
|
+
@EngineType = enginetype
|
6779
|
+
@MaxDelayTime = maxdelaytime
|
6463
6780
|
end
|
6464
6781
|
|
6465
6782
|
def deserialize(params)
|
@@ -6536,6 +6853,8 @@ module TencentCloud
|
|
6536
6853
|
@TagList << taginfoitem_tmp
|
6537
6854
|
end
|
6538
6855
|
end
|
6856
|
+
@EngineType = params['EngineType']
|
6857
|
+
@MaxDelayTime = params['MaxDelayTime']
|
6539
6858
|
end
|
6540
6859
|
end
|
6541
6860
|
|
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.406
|
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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|