カスタム WUYING イメージを削除します。
操作説明
アカウントに属するカスタムイメージのみを削除できます。
WUYING Cloud Computer Pool、WUYING Cloud Application、または WUYING Workspace プロダクトラインに関連付けられているイメージの場合、削除前に WUYING インスタンスがそのイメージを使用していないことを確認してください。
WUYING クラウドデスクトップテンプレートがイメージを参照している場合、イメージの削除時にテンプレートも削除されます。
複数のリージョンにスパンするイメージの場合、イメージを削除するとすべてのリージョンからイメージが削除されます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
appstreaming:DeleteImage |
none |
*すべてのリソース。
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ImageId |
string |
任意 |
WUYING イメージの ID。 |
img-bp13mu**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンス構造体。 |
||
| Code |
string |
状態コード。有効な値:
|
200 |
| Data |
boolean |
削除が成功したかどうかを示します。 列挙値:
|
true |
| Message |
string |
エラーが発生した場合に返されるエラーメッセージ。 |
successful |
| RequestId |
string |
リクエストの ID。 |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| Success |
boolean |
リクエストが成功したかどうかを示します。 |
true |
例
成功レスポンス
JSONJSON
{
"Code": "200",
"Data": true,
"Message": "successful。",
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"Success": true
}
エラーコード
|
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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。