curl -i -X GET -u username:password -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://rest_server_url/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/jaas/instances/ExampleInstance/backups/1449345407188
cURLコマンドラインで次のオプションを指定します。
-
-i
出力にHTTPヘッダーを含めるためのオプション。 このオプションは省略可能です。
-
リクエストのタイプを示す-X
オプション(GET
)。
-
-u
オプションを使用して、認証のためのOracle Java Cloud Serviceアカウントのユーザー名とパスワードを指定します。
-
-H
:アイデンティティ・ドメインIDを識別するカスタム・ヘッダーX-ID-TENANT-NAME
を定義します。
詳細は「バックアップの表示」を参照してください。
次の例では、JSON形式のレスポンス本文を示します。
{
"backupId":"1449345407188",
"jobId":"8218",
"backupStartDate":"Sat Dec 05 19:56:47 GMT 2015",
"backupCompleteDate":"Sat Dec 05 19:59:21 GMT 2015",
"expirationDate":null,
"initiatedBy":"username",
"full":true,
"local":false,
"localCopy":true,
"databaseIncluded":false,
"size":"23MB",
"sizeInBytes":24165234,
"status":"Completed",
"storageContainer":"Storage-ExampleIdentityDomain\/JCSBackups",
"href":"https:\/\/rest_server_url\/paas\/api\/v1.1\/instancemgmt\/ExampleIdentityDomain\/services\/jaas\/instances\/ExampleInstance\/backups\/1449345407188",
"serviceComponents":[
{
"type":"OTD",
"version":"11.1.1.9.x"
},
{
"type":"OTD_JDK",
"version":"1.7.0_xx"
},
{
"type":"JDK",
"version":"1.7.0_xx"
},
{
"type":"WLS",
"version":"12.1.3.0.x"
}
],
"jobHistory":[
{
"operation":"backup",
"jobId":"8218",
"status":"Completed",
"startDate":"Sat Dec 05 19:56:47 GMT 2015",
"completeDate":"Sat Dec 05 19:59:21 GMT 2015",
"statusDetails":"Backup health check passed...Locked the WebLogic Server domain configuration..
Started the backup of configuration data for WebLogic administration server and managed servers...
Completed the backup of configuration data for WebLogic administration server and managed servers...Capturing the service metadata...
Completed the backup of service metadata...Unlocked the WebLogic Server domain configuration...
Uploading the backup archive to the Oracle Storage Cloud Service container...Uploaded the object to the Oracle Storage Cloud Service container..."
}],
"notes":"This full backup has no expiration date."
}