Class: TencentCloud::Clb::V20180317::TargetGroupInstanceStatus

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180317/models.rb

Overview

用于目标组后端rs健康检查状态。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceip = nil, status = nil, instanceid = nil, port = nil, eniid = nil) ⇒ TargetGroupInstanceStatus

Returns a new instance of TargetGroupInstanceStatus.



8762
8763
8764
8765
8766
8767
8768
# File 'lib/v20180317/models.rb', line 8762

def initialize(instanceip=nil, status=nil, instanceid=nil, port=nil, eniid=nil)
  @InstanceIp = instanceip
  @Status = status
  @InstanceId = instanceid
  @Port = port
  @EniId = eniid
end

Instance Attribute Details

#EniIdObject

● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceIp:

    后端rs的IP

  • Status:

    健康检查状态,参数值及含义如下:

  • InstanceId:

    实例ID

  • Port:

    端口

  • EniId:

    网卡ID



8760
8761
8762
# File 'lib/v20180317/models.rb', line 8760

def EniId
  @EniId
end

#InstanceIdObject

● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceIp:

    后端rs的IP

  • Status:

    健康检查状态,参数值及含义如下:

  • InstanceId:

    实例ID

  • Port:

    端口

  • EniId:

    网卡ID



8760
8761
8762
# File 'lib/v20180317/models.rb', line 8760

def InstanceId
  @InstanceId
end

#InstanceIpObject

● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceIp:

    后端rs的IP

  • Status:

    健康检查状态,参数值及含义如下:

  • InstanceId:

    实例ID

  • Port:

    端口

  • EniId:

    网卡ID



8760
8761
8762
# File 'lib/v20180317/models.rb', line 8760

def InstanceIp
  @InstanceIp
end

#PortObject

● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceIp:

    后端rs的IP

  • Status:

    健康检查状态,参数值及含义如下:

  • InstanceId:

    实例ID

  • Port:

    端口

  • EniId:

    网卡ID



8760
8761
8762
# File 'lib/v20180317/models.rb', line 8760

def Port
  @Port
end

#StatusObject

● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceIp:

    后端rs的IP

  • Status:

    健康检查状态,参数值及含义如下:

  • InstanceId:

    实例ID

  • Port:

    端口

  • EniId:

    网卡ID



8760
8761
8762
# File 'lib/v20180317/models.rb', line 8760

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



8770
8771
8772
8773
8774
8775
8776
# File 'lib/v20180317/models.rb', line 8770

def deserialize(params)
  @InstanceIp = params['InstanceIp']
  @Status = params['Status']
  @InstanceId = params['InstanceId']
  @Port = params['Port']
  @EniId = params['EniId']
end