This API is used to retry the job type that fails to be enabled.
POST /v2/{project_id}/pools/{pool_name}/retry-scope
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID and Name. |
pool_name |
Yes |
String |
Resource pool ID. The value is the metadata.name field in the resource pool details. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
scope |
Yes |
String |
Job type to be retried. |
Status code: 400
Parameter |
Type |
Description |
|---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
Retry the Infer job type.
/v2/{project_id}/pools/{pool_name}/retry-scope
{
"scope" : "Infer"
}
Status code: 200
OK.
{ }
Status code: 400
Bad request.
{
"error_code" : "ModelArts.50004000",
"error_msg" : "Bad request. The pool pool-dly-op-0c2098ebae80d3e22f31c011e23a97cd scope Train cannot be enabled."
}
Status Code |
Description |
|---|---|
200 |
OK. |
400 |
Bad request. |
See Error Codes.