public class ProbeClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
CreateProbeResponse |
createProbe(CreateProbeRequest request)
Create a Probe with the specified options.
|
void |
deleteProbe(String probeId)
Delete the specified probe owned by the user.
|
void |
deleteProbe(String probeId,
String clientToken) |
GetProbeResponse |
getProbe(String probeId)
Get the detail information of specified probe.
|
ListProbeResponse |
listProbes()
Return a list of probes owned by the authenticated user.
|
ListProbeResponse |
listProbes(ListProbeRequest request)
Return a list of probes owned by the authenticated user.
|
void |
updateProbe(UpdateProbeRequest request)
update probe info
|
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic ProbeClient()
public ProbeClient(BceClientConfiguration clientConfiguration)
clientConfiguration - The Probe client configuration options controlling how this client
connects to Probe (e.g. proxy settings, retry counts, etc).public CreateProbeResponse createProbe(CreateProbeRequest request) throws BceClientException
request - The request containing all options for creating a probe.BceClientExceptionpublic ListProbeResponse listProbes()
public ListProbeResponse listProbes(ListProbeRequest request)
request - The request containing all options for listing own's probe.public GetProbeResponse getProbe(String probeId)
probeId - The id of the probe.public void updateProbe(UpdateProbeRequest request)
request - you can update :name、description、destIp、destPortpublic void deleteProbe(String probeId)
probeId - The id of the vpc probe delete.Copyright © 2024. All rights reserved.