public interface ServiceInstanceService
Modifier and Type | Method and Description |
---|---|
CreateServiceInstanceResponse |
createServiceInstance(CreateServiceInstanceRequest request)
Create (provision) a new service instance.
|
DeleteServiceInstanceResponse |
deleteServiceInstance(DeleteServiceInstanceRequest request)
Delete (deprovision) a service instance.
|
default GetLastServiceOperationResponse |
getLastOperation(GetLastServiceOperationRequest request)
Get the status of the last requested operation for a service instance.
|
default GetServiceInstanceResponse |
getServiceInstance(GetServiceInstanceRequest request)
Get the details of a service instance.
|
default UpdateServiceInstanceResponse |
updateServiceInstance(UpdateServiceInstanceRequest request)
Update a service instance.
|
CreateServiceInstanceResponse createServiceInstance(CreateServiceInstanceRequest request)
request
- containing the details of the requestCreateServiceInstanceResponse
on successful processing of the requestServiceInstanceExistsException
- if a service instance with the given ID is already known to the brokerServiceBrokerAsyncRequiredException
- if the broker requires asynchronous processing of the requestServiceBrokerInvalidParametersException
- if any parameters passed in the request are invaliddefault GetServiceInstanceResponse getServiceInstance(GetServiceInstanceRequest request)
request
- containing the details of the requestGetServiceInstanceResponse
on successful processing of the requestServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerServiceBrokerOperationInProgressException
- if a an operation is in progress for the service instancedefault GetLastServiceOperationResponse getLastOperation(GetLastServiceOperationRequest request)
request
- containing the details of the requestGetLastServiceOperationResponse
on successful processing of the requestServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerDeleteServiceInstanceResponse deleteServiceInstance(DeleteServiceInstanceRequest request)
request
- containing the details of the requestDeleteServiceInstanceResponse
on successful processing of the requestServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerServiceBrokerAsyncRequiredException
- if the broker requires asynchronous processing of the requestdefault UpdateServiceInstanceResponse updateServiceInstance(UpdateServiceInstanceRequest request)
request
- containing the details of the requestUpdateServiceInstanceResponse
on successful processing of the requestServiceInstanceUpdateNotSupportedException
- if particular change is not supported
or if the request can not currently be fulfilled due to the state of the instanceServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerServiceBrokerAsyncRequiredException
- if the broker requires asynchronous processing of the requestServiceBrokerInvalidParametersException
- if any parameters passed in the request are invalid