Queries the results of creating an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeCreatePrePaidInstanceResult |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. You can call the CreateIntance operation to create an instance. |
i-6ecpqvkicnchxccozrp**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| InstanceCreateResult |
object |
Returned results of creating an instance. |
|
| InstanceCreateStatus |
string |
The status of the instance creation.
|
Successed |
| InstanceId |
string |
The ID of the instance. |
i-6ecpqvkicnchxccozrpxxxx |
| RequestId |
string |
The request ID. |
AAE90880-4970-4D81-A534-A6C0F3631F74 |
Examples
Success response
JSON format
{
"InstanceCreateResult": {
"InstanceCreateStatus": "Successed",
"InstanceId": "i-6ecpqvkicnchxccozrpxxxx"
},
"RequestId": "AAE90880-4970-4D81-A534-A6C0F3631F74"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. | The specified instance ID does not exist. |
| 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. | An error occurred when you call the operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.