機械翻訳について

リストア操作履歴のリスト

get

/api/v1.1/instances/{identityId}/{serviceId}/restoredbackups

サービス・インスタンスのリストア操作の履歴をリストします。

リクエスト

パス・パラメータ
identityId
タイプ: string
必須: true
Oracle Cloud Serviceアカウントのアイデンティティ・ドメインの名前。
serviceId
タイプ: string
必須: true
サービス・インスタンスのID。
問合せのパラメータ
includeFailed
タイプ: boolean
trueに設定すると、失敗したリストア操作が含まれます。

レスポンス

サポートされるメディア・タイプ
  • application/json
202レスポンス
OK
本文
ルート・スキーマ: ViewRestoredBackupsResponse
タイプ: object
ネスト・スキーマ: restoreHistory
タイプ: array
完了したすべてのリストア操作をグループ化します。
ネスト・スキーマ: restoreInProgress
タイプ: array
進行中のすべてのリストア操作をグループ化します。
ネスト・スキーマ: RestoreBackupItem
タイプ: object

次の例では、cURLを使用してRESTリソースに対するGETリクエストを発行することによってOracle SOA Cloud Serviceインスタンスのすべてのリストア操作を表示する方法を示しています。 詳細は、「cURLの使用」を参照してください。

「Backup」ページの概要に関する項も参照してください。

cURLコマンド

curl -i -X GET -u joe@example.com:Welcome1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://api-host/paas/service/soa/api/v1.1/instances/ExampleIdentityDomain/ExampleInstance/restoredbackups
注意:: この例では、アメリカ合衆国でのURL接頭辞(soacs)を使用しています。 世界の他の地域のURL接頭辞の詳細は、「リクエストの送信」を参照してください。

レスポンス・ヘッダーの例

レスポンス・ヘッダーの例を次に示します。

HTTP/1.1 200 OK
Date: Tue, 02 Sep 2014 14:27:58 GMT
Content-Length: 1595
Content-Type: application/json

レスポンス本文の例

JSON形式のレスポンス本文の例を次に示します。

{
   "restoreHistory":
   [
      {
         "backupId":"1389925926116",
         "backupDate":"Thu Jan 16 18:32:06 PST 2014",
         "jobId":"505",
         "recoveryStartDate":"Thu Jan 16 18:32:46 PST 2014",
         "recoveryCompleteDate":"Thu Jan 16 18:33:00 PST 2014",
         "status":"Completed",
         "statusDetails":"Stopping WebLogic Server...Stopped WebLogic Server...Restoring the binary 
and configuration data for WebLogic Server administration server on host exampleinstance-wls-1...Restored 
the binary and configuration data for WebLogic Server administration server on host 
exampleinstance-wls-1...Restoring Oracle Traffic Director on host exampleinstance-lb-1...Restored 
Oracle Traffic Director on host exampleinstance-lb-1...Restoring the binary and configuration data for 
WebLogic Server administration server on host  ...Restored the binary and configuration data for 
WebLogic Server administration server on host ...Starting WebLogic Server...Started WebLogic 
Server...Unlocked the WebLogic Server domain configuration... "         
         "staticDataIncluded":false,
         "configDataIncluded":true,
         "otdIncluded":true,
         "notes":"JDK Patching"
      }
   ],
   "restoreInProgress":
      {
         "backupId":"1389926175465",
         "backupDate":"Thu Jan 16 18:36:15 PST 2014",
         "jobId":"606",
         "recoveryStartDate":"Thu Jan 16 18:37:55 PST 2014",
         "status":"In Progress",
         "statusDetails":"Restoration health check passed..."
         "staticDataIncluded":true,
         "configDataIncluded":true,
         "otdIncluded":true,
         "notes":"Notes..."
    }
}