Class: TencentCloud::Monitor::V20180724::RecordingRuleSet

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

Overview

Prometheus 聚合规则响应结构体内信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ruleid = nil, rulestate = nil, name = nil, group = nil, total = nil, createdat = nil, updatedat = nil, rulename = nil) ⇒ RecordingRuleSet

Returns a new instance of RecordingRuleSet.



14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
# File 'lib/v20180724/models.rb', line 14627

def initialize(ruleid=nil, rulestate=nil, name=nil, group=nil, total=nil, createdat=nil, updatedat=nil, rulename=nil)
  @RuleId = ruleid
  @RuleState = rulestate
  @Name = name
  @Group = group
  @Total = total
  @CreatedAt = createdat
  @UpdatedAt = updatedat
  @RuleName = rulename
end

Instance Attribute Details

#CreatedAtObject

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

Parameters:

  • RuleId:

    规则 ID

  • RuleState:

    规则状态码

  • Name:

    分组名称

  • Group:

    规则内容组

  • Total:

    规则数量

  • CreatedAt:

    规则创建时间

  • UpdatedAt:

    规则最近更新时间

  • RuleName:

    规则名称



14625
14626
14627
# File 'lib/v20180724/models.rb', line 14625

def CreatedAt
  @CreatedAt
end

#GroupObject

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

Parameters:

  • RuleId:

    规则 ID

  • RuleState:

    规则状态码

  • Name:

    分组名称

  • Group:

    规则内容组

  • Total:

    规则数量

  • CreatedAt:

    规则创建时间

  • UpdatedAt:

    规则最近更新时间

  • RuleName:

    规则名称



14625
14626
14627
# File 'lib/v20180724/models.rb', line 14625

def Group
  @Group
end

#NameObject

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

Parameters:

  • RuleId:

    规则 ID

  • RuleState:

    规则状态码

  • Name:

    分组名称

  • Group:

    规则内容组

  • Total:

    规则数量

  • CreatedAt:

    规则创建时间

  • UpdatedAt:

    规则最近更新时间

  • RuleName:

    规则名称



14625
14626
14627
# File 'lib/v20180724/models.rb', line 14625

def Name
  @Name
end

#RuleIdObject

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

Parameters:

  • RuleId:

    规则 ID

  • RuleState:

    规则状态码

  • Name:

    分组名称

  • Group:

    规则内容组

  • Total:

    规则数量

  • CreatedAt:

    规则创建时间

  • UpdatedAt:

    规则最近更新时间

  • RuleName:

    规则名称



14625
14626
14627
# File 'lib/v20180724/models.rb', line 14625

def RuleId
  @RuleId
end

#RuleNameObject

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

Parameters:

  • RuleId:

    规则 ID

  • RuleState:

    规则状态码

  • Name:

    分组名称

  • Group:

    规则内容组

  • Total:

    规则数量

  • CreatedAt:

    规则创建时间

  • UpdatedAt:

    规则最近更新时间

  • RuleName:

    规则名称



14625
14626
14627
# File 'lib/v20180724/models.rb', line 14625

def RuleName
  @RuleName
end

#RuleStateObject

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

Parameters:

  • RuleId:

    规则 ID

  • RuleState:

    规则状态码

  • Name:

    分组名称

  • Group:

    规则内容组

  • Total:

    规则数量

  • CreatedAt:

    规则创建时间

  • UpdatedAt:

    规则最近更新时间

  • RuleName:

    规则名称



14625
14626
14627
# File 'lib/v20180724/models.rb', line 14625

def RuleState
  @RuleState
end

#TotalObject

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

Parameters:

  • RuleId:

    规则 ID

  • RuleState:

    规则状态码

  • Name:

    分组名称

  • Group:

    规则内容组

  • Total:

    规则数量

  • CreatedAt:

    规则创建时间

  • UpdatedAt:

    规则最近更新时间

  • RuleName:

    规则名称



14625
14626
14627
# File 'lib/v20180724/models.rb', line 14625

def Total
  @Total
end

#UpdatedAtObject

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

Parameters:

  • RuleId:

    规则 ID

  • RuleState:

    规则状态码

  • Name:

    分组名称

  • Group:

    规则内容组

  • Total:

    规则数量

  • CreatedAt:

    规则创建时间

  • UpdatedAt:

    规则最近更新时间

  • RuleName:

    规则名称



14625
14626
14627
# File 'lib/v20180724/models.rb', line 14625

def UpdatedAt
  @UpdatedAt
end

Instance Method Details

#deserialize(params) ⇒ Object



14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
# File 'lib/v20180724/models.rb', line 14638

def deserialize(params)
  @RuleId = params['RuleId']
  @RuleState = params['RuleState']
  @Name = params['Name']
  @Group = params['Group']
  @Total = params['Total']
  @CreatedAt = params['CreatedAt']
  @UpdatedAt = params['UpdatedAt']
  @RuleName = params['RuleName']
end