Class: TencentCloud::Cls::V20201016::HostFileInfo

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

Overview

自建k8s-节点文件配置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logpath = nil, filepattern = nil, customlabels = nil) ⇒ HostFileInfo

Returns a new instance of HostFileInfo.



11603
11604
11605
11606
11607
# File 'lib/v20201016/models.rb', line 11603

def initialize(logpath=nil, filepattern=nil, customlabels=nil)
  @LogPath = logpath
  @FilePattern = filepattern
  @CustomLabels = customlabels
end

Instance Attribute Details

#CustomLabels ⇒ Object

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

Parameters:

  • LogPath: —

    日志文件夹

  • FilePattern: —

    日志文件名

  • CustomLabels: —

    metadata信息



11601
11602
11603
# File 'lib/v20201016/models.rb', line 11601

def CustomLabels
  @CustomLabels
end

#FilePattern ⇒ Object

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

Parameters:

  • LogPath: —

    日志文件夹

  • FilePattern: —

    日志文件名

  • CustomLabels: —

    metadata信息



11601
11602
11603
# File 'lib/v20201016/models.rb', line 11601

def FilePattern
  @FilePattern
end

#LogPath ⇒ Object

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

Parameters:

  • LogPath: —

    日志文件夹

  • FilePattern: —

    日志文件名

  • CustomLabels: —

    metadata信息



11601
11602
11603
# File 'lib/v20201016/models.rb', line 11601

def LogPath
  @LogPath
end

Instance Method Details

#deserialize(params) ⇒ Object



11609
11610
11611
11612
11613
# File 'lib/v20201016/models.rb', line 11609

def deserialize(params)
  @LogPath = params['LogPath']
  @FilePattern = params['FilePattern']
  @CustomLabels = params['CustomLabels']
end