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.



13635
13636
13637
13638
13639
# File 'lib/v20180525/models.rb', line 13635

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



13633
13634
13635
# File 'lib/v20180525/models.rb', line 13633

def Path
  @Path
end

#PortObject

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

Parameters:

  • Path:

    HttpGet检测的路径

  • Port:

    HttpGet检测的端口号

  • Scheme:

    HTTP or HTTPS



13633
13634
13635
# File 'lib/v20180525/models.rb', line 13633

def Port
  @Port
end

#SchemeObject

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

Parameters:

  • Path:

    HttpGet检测的路径

  • Port:

    HttpGet检测的端口号

  • Scheme:

    HTTP or HTTPS



13633
13634
13635
# File 'lib/v20180525/models.rb', line 13633

def Scheme
  @Scheme
end

Instance Method Details

#deserialize(params) ⇒ Object



13641
13642
13643
13644
13645
# File 'lib/v20180525/models.rb', line 13641

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