Class: TencentCloud::Tdmq::V20200217::CreateRabbitMQVipInstanceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateRabbitMQVipInstanceRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateRabbitMQVipInstance请求参数结构体
Instance Attribute Summary collapse
- #AutoRenewFlag ⇒ Object
- #Bandwidth ⇒ Object
- #ClusterName ⇒ Object
- #ClusterVersion ⇒ Object
- #EnableCreateDefaultHaMirrorQueue ⇒ Object
- #EnablePublicAccess ⇒ Object
- #IsIntl ⇒ Object
- #NodeNum ⇒ Object
- #NodeSpec ⇒ Object
- #PayMode ⇒ Object
- #ResourceTags ⇒ Object
- #StorageSize ⇒ Object
- #SubnetId ⇒ Object
- #TimeSpan ⇒ Object
- #VpcId ⇒ Object
- #ZoneIds ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zoneids = nil, vpcid = nil, subnetid = nil, clustername = nil, nodespec = nil, nodenum = nil, storagesize = nil, enablecreatedefaulthamirrorqueue = nil, autorenewflag = nil, timespan = nil, paymode = nil, clusterversion = nil, isintl = nil, resourcetags = nil, bandwidth = nil, enablepublicaccess = nil) ⇒ CreateRabbitMQVipInstanceRequest
constructor
A new instance of CreateRabbitMQVipInstanceRequest.
Constructor Details
#initialize(zoneids = nil, vpcid = nil, subnetid = nil, clustername = nil, nodespec = nil, nodenum = nil, storagesize = nil, enablecreatedefaulthamirrorqueue = nil, autorenewflag = nil, timespan = nil, paymode = nil, clusterversion = nil, isintl = nil, resourcetags = nil, bandwidth = nil, enablepublicaccess = nil) ⇒ CreateRabbitMQVipInstanceRequest
Returns a new instance of CreateRabbitMQVipInstanceRequest.
1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 |
# File 'lib/v20200217/models.rb', line 1788 def initialize(zoneids=nil, vpcid=nil, subnetid=nil, clustername=nil, nodespec=nil, nodenum=nil, storagesize=nil, enablecreatedefaulthamirrorqueue=nil, autorenewflag=nil, timespan=nil, paymode=nil, clusterversion=nil, isintl=nil, =nil, bandwidth=nil, enablepublicaccess=nil) @ZoneIds = zoneids @VpcId = vpcid @SubnetId = subnetid @ClusterName = clustername @NodeSpec = nodespec @NodeNum = nodenum @StorageSize = storagesize @EnableCreateDefaultHaMirrorQueue = enablecreatedefaulthamirrorqueue @AutoRenewFlag = autorenewflag @TimeSpan = timespan @PayMode = paymode @ClusterVersion = clusterversion @IsIntl = isintl @ResourceTags = @Bandwidth = bandwidth @EnablePublicAccess = enablepublicaccess end |
Instance Attribute Details
#AutoRenewFlag ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def AutoRenewFlag @AutoRenewFlag end |
#Bandwidth ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def Bandwidth @Bandwidth end |
#ClusterName ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def ClusterName @ClusterName end |
#ClusterVersion ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def ClusterVersion @ClusterVersion end |
#EnableCreateDefaultHaMirrorQueue ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def EnableCreateDefaultHaMirrorQueue @EnableCreateDefaultHaMirrorQueue end |
#EnablePublicAccess ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def EnablePublicAccess @EnablePublicAccess end |
#IsIntl ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def IsIntl @IsIntl end |
#NodeNum ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def NodeNum @NodeNum end |
#NodeSpec ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def NodeSpec @NodeSpec end |
#PayMode ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def PayMode @PayMode end |
#ResourceTags ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def ResourceTags @ResourceTags end |
#StorageSize ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def StorageSize @StorageSize end |
#SubnetId ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def SubnetId @SubnetId end |
#TimeSpan ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def TimeSpan @TimeSpan end |
#VpcId ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def VpcId @VpcId end |
#ZoneIds ⇒ Object
1786 1787 1788 |
# File 'lib/v20200217/models.rb', line 1786 def ZoneIds @ZoneIds end |
Instance Method Details
#deserialize(params) ⇒ Object
1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'lib/v20200217/models.rb', line 1807 def deserialize(params) @ZoneIds = params['ZoneIds'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @ClusterName = params['ClusterName'] @NodeSpec = params['NodeSpec'] @NodeNum = params['NodeNum'] @StorageSize = params['StorageSize'] @EnableCreateDefaultHaMirrorQueue = params['EnableCreateDefaultHaMirrorQueue'] @AutoRenewFlag = params['AutoRenewFlag'] @TimeSpan = params['TimeSpan'] @PayMode = params['PayMode'] @ClusterVersion = params['ClusterVersion'] @IsIntl = params['IsIntl'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @ResourceTags << tag_tmp end end @Bandwidth = params['Bandwidth'] @EnablePublicAccess = params['EnablePublicAccess'] end |