Class: TencentCloud::Clb::V20180317::TargetGroupInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::TargetGroupInfo
- Defined in:
- lib/v20180317/models.rb
Overview
目标组信息
Instance Attribute Summary collapse
-
#AssociatedRule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#AssociatedRuleCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#FullListenSwitch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RegisteredInstancesCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Tag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetGroupId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetGroupName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetGroupType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UpdatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Weight ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targetgroupid = nil, vpcid = nil, targetgroupname = nil, port = nil, createdtime = nil, updatedtime = nil, associatedrule = nil, protocol = nil, targetgrouptype = nil, associatedrulecount = nil, registeredinstancescount = nil, tag = nil, weight = nil, fulllistenswitch = nil) ⇒ TargetGroupInfo
constructor
A new instance of TargetGroupInfo.
Constructor Details
#initialize(targetgroupid = nil, vpcid = nil, targetgroupname = nil, port = nil, createdtime = nil, updatedtime = nil, associatedrule = nil, protocol = nil, targetgrouptype = nil, associatedrulecount = nil, registeredinstancescount = nil, tag = nil, weight = nil, fulllistenswitch = nil) ⇒ TargetGroupInfo
Returns a new instance of TargetGroupInfo.
8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 |
# File 'lib/v20180317/models.rb', line 8479 def initialize(targetgroupid=nil, vpcid=nil, targetgroupname=nil, port=nil, createdtime=nil, updatedtime=nil, associatedrule=nil, protocol=nil, targetgrouptype=nil, associatedrulecount=nil, registeredinstancescount=nil, tag=nil, weight=nil, fulllistenswitch=nil) @TargetGroupId = targetgroupid @VpcId = vpcid @TargetGroupName = targetgroupname @Port = port @CreatedTime = createdtime @UpdatedTime = updatedtime @AssociatedRule = associatedrule @Protocol = protocol @TargetGroupType = targetgrouptype @AssociatedRuleCount = associatedrulecount @RegisteredInstancesCount = registeredinstancescount @Tag = tag @Weight = weight @FullListenSwitch = fulllistenswitch end |
Instance Attribute Details
#AssociatedRule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def AssociatedRule @AssociatedRule end |
#AssociatedRuleCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def AssociatedRuleCount @AssociatedRuleCount end |
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def CreatedTime @CreatedTime end |
#FullListenSwitch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def FullListenSwitch @FullListenSwitch end |
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def Port @Port end |
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def Protocol @Protocol end |
#RegisteredInstancesCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def RegisteredInstancesCount @RegisteredInstancesCount end |
#Tag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def Tag @Tag end |
#TargetGroupId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def TargetGroupId @TargetGroupId end |
#TargetGroupName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def TargetGroupName @TargetGroupName end |
#TargetGroupType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def TargetGroupType @TargetGroupType end |
#UpdatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def UpdatedTime @UpdatedTime end |
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def VpcId @VpcId end |
#Weight ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8477 8478 8479 |
# File 'lib/v20180317/models.rb', line 8477 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 |
# File 'lib/v20180317/models.rb', line 8496 def deserialize(params) @TargetGroupId = params['TargetGroupId'] @VpcId = params['VpcId'] @TargetGroupName = params['TargetGroupName'] @Port = params['Port'] @CreatedTime = params['CreatedTime'] @UpdatedTime = params['UpdatedTime'] unless params['AssociatedRule'].nil? @AssociatedRule = [] params['AssociatedRule'].each do |i| associationitem_tmp = AssociationItem.new associationitem_tmp.deserialize(i) @AssociatedRule << associationitem_tmp end end @Protocol = params['Protocol'] @TargetGroupType = params['TargetGroupType'] @AssociatedRuleCount = params['AssociatedRuleCount'] @RegisteredInstancesCount = params['RegisteredInstancesCount'] unless params['Tag'].nil? @Tag = [] params['Tag'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @Tag << taginfo_tmp end end @Weight = params['Weight'] @FullListenSwitch = params['FullListenSwitch'] end |