AppStream のカスタムイメージを削除します。
操作説明
所有しているカスタムイメージのみ削除できます。
AppStream クラウドコンピュータープール、AppStream クラウドアプリケーション、または AppStream ワークステーション製品ラインに関連付けられているイメージは、削除する前に、そのイメージを使用している AppStream インスタンスがないことを確認する必要があります。
AppStream クラウドデスクトップテンプレートがイメージを参照している場合、そのイメージを削除するとテンプレートも削除されます。
イメージが複数のリージョンで利用可能な場合、イメージを削除すると、すべてのリージョンから削除されます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
appstreaming:DeleteImage |
none |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ImageId |
string |
任意 |
AppStream イメージの ID。 |
img-bp13mu**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンス構造。 |
||
| Data |
boolean |
削除が成功したかどうかを示します。 列挙値:
|
true |
| Success |
boolean |
リクエストが成功したかどうかを示します。 |
true |
| Code |
string |
ステータスコード:
|
200 |
| Message |
string |
エラー発生時に返されるメッセージ。 |
successful |
| RequestId |
string |
リクエスト ID。 |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
例
成功レスポンス
JSONJSON
{
"Data": true,
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InternalError | Internal error. | |
| 400 | Image.NotExist | The image does not exist. | |
| 400 | ImageDeleteFailed.NotAllow | The image is not allowed to be deleted. | |
| 400 | ImageDeleteFailed.NotAllowCommunityParent | The parent image of a community image is not allowed to be deleted. | |
| 400 | ImageDeleteFailed.NotAllowSharedImage | The shared image is not allowed to be deleted. | |
| 400 | ImageNotAllowDelete | The image cannot be deleted, because shared cloud computers already exist. | |
| 400 | InvalidImageOperation.ImageIsCreating | Failed to operation the image, it is creating. | |
| 400 | DeleteTemplate.Failed | Delete template failed. | |
| 400 | QueryTemplate.Failed | Query template failed. | |
| 400 | InvalidTemplate.NotFound | Template not found. | |
| 400 | ImageDeleteFailed.HasSharedImage | The shared image is not allowed to be deleted. | |
| 500 | ServiceUnavailable | Service unavailable. Please try again later. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。