GetRayHistoryServer
Queries a Ray history server.
Operation description
Before you call this operation, make sure that you fully understand the billing methods and pricing of PAI-DLC.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidlc:GetRayHistoryServer |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/rayhistoryservers/{RayHistoryServerId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RayHistoryServerId |
string |
Yes |
The ID of the Ray history server. |
rhsxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| WorkspaceId |
string |
The ID of the workspace to which the job belongs. |
46099 |
| DisplayName |
string |
The display name of the job. |
my-ray-history-server |
| UserId |
string |
The ID of the user to which the job belongs. |
123456789 |
| Username |
string |
The username of the user to which the job belongs. |
myusername |
| TenantId |
string |
The ID of the tenant. |
10**************14 |
| RayHistoryServerId |
string |
The ID of the Ray history server. |
rhsxxx |
| RayHistoryServerUrl |
string |
The Ray Dashboard URL. |
https://rhsxxx-dashboard.dsw-gateway-cn-wulanchabu.data.aliyun.com/ |
| StoragePath |
string |
The storage path for Ray logs. |
oss://bucket-test-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/tmp |
| ResourceId |
string |
The ID of the resource group where the job runs. |
quotaxxx |
| ResourceName |
string |
The name of the resource where the job runs. |
my-resource-name |
| Status |
string |
The status. |
running |
| ReasonCode |
string |
The status detail code. |
NotFound |
| ReasonMessage |
string |
The status details. |
"" |
| GmtCreateTime |
string |
The creation time in UTC. |
2021-01-12T14:35:01Z |
| GmtModifyTime |
string |
The modification time in UTC. |
2021-01-12T14:36:00Z |
| GmtFinishTime |
string |
The completion time in UTC. |
2021-01-12T15:36:08Z |
| MaxRuntimeMinutes |
integer |
The maximum runtime in minutes. |
1000 |
| EcsSpec |
string |
The hardware specifications of the public resource group. For a detailed list of specifications, access PAI-DLC billing. Important Prices vary by specification. |
ecs.g6.large |
| Accessibility |
string |
The visibility. |
PRIVATE |
Examples
Success response
JSON format
{
"WorkspaceId": "46099",
"DisplayName": "my-ray-history-server",
"UserId": "123456789",
"Username": "myusername",
"TenantId": "10**************14",
"RayHistoryServerId": "rhsxxx",
"RayHistoryServerUrl": "https://rhsxxx-dashboard.dsw-gateway-cn-wulanchabu.data.aliyun.com/",
"StoragePath": "oss://bucket-test-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/tmp",
"ResourceId": "quotaxxx",
"ResourceName": "my-resource-name",
"Status": "running",
"ReasonCode": "NotFound",
"ReasonMessage": "\"\"",
"GmtCreateTime": "2021-01-12T14:35:01Z",
"GmtModifyTime": "2021-01-12T14:36:00Z",
"GmtFinishTime": "2021-01-12T15:36:08Z",
"MaxRuntimeMinutes": 1000,
"EcsSpec": "ecs.g6.large",
"Accessibility": "PRIVATE"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidRayHistoryServer.NotFound | The specified RayHistoryServer does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.