CreateRayHistoryServer
Creates a Ray History Server.
Operation description
Make sure that you fully understand the billing methods and pricing of PAI-DLC before you call this operation.
Try it now
Test
RAM authorization
Request syntax
POST /api/v1/rayhistoryservers HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body parameters. |
|
| DisplayName |
string |
Yes |
The display name of the job. |
my-ray-history-server |
| StoragePath |
string |
Yes |
The storage path for Ray logs. |
oss://bucket-test-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/tmp |
| WorkspaceId |
string |
Yes |
The workspace ID. For more information about how to obtain the workspace ID, see ListWorkspaces. |
12345 |
| ResourceId |
string |
No |
The resource group ID. This parameter is optional.
|
quotaxxx |
| EcsSpec |
string |
No |
The hardware specifications of the public resource group. For a detailed list of specifications, see PAI-DLC billing. Important Prices vary based on specifications. |
ecs.c6.large |
| MaxRuntimeMinutes |
integer |
No |
The maximum runtime in minutes. |
1000 |
| Accessibility |
string |
No |
The visibility of the job. Valid values:
|
PRIVATE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The root node. |
||
| RequestId |
string |
The request ID of the call. This ID is used for troubleshooting and support. |
473469C7-AA6F-4DC5-B3DB-xxxxxxx |
| RayHistoryServerId |
string |
The ID of the created Ray History Server. |
rhsxxxx |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-xxxxxxx",
"RayHistoryServerId": "rhsxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.