public class DescribeAlarmHistoriesRequest extends AbstractModel
header, skipSign| Constructor and 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. 
 | 
| 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 and the time when the alarm `FirstOccurTime` first occurs. 
 | 
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 one day ago by default and the time when the alarm `FirstOccurTime` first occurs. 
 | 
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 and the time when the alarm `FirstOccurTime` first occurs. 
 | 
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 one day ago by default and the time when the alarm `FirstOccurTime` first occurs. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeAlarmHistoriesRequest()
public DescribeAlarmHistoriesRequest(DescribeAlarmHistoriesRequest source)
public 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 one day ago by default and the time when the alarm `FirstOccurTime` first occurs. An alarm record can be searched only if its `FirstOccurTime` is later than the `StartTime`.public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime - End time, which is the current timestamp and the time when the alarm `FirstOccurTime` first occurs. An alarm record can be searched only if its `FirstOccurTime` is earlier than the `EndTime`.public String[] getMonitorTypes()
public void setMonitorTypes(String[] MonitorTypes)
MonitorTypes - Filter by monitor type. Valid values: "MT_QCE" (Tencent Cloud service monitoring), "MT_TAW" (application performance monitoring), "MT_RUM" (frontend performance monitoring), "MT_PROBE" (cloud automated testing). If this parameter is left empty, all types will be queried by default.public 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 type. Monitoring type and policy type are first-level and second-level filters respectively and both need to be passed in. For example, `[{"MonitorType": "MT_QCE", "Namespace": "cvm_device"}]`public 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 © 2025. All rights reserved.