イメージのエクスポート結果を照会します。
操作説明
この操作を呼び出すことで、ご利用のアカウント内のすべてのカスタムイメージに関する情報を照会できます。この情報には、イメージプロパティ、イメージのエクスポートステータス、および Object Storage Service (OSS) のダウンロードリンクが含まれます。
エクスポートされていないイメージの場合、空の文字列が返されます。
OSS 内のオブジェクトを削除すると、ダウンロードリンクが無効になる場合があります。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ens:DescribeExportImageInfo |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ImageId |
string |
任意 |
イメージの ID。 |
m-xxxxx |
| ImageName |
string |
任意 |
イメージの名前。 |
testImageName |
| PageNumber |
integer |
任意 |
ページ番号。ページは 1 から始まります。デフォルト値: 1。 |
1 |
| PageSize |
integer |
任意 |
1 ページあたりのエントリ数。最大値: 50。デフォルト値: 10。 |
10 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Images |
object |
||
| Image |
array<object> |
返された結果。詳細については、JSON 形式の成功応答例で説明されている Images パラメーターをご参照ください。 |
|
|
object |
|||
| Architecture |
string |
イメージのアーキテクチャ。例: x86_64。 |
x86_64 |
| CreationTime |
string |
イメージが作成された時刻。 |
2017-12-08T12:10:03Z |
| ExportedImageURL |
string |
エクスポートされたイメージの URL。 |
https://user_defined_bucket.oss-cn-beijing.aliyuncs.com/m-xxxxxxxxx1.qcow2 |
| ImageExportStatus |
string |
イメージのエクスポートステータス。有効な値:
|
Exported |
| ImageId |
string |
イメージの ID。 |
m-xxxxxxxxx1 |
| ImageName |
string |
イメージの名前。 |
m-xxxxxxxxx1 |
| ImageOwnerAlias |
string |
イメージのソース。有効な値:
|
system |
| Platform |
string |
OS。 |
centos |
| PageNumber |
integer |
ページ番号。 |
1 |
| PageSize |
integer |
1 ページあたりのエントリ数。 |
10 |
| RequestId |
string |
リクエストの ID。 |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| TotalCount |
integer |
返されたエントリの総数。 |
13 |
例
成功レスポンス
JSONJSON
{
"Images": {
"Image": [
{
"Architecture": "x86_64",
"CreationTime": "2017-12-08T12:10:03Z",
"ExportedImageURL": "https://user_defined_bucket.oss-cn-beijing.aliyuncs.com/m-xxxxxxxxx1.qcow2",
"ImageExportStatus": "Exported",
"ImageId": "m-xxxxxxxxx1",
"ImageName": "m-xxxxxxxxx1",
"ImageOwnerAlias": "system",
"Platform": "centos"
}
]
},
"PageNumber": 1,
"PageSize": 10,
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"TotalCount": 13
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | InvalidParameter | The errorMessage is %s. Please check it again. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | CallInterface | Call Interface Happen Error. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。