ListExecutors
Queries information about global executors.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:ListExecutors |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Filter |
object |
No |
The filter conditions for querying executors. |
|
| JobName |
string |
No |
The job name. Fuzzy queries are supported. |
testJob |
| ExecutorIds |
array |
No |
A list of executor IDs. You can specify up to 100 IDs. |
|
|
string |
No |
The executor ID. The format is JobId-TaskName-ArrayIndex. |
job-xxxx-task0-1 |
|
| IpAddresses |
array |
No |
A list of private IP addresses. You can specify up to 100 IP addresses. |
|
|
string |
No |
The private IP address. |
192.168.0.1 |
|
| Status |
array |
No |
A list of executor statuses. |
|
|
string |
No |
The status of the executor. Valid values:
Valid values:
|
Running |
|
| TimeCreatedBefore |
integer |
No |
The jobs submitted before this time. This is a UNIX timestamp that is converted from the time in the region where the job is located. For sites in mainland China, the time is in the UTC+8 time zone. |
1703820113 |
| TimeCreatedAfter |
integer |
No |
The jobs submitted after this time. This is a UNIX timestamp that is converted from the time in the region where the job is located. For sites in mainland China, the time is in the UTC+8 time zone. |
1703819914 |
| VswitchId |
string |
No |
The vSwitch ID. |
vsw-xxx |
| Image |
string |
No |
The executor image. |
m-f8z0dfa96luxxxxx |
| VpcId |
string |
No |
The virtual private cloud (VPC) ID. |
vpc-xxx |
| PageSize |
integer |
No |
The number of entries to return on each page for a paged query. Default value: 50. Maximum value: 100. |
50 |
| PageNumber |
integer |
No |
The current page number. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
896D338C-E4F4-41EC-A154-D605E5DE**** |
| PageSize |
integer |
The number of entries returned per page. |
50 |
| PageNumber |
integer |
The current page number. |
1 |
| TotalCount |
string |
The total number of entries in the list. |
40 |
| Executors |
array<object> |
The list of executors. |
|
|
array<object> |
The properties of the executor. |
||
| ExecutorId |
string |
The executor ID. The format is JobId-TaskName-ArrayIndex. |
job-xxxx-Task0-1 |
| JobId |
string |
The job ID. |
job-hy1nggvyukuvkr****** |
| JobName |
string |
The job name. |
testJob |
| TaskName |
string |
The task name. |
Task0 |
| ArrayIndex |
integer |
The executor number. |
0 |
| IpAddress |
array |
A list of private IP addresses. |
|
|
string |
The private IP address. |
192.168.0.1 |
|
| ExternalIpAddress |
array |
A list of public IP addresses of the node. |
|
|
string |
The list of public IP addresses for the node. |
116.62.100.6 |
|
| HostName |
array |
A list of hostnames. |
|
|
string |
The hostname. |
testJob-0 |
|
| Image |
string |
The executor image. |
m-f8z0dfa96luxxxxx |
| CreateTime |
string |
The creation time. |
2024-02-20 10:04:10 |
| ExpirationTime |
string |
The expiration time. |
|
| StartTime |
string |
The start time. |
2024-02-20 10:04:13 |
| EndTime |
string |
The end time. |
2024-02-20 10:04:18 |
| Status |
string |
The status of the executor. Possible values:
|
Running |
| StatusReason |
string |
The description of the status reason. |
ExecutorReady |
| Resource |
object |
The resource information. |
|
| Cores |
number |
The number of CPU cores. |
1 |
| Memory |
number |
The total amount of memory resources. Unit: GiB. |
4 |
| Disks |
array<object> |
An array of cloud disks. |
|
|
object |
The properties of the cloud disk. |
||
| Type |
string |
The type of the cloud disk. The following types are supported:
|
System |
| Size |
integer |
The size of the cloud disk. |
10 |
| InstanceType |
string |
The instance type of the runtime environment. |
ecs.c7a.8xlarge |
| VswitchId |
string |
The vSwitch ID. |
vsw-xxx |
| ResourceType |
string |
The resource type. |
ECI |
| TaskSustainable |
boolean |
Indicates whether the job is a long-running job. |
true |
| Tags |
array<object> |
A list of executor tags. |
|
|
object |
A list of executor tags. |
||
| TagKey |
string |
The tag key of the executor. |
TestKey |
| TagValue |
string |
The tag value of the executor. |
TestValue |
| AppName |
string |
The application name. |
Alphafold3 |
| BlockDuration |
integer |
The duration for which the compute resources are reserved. |
24 |
| Preemptible |
boolean |
||
| AllocationSpec |
string |
The resource type.
|
Standard |
| VpcId |
string |
The virtual private cloud (VPC) ID. |
vpc-xxx |
Examples
Success response
JSON format
{
"RequestId": "896D338C-E4F4-41EC-A154-D605E5DE****",
"PageSize": 50,
"PageNumber": 1,
"TotalCount": "40",
"Executors": [
{
"ExecutorId": "job-xxxx-Task0-1",
"JobId": "job-hy1nggvyukuvkr******",
"JobName": "testJob",
"TaskName": "Task0",
"ArrayIndex": 0,
"IpAddress": [
"192.168.0.1"
],
"ExternalIpAddress": [
"116.62.100.6\n"
],
"HostName": [
"testJob-0"
],
"Image": "m-f8z0dfa96luxxxxx",
"CreateTime": "2024-02-20 10:04:10",
"ExpirationTime": "",
"StartTime": "2024-02-20 10:04:13",
"EndTime": "2024-02-20 10:04:18",
"Status": "Running",
"StatusReason": "ExecutorReady",
"Resource": {
"Cores": 1,
"Memory": 4,
"Disks": [
{
"Type": "System",
"Size": 10
}
],
"InstanceType": "ecs.c7a.8xlarge"
},
"VswitchId": "vsw-xxx",
"ResourceType": "ECI",
"TaskSustainable": true,
"Tags": [
{
"TagKey": "TestKey\n",
"TagValue": "TestValue"
}
],
"AppName": "Alphafold3",
"BlockDuration": 24,
"Preemptible": false,
"AllocationSpec": "Standard",
"VpcId": "vpc-xxx"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | The specified parameter %s is invalid. |
| 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 | DbError | A database error occurred. | A database error occurred. |
See for a complete list.
Release notes
See Release Notes for a complete list.