Register a standby
POST/v1/standbys
Keeps a warm copy of a protected resource's disks in a pool at a site, brought up to date after every backup. Recovering it then takes as long as a boot, not as long as copying its data. The pool must hold standbys only, because every update overwrites what is in it. Without site_id the copy is kept at this site.
Operator only: needs a system-scoped token.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 413
- 415
- 422
- 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.
Conflict.
conflict: project_id names a project that does not exist here or is disabled. Or a standby for this resource already exists at this site.
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: project_id, resource_id or target_pool is missing. site_id is not a registered site. group_id is not a UUID, or names no group in project_id. domain_id does not match the project's domain, or is missing when the project cannot be looked up.
An error, as an RFC 7807 problem document.