Function

provision

Provision a new service instance based on the service type, tier and requested attributes. A lifecycle may be able to provision one or more types of services. If the service type cannot be provisioned by this lifecycle, an error is returned. A service-error is returned if the tier or attributes are invalid, or if the service could not be provisioned for any reason. A service-instance-id is returned on success which can be used to update the service instance, create bindings, or destroy the service instance.

provision: func(instance-id: service-instance-id, type: string, tier: option​<tier>, requests: option​<list​<request>>) -> result​<_, error>;