Call the DescribeClusterResourcePoolSchedulerType operation to query the scheduling policies of resource pools.
Debugging
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-EBD62A703A43**** |
The ID of the cluster. You can call ListClusters The ID of the cluster. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the instance. You can call DescribeRegions View the latest Alibaba Cloud region list. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
CurrentSchedulerType | String | FAIR_SCHEDULER |
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 |
Supported scheduling policy types:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeClusterResourcePoolSchedulerType
&ClusterId=C-EBD62A703A43****
&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": ""
}