Interface IServiceBindingBlocking
- Namespace
- OpenServiceBroker.Bindings
- Assembly
- OpenServiceBroker.Server.dll
Manages bindings for Service Instances with blocking operations.
public interface IServiceBindingBlocking : IServiceBindingBase
- Inherited Members
- Extension Methods
Methods
BindAsync(ServiceBindingContext, ServiceBindingRequest)
generates a Service Binding
Task<ServiceBinding> BindAsync(ServiceBindingContext context, ServiceBindingRequest request)
Parameters
context
ServiceBindingContextThe id of binding to create.
request
ServiceBindingRequestParameters for the requested Service Binding.
Returns
Exceptions
- ConflictException
An instance with the same id already exists but with different attributes.
UnbindAsync(ServiceBindingContext, string, string)
deletes a Service Binding
Task UnbindAsync(ServiceBindingContext context, string serviceId, string planId)
Parameters
context
ServiceBindingContextThe id of the binding being deleted.
serviceId
stringThe id of the service associated with the binding being deleted.
planId
stringThe id of the plan associated with the binding being deleted.
Returns
Exceptions
- GoneException
The binding does not exist (anymore).