文档

获取镜像信息

更新时间:

GetImage

描述

获取用户的指定镜像信息。

请求语法

请求行:

  1. GET /images/{id} HTTP/1.1

请求方法为 GET ,请求资源为 images ,属性说明如下:

属性名称 类型 是否必须 描述
Id String 镜像标识符。

返回信息

成功

状态行:

  1. HTTP/1.1 200 OK

响应数据:

  1. {
  2. "CreationTime": "2016-10-31T06:55:33.921897Z",
  3. "Name": "Usr-Image",
  4. "Id": "img-23jkhds",
  5. "Description": "Image Description",
  6. "EcsImageId": "m-32dsf3f",
  7. "OwnerId": "123456",
  8. "Platform": "Linux",
  9. "Type": "Self"
  10. }

属性说明

具体属性由ImageInfo描述。

错误

状态码 错误码 错误信息 语义
404 InvalidResource.NotFound Specified resource is not found. 用户请求的资源不存在。
  • 本页导读 (0)
文档反馈