public class DescribeAlarmHistoriesRequest extends AbstractModel
| Constructor and Description | 
|---|
| DescribeAlarmHistoriesRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAlarmObject()Get Filter by alarm object. | 
| String[] | getAlarmStatus()Get Filter by alarm status. | 
| String | getContent()Get Fuzzy search by alarm content | 
| Long | getEndTime()Get End time, which is the current timestamp by default | 
| Long[] | getInstanceGroupIds()Get Filter by instance group ID | 
| String[] | getMetricNames()Get Filter by metric name | 
| String | getModule()Get Value fixed at "monitor" | 
| String[] | getMonitorTypes()Get Filter by monitor type. | 
| MonitorTypeNamespace[] | getNamespaces()Get Filter by policy type | 
| String | getOrder()Get Sort by the first occurrence time in descending order by default. | 
| Long | getPageNumber()Get Page number starting from 1. | 
| Long | getPageSize()Get Number of entries per page. | 
| String[] | getPolicyIds()Get Search by alarm policy ID list | 
| String | getPolicyName()Get Fuzzy search by policy name | 
| Long[] | getProjectIds()Get Filter by project ID. | 
| Long[] | getReceiverGroups()Get Search by recipient group | 
| Long[] | getReceiverUids()Get Search by recipient | 
| Long | getStartTime()Get Start time, which is the timestamp exactly one day ago | 
| void | setAlarmObject(String AlarmObject)Set Filter by alarm object. | 
| void | setAlarmStatus(String[] AlarmStatus)Set Filter by alarm status. | 
| void | setContent(String Content)Set Fuzzy search by alarm content | 
| void | setEndTime(Long EndTime)Set End time, which is the current timestamp by default | 
| void | setInstanceGroupIds(Long[] InstanceGroupIds)Set Filter by instance group ID | 
| void | setMetricNames(String[] MetricNames)Set Filter by metric name | 
| void | setModule(String Module)Set Value fixed at "monitor" | 
| void | setMonitorTypes(String[] MonitorTypes)Set Filter by monitor type. | 
| void | setNamespaces(MonitorTypeNamespace[] Namespaces)Set Filter by policy type | 
| void | setOrder(String Order)Set Sort by the first occurrence time in descending order by default. | 
| void | setPageNumber(Long PageNumber)Set Page number starting from 1. | 
| void | setPageSize(Long PageSize)Set Number of entries per page. | 
| void | setPolicyIds(String[] PolicyIds)Set Search by alarm policy ID list | 
| void | setPolicyName(String PolicyName)Set Fuzzy search by policy name | 
| void | setProjectIds(Long[] ProjectIds)Set Filter by project ID. | 
| void | setReceiverGroups(Long[] ReceiverGroups)Set Search by recipient group | 
| void | setReceiverUids(Long[] ReceiverUids)Set Search by recipient | 
| void | setStartTime(Long StartTime)Set Start time, which is the timestamp exactly one day ago | 
| 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, toJsonStringpublic String getModule()
public void setModule(String Module)
Module - Value fixed at "monitor"public Long getPageNumber()
public void setPageNumber(Long PageNumber)
PageNumber - Page number starting from 1. Default value: 1public Long getPageSize()
public void setPageSize(Long PageSize)
PageSize - Number of entries per page. Value range: 1–100. Default value: 20public String getOrder()
public void setOrder(String Order)
Order - Sort by the first occurrence time in descending order by default. Valid values: ASC (ascending), DESC (descending)public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - Start time, which is the timestamp exactly one day agopublic Long getEndTime()
public void setEndTime(Long EndTime)
EndTime - End time, which is the current timestamp by defaultpublic String[] getMonitorTypes()
public void setMonitorTypes(String[] MonitorTypes)
MonitorTypes - Filter by monitor type. Valid values: MT_QCE (Tencent Cloud service monitoring). If this parameter is left empty, all will be queried by defaultpublic String getAlarmObject()
public void setAlarmObject(String AlarmObject)
AlarmObject - Filter by alarm object. Fuzzy search with string is supportedpublic String[] getAlarmStatus()
public void setAlarmStatus(String[] AlarmStatus)
AlarmStatus - Filter by alarm status. Valid values: ALARM (not resolved), OK (resolved), NO_CONF (expired), NO_DATA (insufficient data). If this parameter is left empty, all will be queried by defaultpublic Long[] getProjectIds()
public void setProjectIds(Long[] ProjectIds)
ProjectIds - Filter by project ID. Valid values: -1 (no project), 0 (default project)public Long[] getInstanceGroupIds()
public void setInstanceGroupIds(Long[] InstanceGroupIds)
InstanceGroupIds - Filter by instance group IDpublic MonitorTypeNamespace[] getNamespaces()
public void setNamespaces(MonitorTypeNamespace[] Namespaces)
Namespaces - Filter by policy typepublic String[] getMetricNames()
public void setMetricNames(String[] MetricNames)
MetricNames - Filter by metric namepublic String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - Fuzzy search by policy namepublic String getContent()
public void setContent(String Content)
Content - Fuzzy search by alarm contentpublic Long[] getReceiverUids()
public void setReceiverUids(Long[] ReceiverUids)
ReceiverUids - Search by recipientpublic Long[] getReceiverGroups()
public void setReceiverGroups(Long[] ReceiverGroups)
ReceiverGroups - Search by recipient grouppublic String[] getPolicyIds()
public void setPolicyIds(String[] PolicyIds)
PolicyIds - Search by alarm policy ID listCopyright © 2021. All rights reserved.