Class: TencentCloud::Cdb::V20170320::RoGroup
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::RoGroup
- Defined in:
- lib/v20170320/models.rb
Overview
只读组参数
Instance Attribute Summary collapse
-
#DelayReplicationTime ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#MinRoInGroup ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#RoGroupId ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#RoGroupMode ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#RoGroupName ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#RoGroupRegion ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#RoGroupZone ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#RoInstances ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#RoMaxDelayTime ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#RoOfflineDelay ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#UniqSubnetId ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#UniqVpcId ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#Vip ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#Vport ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#Weight ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
-
#WeightMode ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rogroupmode = nil, rogroupid = nil, rogroupname = nil, roofflinedelay = nil, romaxdelaytime = nil, minroingroup = nil, weightmode = nil, weight = nil, roinstances = nil, vip = nil, vport = nil, uniqvpcid = nil, uniqsubnetid = nil, rogroupregion = nil, rogroupzone = nil, delayreplicationtime = nil) ⇒ RoGroup
constructor
A new instance of RoGroup.
Constructor Details
#initialize(rogroupmode = nil, rogroupid = nil, rogroupname = nil, roofflinedelay = nil, romaxdelaytime = nil, minroingroup = nil, weightmode = nil, weight = nil, roinstances = nil, vip = nil, vport = nil, uniqvpcid = nil, uniqsubnetid = nil, rogroupregion = nil, rogroupzone = nil, delayreplicationtime = nil) ⇒ RoGroup
Returns a new instance of RoGroup.
13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 |
# File 'lib/v20170320/models.rb', line 13136 def initialize(rogroupmode=nil, rogroupid=nil, rogroupname=nil, roofflinedelay=nil, romaxdelaytime=nil, minroingroup=nil, weightmode=nil, weight=nil, roinstances=nil, vip=nil, vport=nil, uniqvpcid=nil, uniqsubnetid=nil, rogroupregion=nil, rogroupzone=nil, delayreplicationtime=nil) @RoGroupMode = rogroupmode @RoGroupId = rogroupid @RoGroupName = rogroupname @RoOfflineDelay = roofflinedelay @RoMaxDelayTime = romaxdelaytime @MinRoInGroup = minroingroup @WeightMode = weightmode @Weight = weight @RoInstances = roinstances @Vip = vip @Vport = vport @UniqVpcId = uniqvpcid @UniqSubnetId = uniqsubnetid @RoGroupRegion = rogroupregion @RoGroupZone = rogroupzone @DelayReplicationTime = delayreplicationtime end |
Instance Attribute Details
#DelayReplicationTime ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def DelayReplicationTime @DelayReplicationTime end |
#MinRoInGroup ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def MinRoInGroup @MinRoInGroup end |
#RoGroupId ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def RoGroupId @RoGroupId end |
#RoGroupMode ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def RoGroupMode @RoGroupMode end |
#RoGroupName ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def RoGroupName @RoGroupName end |
#RoGroupRegion ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def RoGroupRegion @RoGroupRegion end |
#RoGroupZone ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def RoGroupZone @RoGroupZone end |
#RoInstances ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def RoInstances @RoInstances end |
#RoMaxDelayTime ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def RoMaxDelayTime @RoMaxDelayTime end |
#RoOfflineDelay ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def RoOfflineDelay @RoOfflineDelay end |
#UniqSubnetId ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def UniqSubnetId @UniqSubnetId end |
#UniqVpcId ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def UniqVpcId @UniqVpcId end |
#Vip ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def Vip @Vip end |
#Vport ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def Vport @Vport end |
#Weight ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def Weight @Weight end |
#WeightMode ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
13134 13135 13136 |
# File 'lib/v20170320/models.rb', line 13134 def WeightMode @WeightMode end |
Instance Method Details
#deserialize(params) ⇒ Object
13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 |
# File 'lib/v20170320/models.rb', line 13155 def deserialize(params) @RoGroupMode = params['RoGroupMode'] @RoGroupId = params['RoGroupId'] @RoGroupName = params['RoGroupName'] @RoOfflineDelay = params['RoOfflineDelay'] @RoMaxDelayTime = params['RoMaxDelayTime'] @MinRoInGroup = params['MinRoInGroup'] @WeightMode = params['WeightMode'] @Weight = params['Weight'] unless params['RoInstances'].nil? @RoInstances = [] params['RoInstances'].each do |i| roinstanceinfo_tmp = RoInstanceInfo.new roinstanceinfo_tmp.deserialize(i) @RoInstances << roinstanceinfo_tmp end end @Vip = params['Vip'] @Vport = params['Vport'] @UniqVpcId = params['UniqVpcId'] @UniqSubnetId = params['UniqSubnetId'] @RoGroupRegion = params['RoGroupRegion'] @RoGroupZone = params['RoGroupZone'] @DelayReplicationTime = params['DelayReplicationTime'] end |