Class: TencentCloud::Tke::V20180525::TcpSocket
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::TcpSocket
- Defined in:
- lib/v20180525/models.rb
Overview
探针使用TcpSocket检测容器
Instance Attribute Summary collapse
-
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(port = nil) ⇒ TcpSocket
constructor
A new instance of TcpSocket.
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
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
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 |