Class: TencentCloud::Wedata::V20210820::AgentStatus

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

Overview

Agent采集器状态统计

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(running = nil, abnormal = nil, inoperation = nil) ⇒ AgentStatus

Returns a new instance of AgentStatus.



109
110
111
112
113
# File 'lib/v20210820/models.rb', line 109

def initialize(running=nil, abnormal=nil, inoperation=nil)
  @Running = running
  @Abnormal = abnormal
  @InOperation = inoperation
end

Instance Attribute Details

#AbnormalObject

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

Parameters:

  • Running:

    运行中的数量

  • Abnormal:

    异常的数量

  • InOperation:

    操作中的数量



107
108
109
# File 'lib/v20210820/models.rb', line 107

def Abnormal
  @Abnormal
end

#InOperationObject

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

Parameters:

  • Running:

    运行中的数量

  • Abnormal:

    异常的数量

  • InOperation:

    操作中的数量



107
108
109
# File 'lib/v20210820/models.rb', line 107

def InOperation
  @InOperation
end

#RunningObject

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

Parameters:

  • Running:

    运行中的数量

  • Abnormal:

    异常的数量

  • InOperation:

    操作中的数量



107
108
109
# File 'lib/v20210820/models.rb', line 107

def Running
  @Running
end

Instance Method Details

#deserialize(params) ⇒ Object



115
116
117
118
119
# File 'lib/v20210820/models.rb', line 115

def deserialize(params)
  @Running = params['Running']
  @Abnormal = params['Abnormal']
  @InOperation = params['InOperation']
end