Class: TencentCloud::Cdb::V20170320::ProxyAddress
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ProxyAddress
- Defined in:
- lib/v20170320/models.rb
Overview
数据库代理地址信息
Instance Attribute Summary collapse
-
#AccessMode ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#ApNodeAsRoNode ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#ApQueryToOtherNode ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#AutoAddRo ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#AutoLoadBalance ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#ConnectionPool ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#Desc ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#FailOver ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#IsKickOut ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#MaxDelay ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#MinCount ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#ProxyAddressId ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#ProxyAllocation ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#ReadOnly ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#TransSplit ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#UniqSubnetId ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#UniqVpcId ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#Vip ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#VPort ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
-
#WeightMode ⇒ Object
系统自动分配:“system”, 自定义:“custom”.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(proxyaddressid = nil, uniqvpcid = nil, uniqsubnetid = nil, vip = nil, vport = nil, weightmode = nil, iskickout = nil, mincount = nil, maxdelay = nil, autoaddro = nil, readonly = nil, transsplit = nil, failover = nil, connectionpool = nil, desc = nil, proxyallocation = nil, accessmode = nil, autoloadbalance = nil, apnodeasronode = nil, apquerytoothernode = nil) ⇒ ProxyAddress
constructor
A new instance of ProxyAddress.
Constructor Details
#initialize(proxyaddressid = nil, uniqvpcid = nil, uniqsubnetid = nil, vip = nil, vport = nil, weightmode = nil, iskickout = nil, mincount = nil, maxdelay = nil, autoaddro = nil, readonly = nil, transsplit = nil, failover = nil, connectionpool = nil, desc = nil, proxyallocation = nil, accessmode = nil, autoloadbalance = nil, apnodeasronode = nil, apquerytoothernode = nil) ⇒ ProxyAddress
Returns a new instance of ProxyAddress.
12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 |
# File 'lib/v20170320/models.rb', line 12469 def initialize(proxyaddressid=nil, uniqvpcid=nil, uniqsubnetid=nil, vip=nil, vport=nil, weightmode=nil, iskickout=nil, mincount=nil, maxdelay=nil, autoaddro=nil, readonly=nil, transsplit=nil, failover=nil, connectionpool=nil, desc=nil, proxyallocation=nil, accessmode=nil, autoloadbalance=nil, apnodeasronode=nil, apquerytoothernode=nil) @ProxyAddressId = proxyaddressid @UniqVpcId = uniqvpcid @UniqSubnetId = uniqsubnetid @Vip = vip @VPort = vport @WeightMode = weightmode @IsKickOut = iskickout @MinCount = mincount @MaxDelay = maxdelay @AutoAddRo = autoaddro @ReadOnly = readonly @TransSplit = transsplit @FailOver = failover @ConnectionPool = connectionpool @Desc = desc @ProxyAllocation = proxyallocation @AccessMode = accessmode @AutoLoadBalance = autoloadbalance @ApNodeAsRoNode = apnodeasronode @ApQueryToOtherNode = apquerytoothernode end |
Instance Attribute Details
#AccessMode ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def AccessMode @AccessMode end |
#ApNodeAsRoNode ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def ApNodeAsRoNode @ApNodeAsRoNode end |
#ApQueryToOtherNode ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def ApQueryToOtherNode @ApQueryToOtherNode end |
#AutoAddRo ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def AutoAddRo @AutoAddRo end |
#AutoLoadBalance ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def AutoLoadBalance @AutoLoadBalance end |
#ConnectionPool ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def ConnectionPool @ConnectionPool end |
#Desc ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def Desc @Desc end |
#FailOver ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def FailOver @FailOver end |
#IsKickOut ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def IsKickOut @IsKickOut end |
#MaxDelay ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def MaxDelay @MaxDelay end |
#MinCount ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def MinCount @MinCount end |
#ProxyAddressId ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def ProxyAddressId @ProxyAddressId end |
#ProxyAllocation ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def ProxyAllocation @ProxyAllocation end |
#ReadOnly ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def ReadOnly @ReadOnly end |
#TransSplit ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def TransSplit @TransSplit end |
#UniqSubnetId ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def UniqSubnetId @UniqSubnetId end |
#UniqVpcId ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def UniqVpcId @UniqVpcId end |
#Vip ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def Vip @Vip end |
#VPort ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def VPort @VPort end |
#WeightMode ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12467 12468 12469 |
# File 'lib/v20170320/models.rb', line 12467 def WeightMode @WeightMode end |
Instance Method Details
#deserialize(params) ⇒ Object
12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 |
# File 'lib/v20170320/models.rb', line 12492 def deserialize(params) @ProxyAddressId = params['ProxyAddressId'] @UniqVpcId = params['UniqVpcId'] @UniqSubnetId = params['UniqSubnetId'] @Vip = params['Vip'] @VPort = params['VPort'] @WeightMode = params['WeightMode'] @IsKickOut = params['IsKickOut'] @MinCount = params['MinCount'] @MaxDelay = params['MaxDelay'] @AutoAddRo = params['AutoAddRo'] @ReadOnly = params['ReadOnly'] @TransSplit = params['TransSplit'] @FailOver = params['FailOver'] @ConnectionPool = params['ConnectionPool'] @Desc = params['Desc'] unless params['ProxyAllocation'].nil? @ProxyAllocation = [] params['ProxyAllocation'].each do |i| proxyallocation_tmp = ProxyAllocation.new proxyallocation_tmp.deserialize(i) @ProxyAllocation << proxyallocation_tmp end end @AccessMode = params['AccessMode'] @AutoLoadBalance = params['AutoLoadBalance'] @ApNodeAsRoNode = params['ApNodeAsRoNode'] @ApQueryToOtherNode = params['ApQueryToOtherNode'] end |