类 ProbeClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.probe.ProbeClient
-
public class ProbeClient extends AbstractBceClient
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 ProbeClient()Constructs a new client to invoke service methods on Probe.ProbeClient(BceClientConfiguration clientConfiguration)Constructs a new Probe client using the client configuration to access Probe.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CreateProbeResponsecreateProbe(CreateProbeRequest request)Create a Probe with the specified options.voiddeleteProbe(String probeId)Delete the specified probe owned by the user.voiddeleteProbe(String probeId, String clientToken)GetProbeResponsegetProbe(String probeId)Get the detail information of specified probe.ListProbeResponselistProbes()Return a list of probes owned by the authenticated user.ListProbeResponselistProbes(ListProbeRequest request)Return a list of probes owned by the authenticated user.voidupdateProbe(UpdateProbeRequest request)update probe info-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
ProbeClient
public ProbeClient()
Constructs a new client to invoke service methods on Probe.
-
ProbeClient
public ProbeClient(BceClientConfiguration clientConfiguration)
Constructs a new Probe client using the client configuration to access Probe.- 参数:
clientConfiguration- The Probe client configuration options controlling how this client connects to Probe (e.g. proxy settings, retry counts, etc).
-
-
方法详细资料
-
createProbe
public CreateProbeResponse createProbe(CreateProbeRequest request) throws BceClientException
Create a Probe with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.- 参数:
request- The request containing all options for creating a probe.- 返回:
- probeId newly created
- 抛出:
BceClientException
-
listProbes
public ListProbeResponse listProbes()
Return a list of probes owned by the authenticated user.- 返回:
- The response containing a list of probes owned by the authenticated user.
-
listProbes
public ListProbeResponse listProbes(ListProbeRequest request)
Return a list of probes owned by the authenticated user.- 参数:
request- The request containing all options for listing own's probe.- 返回:
- The response containing a list of probes owned by the authenticated user.
-
getProbe
public GetProbeResponse getProbe(String probeId)
Get the detail information of specified probe.- 参数:
probeId- The id of the probe.- 返回:
- A probe detail model for the probe.
-
updateProbe
public void updateProbe(UpdateProbeRequest request)
update probe info- 参数:
request- you can update :name、description、destIp、destPort
-
deleteProbe
public void deleteProbe(String probeId)
Delete the specified probe owned by the user.- 参数:
probeId- The id of the vpc probe delete.
-
-