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”.
-
#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) ⇒ 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) ⇒ ProxyAddress
Returns a new instance of ProxyAddress.
12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 |
# File 'lib/v20170320/models.rb', line 12186 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) @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 end |
Instance Attribute Details
#AccessMode ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def AccessMode @AccessMode end |
#AutoAddRo ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def AutoAddRo @AutoAddRo end |
#AutoLoadBalance ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def AutoLoadBalance @AutoLoadBalance end |
#ConnectionPool ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def ConnectionPool @ConnectionPool end |
#Desc ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def Desc @Desc end |
#FailOver ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def FailOver @FailOver end |
#IsKickOut ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def IsKickOut @IsKickOut end |
#MaxDelay ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def MaxDelay @MaxDelay end |
#MinCount ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def MinCount @MinCount end |
#ProxyAddressId ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def ProxyAddressId @ProxyAddressId end |
#ProxyAllocation ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def ProxyAllocation @ProxyAllocation end |
#ReadOnly ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def ReadOnly @ReadOnly end |
#TransSplit ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def TransSplit @TransSplit end |
#UniqSubnetId ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def UniqSubnetId @UniqSubnetId end |
#UniqVpcId ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def UniqVpcId @UniqVpcId end |
#Vip ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def Vip @Vip end |
#VPort ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def VPort @VPort end |
#WeightMode ⇒ Object
系统自动分配:“system”, 自定义:“custom”
12184 12185 12186 |
# File 'lib/v20170320/models.rb', line 12184 def WeightMode @WeightMode end |
Instance Method Details
#deserialize(params) ⇒ Object
12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 |
# File 'lib/v20170320/models.rb', line 12207 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'] end |