OpenServiceBroker for .NET 0.4.4
client and a server .NET library for the Open Service Broker API specification
OpenServiceBroker.Instances.ServiceInstanceBlockingEndpoint Class Reference

Represents a specific Service Instance with blocking operations. If the Service Broker can only handle a request deferred (asynchronously) Errors.AsyncRequiredException is thrown. More...

Inheritance diagram for OpenServiceBroker.Instances.ServiceInstanceBlockingEndpoint:
OpenServiceBroker.Instances.ServiceInstanceEndpointBase< IServiceBindingEndpoint, ServiceBindingBlockingEndpoint > OpenServiceBroker.Instances.IServiceInstanceEndpoint OpenServiceBroker.Instances.IServiceInstanceEndpointBase< IServiceBindingEndpoint >

Public Member Functions

 ServiceInstanceBlockingEndpoint (IEndpoint referrer, Uri relativeUri)
 Creates a new blocking Service Instance endpoint. More...
 
async Task< ServiceInstanceProvisionProvisionAsync (ServiceInstanceProvisionRequest request)
 Provisions the Service Instance. More...
 
Task UpdateAsync (ServiceInstanceUpdateRequest request)
 Updates the Service Instance. More...
 
Task DeprovisionAsync (string serviceId, string planId)
 Deprovision the Service Instance. More...
 
- Public Member Functions inherited from OpenServiceBroker.Instances.ServiceInstanceEndpointBase< IServiceBindingEndpoint, ServiceBindingBlockingEndpoint >
async Task< ServiceInstanceResourceFetchAsync ()
 
- Public Member Functions inherited from OpenServiceBroker.Instances.IServiceInstanceEndpointBase< IServiceBindingEndpoint >
Task< ServiceInstanceResourceFetchAsync ()
 Fetches a Service Instance. More...
 

Additional Inherited Members

- Protected Member Functions inherited from OpenServiceBroker.Instances.ServiceInstanceEndpointBase< IServiceBindingEndpoint, ServiceBindingBlockingEndpoint >
 ServiceInstanceEndpointBase (IEndpoint referrer, Uri relativeUri, bool acceptsIncomplete=false)
 Creates a new Service Instance endpoint. More...
 
- Properties inherited from OpenServiceBroker.Instances.ServiceInstanceEndpointBase< IServiceBindingEndpoint, ServiceBindingBlockingEndpoint >
IIndexerEndpoint< TServiceBindingEndpointInterface > ServiceBindings [get]
 
- Properties inherited from OpenServiceBroker.Instances.IServiceInstanceEndpointBase< IServiceBindingEndpoint >
IIndexerEndpoint< TServiceBindingEndpoint > ServiceBindings [get]
 Exposes bindings for this Service Instance.
 

Detailed Description

Represents a specific Service Instance with blocking operations. If the Service Broker can only handle a request deferred (asynchronously) Errors.AsyncRequiredException is thrown.

Constructor & Destructor Documentation

◆ ServiceInstanceBlockingEndpoint()

OpenServiceBroker.Instances.ServiceInstanceBlockingEndpoint.ServiceInstanceBlockingEndpoint ( IEndpoint  referrer,
Uri  relativeUri 
)
inline

Creates a new blocking Service Instance endpoint.

Parameters
referrerThe endpoint used to navigate to this one.
relativeUriThe URI of this endpoint relative to the referrer 's.

Member Function Documentation

◆ DeprovisionAsync()

Task OpenServiceBroker.Instances.ServiceInstanceBlockingEndpoint.DeprovisionAsync ( string  serviceId,
string  planId 
)

Deprovision the Service Instance.

Parameters
serviceIdThe id of the service associated with the instance being deleted.
planIdThe id of the plan associated with the instance being deleted.
Exceptions
GoneExceptionThe instance does not exist (anymore).

Implements OpenServiceBroker.Instances.IServiceInstanceEndpoint.

◆ ProvisionAsync()

async Task< ServiceInstanceProvision > OpenServiceBroker.Instances.ServiceInstanceBlockingEndpoint.ProvisionAsync ( ServiceInstanceProvisionRequest  request)
inline

Provisions the Service Instance.

Parameters
requestParameters for the requested Service Instance provision.
Exceptions
ConflictExceptionAn instance with the same id already exists but with different attributes.
Returns
The provisioned instance.

Implements OpenServiceBroker.Instances.IServiceInstanceEndpoint.

◆ UpdateAsync()

Task OpenServiceBroker.Instances.ServiceInstanceBlockingEndpoint.UpdateAsync ( ServiceInstanceUpdateRequest  request)

Updates the Service Instance.

Parameters
requestParameters for the requested Service Instance update.
Exceptions
BrokerExceptionThe requested change is not supported.

Implements OpenServiceBroker.Instances.IServiceInstanceEndpoint.


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