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
- #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) ⇒ 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) ⇒ CdbZoneSellConf
Returns a new instance of CdbZoneSellConf.
1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 |
# File 'lib/v20170320/models.rb', line 1679 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) @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 end |
Instance Attribute Details
#DrZone ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def DrZone @DrZone end |
#EngineType ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def EngineType @EngineType end |
#ExClusterRemoteRoZone ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def ExClusterRemoteRoZone @ExClusterRemoteRoZone end |
#ExClusterStatus ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def ExClusterStatus @ExClusterStatus end |
#ExClusterZoneConf ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def ExClusterZoneConf @ExClusterZoneConf end |
#HourInstanceSaleMaxNum ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def HourInstanceSaleMaxNum @HourInstanceSaleMaxNum end |
#IsBm ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def IsBm @IsBm end |
#IsCustom ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def IsCustom @IsCustom end |
#IsDefaultZone ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def IsDefaultZone @IsDefaultZone end |
#IsSupportDr ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def IsSupportDr @IsSupportDr end |
#IsSupportIpv6 ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def IsSupportIpv6 @IsSupportIpv6 end |
#IsSupportRemoteRo ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def IsSupportRemoteRo @IsSupportRemoteRo end |
#IsSupportVpc ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def IsSupportVpc @IsSupportVpc end |
#PayType ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def PayType @PayType end |
#ProtectMode ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def ProtectMode @ProtectMode end |
#RemoteRoZone ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def RemoteRoZone @RemoteRoZone end |
#SellType ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def SellType @SellType end |
#Status ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def Status @Status end |
#Zone ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def Zone @Zone end |
#ZoneConf ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def ZoneConf @ZoneConf end |
#ZoneId ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def ZoneId @ZoneId end |
#ZoneName ⇒ Object
1677 1678 1679 |
# File 'lib/v20170320/models.rb', line 1677 def ZoneName @ZoneName end |
Instance Method Details
#deserialize(params) ⇒ Object
1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 |
# File 'lib/v20170320/models.rb', line 1704 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'] end |