Queries cluster metadata in a paginated list.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:ListClustersMeta |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The number of the page to return. Pages start from page 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. Valid values: 1 to 50. Default value: 10 |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
The number of entries returned per page. Valid values: 1 to 50. |
10 |
| RequestId |
string |
The request ID. |
DD517102-B314-4665-BDAC-A32DE7834D02 |
| PageNumber |
integer |
The page number of the returned page. |
1 |
| TotalCount |
integer |
The total number of returned entries. |
1 |
| Clusters |
object |
||
| ClusterInfoSimple |
array<object> |
The list of clusters. |
|
|
object |
|||
| Status |
string |
The status of the cluster. Valid values:
|
running |
| VpcId |
string |
The ID of the virtual private cloud (VPC). |
vpc-b3f3edefefeep0760yju**** |
| SchedulerType |
string |
The type of the scheduler. Valid values:
|
pbs |
| DeployMode |
string |
The deployment mode of the cluster. Valid values:
|
Standard |
| IsComputeEss |
boolean |
Indicates whether a scaling group is enabled. Valid values:
|
false |
| OsTag |
string |
The OS image tag. |
CentOS_7.2_64 |
| AccountType |
string |
The account type. Valid values:
|
nis |
| Description |
string |
The description of the cluster. |
clusterdescription |
| Name |
string |
The name of the cluster. |
cluster1 |
| Id |
string |
The ID of the cluster. |
ehpc-hz-jeJki6**** |
| Location |
string |
The deployment location of the cluster. Valid values:
|
PublicCloud |
| ClientVersion |
string |
The client version. |
1.0.64 |
| HasPlugin |
boolean |
Indicates whether the cluster uses a plug-in. Valid values:
Default value: false |
false |
| EhpcVersion |
string |
The E-HPC version. |
1.0.0 |
Examples
Success response
JSON format
{
"PageSize": 10,
"RequestId": "DD517102-B314-4665-BDAC-A32DE7834D02",
"PageNumber": 1,
"TotalCount": 1,
"Clusters": {
"ClusterInfoSimple": [
{
"Status": "running",
"VpcId": "vpc-b3f3edefefeep0760yju****",
"SchedulerType": "pbs",
"DeployMode": "Standard",
"IsComputeEss": false,
"OsTag": "CentOS_7.2_64",
"AccountType": "nis",
"Description": "clusterdescription",
"Name": "cluster1",
"Id": "ehpc-hz-jeJki6****",
"Location": "PublicCloud",
"ClientVersion": "1.0.64",
"HasPlugin": false,
"EhpcVersion": "1.0.0"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | The specified parameter %s is invalid. |
| 500 | UnknownError | An unknown error occurred. | An unknown error occurred. |
| 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 while calling the ECS API operation. | ECS API call error. %s |
| 406 | AgentError | The agent service request failed. | The cluster-side command failed to run. %s |
| 406 | DbError | A database service error occurred. | Database request failed. |
| 406 | AliyunError | An Alibaba Cloud product error occurred. | Alibaba Cloud product error. %s |
| 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.