forked from docs/doc-exports
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
12 KiB
12 KiB
Restoring a DCS Instance
Function
This API is used to restore a specified DCS instance.
URI
POST /v1.0/{project_id}/instances/{instance_id}/restores
Table 1 describes the parameters.
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
project_id |
String |
Yes |
Project ID. For details on how to obtain the value of this parameter, see Obtaining a Project ID. |
instance_id |
String |
Yes |
DCS instance ID. |
Request
Request parameters
Table 2 describes the request parameters.
Example request
Request URL:
POST https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/restores
Example:
{
"remark":"restore instance",
"backup_id":"8ba256cb-e5ac-44f6-a3da-c03d8f0e5029"
}
Response
Response parameters
Table 3 describes the response parameter.
Example response
{ "restore_id": "a6155972-800c-4170-a479-3231e907d2f6" }
Parent topic: Backup and Restoration APIs