Interface IServiceInstanceBlocking
- Namespace
- OpenServiceBroker.Instances
- Assembly
- OpenServiceBroker.Server.dll
Manages Service Instances with blocking operations.
public interface IServiceInstanceBlocking : IServiceInstanceBase
- Inherited Members
- Extension Methods
Methods
DeprovisionAsync(ServiceInstanceContext, string, string)
Deprovisions/deletes a Service Instance.
Task DeprovisionAsync(ServiceInstanceContext context, string serviceId, string planId)
Parameters
context
ServiceInstanceContextThe id of instance being deleted.
serviceId
stringThe id of the service associated with the instance being deleted.
planId
stringThe id of the plan associated with the instance being deleted.
Returns
Exceptions
- GoneException
The instance does not exist (anymore).
ProvisionAsync(ServiceInstanceContext, ServiceInstanceProvisionRequest)
Provisions a Service Instance.
Task<ServiceInstanceProvision> ProvisionAsync(ServiceInstanceContext context, ServiceInstanceProvisionRequest request)
Parameters
context
ServiceInstanceContextThe id of instance to provision.
request
ServiceInstanceProvisionRequestParameters for the requested Service Instance provision
Returns
- Task<ServiceInstanceProvision>
the provisioned instance
Exceptions
- ConflictException
An instance with the same id already exists but with different attributes.
UpdateAsync(ServiceInstanceContext, ServiceInstanceUpdateRequest)
Updates a Service Instance.
Task UpdateAsync(ServiceInstanceContext context, ServiceInstanceUpdateRequest request)
Parameters
context
ServiceInstanceContextThe id of instance to update.
request
ServiceInstanceUpdateRequestParameters for the requested Service Instance update
Returns
Exceptions
- BrokerException
The requested change is not supported.