Class: TencentCloud::Tke::V20180525::HttpGet

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

Overview

Probe中的HttpGet

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path = nil, port = nil, scheme = nil) ⇒ HttpGet

Returns a new instance of HttpGet.



12556
12557
12558
12559
12560
# File 'lib/v20180525/models.rb', line 12556

def initialize(path=nil, port=nil, scheme=nil)
  @Path = path
  @Port = port
  @Scheme = scheme
end

Instance Attribute Details

#PathObject

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

Parameters:

  • Path:

    HttpGet检测的路径

  • Port:

    HttpGet检测的端口号

  • Scheme:

    HTTP or HTTPS



12554
12555
12556
# File 'lib/v20180525/models.rb', line 12554

def Path
  @Path
end

#PortObject

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

Parameters:

  • Path:

    HttpGet检测的路径

  • Port:

    HttpGet检测的端口号

  • Scheme:

    HTTP or HTTPS



12554
12555
12556
# File 'lib/v20180525/models.rb', line 12554

def Port
  @Port
end

#SchemeObject

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

Parameters:

  • Path:

    HttpGet检测的路径

  • Port:

    HttpGet检测的端口号

  • Scheme:

    HTTP or HTTPS



12554
12555
12556
# File 'lib/v20180525/models.rb', line 12554

def Scheme
  @Scheme
end

Instance Method Details

#deserialize(params) ⇒ Object



12562
12563
12564
12565
12566
# File 'lib/v20180525/models.rb', line 12562

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