描述
删除已经在BatchCompute服务上创建的镜像(DeleteImage
)。
请求语法
DELETE /images/{id}
属性说明
属性名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
Id | String | 是 | 集群标示符。 |
返回信息
成功
返回状态码(Response Status)
HTTP/1.1 204 No Content
错误码
错误代码 | 错误信息 | HTTP 状态码 | 说明 |
---|---|---|---|
InvalidRoleArn | Specified parameter RoleArn is not valid. AliyunBatchComputeDefaultRole don’t have access to share image. | 400 | AliyunBatchComputeDefaultRole角色没有共享镜像的权限 |
InvalidEcsImageId | Specified parameter EcsImageId is not valid. The image is not available. | 400 | Ecs镜像当前状态不正确 |
InvalidResource.NotFound | Specified resource is not found. | 404 | 用户请求的资源不存在 |