public class DeletePrometheusAlertPolicyRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DeletePrometheusAlertPolicyRequest() | 
| DeletePrometheusAlertPolicyRequest(DeletePrometheusAlertPolicyRequest 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[] | getAlertIds()Get 告警策略ID列表(可通过 DescribePrometheusAlertPolicy 接口获取) | 
| String | getInstanceId()Get 实例ID(可通过 DescribePrometheusInstances 接口获取) | 
| String[] | getNames()Get 告警策略名称(可通过 DescribePrometheusAlertPolicy 接口获取),名称完全相同的告警策略才会删除 | 
| void | setAlertIds(String[] AlertIds)Set 告警策略ID列表(可通过 DescribePrometheusAlertPolicy 接口获取) | 
| void | setInstanceId(String InstanceId)Set 实例ID(可通过 DescribePrometheusInstances 接口获取) | 
| void | setNames(String[] Names)Set 告警策略名称(可通过 DescribePrometheusAlertPolicy 接口获取),名称完全相同的告警策略才会删除 | 
| 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 DeletePrometheusAlertPolicyRequest()
public DeletePrometheusAlertPolicyRequest(DeletePrometheusAlertPolicyRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 实例ID(可通过 DescribePrometheusInstances 接口获取)public String[] getAlertIds()
public void setAlertIds(String[] AlertIds)
AlertIds - 告警策略ID列表(可通过 DescribePrometheusAlertPolicy 接口获取)public String[] getNames()
public void setNames(String[] Names)
Names - 告警策略名称(可通过 DescribePrometheusAlertPolicy 接口获取),名称完全相同的告警策略才会删除Copyright © 2025. All rights reserved.