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.



8787
8788
8789
8790
8791
8792
8793
# File 'lib/v20180317/models.rb', line 8787

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



8785
8786
8787
# File 'lib/v20180317/models.rb', line 8785

def EniId
  @EniId
end

#InstanceIdObject

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

Parameters:

  • InstanceIp:

    后端rs的IP

  • Status:

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

  • InstanceId:

    实例ID

  • Port:

    端口

  • EniId:

    网卡ID



8785
8786
8787
# File 'lib/v20180317/models.rb', line 8785

def InstanceId
  @InstanceId
end

#InstanceIpObject

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

Parameters:

  • InstanceIp:

    后端rs的IP

  • Status:

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

  • InstanceId:

    实例ID

  • Port:

    端口

  • EniId:

    网卡ID



8785
8786
8787
# File 'lib/v20180317/models.rb', line 8785

def InstanceIp
  @InstanceIp
end

#PortObject

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

Parameters:

  • InstanceIp:

    后端rs的IP

  • Status:

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

  • InstanceId:

    实例ID

  • Port:

    端口

  • EniId:

    网卡ID



8785
8786
8787
# File 'lib/v20180317/models.rb', line 8785

def Port
  @Port
end

#StatusObject

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

Parameters:

  • InstanceIp:

    后端rs的IP

  • Status:

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

  • InstanceId:

    实例ID

  • Port:

    端口

  • EniId:

    网卡ID



8785
8786
8787
# File 'lib/v20180317/models.rb', line 8785

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



8795
8796
8797
8798
8799
8800
8801
# File 'lib/v20180317/models.rb', line 8795

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