Class DescribeAlarmHistoriesRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.DescribeAlarmHistoriesRequest
-
public class DescribeAlarmHistoriesRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeAlarmHistoriesRequest()DescribeAlarmHistoriesRequest(DescribeAlarmHistoriesRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getAlarmLevels()Get 告警等级StringgetAlarmObject()Get 根据告警对象过滤 字符串模糊搜索String[]getAlarmStatus()Get 根据告警状态过滤 ALARM=未恢复 OK=已恢复 NO_CONF=已失效 NO_DATA=数据不足,不选默认查所有StringgetContent()Get 根据告警内容模糊搜索LonggetEndTime()Get 结束时间,默认当前时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 早于 `EndTime` 才可能被搜索到。Long[]getInstanceGroupIds()Get 根据实例组ID过滤String[]getMetricNames()Get 根据指标名过滤StringgetModule()Get 固定值,为"monitor"String[]getMonitorTypes()Get 根据监控类型过滤,不选默认查所有类型。"MT_QCE"=云产品监控,支持的枚举值有:"MT_QCE"=云产品监控;"MT_TAW"=应用性能观测;"MT_RUM"=前端性能监控;"MT_PROBE"=云拨测MonitorTypeNamespace[]getNamespaces()Get 根据策略类型过滤,策略类型是监控类型之下的概念,在这里两者都需要传入,例如 `[{"MonitorType": "MT_QCE", "Namespace": "cvm_device"}]` 可使用 [查询所有名字空间 DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 接口查询StringgetOrder()Get 默认按首次出现时间倒序排列 "ASC"=正序 "DESC"=逆序LonggetPageNumber()Get 页数,从 1 开始计数,默认 1LonggetPageSize()Get 每页的数量,取值1~100,默认20String[]getPolicyIds()Get 根据告警策略 Id 列表搜索StringgetPolicyName()Get 根据策略名称模糊搜索Long[]getProjectIds()Get 根据项目ID过滤,-1=无项目 0=默认项目 可在此页面查询 [项目管理](https://console.cloud.tencent.com/project)Long[]getReceiverGroups()Get 根据接收组搜索,可以使用“访问管理”的 [查询用户组列表 ListGroups](https://cloud.tencent.com/document/product/598/34589) 接口获取用户组列表 或 [列出用户关联的用户组 ListGroupsForUser](https://cloud.tencent.com/document/product/598/34588) 查询某个子用户所在的用户组列表 ,此处填入返回结果中的 `GroupId ` 字段Long[]getReceiverUids()Get 根据接收人搜索,可以使用“访问管理”的 [拉取子用户 ListUsers](https://cloud.tencent.com/document/product/598/34587) 接口获取用户列表 或 [查询子用户 GetUser](https://cloud.tencent.com/document/product/598/34590) 接口查询子用户详情,此处填入返回结果中的 `Uid` 字段LonggetStartTime()Get 起始时间,默认一天前的时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 晚于 `StartTime` 才可能被搜索到。voidsetAlarmLevels(String[] AlarmLevels)Set 告警等级voidsetAlarmObject(String AlarmObject)Set 根据告警对象过滤 字符串模糊搜索voidsetAlarmStatus(String[] AlarmStatus)Set 根据告警状态过滤 ALARM=未恢复 OK=已恢复 NO_CONF=已失效 NO_DATA=数据不足,不选默认查所有voidsetContent(String Content)Set 根据告警内容模糊搜索voidsetEndTime(Long EndTime)Set 结束时间,默认当前时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 早于 `EndTime` 才可能被搜索到。voidsetInstanceGroupIds(Long[] InstanceGroupIds)Set 根据实例组ID过滤voidsetMetricNames(String[] MetricNames)Set 根据指标名过滤voidsetModule(String Module)Set 固定值,为"monitor"voidsetMonitorTypes(String[] MonitorTypes)Set 根据监控类型过滤,不选默认查所有类型。"MT_QCE"=云产品监控,支持的枚举值有:"MT_QCE"=云产品监控;"MT_TAW"=应用性能观测;"MT_RUM"=前端性能监控;"MT_PROBE"=云拨测voidsetNamespaces(MonitorTypeNamespace[] Namespaces)Set 根据策略类型过滤,策略类型是监控类型之下的概念,在这里两者都需要传入,例如 `[{"MonitorType": "MT_QCE", "Namespace": "cvm_device"}]` 可使用 [查询所有名字空间 DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 接口查询voidsetOrder(String Order)Set 默认按首次出现时间倒序排列 "ASC"=正序 "DESC"=逆序voidsetPageNumber(Long PageNumber)Set 页数,从 1 开始计数,默认 1voidsetPageSize(Long PageSize)Set 每页的数量,取值1~100,默认20voidsetPolicyIds(String[] PolicyIds)Set 根据告警策略 Id 列表搜索voidsetPolicyName(String PolicyName)Set 根据策略名称模糊搜索voidsetProjectIds(Long[] ProjectIds)Set 根据项目ID过滤,-1=无项目 0=默认项目 可在此页面查询 [项目管理](https://console.cloud.tencent.com/project)voidsetReceiverGroups(Long[] ReceiverGroups)Set 根据接收组搜索,可以使用“访问管理”的 [查询用户组列表 ListGroups](https://cloud.tencent.com/document/product/598/34589) 接口获取用户组列表 或 [列出用户关联的用户组 ListGroupsForUser](https://cloud.tencent.com/document/product/598/34588) 查询某个子用户所在的用户组列表 ,此处填入返回结果中的 `GroupId ` 字段voidsetReceiverUids(Long[] ReceiverUids)Set 根据接收人搜索,可以使用“访问管理”的 [拉取子用户 ListUsers](https://cloud.tencent.com/document/product/598/34587) 接口获取用户列表 或 [查询子用户 GetUser](https://cloud.tencent.com/document/product/598/34590) 接口查询子用户详情,此处填入返回结果中的 `Uid` 字段voidsetStartTime(Long StartTime)Set 起始时间,默认一天前的时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 晚于 `StartTime` 才可能被搜索到。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeAlarmHistoriesRequest
public DescribeAlarmHistoriesRequest()
-
DescribeAlarmHistoriesRequest
public DescribeAlarmHistoriesRequest(DescribeAlarmHistoriesRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getModule
public String getModule()
Get 固定值,为"monitor"- Returns:
- Module 固定值,为"monitor"
-
setModule
public void setModule(String Module)
Set 固定值,为"monitor"- Parameters:
Module- 固定值,为"monitor"
-
getPageNumber
public Long getPageNumber()
Get 页数,从 1 开始计数,默认 1- Returns:
- PageNumber 页数,从 1 开始计数,默认 1
-
setPageNumber
public void setPageNumber(Long PageNumber)
Set 页数,从 1 开始计数,默认 1- Parameters:
PageNumber- 页数,从 1 开始计数,默认 1
-
getPageSize
public Long getPageSize()
Get 每页的数量,取值1~100,默认20- Returns:
- PageSize 每页的数量,取值1~100,默认20
-
setPageSize
public void setPageSize(Long PageSize)
Set 每页的数量,取值1~100,默认20- Parameters:
PageSize- 每页的数量,取值1~100,默认20
-
getOrder
public String getOrder()
Get 默认按首次出现时间倒序排列 "ASC"=正序 "DESC"=逆序- Returns:
- Order 默认按首次出现时间倒序排列 "ASC"=正序 "DESC"=逆序
-
setOrder
public void setOrder(String Order)
Set 默认按首次出现时间倒序排列 "ASC"=正序 "DESC"=逆序- Parameters:
Order- 默认按首次出现时间倒序排列 "ASC"=正序 "DESC"=逆序
-
getStartTime
public Long getStartTime()
Get 起始时间,默认一天前的时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 晚于 `StartTime` 才可能被搜索到。- Returns:
- StartTime 起始时间,默认一天前的时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 晚于 `StartTime` 才可能被搜索到。
-
setStartTime
public void setStartTime(Long StartTime)
Set 起始时间,默认一天前的时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 晚于 `StartTime` 才可能被搜索到。- Parameters:
StartTime- 起始时间,默认一天前的时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 晚于 `StartTime` 才可能被搜索到。
-
getEndTime
public Long getEndTime()
Get 结束时间,默认当前时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 早于 `EndTime` 才可能被搜索到。- Returns:
- EndTime 结束时间,默认当前时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 早于 `EndTime` 才可能被搜索到。
-
setEndTime
public void setEndTime(Long EndTime)
Set 结束时间,默认当前时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 早于 `EndTime` 才可能被搜索到。- Parameters:
EndTime- 结束时间,默认当前时间戳。对应 `FirstOccurTime` 告警首次出现时间,告警历史的 `FirstOccurTime` 早于 `EndTime` 才可能被搜索到。
-
getMonitorTypes
public String[] getMonitorTypes()
Get 根据监控类型过滤,不选默认查所有类型。"MT_QCE"=云产品监控,支持的枚举值有:"MT_QCE"=云产品监控;"MT_TAW"=应用性能观测;"MT_RUM"=前端性能监控;"MT_PROBE"=云拨测- Returns:
- MonitorTypes 根据监控类型过滤,不选默认查所有类型。"MT_QCE"=云产品监控,支持的枚举值有:"MT_QCE"=云产品监控;"MT_TAW"=应用性能观测;"MT_RUM"=前端性能监控;"MT_PROBE"=云拨测
-
setMonitorTypes
public void setMonitorTypes(String[] MonitorTypes)
Set 根据监控类型过滤,不选默认查所有类型。"MT_QCE"=云产品监控,支持的枚举值有:"MT_QCE"=云产品监控;"MT_TAW"=应用性能观测;"MT_RUM"=前端性能监控;"MT_PROBE"=云拨测- Parameters:
MonitorTypes- 根据监控类型过滤,不选默认查所有类型。"MT_QCE"=云产品监控,支持的枚举值有:"MT_QCE"=云产品监控;"MT_TAW"=应用性能观测;"MT_RUM"=前端性能监控;"MT_PROBE"=云拨测
-
getAlarmObject
public String getAlarmObject()
Get 根据告警对象过滤 字符串模糊搜索- Returns:
- AlarmObject 根据告警对象过滤 字符串模糊搜索
-
setAlarmObject
public void setAlarmObject(String AlarmObject)
Set 根据告警对象过滤 字符串模糊搜索- Parameters:
AlarmObject- 根据告警对象过滤 字符串模糊搜索
-
getAlarmStatus
public String[] getAlarmStatus()
Get 根据告警状态过滤 ALARM=未恢复 OK=已恢复 NO_CONF=已失效 NO_DATA=数据不足,不选默认查所有- Returns:
- AlarmStatus 根据告警状态过滤 ALARM=未恢复 OK=已恢复 NO_CONF=已失效 NO_DATA=数据不足,不选默认查所有
-
setAlarmStatus
public void setAlarmStatus(String[] AlarmStatus)
Set 根据告警状态过滤 ALARM=未恢复 OK=已恢复 NO_CONF=已失效 NO_DATA=数据不足,不选默认查所有- Parameters:
AlarmStatus- 根据告警状态过滤 ALARM=未恢复 OK=已恢复 NO_CONF=已失效 NO_DATA=数据不足,不选默认查所有
-
getProjectIds
public Long[] getProjectIds()
Get 根据项目ID过滤,-1=无项目 0=默认项目 可在此页面查询 [项目管理](https://console.cloud.tencent.com/project)- Returns:
- ProjectIds 根据项目ID过滤,-1=无项目 0=默认项目 可在此页面查询 [项目管理](https://console.cloud.tencent.com/project)
-
setProjectIds
public void setProjectIds(Long[] ProjectIds)
Set 根据项目ID过滤,-1=无项目 0=默认项目 可在此页面查询 [项目管理](https://console.cloud.tencent.com/project)- Parameters:
ProjectIds- 根据项目ID过滤,-1=无项目 0=默认项目 可在此页面查询 [项目管理](https://console.cloud.tencent.com/project)
-
getInstanceGroupIds
public Long[] getInstanceGroupIds()
Get 根据实例组ID过滤- Returns:
- InstanceGroupIds 根据实例组ID过滤
-
setInstanceGroupIds
public void setInstanceGroupIds(Long[] InstanceGroupIds)
Set 根据实例组ID过滤- Parameters:
InstanceGroupIds- 根据实例组ID过滤
-
getNamespaces
public MonitorTypeNamespace[] getNamespaces()
Get 根据策略类型过滤,策略类型是监控类型之下的概念,在这里两者都需要传入,例如 `[{"MonitorType": "MT_QCE", "Namespace": "cvm_device"}]` 可使用 [查询所有名字空间 DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 接口查询- Returns:
- Namespaces 根据策略类型过滤,策略类型是监控类型之下的概念,在这里两者都需要传入,例如 `[{"MonitorType": "MT_QCE", "Namespace": "cvm_device"}]` 可使用 [查询所有名字空间 DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 接口查询
-
setNamespaces
public void setNamespaces(MonitorTypeNamespace[] Namespaces)
Set 根据策略类型过滤,策略类型是监控类型之下的概念,在这里两者都需要传入,例如 `[{"MonitorType": "MT_QCE", "Namespace": "cvm_device"}]` 可使用 [查询所有名字空间 DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 接口查询- Parameters:
Namespaces- 根据策略类型过滤,策略类型是监控类型之下的概念,在这里两者都需要传入,例如 `[{"MonitorType": "MT_QCE", "Namespace": "cvm_device"}]` 可使用 [查询所有名字空间 DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 接口查询
-
getMetricNames
public String[] getMetricNames()
Get 根据指标名过滤- Returns:
- MetricNames 根据指标名过滤
-
setMetricNames
public void setMetricNames(String[] MetricNames)
Set 根据指标名过滤- Parameters:
MetricNames- 根据指标名过滤
-
getPolicyName
public String getPolicyName()
Get 根据策略名称模糊搜索- Returns:
- PolicyName 根据策略名称模糊搜索
-
setPolicyName
public void setPolicyName(String PolicyName)
Set 根据策略名称模糊搜索- Parameters:
PolicyName- 根据策略名称模糊搜索
-
getContent
public String getContent()
Get 根据告警内容模糊搜索- Returns:
- Content 根据告警内容模糊搜索
-
setContent
public void setContent(String Content)
Set 根据告警内容模糊搜索- Parameters:
Content- 根据告警内容模糊搜索
-
getReceiverUids
public Long[] getReceiverUids()
Get 根据接收人搜索,可以使用“访问管理”的 [拉取子用户 ListUsers](https://cloud.tencent.com/document/product/598/34587) 接口获取用户列表 或 [查询子用户 GetUser](https://cloud.tencent.com/document/product/598/34590) 接口查询子用户详情,此处填入返回结果中的 `Uid` 字段- Returns:
- ReceiverUids 根据接收人搜索,可以使用“访问管理”的 [拉取子用户 ListUsers](https://cloud.tencent.com/document/product/598/34587) 接口获取用户列表 或 [查询子用户 GetUser](https://cloud.tencent.com/document/product/598/34590) 接口查询子用户详情,此处填入返回结果中的 `Uid` 字段
-
setReceiverUids
public void setReceiverUids(Long[] ReceiverUids)
Set 根据接收人搜索,可以使用“访问管理”的 [拉取子用户 ListUsers](https://cloud.tencent.com/document/product/598/34587) 接口获取用户列表 或 [查询子用户 GetUser](https://cloud.tencent.com/document/product/598/34590) 接口查询子用户详情,此处填入返回结果中的 `Uid` 字段- Parameters:
ReceiverUids- 根据接收人搜索,可以使用“访问管理”的 [拉取子用户 ListUsers](https://cloud.tencent.com/document/product/598/34587) 接口获取用户列表 或 [查询子用户 GetUser](https://cloud.tencent.com/document/product/598/34590) 接口查询子用户详情,此处填入返回结果中的 `Uid` 字段
-
getReceiverGroups
public Long[] getReceiverGroups()
Get 根据接收组搜索,可以使用“访问管理”的 [查询用户组列表 ListGroups](https://cloud.tencent.com/document/product/598/34589) 接口获取用户组列表 或 [列出用户关联的用户组 ListGroupsForUser](https://cloud.tencent.com/document/product/598/34588) 查询某个子用户所在的用户组列表 ,此处填入返回结果中的 `GroupId ` 字段- Returns:
- ReceiverGroups 根据接收组搜索,可以使用“访问管理”的 [查询用户组列表 ListGroups](https://cloud.tencent.com/document/product/598/34589) 接口获取用户组列表 或 [列出用户关联的用户组 ListGroupsForUser](https://cloud.tencent.com/document/product/598/34588) 查询某个子用户所在的用户组列表 ,此处填入返回结果中的 `GroupId ` 字段
-
setReceiverGroups
public void setReceiverGroups(Long[] ReceiverGroups)
Set 根据接收组搜索,可以使用“访问管理”的 [查询用户组列表 ListGroups](https://cloud.tencent.com/document/product/598/34589) 接口获取用户组列表 或 [列出用户关联的用户组 ListGroupsForUser](https://cloud.tencent.com/document/product/598/34588) 查询某个子用户所在的用户组列表 ,此处填入返回结果中的 `GroupId ` 字段- Parameters:
ReceiverGroups- 根据接收组搜索,可以使用“访问管理”的 [查询用户组列表 ListGroups](https://cloud.tencent.com/document/product/598/34589) 接口获取用户组列表 或 [列出用户关联的用户组 ListGroupsForUser](https://cloud.tencent.com/document/product/598/34588) 查询某个子用户所在的用户组列表 ,此处填入返回结果中的 `GroupId ` 字段
-
getPolicyIds
public String[] getPolicyIds()
Get 根据告警策略 Id 列表搜索- Returns:
- PolicyIds 根据告警策略 Id 列表搜索
-
setPolicyIds
public void setPolicyIds(String[] PolicyIds)
Set 根据告警策略 Id 列表搜索- Parameters:
PolicyIds- 根据告警策略 Id 列表搜索
-
getAlarmLevels
public String[] getAlarmLevels()
Get 告警等级- Returns:
- AlarmLevels 告警等级
-
setAlarmLevels
public void setAlarmLevels(String[] AlarmLevels)
Set 告警等级- Parameters:
AlarmLevels- 告警等级
-
-