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.
12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 |
# File 'lib/v20170320/models.rb', line 12835 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 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def DelayReplicationTime @DelayReplicationTime end |
#MinRoInGroup ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def MinRoInGroup @MinRoInGroup end |
#RoGroupId ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def RoGroupId @RoGroupId end |
#RoGroupMode ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def RoGroupMode @RoGroupMode end |
#RoGroupName ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def RoGroupName @RoGroupName end |
#RoGroupRegion ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def RoGroupRegion @RoGroupRegion end |
#RoGroupZone ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def RoGroupZone @RoGroupZone end |
#RoInstances ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def RoInstances @RoInstances end |
#RoMaxDelayTime ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def RoMaxDelayTime @RoMaxDelayTime end |
#RoOfflineDelay ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def RoOfflineDelay @RoOfflineDelay end |
#UniqSubnetId ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def UniqSubnetId @UniqSubnetId end |
#UniqVpcId ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def UniqVpcId @UniqVpcId end |
#Vip ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def Vip @Vip end |
#Vport ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def Vport @Vport end |
#Weight ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def Weight @Weight end |
#WeightMode ⇒ Object
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
12833 12834 12835 |
# File 'lib/v20170320/models.rb', line 12833 def WeightMode @WeightMode end |
Instance Method Details
#deserialize(params) ⇒ Object
12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 |
# File 'lib/v20170320/models.rb', line 12854 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 |