カスタムイメージを削除します
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ehpc:RemoveImage |
delete |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ImageType |
string |
任意 |
イメージの種類。有効な値は以下のとおりです。
|
VM |
| ImageId |
string |
必須 |
イメージ ID です。 |
m-bp14wakr1rkxtb****** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答のスキーマ |
||
| RequestId |
string |
リクエスト ID です。 |
896D338C-E4F4-41EC-A154-D605E5DE**** |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値は以下のとおりです。
|
true |
例
成功レスポンス
JSONJSON
{
"RequestId": "896D338C-E4F4-41EC-A154-D605E5DE****",
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | |
| 400 | ImageAlreadyExists | The image id already exists. | |
| 400 | NotEnabled | You have not enabled this service. | |
| 403 | ImageInUse | Image is still used by jobs. | |
| 404 | ImageNotFound | The specified image does not exist. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | |
| 406 | EcsError | An error occurred while calling the ECS API operation. | |
| 406 | AliyunError | An Alibaba Cloud product error occurred. | |
| 406 | DbError | A database error occurred. | |
| 406 | ServiceAPIError | Failed to call the operation. Cause:%s. | |
| 407 | NotAuthorized | No authorization is granted. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。