public class ListPrometheusAlertRulesRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ListPrometheusAlertRulesRequest.ListPrometheusAlertRulesRequestTags |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clusterId
This parameter is required.
|
String |
matchExpressions
example:
[{"key":"severity","value":"critical","operator":"re"}]
|
String |
name
example:
Prometheus_Alert
|
String |
regionId
This parameter is required.
|
Integer |
status
example:
1
|
List<ListPrometheusAlertRulesRequest.ListPrometheusAlertRulesRequestTags> |
tags |
String |
type |
| 构造器和说明 |
|---|
ListPrometheusAlertRulesRequest() |
@NameInMap(value="ClusterId") public String clusterId
This parameter is required.
example:c0bad479465464e1d8c1e641b0afb****
@NameInMap(value="MatchExpressions") public String matchExpressions
[{"key":"severity","value":"critical","operator":"re"}]
@NameInMap(value="Name") public String name
Prometheus_Alert
@NameInMap(value="RegionId") public String regionId
This parameter is required.
example:cn-hangzhou
@NameInMap(value="Status") public Integer status
1
@NameInMap(value="Tags") public List<ListPrometheusAlertRulesRequest.ListPrometheusAlertRulesRequestTags> tags
@NameInMap(value="Type") public String type
public static ListPrometheusAlertRulesRequest build(Map<String,?> map) throws Exception
Exceptionpublic ListPrometheusAlertRulesRequest setClusterId(String clusterId)
public String getClusterId()
public ListPrometheusAlertRulesRequest setMatchExpressions(String matchExpressions)
public String getMatchExpressions()
public ListPrometheusAlertRulesRequest setName(String name)
public String getName()
public ListPrometheusAlertRulesRequest setRegionId(String regionId)
public String getRegionId()
public ListPrometheusAlertRulesRequest setStatus(Integer status)
public Integer getStatus()
public ListPrometheusAlertRulesRequest setTags(List<ListPrometheusAlertRulesRequest.ListPrometheusAlertRulesRequestTags> tags)
public List<ListPrometheusAlertRulesRequest.ListPrometheusAlertRulesRequestTags> getTags()
public ListPrometheusAlertRulesRequest setType(String type)
public String getType()
Copyright © 2024. All rights reserved.