Class: TencentCloud::Tke::V20180525::LivenessOrReadinessProbe
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::LivenessOrReadinessProbe
- Defined in:
- lib/v20180525/models.rb
Overview
健康探针
Instance Attribute Summary collapse
-
#Exec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HttpGet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Probe ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TcpSocket ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(probe = nil, exec = nil, httpget = nil, tcpsocket = nil) ⇒ LivenessOrReadinessProbe
constructor
A new instance of LivenessOrReadinessProbe.
Constructor Details
#initialize(probe = nil, exec = nil, httpget = nil, tcpsocket = nil) ⇒ LivenessOrReadinessProbe
Returns a new instance of LivenessOrReadinessProbe.
14841 14842 14843 14844 14845 14846 |
# File 'lib/v20180525/models.rb', line 14841 def initialize(probe=nil, exec=nil, httpget=nil, tcpsocket=nil) @Probe = probe @Exec = exec @HttpGet = httpget @TcpSocket = tcpsocket end |
Instance Attribute Details
#Exec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
14839 14840 14841 |
# File 'lib/v20180525/models.rb', line 14839 def Exec @Exec end |
#HttpGet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
14839 14840 14841 |
# File 'lib/v20180525/models.rb', line 14839 def HttpGet @HttpGet end |
#Probe ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
14839 14840 14841 |
# File 'lib/v20180525/models.rb', line 14839 def Probe @Probe end |
#TcpSocket ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
14839 14840 14841 |
# File 'lib/v20180525/models.rb', line 14839 def TcpSocket @TcpSocket end |
Instance Method Details
#deserialize(params) ⇒ Object
14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 |
# File 'lib/v20180525/models.rb', line 14848 def deserialize(params) unless params['Probe'].nil? @Probe = Probe.new @Probe.deserialize(params['Probe']) end unless params['Exec'].nil? @Exec = Exec.new @Exec.deserialize(params['Exec']) end unless params['HttpGet'].nil? @HttpGet = HttpGet.new @HttpGet.deserialize(params['HttpGet']) end unless params['TcpSocket'].nil? @TcpSocket = TcpSocket.new @TcpSocket.deserialize(params['TcpSocket']) end end |