Class: TencentCloud::Wedata::V20250806::AlarmGroup
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::AlarmGroup
- Defined in:
- lib/v20250806/models.rb
Overview
告警规则接收人配置
Instance Attribute Summary collapse
-
#AlarmEscalationInterval ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。.
-
#AlarmEscalationRecipientIds ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。.
-
#AlarmRecipientIds ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。.
-
#AlarmRecipientType ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。.
-
#AlarmWays ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。.
-
#NotificationFatigue ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。.
-
#WebHooks ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(alarmescalationrecipientids = nil, alarmescalationinterval = nil, notificationfatigue = nil, alarmways = nil, webhooks = nil, alarmrecipienttype = nil, alarmrecipientids = nil) ⇒ AlarmGroup
constructor
A new instance of AlarmGroup.
Constructor Details
#initialize(alarmescalationrecipientids = nil, alarmescalationinterval = nil, notificationfatigue = nil, alarmways = nil, webhooks = nil, alarmrecipienttype = nil, alarmrecipientids = nil) ⇒ AlarmGroup
Returns a new instance of AlarmGroup.
83 84 85 86 87 88 89 90 91 |
# File 'lib/v20250806/models.rb', line 83 def initialize(alarmescalationrecipientids=nil, alarmescalationinterval=nil, notificationfatigue=nil, alarmways=nil, webhooks=nil, alarmrecipienttype=nil, alarmrecipientids=nil) @AlarmEscalationRecipientIds = alarmescalationrecipientids @AlarmEscalationInterval = alarmescalationinterval @NotificationFatigue = notificationfatigue @AlarmWays = alarmways @WebHooks = webhooks @AlarmRecipientType = alarmrecipienttype @AlarmRecipientIds = alarmrecipientids end |
Instance Attribute Details
#AlarmEscalationInterval ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。
81 82 83 |
# File 'lib/v20250806/models.rb', line 81 def AlarmEscalationInterval @AlarmEscalationInterval end |
#AlarmEscalationRecipientIds ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。
81 82 83 |
# File 'lib/v20250806/models.rb', line 81 def AlarmEscalationRecipientIds @AlarmEscalationRecipientIds end |
#AlarmRecipientIds ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。
81 82 83 |
# File 'lib/v20250806/models.rb', line 81 def AlarmRecipientIds @AlarmRecipientIds end |
#AlarmRecipientType ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。
81 82 83 |
# File 'lib/v20250806/models.rb', line 81 def AlarmRecipientType @AlarmRecipientType end |
#AlarmWays ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。
81 82 83 |
# File 'lib/v20250806/models.rb', line 81 def AlarmWays @AlarmWays end |
#NotificationFatigue ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。
81 82 83 |
# File 'lib/v20250806/models.rb', line 81 def NotificationFatigue @NotificationFatigue end |
#WebHooks ⇒ Object
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。
81 82 83 |
# File 'lib/v20250806/models.rb', line 81 def WebHooks @WebHooks end |
Instance Method Details
#deserialize(params) ⇒ Object
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/v20250806/models.rb', line 93 def deserialize(params) @AlarmEscalationRecipientIds = params['AlarmEscalationRecipientIds'] @AlarmEscalationInterval = params['AlarmEscalationInterval'] unless params['NotificationFatigue'].nil? @NotificationFatigue = NotificationFatigue.new @NotificationFatigue.deserialize(params['NotificationFatigue']) end @AlarmWays = params['AlarmWays'] unless params['WebHooks'].nil? @WebHooks = [] params['WebHooks'].each do |i| alarmwaywebhook_tmp = AlarmWayWebHook.new alarmwaywebhook_tmp.deserialize(i) @WebHooks << alarmwaywebhook_tmp end end @AlarmRecipientType = params['AlarmRecipientType'] @AlarmRecipientIds = params['AlarmRecipientIds'] end |