Interface IServiceInstanceEndpoint
- Namespace
- OpenServiceBroker.Instances
- Assembly
- OpenServiceBroker.Client.dll
Represents a specific Service Instance with blocking operations.
public interface IServiceInstanceEndpoint : IServiceInstanceEndpointBase<IServiceBindingEndpoint>, 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
DeprovisionAsync(string, string)
Deprovision the Service Instance.
Task DeprovisionAsync(string serviceId, string planId)
Parameters
serviceId
stringThe id of the service associated with the instance being deleted.
planId
stringThe id of the plan associated with the instance being deleted.
Returns
Exceptions
- GoneException
The instance does not exist (anymore).
ProvisionAsync(ServiceInstanceProvisionRequest)
Provisions the Service Instance.
Task<ServiceInstanceProvision> ProvisionAsync(ServiceInstanceProvisionRequest request)
Parameters
request
ServiceInstanceProvisionRequestParameters 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.
Task UpdateAsync(ServiceInstanceUpdateRequest request)
Parameters
request
ServiceInstanceUpdateRequestParameters for the requested Service Instance update.
Returns
Exceptions
- BrokerException
The requested change is not supported.