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

Manages Service Instances with blocking operations. More...

Inheritance diagram for OpenServiceBroker.Instances.IServiceInstanceBlocking:
OpenServiceBroker.Instances.IServiceInstanceBase

Public Member Functions

Task< ServiceInstanceProvisionProvisionAsync (ServiceInstanceContext context, ServiceInstanceProvisionRequest request)
 Provisions a Service Instance. More...
 
Task UpdateAsync (ServiceInstanceContext context, ServiceInstanceUpdateRequest request)
 Updates a Service Instance. More...
 
Task DeprovisionAsync (ServiceInstanceContext context, string serviceId, string planId)
 Deprovisions/deletes a Service Instance. More...
 
- Public Member Functions inherited from OpenServiceBroker.Instances.IServiceInstanceBase
Task< ServiceInstanceResourceFetchAsync (string instanceId)
 Fetches a Service Instance. More...
 

Detailed Description

Manages Service Instances with blocking operations.

Member Function Documentation

◆ DeprovisionAsync()

Task OpenServiceBroker.Instances.IServiceInstanceBlocking.DeprovisionAsync ( ServiceInstanceContext  context,
string  serviceId,
string  planId 
)

Deprovisions/deletes a Service Instance.

Parameters
contextThe id of instance being deleted.
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).

◆ ProvisionAsync()

Task< ServiceInstanceProvision > OpenServiceBroker.Instances.IServiceInstanceBlocking.ProvisionAsync ( ServiceInstanceContext  context,
ServiceInstanceProvisionRequest  request 
)

Provisions a Service Instance.

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

◆ UpdateAsync()

Task OpenServiceBroker.Instances.IServiceInstanceBlocking.UpdateAsync ( ServiceInstanceContext  context,
ServiceInstanceUpdateRequest  request 
)

Updates a Service Instance.

Parameters
contextThe id of instance to update.
requestParameters for the requested Service Instance update
Exceptions
BrokerExceptionThe requested change is not supported.

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