public class DescribeAlarmHistoriesRequest extends AbstractModel
Constructor and Description |
---|
DescribeAlarmHistoriesRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getAlarmObject()
Get 根据告警对象过滤 字符串模糊搜索
|
String[] |
getAlarmStatus()
Get 根据告警状态过滤 ALARM=未恢复 OK=已恢复 NO_CONF=已失效 NO_DATA=数据不足,不选默认查所有
|
String |
getContent()
Get 根据告警内容模糊搜索
|
Long |
getEndTime()
Get 结束时间,默认当前时间戳
|
Long[] |
getInstanceGroupIds()
Get 根据实例组ID过滤
|
String[] |
getMetricNames()
Get 根据指标名过滤
|
String |
getModule()
Get 固定值,为"monitor"
|
String[] |
getMonitorTypes()
Get 根据监控类型过滤 不选默认查所有类型 "MT_QCE"=云产品监控 "
|
MonitorTypeNamespace[] |
getNamespaces()
Get 根据策略类型过滤
|
String |
getOrder()
Get 默认按首次出现时间倒序排列 "ASC"=正序 "DESC"=逆序
|
Long |
getPageNumber()
Get 页数,从 1 开始计数,默认 1
|
Long |
getPageSize()
Get 每页的数量,取值1~100,默认20
|
String[] |
getPolicyIds()
Get 根据告警策略 Id 列表搜索
|
String |
getPolicyName()
Get 根据策略名称模糊搜索
|
Long[] |
getProjectIds()
Get 根据项目ID过滤,-1=无项目 0=默认项目
|
Long[] |
getReceiverGroups()
Get 根据接收组搜索
|
Long[] |
getReceiverUids()
Get 根据接收人搜索
|
Long |
getStartTime()
Get 起始时间,默认一天前的时间戳
|
void |
setAlarmObject(String AlarmObject)
Set 根据告警对象过滤 字符串模糊搜索
|
void |
setAlarmStatus(String[] AlarmStatus)
Set 根据告警状态过滤 ALARM=未恢复 OK=已恢复 NO_CONF=已失效 NO_DATA=数据不足,不选默认查所有
|
void |
setContent(String Content)
Set 根据告警内容模糊搜索
|
void |
setEndTime(Long EndTime)
Set 结束时间,默认当前时间戳
|
void |
setInstanceGroupIds(Long[] InstanceGroupIds)
Set 根据实例组ID过滤
|
void |
setMetricNames(String[] MetricNames)
Set 根据指标名过滤
|
void |
setModule(String Module)
Set 固定值,为"monitor"
|
void |
setMonitorTypes(String[] MonitorTypes)
Set 根据监控类型过滤 不选默认查所有类型 "MT_QCE"=云产品监控 "
|
void |
setNamespaces(MonitorTypeNamespace[] Namespaces)
Set 根据策略类型过滤
|
void |
setOrder(String Order)
Set 默认按首次出现时间倒序排列 "ASC"=正序 "DESC"=逆序
|
void |
setPageNumber(Long PageNumber)
Set 页数,从 1 开始计数,默认 1
|
void |
setPageSize(Long PageSize)
Set 每页的数量,取值1~100,默认20
|
void |
setPolicyIds(String[] PolicyIds)
Set 根据告警策略 Id 列表搜索
|
void |
setPolicyName(String PolicyName)
Set 根据策略名称模糊搜索
|
void |
setProjectIds(Long[] ProjectIds)
Set 根据项目ID过滤,-1=无项目 0=默认项目
|
void |
setReceiverGroups(Long[] ReceiverGroups)
Set 根据接收组搜索
|
void |
setReceiverUids(Long[] ReceiverUids)
Set 根据接收人搜索
|
void |
setStartTime(Long StartTime)
Set 起始时间,默认一天前的时间戳
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getModule()
public void setModule(String Module)
Module
- 固定值,为"monitor"public Long getPageNumber()
public void setPageNumber(Long PageNumber)
PageNumber
- 页数,从 1 开始计数,默认 1public Long getPageSize()
public void setPageSize(Long PageSize)
PageSize
- 每页的数量,取值1~100,默认20public String getOrder()
public void setOrder(String Order)
Order
- 默认按首次出现时间倒序排列 "ASC"=正序 "DESC"=逆序public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- 起始时间,默认一天前的时间戳public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime
- 结束时间,默认当前时间戳public String[] getMonitorTypes()
public void setMonitorTypes(String[] MonitorTypes)
MonitorTypes
- 根据监控类型过滤 不选默认查所有类型 "MT_QCE"=云产品监控 "public String getAlarmObject()
public void setAlarmObject(String AlarmObject)
AlarmObject
- 根据告警对象过滤 字符串模糊搜索public String[] getAlarmStatus()
public void setAlarmStatus(String[] AlarmStatus)
AlarmStatus
- 根据告警状态过滤 ALARM=未恢复 OK=已恢复 NO_CONF=已失效 NO_DATA=数据不足,不选默认查所有public Long[] getProjectIds()
public void setProjectIds(Long[] ProjectIds)
ProjectIds
- 根据项目ID过滤,-1=无项目 0=默认项目public Long[] getInstanceGroupIds()
public void setInstanceGroupIds(Long[] InstanceGroupIds)
InstanceGroupIds
- 根据实例组ID过滤public MonitorTypeNamespace[] getNamespaces()
public void setNamespaces(MonitorTypeNamespace[] Namespaces)
Namespaces
- 根据策略类型过滤public String[] getMetricNames()
public void setMetricNames(String[] MetricNames)
MetricNames
- 根据指标名过滤public String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName
- 根据策略名称模糊搜索public String getContent()
public void setContent(String Content)
Content
- 根据告警内容模糊搜索public Long[] getReceiverUids()
public void setReceiverUids(Long[] ReceiverUids)
ReceiverUids
- 根据接收人搜索public Long[] getReceiverGroups()
public void setReceiverGroups(Long[] ReceiverGroups)
ReceiverGroups
- 根据接收组搜索public String[] getPolicyIds()
public void setPolicyIds(String[] PolicyIds)
PolicyIds
- 根据告警策略 Id 列表搜索Copyright © 2020. All rights reserved.