Table of Contents

Class ServiceInstanceBlockingEndpoint

Namespace
OpenServiceBroker.Instances
Assembly
OpenServiceBroker.Client.dll

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

public class ServiceInstanceBlockingEndpoint : ServiceInstanceEndpointBase<IServiceBindingEndpoint, ServiceBindingBlockingEndpoint>, IServiceInstanceEndpoint, IServiceInstanceEndpointBase<IServiceBindingEndpoint>, IEndpoint
Inheritance
ServiceInstanceBlockingEndpoint
Implements
Inherited Members
Extension Methods

Constructors

ServiceInstanceBlockingEndpoint(IEndpoint, Uri)

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

public ServiceInstanceBlockingEndpoint(IEndpoint referrer, Uri relativeUri)

Parameters

referrer IEndpoint

The endpoint used to navigate to this one.

relativeUri Uri

The URI of this endpoint relative to the referrer's.

Methods

DeprovisionAsync(string, string)

Deprovision the Service Instance.

public Task DeprovisionAsync(string serviceId, string planId)

Parameters

serviceId string

The id of the service associated with the instance being deleted.

planId string

The id of the plan associated with the instance being deleted.

Returns

Task

Exceptions

GoneException

The instance does not exist (anymore).

ProvisionAsync(ServiceInstanceProvisionRequest)

Provisions the Service Instance.

public Task<ServiceInstanceProvision> ProvisionAsync(ServiceInstanceProvisionRequest request)

Parameters

request ServiceInstanceProvisionRequest

Parameters for the requested Service Instance provision.

Returns

Task<ServiceInstanceProvision>

The provisioned instance.

Exceptions

ConflictException

An instance with the same id already exists but with different attributes.

UpdateAsync(ServiceInstanceUpdateRequest)

Updates the Service Instance.

public Task UpdateAsync(ServiceInstanceUpdateRequest request)

Parameters

request ServiceInstanceUpdateRequest

Parameters for the requested Service Instance update.

Returns

Task

Exceptions

BrokerException

The requested change is not supported.