public class UpdatePrometheusAgentStatusRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getAgentIds()
Get List of agent IDs such as “agent-abcd1234”, which can be obtained on the **Agent Management** page in the console.
|
String |
getInstanceId()
Get TMP instance ID, such as “prom-abcd1234”.
|
Long |
getStatus()
Get Status to update
1 = enabled
2 = disabled
|
void |
setAgentIds(String[] AgentIds)
Set List of agent IDs such as “agent-abcd1234”, which can be obtained on the **Agent Management** page in the console.
|
void |
setInstanceId(String InstanceId)
Set TMP instance ID, such as “prom-abcd1234”.
|
void |
setStatus(Long Status)
Set Status to update
1 = enabled
2 = disabled
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public UpdatePrometheusAgentStatusRequest()
public UpdatePrometheusAgentStatusRequest(UpdatePrometheusAgentStatusRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- TMP instance ID, such as “prom-abcd1234”.public String[] getAgentIds()
public void setAgentIds(String[] AgentIds)
AgentIds
- List of agent IDs such as “agent-abcd1234”, which can be obtained on the **Agent Management** page in the console.public Long getStatus()
public void setStatus(Long Status)
Status
- Status to update
Copyright © 2023. All rights reserved.