class TencentCloud::Tke::V20180525::PrometheusNotificationItem
告警通知渠道配置
def deserialize(params)
def deserialize(params) @Enabled = params['Enabled'] @Type = params['Type'] @WebHook = params['WebHook'] unless params['AlertManager'].nil? @AlertManager = PrometheusAlertManagerConfig.new @AlertManager.deserialize(params['AlertManager']) end @RepeatInterval = params['RepeatInterval'] @TimeRangeStart = params['TimeRangeStart'] @TimeRangeEnd = params['TimeRangeEnd'] @NotifyWay = params['NotifyWay'] @ReceiverGroups = params['ReceiverGroups'] @PhoneNotifyOrder = params['PhoneNotifyOrder'] @PhoneCircleTimes = params['PhoneCircleTimes'] @PhoneInnerInterval = params['PhoneInnerInterval'] @PhoneCircleInterval = params['PhoneCircleInterval'] @PhoneArriveNotice = params['PhoneArriveNotice'] end
def initialize(enabled=nil, type=nil, webhook=nil, alertmanager=nil, repeatinterval=nil, timerangestart=nil, timerangeend=nil, notifyway=nil, receivergroups=nil, phonenotifyorder=nil, phonecircletimes=nil, phoneinnerinterval=nil, phonecircleinterval=nil, phonearrivenotice=nil)
def initialize(enabled=nil, type=nil, webhook=nil, alertmanager=nil, repeatinterval=nil, timerangestart=nil, timerangeend=nil, notifyway=nil, receivergroups=nil, phonenotifyorder=nil, phonecircletimes=nil, phoneinnerinterval=nil, phonecircleinterval=nil, phonearrivenotice=nil) @Enabled = enabled @Type = type @WebHook = webhook @AlertManager = alertmanager @RepeatInterval = repeatinterval @TimeRangeStart = timerangestart @TimeRangeEnd = timerangeend @NotifyWay = notifyway @ReceiverGroups = receivergroups @PhoneNotifyOrder = phonenotifyorder @PhoneCircleTimes = phonecircletimes @PhoneInnerInterval = phoneinnerinterval @PhoneCircleInterval = phonecircleinterval @PhoneArriveNotice = phonearrivenotice end