Table of Contents

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 ServiceBindingContext

The id of binding to create.

request ServiceBindingRequest

Parameters for the requested Service Binding.

Returns

Task<ServiceBinding>

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 ServiceBindingContext

The id of the binding being deleted.

serviceId string

The id of the service associated with the binding being deleted.

planId string

The id of the plan associated with the binding being deleted.

Returns

Task

Exceptions

GoneException

The binding does not exist (anymore).