Skip to content

Latest commit

 

History

History
174 lines (105 loc) · 7.57 KB

File metadata and controls

174 lines (105 loc) · 7.57 KB

\ServiceInstancesApi

All URIs are relative to http://example.com

Method HTTP request Description
service_instance_deprovision delete /v2/service_instances/{instance_id} deprovision a service instance
service_instance_get get /v2/service_instances/{instance_id} get a service instance
service_instance_last_operation_get get /v2/service_instances/{instance_id}/last_operation get the last requested operation state for service instance
service_instance_provision put /v2/service_instances/{instance_id} provision a service instance
service_instance_update patch /v2/service_instances/{instance_id} update a service instance

service_instance_deprovision

serde_json::Value service_instance_deprovision(x_broker_api_version, instance_id, service_id, plan_id, x_broker_api_originating_identity, accepts_incomplete) deprovision a service instance

Parameters

Name Type Description Required Notes
x_broker_api_version String version number of the Service Broker API that the Platform will use Required [default to 2.13]
instance_id String id of instance being deleted Required
service_id String id of the service associated with the instance being deleted Required
plan_id String id of the plan associated with the instance being deleted Required
x_broker_api_originating_identity String identity of the user that initiated the request from the Platform
accepts_incomplete bool asynchronous deprovision supported

Return type

serde_json::Value

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

service_instance_get

crate::models::ServiceInstanceResource service_instance_get(x_broker_api_version, instance_id, x_broker_api_originating_identity, service_id, plan_id) get a service instance

Parameters

Name Type Description Required Notes
x_broker_api_version String version number of the Service Broker API that the Platform will use Required [default to 2.13]
instance_id String instance id of instance to fetch Required
x_broker_api_originating_identity String identity of the user that initiated the request from the Platform
service_id String id of the service associated with the instance
plan_id String id of the plan associated with the instance

Return type

crate::models::ServiceInstanceResource

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

service_instance_last_operation_get

crate::models::LastOperationResource service_instance_last_operation_get(x_broker_api_version, instance_id, service_id, plan_id, operation) get the last requested operation state for service instance

Parameters

Name Type Description Required Notes
x_broker_api_version String version number of the Service Broker API that the Platform will use Required [default to 2.13]
instance_id String instance id of instance to find last operation applied to it Required
service_id String id of the service associated with the instance
plan_id String id of the plan associated with the instance
operation String a provided identifier for the operation

Return type

crate::models::LastOperationResource

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

service_instance_provision

crate::models::ServiceInstanceProvisionResponse service_instance_provision(x_broker_api_version, instance_id, service_instance_provision_request, x_broker_api_originating_identity, accepts_incomplete) provision a service instance

Parameters

Name Type Description Required Notes
x_broker_api_version String version number of the Service Broker API that the Platform will use Required [default to 2.13]
instance_id String instance id of instance to provision Required
service_instance_provision_request ServiceInstanceProvisionRequest parameters for the requested service instance provision Required
x_broker_api_originating_identity String identity of the user that initiated the request from the Platform
accepts_incomplete bool asynchronous operations supported

Return type

crate::models::ServiceInstanceProvisionResponse

Authorization

basicAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

service_instance_update

serde_json::Value service_instance_update(x_broker_api_version, instance_id, service_instance_update_request, x_broker_api_originating_identity, accepts_incomplete) update a service instance

Parameters

Name Type Description Required Notes
x_broker_api_version String version number of the Service Broker API that the Platform will use Required [default to 2.13]
instance_id String instance id of instance to update Required
service_instance_update_request ServiceInstanceUpdateRequest parameters for the requested service instance update Required
x_broker_api_originating_identity String identity of the user that initiated the request from the Platform
accepts_incomplete bool asynchronous operations supported

Return type

serde_json::Value

Authorization

basicAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]