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,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#AssociatedRuleCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FullListenSwitch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IpVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#KeepaliveEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RegisteredInstancesCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ScheduleAlgorithm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SessionExpireTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Tag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetGroupId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetGroupName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetGroupType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpdatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Weight ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 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, schedulealgorithm = nil, healthcheck = nil, targetgrouptype = nil, associatedrulecount = nil, registeredinstancescount = nil, tag = nil, weight = nil, fulllistenswitch = nil, keepaliveenable = nil, sessionexpiretime = nil, ipversion = 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, schedulealgorithm = nil, healthcheck = nil, targetgrouptype = nil, associatedrulecount = nil, registeredinstancescount = nil, tag = nil, weight = nil, fulllistenswitch = nil, keepaliveenable = nil, sessionexpiretime = nil, ipversion = nil) ⇒ TargetGroupInfo
Returns a new instance of TargetGroupInfo.
8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 |
# File 'lib/v20180317/models.rb', line 8727 def initialize(targetgroupid=nil, vpcid=nil, targetgroupname=nil, port=nil, createdtime=nil, updatedtime=nil, associatedrule=nil, protocol=nil, schedulealgorithm=nil, healthcheck=nil, targetgrouptype=nil, associatedrulecount=nil, registeredinstancescount=nil, tag=nil, weight=nil, fulllistenswitch=nil, keepaliveenable=nil, sessionexpiretime=nil, ipversion=nil) @TargetGroupId = targetgroupid @VpcId = vpcid @TargetGroupName = targetgroupname @Port = port @CreatedTime = createdtime @UpdatedTime = updatedtime @AssociatedRule = associatedrule @Protocol = protocol @ScheduleAlgorithm = schedulealgorithm @HealthCheck = healthcheck @TargetGroupType = targetgrouptype @AssociatedRuleCount = associatedrulecount @RegisteredInstancesCount = registeredinstancescount @Tag = tag @Weight = weight @FullListenSwitch = fulllistenswitch @KeepaliveEnable = keepaliveenable @SessionExpireTime = sessionexpiretime @IpVersion = ipversion end |
Instance Attribute Details
#AssociatedRule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def AssociatedRule @AssociatedRule end |
#AssociatedRuleCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def AssociatedRuleCount @AssociatedRuleCount end |
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def CreatedTime @CreatedTime end |
#FullListenSwitch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def FullListenSwitch @FullListenSwitch end |
#HealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def HealthCheck @HealthCheck end |
#IpVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def IpVersion @IpVersion end |
#KeepaliveEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def KeepaliveEnable @KeepaliveEnable end |
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def Port @Port end |
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def Protocol @Protocol end |
#RegisteredInstancesCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def RegisteredInstancesCount @RegisteredInstancesCount end |
#ScheduleAlgorithm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def ScheduleAlgorithm @ScheduleAlgorithm end |
#SessionExpireTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def SessionExpireTime @SessionExpireTime end |
#Tag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def Tag @Tag end |
#TargetGroupId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def TargetGroupId @TargetGroupId end |
#TargetGroupName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def TargetGroupName @TargetGroupName end |
#TargetGroupType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def TargetGroupType @TargetGroupType end |
#UpdatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def UpdatedTime @UpdatedTime end |
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def VpcId @VpcId end |
#Weight ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8725 8726 8727 |
# File 'lib/v20180317/models.rb', line 8725 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 |
# File 'lib/v20180317/models.rb', line 8749 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'] @ScheduleAlgorithm = params['ScheduleAlgorithm'] unless params['HealthCheck'].nil? @HealthCheck = TargetGroupHealthCheck.new @HealthCheck.deserialize(params['HealthCheck']) end @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'] @KeepaliveEnable = params['KeepaliveEnable'] @SessionExpireTime = params['SessionExpireTime'] @IpVersion = params['IpVersion'] end |