Class: TencentCloud::Cdb::V20170320::ProxyGroupInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ProxyGroupInfo
- Defined in:
- lib/v20170320/models.rb
Overview
代理组详情
Instance Attribute Summary collapse
- #ConnectionPoolLimit ⇒ Object
- #ProxyAddress ⇒ Object
- #ProxyGroupId ⇒ Object
- #ProxyNode ⇒ Object
- #ProxyVersion ⇒ Object
- #Status ⇒ Object
- #SupportCreateProxyAddress ⇒ Object
- #SupportUpgradeProxyMysqlVersion ⇒ Object
- #SupportUpgradeProxyVersion ⇒ Object
- #TaskStatus ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(proxygroupid = nil, proxyversion = nil, supportupgradeproxyversion = nil, status = nil, taskstatus = nil, proxynode = nil, proxyaddress = nil, connectionpoollimit = nil, supportcreateproxyaddress = nil, supportupgradeproxymysqlversion = nil) ⇒ ProxyGroupInfo
constructor
A new instance of ProxyGroupInfo.
Constructor Details
#initialize(proxygroupid = nil, proxyversion = nil, supportupgradeproxyversion = nil, status = nil, taskstatus = nil, proxynode = nil, proxyaddress = nil, connectionpoollimit = nil, supportcreateproxyaddress = nil, supportupgradeproxymysqlversion = nil) ⇒ ProxyGroupInfo
12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 |
# File 'lib/v20170320/models.rb', line 12292 def initialize(proxygroupid=nil, proxyversion=nil, supportupgradeproxyversion=nil, status=nil, taskstatus=nil, proxynode=nil, proxyaddress=nil, connectionpoollimit=nil, supportcreateproxyaddress=nil, supportupgradeproxymysqlversion=nil) @ProxyGroupId = proxygroupid @ProxyVersion = proxyversion @SupportUpgradeProxyVersion = supportupgradeproxyversion @Status = status @TaskStatus = taskstatus @ProxyNode = proxynode @ProxyAddress = proxyaddress @ConnectionPoolLimit = connectionpoollimit @SupportCreateProxyAddress = supportcreateproxyaddress @SupportUpgradeProxyMysqlVersion = supportupgradeproxymysqlversion end |
Instance Attribute Details
#ConnectionPoolLimit ⇒ Object
12290 12291 12292 |
# File 'lib/v20170320/models.rb', line 12290 def ConnectionPoolLimit @ConnectionPoolLimit end |
#ProxyAddress ⇒ Object
12290 12291 12292 |
# File 'lib/v20170320/models.rb', line 12290 def ProxyAddress @ProxyAddress end |
#ProxyGroupId ⇒ Object
12290 12291 12292 |
# File 'lib/v20170320/models.rb', line 12290 def ProxyGroupId @ProxyGroupId end |
#ProxyNode ⇒ Object
12290 12291 12292 |
# File 'lib/v20170320/models.rb', line 12290 def ProxyNode @ProxyNode end |
#ProxyVersion ⇒ Object
12290 12291 12292 |
# File 'lib/v20170320/models.rb', line 12290 def ProxyVersion @ProxyVersion end |
#Status ⇒ Object
12290 12291 12292 |
# File 'lib/v20170320/models.rb', line 12290 def Status @Status end |
#SupportCreateProxyAddress ⇒ Object
12290 12291 12292 |
# File 'lib/v20170320/models.rb', line 12290 def SupportCreateProxyAddress @SupportCreateProxyAddress end |
#SupportUpgradeProxyMysqlVersion ⇒ Object
12290 12291 12292 |
# File 'lib/v20170320/models.rb', line 12290 def SupportUpgradeProxyMysqlVersion @SupportUpgradeProxyMysqlVersion end |
#SupportUpgradeProxyVersion ⇒ Object
12290 12291 12292 |
# File 'lib/v20170320/models.rb', line 12290 def SupportUpgradeProxyVersion @SupportUpgradeProxyVersion end |
#TaskStatus ⇒ Object
12290 12291 12292 |
# File 'lib/v20170320/models.rb', line 12290 def TaskStatus @TaskStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 |
# File 'lib/v20170320/models.rb', line 12305 def deserialize(params) @ProxyGroupId = params['ProxyGroupId'] @ProxyVersion = params['ProxyVersion'] @SupportUpgradeProxyVersion = params['SupportUpgradeProxyVersion'] @Status = params['Status'] @TaskStatus = params['TaskStatus'] unless params['ProxyNode'].nil? @ProxyNode = [] params['ProxyNode'].each do |i| proxynode_tmp = ProxyNode.new proxynode_tmp.deserialize(i) @ProxyNode << proxynode_tmp end end unless params['ProxyAddress'].nil? @ProxyAddress = [] params['ProxyAddress'].each do |i| proxyaddress_tmp = ProxyAddress.new proxyaddress_tmp.deserialize(i) @ProxyAddress << proxyaddress_tmp end end @ConnectionPoolLimit = params['ConnectionPoolLimit'] @SupportCreateProxyAddress = params['SupportCreateProxyAddress'] @SupportUpgradeProxyMysqlVersion = params['SupportUpgradeProxyMysqlVersion'] end |