Class UpdatePrometheusScrapeJobRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.UpdatePrometheusScrapeJobRequest
-
public class UpdatePrometheusScrapeJobRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UpdatePrometheusScrapeJobRequest()
UpdatePrometheusScrapeJobRequest(UpdatePrometheusScrapeJobRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAgentId()
Get Agent ID,例如:agent-abcd1234,可在控制台 Agent 管理中获取String
getConfig()
Get 抓取任务配置,格式:job_name:xxString
getInstanceId()
Get Prometheus 实例 ID,例如:prom-abcd1234String
getJobId()
Get 抓取任务 ID,例如:job-abcd1234,可在控制台 Agent 管理-抓取任务配置中获取void
setAgentId(String AgentId)
Set Agent ID,例如:agent-abcd1234,可在控制台 Agent 管理中获取void
setConfig(String Config)
Set 抓取任务配置,格式:job_name:xxvoid
setInstanceId(String InstanceId)
Set Prometheus 实例 ID,例如:prom-abcd1234void
setJobId(String JobId)
Set 抓取任务 ID,例如:job-abcd1234,可在控制台 Agent 管理-抓取任务配置中获取void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
UpdatePrometheusScrapeJobRequest
public UpdatePrometheusScrapeJobRequest()
-
UpdatePrometheusScrapeJobRequest
public UpdatePrometheusScrapeJobRequest(UpdatePrometheusScrapeJobRequest 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.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get Prometheus 实例 ID,例如:prom-abcd1234- Returns:
- InstanceId Prometheus 实例 ID,例如:prom-abcd1234
-
setInstanceId
public void setInstanceId(String InstanceId)
Set Prometheus 实例 ID,例如:prom-abcd1234- Parameters:
InstanceId
- Prometheus 实例 ID,例如:prom-abcd1234
-
getAgentId
public String getAgentId()
Get Agent ID,例如:agent-abcd1234,可在控制台 Agent 管理中获取- Returns:
- AgentId Agent ID,例如:agent-abcd1234,可在控制台 Agent 管理中获取
-
setAgentId
public void setAgentId(String AgentId)
Set Agent ID,例如:agent-abcd1234,可在控制台 Agent 管理中获取- Parameters:
AgentId
- Agent ID,例如:agent-abcd1234,可在控制台 Agent 管理中获取
-
getJobId
public String getJobId()
Get 抓取任务 ID,例如:job-abcd1234,可在控制台 Agent 管理-抓取任务配置中获取- Returns:
- JobId 抓取任务 ID,例如:job-abcd1234,可在控制台 Agent 管理-抓取任务配置中获取
-
setJobId
public void setJobId(String JobId)
Set 抓取任务 ID,例如:job-abcd1234,可在控制台 Agent 管理-抓取任务配置中获取- Parameters:
JobId
- 抓取任务 ID,例如:job-abcd1234,可在控制台 Agent 管理-抓取任务配置中获取
-
getConfig
public String getConfig()
Get 抓取任务配置,格式:job_name:xx- Returns:
- Config 抓取任务配置,格式:job_name:xx
-
setConfig
public void setConfig(String Config)
Set 抓取任务配置,格式:job_name:xx- Parameters:
Config
- 抓取任务配置,格式:job_name:xx
-
-