Bind a resource from another cloud to a project
POST/v1/recovery-bindings
Declares that a resource another cloud backed up into a shared repository belongs to a project here. Its backups then appear in that project and can be restored there, and new ones are picked up as they arrive. Naming a standby pool also keeps a warm copy of it. A resource can be bound once.
Operator only: needs a system-scoped token.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 413
- 415
- 422
- 503
- default
Created
Bad Request.
invalid_request: The body is not a single JSON object, names a field this operation does not take, or gives a value of the wrong type.
Unauthorized.
unauthenticated: The token is missing, expired or not valid.
Forbidden.
forbidden: The token is not a system-scoped admin token.
Not Found.
not_found: repository_id names no registered repository.
Conflict.
tier_unavailable: The repository is an rbd tier, which holds no backup records.
conflict: This resource from this cloud is already bound. Or target_project_id names a project that does not exist here or is disabled.
Request Entity Too Large.
body_too_large: The body is larger than the service accepts.
Unsupported Media Type.
unsupported_media_type: The body is not sent as application/json.
Unprocessable Entity.
validation_failed: origin_cloud, source_resource_id or target_project_id is missing. repository_id is not a UUID. standby_prefix is given without standby_pool. standby_site_id is not a UUID. target_domain_id does not match the target project's domain, or is missing when the project cannot be looked up.
Service Unavailable.
service_unavailable: This service does not hold recovery bindings.
An error, as an RFC 7807 problem document.