调用DescribeCreatePrePaidInstanceResult查询创建实例结果。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:DescribeCreatePrePaidInstanceResult |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
实例 ID,通过 CreateIntance 接口创建。 |
i-6ecpqvkicnchxccozrp**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| InstanceCreateResult |
object |
实例创建返回结果列表。 |
|
| InstanceCreateStatus |
string |
实例创建状态。
|
Successed |
| InstanceId |
string |
实例 ID。 |
i-6ecpqvkicnchxccozrpxxxx |
| RequestId |
string |
请求 ID。 |
AAE90880-4970-4D81-A534-A6C0F3631F74 |
示例
正常返回示例
JSON格式
{
"InstanceCreateResult": {
"InstanceCreateStatus": "Successed",
"InstanceId": "i-6ecpqvkicnchxccozrpxxxx"
},
"RequestId": "AAE90880-4970-4D81-A534-A6C0F3631F74"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | InstanceIdNotFound | The input parameter instancdId that is not found. | 指定的实例ID不存在。 |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter | The input parameter is Invalid. | |
| 400 | StockNotEnough | The specified configuration is unavailable. Reconfigure and try again. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | CallInterface | Call Interface Happen Error. | 接口调用出错。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。