# coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.
[docs]class DescribedAlarmHistory(object):
def __init__(self, alarmId=None, dimension=None, dimensionName=None, durationTimes=None, isOneClickAlarm=None, noticeDurationTime=None, noticeLevel=None, noticeLevelTriggered=None, noticeTime=None, noticeTimeUnix=None, product=None, productName=None, receivers=None, region=None, resourceId=None, rule=None, ruleType=None, status=None, tags=None, value=None):
"""
:param alarmId: (Optional) 报警规则ID
:param dimension: (Optional) 资源维度
:param dimensionName: (Optional) 资源维度名称
:param durationTimes: (Optional) 告警持续次数
:param isOneClickAlarm: (Optional) 是否是一键告警 (1-一键告警 0-非一键告警)
:param noticeDurationTime: (Optional) 告警持续时间,单位分钟
:param noticeLevel: (Optional) 用于前端显示的‘触发告警级别’。从低到高分别为‘普通’, ‘紧急’, ‘严重’
:param noticeLevelTriggered: (Optional) 触发的告警级别。从低到高分别为‘common’, ‘critical’, ‘fatal’
:param noticeTime: (Optional) 告警时间
:param noticeTimeUnix: (Optional) 告警时间对应的时间戳
:param product: (Optional) 资源类型
:param productName: (Optional) 资源类型名称
:param receivers: (Optional) 告警通知人
:param region: (Optional) 资源Id对应的region
:param resourceId: (Optional) 资源Id
:param rule: (Optional)
:param ruleType: (Optional) 规则类型
:param status: (Optional) 告警类型 1-告警恢复 2-告警 4-数据不足
:param tags: (Optional) 资源tags
:param value: (Optional) 告警值
"""
self.alarmId = alarmId
self.dimension = dimension
self.dimensionName = dimensionName
self.durationTimes = durationTimes
self.isOneClickAlarm = isOneClickAlarm
self.noticeDurationTime = noticeDurationTime
self.noticeLevel = noticeLevel
self.noticeLevelTriggered = noticeLevelTriggered
self.noticeTime = noticeTime
self.noticeTimeUnix = noticeTimeUnix
self.product = product
self.productName = productName
self.receivers = receivers
self.region = region
self.resourceId = resourceId
self.rule = rule
self.ruleType = ruleType
self.status = status
self.tags = tags
self.value = value