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.



20134
20135
20136
# File 'lib/v20180525/models.rb', line 20134

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

Instance Attribute Details

#PortObject

Parameters:

  • Port:

    TcpSocket检测的端口



20132
20133
20134
# File 'lib/v20180525/models.rb', line 20132

def Port
  @Port
end

Instance Method Details

#deserialize(params) ⇒ Object



20138
20139
20140
# File 'lib/v20180525/models.rb', line 20138

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