OpenServiceBroker for .NET 0.4.3
client and a server .NET library for the Open Service Broker API specification
OpenServiceBroker.Bindings.IServiceBindingDeferred Interface Reference

Manages bindings for Service Instances with potentially deferred (asynchronous) operations. More...

Inheritance diagram for OpenServiceBroker.Bindings.IServiceBindingDeferred:
OpenServiceBroker.Bindings.IServiceBindingBase

Public Member Functions

Task< ServiceBindingAsyncOperationBindAsync (ServiceBindingContext context, ServiceBindingRequest request)
 Generates a Service Binding. More...
 
Task< AsyncOperationUnbindAsync (ServiceBindingContext context, string serviceId, string planId)
 Deletes a Service Binding. More...
 
Task< LastOperationResourceGetLastOperationAsync (ServiceBindingContext context, string? serviceId=null, string? planId=null, string? operation=null)
 Gets the state of the last requested deferred (asynchronous) operation for a Service Binding. More...
 
- Public Member Functions inherited from OpenServiceBroker.Bindings.IServiceBindingBase
Task< ServiceBindingResourceFetchAsync (string instanceId, string bindingId)
 fetches a Service Binding More...
 

Detailed Description

Manages bindings for Service Instances with potentially deferred (asynchronous) operations.

Member Function Documentation

◆ BindAsync()

Task< ServiceBindingAsyncOperation > OpenServiceBroker.Bindings.IServiceBindingDeferred.BindAsync ( ServiceBindingContext  context,
ServiceBindingRequest  request 
)

Generates a Service Binding.

Parameters
contextThe id of binding to create.
requestParameters for the requested Service Binding.
Returns
A potentially deferred (asynchronous) operation.
Exceptions
ConflictExceptionA binding with the same id already exists but with different attributes.

◆ GetLastOperationAsync()

Task< LastOperationResource > OpenServiceBroker.Bindings.IServiceBindingDeferred.GetLastOperationAsync ( ServiceBindingContext  context,
string?  serviceId = null,
string?  planId = null,
string?  operation = null 
)

Gets the state of the last requested deferred (asynchronous) operation for a Service Binding.

Parameters
contextThe id of Service Binding to find last operation applied to it
serviceIdThe id of the service associated with the binding.
planIdThe id of the plan associated with the binding.
operationThe value provided in AsyncOperation.Operation.
Exceptions
GoneExceptionThe binding requested to be deleted does not exist (anymore).

◆ UnbindAsync()

Task< AsyncOperation > OpenServiceBroker.Bindings.IServiceBindingDeferred.UnbindAsync ( ServiceBindingContext  context,
string  serviceId,
string  planId 
)

Deletes a Service Binding.

Parameters
contextThe id of the binding being deleted.
serviceIdThe id of the service associated with the binding being deleted.
planIdThe id of the plan associated with the binding being deleted.
Returns
A potentially deferred (asynchronous) operation.
Exceptions
GoneExceptionThe binding does not exist (anymore).

The documentation for this interface was generated from the following file: