指定されたリージョン内のイメージ情報を照会します。
操作説明
指定されたリージョン内の 1 つ以上のイメージの詳細 (イメージ ID、名前、タイプなど) を照会できます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
swas-open:ListImages |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
イメージが属するリージョン ID。 ListRegions 操作を呼び出して、最新のリージョンリストを照会できます。 |
cn-hangzhou |
| ImageIds |
string |
任意 |
イメージ ID。 値は、最大 50 個のイメージ ID で構成される JSON 配列です。 フォーマット: |
["fe9c66133a9d4688872869726b52****", "794c230fd3e64ea19f83f4d7a0ad****"] |
| ImageType |
string |
任意 |
イメージのタイプ。 有効な値:
|
system |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
20758A-585D-4A41-A9B2-28DA8F4F534F |
| Images |
array<object> |
照会されたイメージの詳細。 |
|
|
object |
イメージ情報。 |
||
| ImageType |
string |
イメージのタイプ。 有効な値:
|
app |
| Description |
string |
イメージの説明。 |
Apps ImageOS ImageCustom Images WordPress is a popular and powerful platform that allows you to build blogs and content management websites and implement custom features by using third-party templates and plug-ins. This WordPress image is built based on CentOS 7.9, PHP 7.4, MySQL 5.7, and Apache 2.4. |
| ImageName |
string |
イメージの名前。 |
WordPress-4.8.1 |
| ImageId |
string |
イメージの ID。 |
794c230fd3e64ea19f83f4d7a0ad**** |
| Platform |
string |
イメージのオペレーティングシステムのタイプ。 有効な値:
|
Linux |
例
成功レスポンス
JSONJSON
{
"RequestId": "20758A-585D-4A41-A9B2-28DA8F4F534F",
"Images": [
{
"ImageType": "app",
"Description": "\nApps ImageOS ImageCustom Images\nWordPress is a popular and powerful platform that allows you to build blogs and content management websites and implement custom features by using third-party templates and plug-ins. This WordPress image is built based on CentOS 7.9, PHP 7.4, MySQL 5.7, and Apache 2.4.",
"ImageName": "WordPress-4.8.1",
"ImageId": "794c230fd3e64ea19f83f4d7a0ad****",
"Platform": "Linux"
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidImageType.ValueNotSupported | The specified parameter ImageType is invalid. | |
| 500 | InternalError | An error occurred while processing your request. | |
| 403 | InvalidParam | The specified parameter value is invalid. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。