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