CreateRayHistoryServer
Creates a RayHistoryServer.
Operation description
Before you use this operation, make sure that you are familiar with the billing of PAI-DLC and the pricing.
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 |
No |
The workspace ID. For 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. To access the detailed list of specifications, see PAI-DLC billing. Important Prices vary depending on the 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 this call, used for diagnostics and troubleshooting. |
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.