public class CreateServiceDiscoveryRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateServiceDiscoveryRequest() |
CreateServiceDiscoveryRequest(CreateServiceDiscoveryRequest 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 |
getInstanceId()
Get Prometheus instance ID
|
String |
getKubeClusterId()
Get TKE: ID of the integrated TKE cluster
|
Long |
getKubeType()
Get Kubernetes cluster type:
1 = TKE
|
Long |
getType()
Get Scrape configuration type.
|
String |
getYaml()
Get Scrape configuration information
|
void |
setInstanceId(String InstanceId)
Set Prometheus instance ID
|
void |
setKubeClusterId(String KubeClusterId)
Set TKE: ID of the integrated TKE cluster
|
void |
setKubeType(Long KubeType)
Set Kubernetes cluster type:
1 = TKE
|
void |
setType(Long Type)
Set Scrape configuration type.
|
void |
setYaml(String Yaml)
Set Scrape configuration information
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateServiceDiscoveryRequest()
public CreateServiceDiscoveryRequest(CreateServiceDiscoveryRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Prometheus instance IDpublic String getKubeClusterId()
public void setKubeClusterId(String KubeClusterId)
KubeClusterId
- public Long getKubeType()
public void setKubeType(Long KubeType)
KubeType
- Kubernetes cluster type:
public Long getType()
public void setType(Long Type)
Type
- Scrape configuration type. Valid values:
public String getYaml()
public void setYaml(String Yaml)
Yaml
- Scrape configuration informationCopyright © 2024. All rights reserved.