Class: TencentCloud::Wedata::V20250806::AlarmMessage

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

Overview

告警信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alarmmessageid = nil, alarmtime = nil, taskname = nil, taskid = nil, currundate = nil, alarmreason = nil, alarmlevel = nil, alarmruleid = nil, alarmways = nil, alarmrecipients = nil) ⇒ AlarmMessage

Returns a new instance of AlarmMessage.



139
140
141
142
143
144
145
146
147
148
149
150
# File 'lib/v20250806/models.rb', line 139

def initialize(alarmmessageid=nil, alarmtime=nil, taskname=nil, taskid=nil, currundate=nil, alarmreason=nil, alarmlevel=nil, alarmruleid=nil, alarmways=nil, alarmrecipients=nil)
  @AlarmMessageId = alarmmessageid
  @AlarmTime = alarmtime
  @TaskName = taskname
  @TaskId = taskid
  @CurRunDate = currundate
  @AlarmReason = alarmreason
  @AlarmLevel = alarmlevel
  @AlarmRuleId = alarmruleid
  @AlarmWays = alarmways
  @AlarmRecipients = alarmrecipients
end

Instance Attribute Details

#AlarmLevelObject

Parameters:

  • AlarmMessageId:

    告警消息Id

  • AlarmTime:

    告警时间,同一条告警可能发送多次,只显示最新的告警时间

  • TaskName:

    任务名称

  • TaskId:

    任务Id

  • CurRunDate:

    任务的实例数据时间

  • AlarmReason:

    告警原因

  • AlarmLevel:

    告警级别,1.普通, 2.重要,3.紧急

  • AlarmRuleId:

    告警规则Id

  • AlarmWays:

    告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群, 8.飞书群,9.钉钉群,10.Slack群,11.Teams群(默认1.邮件),7.企业微信群,8.飞书群,9.钉钉群,10.Slack群,11.Teams群

  • AlarmRecipients:

    告警接收人



137
138
139
# File 'lib/v20250806/models.rb', line 137

def AlarmLevel
  @AlarmLevel
end

#AlarmMessageIdObject

Parameters:

  • AlarmMessageId:

    告警消息Id

  • AlarmTime:

    告警时间,同一条告警可能发送多次,只显示最新的告警时间

  • TaskName:

    任务名称

  • TaskId:

    任务Id

  • CurRunDate:

    任务的实例数据时间

  • AlarmReason:

    告警原因

  • AlarmLevel:

    告警级别,1.普通, 2.重要,3.紧急

  • AlarmRuleId:

    告警规则Id

  • AlarmWays:

    告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群, 8.飞书群,9.钉钉群,10.Slack群,11.Teams群(默认1.邮件),7.企业微信群,8.飞书群,9.钉钉群,10.Slack群,11.Teams群

  • AlarmRecipients:

    告警接收人



137
138
139
# File 'lib/v20250806/models.rb', line 137

def AlarmMessageId
  @AlarmMessageId
end

#AlarmReasonObject

Parameters:

  • AlarmMessageId:

    告警消息Id

  • AlarmTime:

    告警时间,同一条告警可能发送多次,只显示最新的告警时间

  • TaskName:

    任务名称

  • TaskId:

    任务Id

  • CurRunDate:

    任务的实例数据时间

  • AlarmReason:

    告警原因

  • AlarmLevel:

    告警级别,1.普通, 2.重要,3.紧急

  • AlarmRuleId:

    告警规则Id

  • AlarmWays:

    告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群, 8.飞书群,9.钉钉群,10.Slack群,11.Teams群(默认1.邮件),7.企业微信群,8.飞书群,9.钉钉群,10.Slack群,11.Teams群

  • AlarmRecipients:

    告警接收人



137
138
139
# File 'lib/v20250806/models.rb', line 137

def AlarmReason
  @AlarmReason
end

#AlarmRecipientsObject

Parameters:

  • AlarmMessageId:

    告警消息Id

  • AlarmTime:

    告警时间,同一条告警可能发送多次,只显示最新的告警时间

  • TaskName:

    任务名称

  • TaskId:

    任务Id

  • CurRunDate:

    任务的实例数据时间

  • AlarmReason:

    告警原因

  • AlarmLevel:

    告警级别,1.普通, 2.重要,3.紧急

  • AlarmRuleId:

    告警规则Id

  • AlarmWays:

    告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群, 8.飞书群,9.钉钉群,10.Slack群,11.Teams群(默认1.邮件),7.企业微信群,8.飞书群,9.钉钉群,10.Slack群,11.Teams群

  • AlarmRecipients:

    告警接收人



137
138
139
# File 'lib/v20250806/models.rb', line 137

def AlarmRecipients
  @AlarmRecipients
end

#AlarmRuleIdObject

Parameters:

  • AlarmMessageId:

    告警消息Id

  • AlarmTime:

    告警时间,同一条告警可能发送多次,只显示最新的告警时间

  • TaskName:

    任务名称

  • TaskId:

    任务Id

  • CurRunDate:

    任务的实例数据时间

  • AlarmReason:

    告警原因

  • AlarmLevel:

    告警级别,1.普通, 2.重要,3.紧急

  • AlarmRuleId:

    告警规则Id

  • AlarmWays:

    告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群, 8.飞书群,9.钉钉群,10.Slack群,11.Teams群(默认1.邮件),7.企业微信群,8.飞书群,9.钉钉群,10.Slack群,11.Teams群

  • AlarmRecipients:

    告警接收人



137
138
139
# File 'lib/v20250806/models.rb', line 137

def AlarmRuleId
  @AlarmRuleId
end

#AlarmTimeObject

Parameters:

  • AlarmMessageId:

    告警消息Id

  • AlarmTime:

    告警时间,同一条告警可能发送多次,只显示最新的告警时间

  • TaskName:

    任务名称

  • TaskId:

    任务Id

  • CurRunDate:

    任务的实例数据时间

  • AlarmReason:

    告警原因

  • AlarmLevel:

    告警级别,1.普通, 2.重要,3.紧急

  • AlarmRuleId:

    告警规则Id

  • AlarmWays:

    告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群, 8.飞书群,9.钉钉群,10.Slack群,11.Teams群(默认1.邮件),7.企业微信群,8.飞书群,9.钉钉群,10.Slack群,11.Teams群

  • AlarmRecipients:

    告警接收人



137
138
139
# File 'lib/v20250806/models.rb', line 137

def AlarmTime
  @AlarmTime
end

#AlarmWaysObject

Parameters:

  • AlarmMessageId:

    告警消息Id

  • AlarmTime:

    告警时间,同一条告警可能发送多次,只显示最新的告警时间

  • TaskName:

    任务名称

  • TaskId:

    任务Id

  • CurRunDate:

    任务的实例数据时间

  • AlarmReason:

    告警原因

  • AlarmLevel:

    告警级别,1.普通, 2.重要,3.紧急

  • AlarmRuleId:

    告警规则Id

  • AlarmWays:

    告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群, 8.飞书群,9.钉钉群,10.Slack群,11.Teams群(默认1.邮件),7.企业微信群,8.飞书群,9.钉钉群,10.Slack群,11.Teams群

  • AlarmRecipients:

    告警接收人



137
138
139
# File 'lib/v20250806/models.rb', line 137

def AlarmWays
  @AlarmWays
end

#CurRunDateObject

Parameters:

  • AlarmMessageId:

    告警消息Id

  • AlarmTime:

    告警时间,同一条告警可能发送多次,只显示最新的告警时间

  • TaskName:

    任务名称

  • TaskId:

    任务Id

  • CurRunDate:

    任务的实例数据时间

  • AlarmReason:

    告警原因

  • AlarmLevel:

    告警级别,1.普通, 2.重要,3.紧急

  • AlarmRuleId:

    告警规则Id

  • AlarmWays:

    告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群, 8.飞书群,9.钉钉群,10.Slack群,11.Teams群(默认1.邮件),7.企业微信群,8.飞书群,9.钉钉群,10.Slack群,11.Teams群

  • AlarmRecipients:

    告警接收人



137
138
139
# File 'lib/v20250806/models.rb', line 137

def CurRunDate
  @CurRunDate
end

#TaskIdObject

Parameters:

  • AlarmMessageId:

    告警消息Id

  • AlarmTime:

    告警时间,同一条告警可能发送多次,只显示最新的告警时间

  • TaskName:

    任务名称

  • TaskId:

    任务Id

  • CurRunDate:

    任务的实例数据时间

  • AlarmReason:

    告警原因

  • AlarmLevel:

    告警级别,1.普通, 2.重要,3.紧急

  • AlarmRuleId:

    告警规则Id

  • AlarmWays:

    告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群, 8.飞书群,9.钉钉群,10.Slack群,11.Teams群(默认1.邮件),7.企业微信群,8.飞书群,9.钉钉群,10.Slack群,11.Teams群

  • AlarmRecipients:

    告警接收人



137
138
139
# File 'lib/v20250806/models.rb', line 137

def TaskId
  @TaskId
end

#TaskNameObject

Parameters:

  • AlarmMessageId:

    告警消息Id

  • AlarmTime:

    告警时间,同一条告警可能发送多次,只显示最新的告警时间

  • TaskName:

    任务名称

  • TaskId:

    任务Id

  • CurRunDate:

    任务的实例数据时间

  • AlarmReason:

    告警原因

  • AlarmLevel:

    告警级别,1.普通, 2.重要,3.紧急

  • AlarmRuleId:

    告警规则Id

  • AlarmWays:

    告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群, 8.飞书群,9.钉钉群,10.Slack群,11.Teams群(默认1.邮件),7.企业微信群,8.飞书群,9.钉钉群,10.Slack群,11.Teams群

  • AlarmRecipients:

    告警接收人



137
138
139
# File 'lib/v20250806/models.rb', line 137

def TaskName
  @TaskName
end

Instance Method Details

#deserialize(params) ⇒ Object



152
153
154
155
156
157
158
159
160
161
162
163
# File 'lib/v20250806/models.rb', line 152

def deserialize(params)
  @AlarmMessageId = params['AlarmMessageId']
  @AlarmTime = params['AlarmTime']
  @TaskName = params['TaskName']
  @TaskId = params['TaskId']
  @CurRunDate = params['CurRunDate']
  @AlarmReason = params['AlarmReason']
  @AlarmLevel = params['AlarmLevel']
  @AlarmRuleId = params['AlarmRuleId']
  @AlarmWays = params['AlarmWays']
  @AlarmRecipients = params['AlarmRecipients']
end