Class UpdatePrometheusAgentStatusRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.UpdatePrometheusAgentStatusRequest
-
public class UpdatePrometheusAgentStatusRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UpdatePrometheusAgentStatusRequest()
UpdatePrometheusAgentStatusRequest(UpdatePrometheusAgentStatusRequest 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[]
getAgentIds()
Get Agent ID 列表,例如:agent-abcd1234,可在控制台 Agent 管理中获取String
getInstanceId()
Get Prometheus 实例 ID,例如:prom-abcd1234Long
getStatus()
Get 要更新的状态 1= 开启 2= 关闭void
setAgentIds(String[] AgentIds)
Set Agent ID 列表,例如:agent-abcd1234,可在控制台 Agent 管理中获取void
setInstanceId(String InstanceId)
Set Prometheus 实例 ID,例如:prom-abcd1234void
setStatus(Long Status)
Set 要更新的状态 1= 开启 2= 关闭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
-
UpdatePrometheusAgentStatusRequest
public UpdatePrometheusAgentStatusRequest()
-
UpdatePrometheusAgentStatusRequest
public UpdatePrometheusAgentStatusRequest(UpdatePrometheusAgentStatusRequest 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
-
getAgentIds
public String[] getAgentIds()
Get Agent ID 列表,例如:agent-abcd1234,可在控制台 Agent 管理中获取- Returns:
- AgentIds Agent ID 列表,例如:agent-abcd1234,可在控制台 Agent 管理中获取
-
setAgentIds
public void setAgentIds(String[] AgentIds)
Set Agent ID 列表,例如:agent-abcd1234,可在控制台 Agent 管理中获取- Parameters:
AgentIds
- Agent ID 列表,例如:agent-abcd1234,可在控制台 Agent 管理中获取
-
getStatus
public Long getStatus()
Get 要更新的状态- 1= 开启
- 2= 关闭
- Returns:
- Status 要更新的状态
- 1= 开启
- 2= 关闭
-
setStatus
public void setStatus(Long Status)
Set 要更新的状态- 1= 开启
- 2= 关闭
- Parameters:
Status
- 要更新的状态- 1= 开启
- 2= 关闭
-
-