public class UpdatePrometheusIntegrationRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clusterId
The ID of the Prometheus instance.
|
Long |
instanceId
The exporter ID.
|
String |
integrationType
The type of the integration.
|
String |
param
The configurations of the exporter.
|
String |
regionId
The region ID.
|
| 构造器和说明 |
|---|
UpdatePrometheusIntegrationRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdatePrometheusIntegrationRequest |
build(Map<String,?> map) |
String |
getClusterId() |
Long |
getInstanceId() |
String |
getIntegrationType() |
String |
getParam() |
String |
getRegionId() |
UpdatePrometheusIntegrationRequest |
setClusterId(String clusterId) |
UpdatePrometheusIntegrationRequest |
setInstanceId(Long instanceId) |
UpdatePrometheusIntegrationRequest |
setIntegrationType(String integrationType) |
UpdatePrometheusIntegrationRequest |
setParam(String param) |
UpdatePrometheusIntegrationRequest |
setRegionId(String regionId) |
@NameInMap(value="ClusterId") public String clusterId
The ID of the Prometheus instance. Only a Prometheus instance for Container Service or a Prometheus instance for ECS is supported.
This parameter is required.
example:cc7a37ee31aea4ed1a059eff8034b****
@NameInMap(value="InstanceId") public Long instanceId
The exporter ID.
example:2893
@NameInMap(value="IntegrationType") public String integrationType
The type of the integration.
This parameter is required.
example:kafka, mysql, redis, snmp, emr, nubela, and tidb
@NameInMap(value="Param") public String param
The configurations of the exporter. The value is a JSON string.
This parameter is required.
example:{ "port": "5554", "name": "kafka-test12", "kafka_instance": "kafka-test", "__label_value": "kafka-test", "scrape_interval": 33, "metrics_path": "/metrics", "__label_key": "kafka-test" }
@NameInMap(value="RegionId") public String regionId
The region ID.
This parameter is required.
example:cn-hangzhou
public static UpdatePrometheusIntegrationRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdatePrometheusIntegrationRequest setClusterId(String clusterId)
public String getClusterId()
public UpdatePrometheusIntegrationRequest setInstanceId(Long instanceId)
public Long getInstanceId()
public UpdatePrometheusIntegrationRequest setIntegrationType(String integrationType)
public String getIntegrationType()
public UpdatePrometheusIntegrationRequest setParam(String param)
public String getParam()
public UpdatePrometheusIntegrationRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2024. All rights reserved.