public class BciClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
BciClient()
Constructs a new client to invoke service methods on network.
|
BciClient(BceClientConfiguration clientConfiguration)
Constructs a new network client using the client configuration to access network.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteInstanceResponse |
batchDeleteInstance(DeleteInstanceRequest request)
batch delete bci instance with the specified options.
|
CreateInstanceResponse |
createInstance(CreateInstanceRequest request)
Create a bci instance with the specified options.
|
DeleteInstanceResponse |
deleteInstance(String instanceId)
Describe a bci instance with the specified options.
|
DeleteInstanceResponse |
deleteInstance(String instanceId,
Boolean relatedReleaseFlag)
Delete a bci instance with the specified options.
|
GetInstanceResponse |
getInstance(GetInstanceRequest request)
Get the bci instance with the specified options.
|
GetInstanceResponse |
getInstance(String instanceId)
Get the bci instance with the specified options.
|
ListInstancesResponse |
listInstances()
Get the bci instance with the specified options.
|
ListInstancesResponse |
listInstances(ListInstancesRequest request)
Get the bci instance with the specified options.
|
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic BciClient()
public BciClient(BceClientConfiguration clientConfiguration)
clientConfiguration - The network client configuration options controlling how this client
connects to network (e.g. proxy settings, retry counts, etc).public CreateInstanceResponse createInstance(CreateInstanceRequest request) throws BceClientException
request - The request containing all options for creating a bci instance.BceClientExceptionpublic DeleteInstanceResponse deleteInstance(String instanceId) throws BceClientException
instanceId - BceClientExceptionpublic DeleteInstanceResponse deleteInstance(String instanceId, Boolean relatedReleaseFlag) throws BceClientException
instanceId - relatedReleaseFlag - BceClientExceptionpublic DeleteInstanceResponse batchDeleteInstance(DeleteInstanceRequest request) throws BceClientException
request - The request containing all options for batch deleting bci instance.BceClientExceptionpublic GetInstanceResponse getInstance(String instanceId) throws BceClientException
String - instanceIdBceClientExceptionpublic GetInstanceResponse getInstance(GetInstanceRequest request) throws BceClientException
GetInstanceRequest - requestBceClientExceptionpublic ListInstancesResponse listInstances() throws BceClientException
String - instanceIdBceClientExceptionpublic ListInstancesResponse listInstances(ListInstancesRequest request) throws BceClientException
ListInstancesRequest - requestBceClientExceptionCopyright © 2023. All rights reserved.