public class DescribeAlarmPoliciesRequest extends AbstractModel
| Constructor and Description | 
|---|
| DescribeAlarmPoliciesRequest() | 
| DescribeAlarmPoliciesRequest(DescribeAlarmPoliciesRequest 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 | getDimensions()Get Alarm object list. | 
| Long[] | getEnable()Get Filter by alarm status. | 
| String | getField()Get Sort by field. | 
| String | getModule()Get Value fixed at "monitor" | 
| String[] | getMonitorTypes()Get Filter by monitor type. | 
| String[] | getNamespaces()Get Filter by namespace. | 
| Long | getNotBindingNoticeRule()Get If `1` is passed in, alarm policies with no notification rules configured are queried. | 
| String[] | getNoticeIds()Get ID list of the notification template, which can be obtained by querying the notification template list. | 
| String | getOrder()Get Sort order. | 
| Long | getPageNumber()Get Page number starting from 1. | 
| Long | getPageSize()Get Number of entries per page. | 
| String | getPolicyName()Get Fuzzy search by policy name | 
| String[] | getPolicyType()Get Filter by default policy. | 
| Long[] | getProjectIds()Get ID array of the policy project, which can be viewed on the following page:
[Project Management](https://console.cloud.tencent.com/project) | 
| Long[] | getReceiverGroups()Get Search by recipient group `uid`, which should be queried by calling the CAM API. | 
| Long[] | getReceiverUids()Get Search by recipient `uid`, which should be queried by calling the CAM API. | 
| String[] | getRuleTypes()Get Filter by trigger condition. | 
| void | setDimensions(String Dimensions)Set Alarm object list. | 
| void | setEnable(Long[] Enable)Set Filter by alarm status. | 
| void | setField(String Field)Set Sort by field. | 
| void | setModule(String Module)Set Value fixed at "monitor" | 
| void | setMonitorTypes(String[] MonitorTypes)Set Filter by monitor type. | 
| void | setNamespaces(String[] Namespaces)Set Filter by namespace. | 
| void | setNotBindingNoticeRule(Long NotBindingNoticeRule)Set If `1` is passed in, alarm policies with no notification rules configured are queried. | 
| void | setNoticeIds(String[] NoticeIds)Set ID list of the notification template, which can be obtained by querying the notification template list. | 
| void | setOrder(String Order)Set Sort order. | 
| void | setPageNumber(Long PageNumber)Set Page number starting from 1. | 
| void | setPageSize(Long PageSize)Set Number of entries per page. | 
| void | setPolicyName(String PolicyName)Set Fuzzy search by policy name | 
| void | setPolicyType(String[] PolicyType)Set Filter by default policy. | 
| void | setProjectIds(Long[] ProjectIds)Set ID array of the policy project, which can be viewed on the following page:
[Project Management](https://console.cloud.tencent.com/project) | 
| void | setReceiverGroups(Long[] ReceiverGroups)Set Search by recipient group `uid`, which should be queried by calling the CAM API. | 
| void | setReceiverUids(Long[] ReceiverUids)Set Search by recipient `uid`, which should be queried by calling the CAM API. | 
| void | setRuleTypes(String[] RuleTypes)Set Filter by trigger condition. | 
| 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 DescribeAlarmPoliciesRequest()
public DescribeAlarmPoliciesRequest(DescribeAlarmPoliciesRequest 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 getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - Fuzzy search by policy namepublic 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[] getNamespaces()
public void setNamespaces(String[] Namespaces)
Namespaces - Filter by namespace. For the values of different policy types, please see:
[Policy Type List](https://intl.cloud.tencent.com/document/product/248/50397?from_cn_redirect=1)public String getDimensions()
public void setDimensions(String Dimensions)
Dimensions - Alarm object list. The outer array corresponds to multiple instances.
Each inner array corresponds to one instance, where `object` corresponds to the dimension information of the instance. The format is as follows:
[
        [{"name":"unInstanceId","value":"ins-qr888845g"}],
        [{"name":"unInstanceId","value":"ins-qr8d555g"}]
        ...
]
For the samples for different Tencent Cloud services, please see:
[Dimension List](https://intl.cloud.tencent.com/document/product/248/50397?from_cn_redirect=1)public Long[] getReceiverUids()
public void setReceiverUids(Long[] ReceiverUids)
ReceiverUids - Search by recipient `uid`, which should be queried by calling the CAM API. For more information, please see:
[ListUsers](https://intl.cloud.tencent.com/document/product/598/34587?from_cn_redirect=1)public Long[] getReceiverGroups()
public void setReceiverGroups(Long[] ReceiverGroups)
ReceiverGroups - Search by recipient group `uid`, which should be queried by calling the CAM API. For more information, please see:
[ListGroups](https://intl.cloud.tencent.com/document/product/598/34589?from_cn_redirect=1)public String[] getPolicyType()
public void setPolicyType(String[] PolicyType)
PolicyType - Filter by default policy. Valid values: DEFAULT (display default policy), NOT_DEFAULT (display non-default policies). If this parameter is left empty, all policies will be displayedpublic String getField()
public void setField(String Field)
Field - Sort by field. For example, to sort by the last modification time, use Field: "UpdateTime".public String getOrder()
public void setOrder(String Order)
Order - Sort order. Valid values: ASC (ascending), DESC (descending)public Long[] getProjectIds()
public void setProjectIds(Long[] ProjectIds)
ProjectIds - ID array of the policy project, which can be viewed on the following page:
[Project Management](https://console.cloud.tencent.com/project)public String[] getNoticeIds()
public void setNoticeIds(String[] NoticeIds)
NoticeIds - ID list of the notification template, which can be obtained by querying the notification template list.
[DescribeAlarmNotices](https://intl.cloud.tencent.com/document/product/248/51280?from_cn_redirect=1)public String[] getRuleTypes()
public void setRuleTypes(String[] RuleTypes)
RuleTypes - Filter by trigger condition. Valid values: STATIC (display policies with static threshold), DYNAMIC (display policies with dynamic threshold). If this parameter is left empty, all policies will be displayedpublic Long[] getEnable()
public void setEnable(Long[] Enable)
Enable - Filter by alarm status. Valid values: [1]: enabled; [0]: disabled; [0, 1]: allpublic Long getNotBindingNoticeRule()
public void setNotBindingNoticeRule(Long NotBindingNoticeRule)
NotBindingNoticeRule - If `1` is passed in, alarm policies with no notification rules configured are queried. If it is left empty or other values are passed in, all alarm policies are queried.Copyright © 2021. All rights reserved.