全部产品
云市场

DescribeInstance

更新时间:2018-12-13 10:10:08

通过指定的实例ID查看实例详情。

描述

通过指定的实例ID查看实例详情。

方法

GET

URI

/openapi/instances/{instanceId}

返回参数

参数 类型 描述
RequestId String 当前请求的RequestID
Result Instance 实例详情

示例

请求示例

  1. GET /openapi/instances/airec-cn-xxxxxx

正常返回示例

JSON 格式

  1. {
  2. "Result": {
  3. "InstanceId": "airec-cn-xxxxxx",
  4. "Name": "airec-cn-xxxxxx",
  5. "Type": "Standard",
  6. "Status": "Running",
  7. "Industry": "news",
  8. "Scene": "gul",
  9. "RegionId": "cn-beijing",
  10. "ChargeType": "PrePaid",
  11. "DataSetVersion": "20181206170353",
  12. "CommodityCode": "airecpre",
  13. "GmtCreate": "2018-12-06T06:14:01.000Z",
  14. "GmtModified": "2018-12-06T11:17:49.000Z",
  15. "ExpiredTime": "2019-01-06T16:00:00.000Z",
  16. "LockMode": "Unlock"
  17. },
  18. "RequestId": "B352FBD9-4643-441E-80ED-699D47D7B6A3"
  19. }

异常返回示例

JSON 格式

  1. {
  2. "RequestId":"DF79FBBF-FFD9-42CD-A91E-220C97D13189",
  3. "Code":"InstanceNotExist",
  4. "Message":"The specified instance does not exist."
  5. }