Class: TencentCloud::Monitor::V20180724::ManagementCommand

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

Overview

Prometheus Agent 管理命令行

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(install = nil, restart = nil, stop = nil, statuscheck = nil, logcheck = nil) ⇒ ManagementCommand

Returns a new instance of ManagementCommand.



11005
11006
11007
11008
11009
11010
11011
# File 'lib/v20180724/models.rb', line 11005

def initialize(install=nil, restart=nil, stop=nil, statuscheck=nil, logcheck=nil)
  @Install = install
  @Restart = restart
  @Stop = stop
  @StatusCheck = statuscheck
  @LogCheck = logcheck
end

Instance Attribute Details

#InstallObject

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

Parameters:

  • Install:

    Agent 安装命令

  • Restart:

    Agent 重启命令

  • Stop:

    Agent 停止命令

  • StatusCheck:

    Agent 状态检测命令

  • LogCheck:

    Agent 日志检测命令



11003
11004
11005
# File 'lib/v20180724/models.rb', line 11003

def Install
  @Install
end

#LogCheckObject

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

Parameters:

  • Install:

    Agent 安装命令

  • Restart:

    Agent 重启命令

  • Stop:

    Agent 停止命令

  • StatusCheck:

    Agent 状态检测命令

  • LogCheck:

    Agent 日志检测命令



11003
11004
11005
# File 'lib/v20180724/models.rb', line 11003

def LogCheck
  @LogCheck
end

#RestartObject

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

Parameters:

  • Install:

    Agent 安装命令

  • Restart:

    Agent 重启命令

  • Stop:

    Agent 停止命令

  • StatusCheck:

    Agent 状态检测命令

  • LogCheck:

    Agent 日志检测命令



11003
11004
11005
# File 'lib/v20180724/models.rb', line 11003

def Restart
  @Restart
end

#StatusCheckObject

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

Parameters:

  • Install:

    Agent 安装命令

  • Restart:

    Agent 重启命令

  • Stop:

    Agent 停止命令

  • StatusCheck:

    Agent 状态检测命令

  • LogCheck:

    Agent 日志检测命令



11003
11004
11005
# File 'lib/v20180724/models.rb', line 11003

def StatusCheck
  @StatusCheck
end

#StopObject

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

Parameters:

  • Install:

    Agent 安装命令

  • Restart:

    Agent 重启命令

  • Stop:

    Agent 停止命令

  • StatusCheck:

    Agent 状态检测命令

  • LogCheck:

    Agent 日志检测命令



11003
11004
11005
# File 'lib/v20180724/models.rb', line 11003

def Stop
  @Stop
end

Instance Method Details

#deserialize(params) ⇒ Object



11013
11014
11015
11016
11017
11018
11019
# File 'lib/v20180724/models.rb', line 11013

def deserialize(params)
  @Install = params['Install']
  @Restart = params['Restart']
  @Stop = params['Stop']
  @StatusCheck = params['StatusCheck']
  @LogCheck = params['LogCheck']
end