Queries images available for installation in an E-HPC cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:ListImages |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BaseOsTag |
string |
No |
The OS image tag. Applies only to management nodes. |
CentOS_7.2_64 |
| InstanceType |
string |
No |
The instance type.
|
ecs.n1.medium |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE7**** |
| OsTags |
object |
||
| OsInfo |
array<object> |
The images supported by E-HPC. |
|
|
object |
|||
| Version |
string |
The OS version. |
7.2 |
| BaseOsTag |
string |
The OS image tag. Applies only to management nodes. |
CentOS_7.2_64 |
| Platform |
string |
The OS. Valid values:
|
CentOS |
| OsTag |
string |
The image tag. |
CentOS_7.2_64 |
| ImageId |
string |
The image ID. |
m-bp1h8aoe73p71iow**** |
| Architecture |
string |
The OS architecture. Valid values:
|
i386 |
| OSName |
string |
The image name. |
CentOS_7.2_64 |
| OSNameEn |
string |
The image name in English. |
CentOS_7.2_64 |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****",
"OsTags": {
"OsInfo": [
{
"Version": "7.2",
"BaseOsTag": "CentOS_7.2_64",
"Platform": "CentOS",
"OsTag": "CentOS_7.2_64",
"ImageId": "m-bp1h8aoe73p71iow****",
"Architecture": "i386",
"OSName": "CentOS_7.2_64",
"OSNameEn": "CentOS_7.2_64"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | UnknownError | An unknown error occurred. | An unknown error occurred. |
| 404 | ImageNotFound | The specified image does not exist. | The specified image does not exist. Verify the parameter. |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
| 406 | EcsError | An error occurred when calling the ECS API operation. | ECS API call error. %s |
| 406 | DbError | A database service error occurred. | Database request failed. |
| 407 | NotAuthorized | You are not authorized by RAM for this request. | The request is not authorized by RAM. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.