Class: TencentCloud::Tdmq::V20200217::AMQPClusterConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::AMQPClusterConfig
- Defined in:
- lib/v20200217/models.rb
Overview
AMQP集群配置
Instance Attribute Summary collapse
- #MaxConnNumPerVHost ⇒ Object
- #MaxExchangeNum ⇒ Object
- #MaxQueueNum ⇒ Object
- #MaxRetentionTime ⇒ Object
- #MaxTpsPerVHost ⇒ Object
- #MaxVHostNum ⇒ Object
- #UsedExchangeNum ⇒ Object
- #UsedQueueNum ⇒ Object
- #UsedVHostNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(maxtpspervhost = nil, maxconnnumpervhost = nil, maxvhostnum = nil, maxexchangenum = nil, maxqueuenum = nil, maxretentiontime = nil, usedvhostnum = nil, usedexchangenum = nil, usedqueuenum = nil) ⇒ AMQPClusterConfig
constructor
A new instance of AMQPClusterConfig.
Constructor Details
#initialize(maxtpspervhost = nil, maxconnnumpervhost = nil, maxvhostnum = nil, maxexchangenum = nil, maxqueuenum = nil, maxretentiontime = nil, usedvhostnum = nil, usedexchangenum = nil, usedqueuenum = nil) ⇒ AMQPClusterConfig
Returns a new instance of AMQPClusterConfig.
43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/v20200217/models.rb', line 43 def initialize(maxtpspervhost=nil, maxconnnumpervhost=nil, maxvhostnum=nil, maxexchangenum=nil, maxqueuenum=nil, maxretentiontime=nil, usedvhostnum=nil, usedexchangenum=nil, usedqueuenum=nil) @MaxTpsPerVHost = maxtpspervhost @MaxConnNumPerVHost = maxconnnumpervhost @MaxVHostNum = maxvhostnum @MaxExchangeNum = maxexchangenum @MaxQueueNum = maxqueuenum @MaxRetentionTime = maxretentiontime @UsedVHostNum = usedvhostnum @UsedExchangeNum = usedexchangenum @UsedQueueNum = usedqueuenum end |
Instance Attribute Details
#MaxConnNumPerVHost ⇒ Object
41 42 43 |
# File 'lib/v20200217/models.rb', line 41 def MaxConnNumPerVHost @MaxConnNumPerVHost end |
#MaxExchangeNum ⇒ Object
41 42 43 |
# File 'lib/v20200217/models.rb', line 41 def MaxExchangeNum @MaxExchangeNum end |
#MaxQueueNum ⇒ Object
41 42 43 |
# File 'lib/v20200217/models.rb', line 41 def MaxQueueNum @MaxQueueNum end |
#MaxRetentionTime ⇒ Object
41 42 43 |
# File 'lib/v20200217/models.rb', line 41 def MaxRetentionTime @MaxRetentionTime end |
#MaxTpsPerVHost ⇒ Object
41 42 43 |
# File 'lib/v20200217/models.rb', line 41 def MaxTpsPerVHost @MaxTpsPerVHost end |
#MaxVHostNum ⇒ Object
41 42 43 |
# File 'lib/v20200217/models.rb', line 41 def MaxVHostNum @MaxVHostNum end |
#UsedExchangeNum ⇒ Object
41 42 43 |
# File 'lib/v20200217/models.rb', line 41 def UsedExchangeNum @UsedExchangeNum end |
#UsedQueueNum ⇒ Object
41 42 43 |
# File 'lib/v20200217/models.rb', line 41 def UsedQueueNum @UsedQueueNum end |
#UsedVHostNum ⇒ Object
41 42 43 |
# File 'lib/v20200217/models.rb', line 41 def UsedVHostNum @UsedVHostNum end |
Instance Method Details
#deserialize(params) ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/v20200217/models.rb', line 55 def deserialize(params) @MaxTpsPerVHost = params['MaxTpsPerVHost'] @MaxConnNumPerVHost = params['MaxConnNumPerVHost'] @MaxVHostNum = params['MaxVHostNum'] @MaxExchangeNum = params['MaxExchangeNum'] @MaxQueueNum = params['MaxQueueNum'] @MaxRetentionTime = params['MaxRetentionTime'] @UsedVHostNum = params['UsedVHostNum'] @UsedExchangeNum = params['UsedExchangeNum'] @UsedQueueNum = params['UsedQueueNum'] end |