public class GetPrometheusMonitoringRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clusterId
The ID of the Prometheus instance.
|
String |
monitoringName
The name of the monitoring configuration.
|
String |
regionId
The region ID.
|
String |
type
The type of the monitoring configuration.
|
| 构造器和说明 |
|---|
GetPrometheusMonitoringRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetPrometheusMonitoringRequest |
build(Map<String,?> map) |
String |
getClusterId() |
String |
getMonitoringName() |
String |
getRegionId() |
String |
getType() |
GetPrometheusMonitoringRequest |
setClusterId(String clusterId) |
GetPrometheusMonitoringRequest |
setMonitoringName(String monitoringName) |
GetPrometheusMonitoringRequest |
setRegionId(String regionId) |
GetPrometheusMonitoringRequest |
setType(String type) |
@NameInMap(value="ClusterId") public String clusterId
The ID of the Prometheus instance.
This parameter is required.
example:cc7a37ee31aea4ed1a059eff8034b****
@NameInMap(value="MonitoringName") public String monitoringName
The name of the monitoring configuration.
This parameter is required.
example:customJob1
@NameInMap(value="RegionId") public String regionId
The region ID.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="Type") public String type
The type of the monitoring configuration. Valid values for a Prometheus instance for Container Service: serviceMonitor, podMonitor, customJob, and probe. Valid values for a Prometheus instance for ECS: customJob and probe.
This parameter is required.
example:customJob
public static GetPrometheusMonitoringRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetPrometheusMonitoringRequest setClusterId(String clusterId)
public String getClusterId()
public GetPrometheusMonitoringRequest setMonitoringName(String monitoringName)
public String getMonitoringName()
public GetPrometheusMonitoringRequest setRegionId(String regionId)
public String getRegionId()
public GetPrometheusMonitoringRequest setType(String type)
public String getType()
Copyright © 2024. All rights reserved.