Description
自動バックアップにて取得されたバックアップの一覧を取得します。
なお、レスポンス結果にある各種IDの意味は以下の通りです。
・backup_id
有効化された自動バックアップ毎に払い出されるID
・backuprun_id
自動バックアップで取得されたバックアップ毎に払い出されるID
Request URL
Compute API
GET /v2/{tenant_id}/backup
Request Json
This operation does not accept a request body.
Request Parameters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | トークンID | header | トークンIDを指定します。 |
| tenant_id | テナントID | path | テナントIDを指定します。 |
Response Code
Success
200
Example
Request
curl -i -X GET -H "Accept: application/json" -H "X-Auth-Token: トークンID" https://compute.tyo1.conoha.io/v2/テナントID/backup
Response
HTTP/1.1 200 OK
Date: Tue, 10 Feb 2015 08:00:45 GMT
Server: Apache
Content-Length: 492
Content-Type: text/html; charset=UTF-8
{
"backup": [
{
"instance_id": "5da9552d-93fa-4b86-8fe5-2968556017f7",
"id": "9fbcc5eb-aa2b-4d17-a27d-43f11c8c2b17",
"backupruns": [
{
"status": "available",
"created_at": "2015-02-28T12:56:29Z",
"backuprun_id": "58ad1951017444acacc13cee1067f1d0",
"type": "instance"
}
]
},
{
"instance_id": "a647cd83-ad21-48aa-85e6-4e3ab52d337f",
"id": "1df1d401-0e64-4f43-8a96-475b4eb55029",
"backupruns": [
{
"status": "available",
"created_at": "2015-02-24T06:11:04Z",
"backuprun_id": "9ba40be79b474328a42046d47171ca1d",
"volume_id": "5026a03f-01e3-4188-899b-8738538f47db",
"type": "volume"
},
{
"status": "available",
"created_at": "2015-02-25T09:22:10Z",
"backuprun_id": "4f9a0f1047ef4a5d9758fa176e8a6ba1",
"type": "instance"
},
{
"status": "available",
"created_at": "2015-02-25T09:28:15Z",
"backuprun_id": "eccb48b720ed469f87f42492b98f39f7",
"type": "instance"
}
],
},
{
"instance_id": "9ed73499-255b-498b-b2b8-4790d2556c4d",
"id": "eaf25feb-8255-4cda-912c-ffea8df34e0e",
"backupruns": [
{
"status": "available",
"created_at": "2015-02-12T09:59:15Z",
"backuprun_id": "9a61530e82434128a6039974a1c8397e",
"type": "instance"
},
{
"status": "restoring",
"created_at": "2015-02-12T09:59:33Z",
"backuprun_id": "136918faac024d879acda658d47c290f",
"volume_id": "312d5592-445b-4d67-965c-4d2a0e2e02cb",
"type": "volume"
}
],
}
]
}
ConoHaにて提供しておりますAPIにつきましては、クラウド基盤として採用しておりますOpenStackの機能にて実装しておりますので、詳細な情報や使い方はOpenStackのドキュメントにてご確認ください。