All Products
Search
Document Center

Elastic High Performance Computing:GetSchedulerInfo

Last Updated:Apr 09, 2024

Queries the scheduler settings of a cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID of the cluster.

cn-hangzhou
ClusterIdstringYes

The cluster ID.

ehpc-hz-FYUr32****
Schedulerobject []Yes

The detailed settings of the scheduler.

SchedNamestringYes

The scheduler name. Valid values:

  • pbs
  • pbs19
  • slurm
  • slurm19
  • slurm20

Valid values of N: 0 to 100.

pbs

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

BBC2F93D-003A-49C4-850C-B826EECF****
SchedInfoobject []

The settings of the scheduler.

Configurationstring

The detailed settings of the scheduler.

{"AclInfo":[{"AclEnable": false,"UntrackUser": [],"User": [],"QueueName": "workq"}],"JobHistory": "","SchedIteration": "60","QueueResource": [{"UntrackUser": [],"User": [],"QueueName": "workq"}]}
SchedNamestring

The type of the scheduler.

pbs

Examples

Sample success responses

JSONformat

{
  "RequestId": "BBC2F93D-003A-49C4-850C-B826EECF****",
  "SchedInfo": [
    {
      "Configuration": "{\"AclInfo\":[{\"AclEnable\": false,\"UntrackUser\": [],\"User\": [],\"QueueName\": \"workq\"}],\"JobHistory\": \"\",\"SchedIteration\": \"60\",\"QueueResource\": [{\"UntrackUser\": [],\"User\": [],\"QueueName\": \"workq\"}]}",
      "SchedName": "pbs"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParamsThe specified parameter %s is invalid.The specified parameter %s is invalid.
404ClusterNotFoundThe specified cluster does not exist.The specified instance does not exist.
406DbErrorA database service error occurred.Database request failed.
406EcsErrorAn error occurred while calling the ECS API operation.An error occurred while calling the ECS API operation.
406AliyunErrorAn Alibaba Cloud product error occurred.An Alibaba Cloud product error occurred.
406AgentResponseTimeoutAgent response timeout: %s-
407NotAuthorizedNo authorization is granted.No authorization is granted.
500UnknownErrorAn unknown error occurred.An unknown error occurred.
503ServiceUnavailableThe request has failed due to a temporary failure of the serverThe request has failed due to a temporary failure of the server.

For a list of error codes, visit the Service error codes.