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.
8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 |
# File 'lib/v20180317/models.rb', line 8538 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,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def AssociatedRule @AssociatedRule end |
#AssociatedRuleCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def AssociatedRuleCount @AssociatedRuleCount end |
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def CreatedTime @CreatedTime end |
#FullListenSwitch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def FullListenSwitch @FullListenSwitch end |
#HealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def HealthCheck @HealthCheck end |
#IpVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def IpVersion @IpVersion end |
#KeepaliveEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def KeepaliveEnable @KeepaliveEnable end |
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def Port @Port end |
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def Protocol @Protocol end |
#RegisteredInstancesCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def RegisteredInstancesCount @RegisteredInstancesCount end |
#ScheduleAlgorithm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def ScheduleAlgorithm @ScheduleAlgorithm end |
#SessionExpireTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def SessionExpireTime @SessionExpireTime end |
#Tag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def Tag @Tag end |
#TargetGroupId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def TargetGroupId @TargetGroupId end |
#TargetGroupName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def TargetGroupName @TargetGroupName end |
#TargetGroupType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def TargetGroupType @TargetGroupType end |
#UpdatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def UpdatedTime @UpdatedTime end |
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def VpcId @VpcId end |
#Weight ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8536 8537 8538 |
# File 'lib/v20180317/models.rb', line 8536 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 |
# File 'lib/v20180317/models.rb', line 8560 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 |