Class: TencentCloud::Cdb::V20170320::CdbZoneSellConf
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::CdbZoneSellConf
- Defined in:
- lib/v20170320/models.rb
Overview
可用区售卖配置
Instance Attribute Summary collapse
- #CloudNativeClusterStatus ⇒ Object
- #DiskTypeConf ⇒ Object
- #DrZone ⇒ Object
- #EngineType ⇒ Object
- #ExClusterRemoteRoZone ⇒ Object
- #ExClusterStatus ⇒ Object
- #ExClusterZoneConf ⇒ Object
- #HourInstanceSaleMaxNum ⇒ Object
- #IsBm ⇒ Object
- #IsCustom ⇒ Object
- #IsDefaultZone ⇒ Object
- #IsSupportDr ⇒ Object
- #IsSupportIpv6 ⇒ Object
- #IsSupportRemoteRo ⇒ Object
- #IsSupportVpc ⇒ Object
- #PayType ⇒ Object
- #ProtectMode ⇒ Object
- #RemoteRoZone ⇒ Object
- #SellType ⇒ Object
- #Status ⇒ Object
- #Zone ⇒ Object
- #ZoneConf ⇒ Object
- #ZoneId ⇒ Object
- #ZoneName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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, cloudnativeclusterstatus = nil, disktypeconf = nil) ⇒ CdbZoneSellConf
constructor
A new instance of CdbZoneSellConf.
Constructor Details
#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, cloudnativeclusterstatus = nil, disktypeconf = nil) ⇒ CdbZoneSellConf
Returns a new instance of CdbZoneSellConf.
1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 |
# File 'lib/v20170320/models.rb', line 1702 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, cloudnativeclusterstatus=nil, disktypeconf=nil) @Status = status @ZoneName = zonename @IsCustom = iscustom @IsSupportDr = issupportdr @IsSupportVpc = issupportvpc @HourInstanceSaleMaxNum = hourinstancesalemaxnum @IsDefaultZone = isdefaultzone @IsBm = isbm @PayType = paytype @ProtectMode = protectmode @Zone = zone @ZoneConf = zoneconf @DrZone = drzone @IsSupportRemoteRo = issupportremotero @RemoteRoZone = remoterozone @ExClusterStatus = exclusterstatus @ExClusterRemoteRoZone = exclusterremoterozone @ExClusterZoneConf = exclusterzoneconf @SellType = selltype @ZoneId = zoneid @IsSupportIpv6 = issupportipv6 @EngineType = enginetype @CloudNativeClusterStatus = cloudnativeclusterstatus @DiskTypeConf = disktypeconf end |
Instance Attribute Details
#CloudNativeClusterStatus ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def CloudNativeClusterStatus @CloudNativeClusterStatus end |
#DiskTypeConf ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def DiskTypeConf @DiskTypeConf end |
#DrZone ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def DrZone @DrZone end |
#EngineType ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def EngineType @EngineType end |
#ExClusterRemoteRoZone ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def ExClusterRemoteRoZone @ExClusterRemoteRoZone end |
#ExClusterStatus ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def ExClusterStatus @ExClusterStatus end |
#ExClusterZoneConf ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def ExClusterZoneConf @ExClusterZoneConf end |
#HourInstanceSaleMaxNum ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def HourInstanceSaleMaxNum @HourInstanceSaleMaxNum end |
#IsBm ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def IsBm @IsBm end |
#IsCustom ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def IsCustom @IsCustom end |
#IsDefaultZone ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def IsDefaultZone @IsDefaultZone end |
#IsSupportDr ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def IsSupportDr @IsSupportDr end |
#IsSupportIpv6 ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def IsSupportIpv6 @IsSupportIpv6 end |
#IsSupportRemoteRo ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def IsSupportRemoteRo @IsSupportRemoteRo end |
#IsSupportVpc ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def IsSupportVpc @IsSupportVpc end |
#PayType ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def PayType @PayType end |
#ProtectMode ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def ProtectMode @ProtectMode end |
#RemoteRoZone ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def RemoteRoZone @RemoteRoZone end |
#SellType ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def SellType @SellType end |
#Status ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def Status @Status end |
#Zone ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def Zone @Zone end |
#ZoneConf ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def ZoneConf @ZoneConf end |
#ZoneId ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def ZoneId @ZoneId end |
#ZoneName ⇒ Object
1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1700 def ZoneName @ZoneName end |
Instance Method Details
#deserialize(params) ⇒ Object
1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 |
# File 'lib/v20170320/models.rb', line 1729 def deserialize(params) @Status = params['Status'] @ZoneName = params['ZoneName'] @IsCustom = params['IsCustom'] @IsSupportDr = params['IsSupportDr'] @IsSupportVpc = params['IsSupportVpc'] @HourInstanceSaleMaxNum = params['HourInstanceSaleMaxNum'] @IsDefaultZone = params['IsDefaultZone'] @IsBm = params['IsBm'] @PayType = params['PayType'] @ProtectMode = params['ProtectMode'] @Zone = params['Zone'] unless params['ZoneConf'].nil? @ZoneConf = ZoneConf.new @ZoneConf.deserialize(params['ZoneConf']) end @DrZone = params['DrZone'] @IsSupportRemoteRo = params['IsSupportRemoteRo'] @RemoteRoZone = params['RemoteRoZone'] @ExClusterStatus = params['ExClusterStatus'] @ExClusterRemoteRoZone = params['ExClusterRemoteRoZone'] unless params['ExClusterZoneConf'].nil? @ExClusterZoneConf = ZoneConf.new @ExClusterZoneConf.deserialize(params['ExClusterZoneConf']) end unless params['SellType'].nil? @SellType = [] params['SellType'].each do |i| cdbselltype_tmp = CdbSellType.new cdbselltype_tmp.deserialize(i) @SellType << cdbselltype_tmp end end @ZoneId = params['ZoneId'] @IsSupportIpv6 = params['IsSupportIpv6'] @EngineType = params['EngineType'] @CloudNativeClusterStatus = params['CloudNativeClusterStatus'] unless params['DiskTypeConf'].nil? @DiskTypeConf = [] params['DiskTypeConf'].each do |i| disktypeconfigitem_tmp = DiskTypeConfigItem.new disktypeconfigitem_tmp.deserialize(i) @DiskTypeConf << disktypeconfigitem_tmp end end end |