Table of Contents

Interface IServiceBindingEndpoint

Namespace
OpenServiceBroker.Bindings
Assembly
OpenServiceBroker.Client.dll

Represents a Service Binding for a specific Service Instance with blocking operations.

public interface IServiceBindingEndpoint : IServiceBindingEndpointBase, IEndpoint
Inherited Members
Extension Methods

Remarks

What a Service Instance represents can vary by service. Examples include a single database on a multi-tenant server, a dedicated cluster, or an account on a web application.

Methods

BindAsync(ServiceBindingRequest)

Generates the Service Binding.

Task<ServiceBinding> BindAsync(ServiceBindingRequest request)

Parameters

request ServiceBindingRequest

Parameters for the requested Service Binding.

Returns

Task<ServiceBinding>

The binding.

Exceptions

ConflictException

A binding with the same id already exists but with different attributes.

UnbindAsync(string, string)

Unbinds/deletes the Service Binding.

Task UnbindAsync(string serviceId, string planId)

Parameters

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).