Interface IServiceBindingDeferred
- Namespace
 - OpenServiceBroker.Bindings
 
- Assembly
 - OpenServiceBroker.Server.dll
 
Manages bindings for Service Instances with potentially deferred (asynchronous) operations.
public interface IServiceBindingDeferred : IServiceBindingBase
  - Inherited Members
 
- Extension Methods
 
Methods
BindAsync(ServiceBindingContext, ServiceBindingRequest)
Generates a Service Binding.
Task<ServiceBindingAsyncOperation> BindAsync(ServiceBindingContext context, ServiceBindingRequest request)
  Parameters
contextServiceBindingContextThe id of binding to create.
requestServiceBindingRequestParameters for the requested Service Binding.
Returns
- Task<ServiceBindingAsyncOperation>
 A potentially deferred (asynchronous) operation.
Exceptions
- ConflictException
 A binding with the same id already exists but with different attributes.
GetLastOperationAsync(ServiceBindingContext, string?, string?, string?)
Gets the state of the last requested deferred (asynchronous) operation for a Service Binding.
Task<LastOperationResource> GetLastOperationAsync(ServiceBindingContext context, string? serviceId = null, string? planId = null, string? operation = null)
  Parameters
contextServiceBindingContextThe id of Service Binding to find last operation applied to it
serviceIdstringThe id of the service associated with the binding.
planIdstringThe id of the plan associated with the binding.
operationstringThe value provided in Operation.
Returns
Exceptions
- GoneException
 The binding requested to be deleted does not exist (anymore).
UnbindAsync(ServiceBindingContext, string, string)
Deletes a Service Binding.
Task<AsyncOperation> UnbindAsync(ServiceBindingContext context, string serviceId, string planId)
  Parameters
contextServiceBindingContextThe id of the binding being deleted.
serviceIdstringThe id of the service associated with the binding being deleted.
planIdstringThe id of the plan associated with the binding being deleted.
Returns
- Task<AsyncOperation>
 A potentially deferred (asynchronous) operation.
Exceptions
- GoneException
 The binding does not exist (anymore).