Queries the basic information of specified workers.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| edas:ReadSchedulerxDesignateInfo | get | *AppGroup acs:edas:{#regionId}:{#accountId}:namespace/{#Namespace}/JobGroup/{#GroupId} |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| JobId | long | Yes | The job ID. You can obtain the ID on the Tasks page in the SchedulerX console. | 368 |
| Namespace | string | Yes | The unique identifier (UID) of the namespace. You can obtain the namespace UID on the Namespaces page in the SchedulerX console. | adcfc35d-e2fe-4fe9-bbaa-20e90ffc**** |
| NamespaceSource | string | No | The source of the namespace. This parameter is required only for a special third party. | schedulerx |
| GroupId | string | Yes | The ID of the application. You can obtain the application ID on the Applications page in the SchedulerX console. | test.defalutGroup |
| RegionId | string | Yes | The ID of the region. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSONformat
{
"Code": 200,
"Message": "jobId=xxx is not existed",
"RequestId": "4F68ABED-AC31-4412-9297-D9A8F0401108",
"Success": true,
"Data": {
"DesignateDetailVos": [
{
"Checked": true,
"Metrics": {
"SharePoolAvailableSize": 72,
"Heap1Usage": 0.06072874493927125,
"DiskUsage": 0.19142496008515167,
"CpuProcessors": 1,
"Heap1Used": 14,
"CpuLoad1": 0,
"CpuLoad5": 0,
"ExecCount": 56,
"SharePoolQueueSize": 1,
"HeapMax": 500,
"DiskUsed": 148,
"DiskMax": 1024,
"Heap5Usage": 0.06477732793522267
},
"Version": "1.12.5",
"Size": 1,
"Busy": "FREE",
"Offline": true,
"Starter": "pod",
"Key": "10.52.169.25"
}
],
"DesignateType": 1,
"Transferable": true
},
"AccessDeniedDetail": {
"AuthAction": "edas:ReadSchedulerxDesignateInfo",
"AuthPrincipalDisplayName": "209312833131416xxx",
"AuthPrincipalOwnerId": "1827811800526xxx",
"AuthPrincipalType": "SubUser",
"EncodedDiagnosticMessage": "AQFn/cLPZ/3Cz0YxQkZBMjVGLTY0REUtNTlGNS05NzUwLTgyMUE4M0MwMTFDRQ==",
"NoPermissionType": "ImplicitDeny",
"PolicyType": "AccountLevelIdentityBasedPolicy"
}
}Error codes
For a list of error codes, visit the Service error codes.
