Class: TencentCloud::Tke::V20180525::TcpSocket

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

Overview

探针使用TcpSocket检测容器

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(port = nil) ⇒ TcpSocket

Returns a new instance of TcpSocket.



18623
18624
18625
# File 'lib/v20180525/models.rb', line 18623

def initialize(port=nil)
  @Port = port
end

Instance Attribute Details

#PortObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    TcpSocket检测的端口



18621
18622
18623
# File 'lib/v20180525/models.rb', line 18621

def Port
  @Port
end

Instance Method Details

#deserialize(params) ⇒ Object



18627
18628
18629
# File 'lib/v20180525/models.rb', line 18627

def deserialize(params)
  @Port = params['Port']
end