Queries the scheduling policies of resource pools.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeClusterResourcePoolSchedulerType

The operation that you want to perform. Set the value to DescribeClusterResourcePoolSchedulerType.

ClusterId String Yes C-EBD62A703A430E23

The ID of the cluster. You can call ListClusters You can call this operation to view the ID of a cluster.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions.

Response parameters

Parameter Type Example Description
CurrentSchedulerType String ""

The current scheduling policy.

DefaultSchedulerType String CAPACITY_SCHEDULER

The default scheduling policy.

RequestId String 7DEE7967-3F9E-44AE-8B4E-021CBCA3A26C

The ID of the request.

SupportSchedulerType String CAPACITY_SCHEDULER,FAIR_SCHEDULER

The supported scheduling policies.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeClusterResourcePoolSchedulerType
&ClusterId=C-EBD62A703A430E23
&RegionId=cn-hangzhou
&<common request parameters>

Sample success responses

XML format

<SupportSchedulerType>CAPACITY_SCHEDULER,FAIR_SCHEDULER</SupportSchedulerType>
<RequestId>7DEE7967-3F9E-44AE-8B4E-021CBCA3A26C</RequestId>
<DefaultSchedulerType>CAPACITY_SCHEDULER</DefaultSchedulerType>
<CurrentSchedulerType/>

JSON Syntax

{
    "SupportSchedulerType": "CAPACITY_SCHEDULER,FAIR_SCHEDULER",
    "RequestId": "7DEE7967-3F9E-44AE-8B4E-021CBCA3A26C",
    "DefaultSchedulerType": "CAPACITY_SCHEDULER",
    "CurrentSchedulerType": ""
}