You can call ModifyResourcePoolSchedulerType operation to modify the scheduler type of a resource pool.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyResourcePoolSchedulerType |
The operation that you want to perform. Set the value to ModifyResourcePoolSchedulerType. |
ClusterId | String | Yes | C-EBD62A703A43**** |
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. |
SchedulerType | String | Yes | CAPACITY_SCHEDULER |
The scheduler type of the resource pool. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | A544317F-4A60-4532-AC96-191B9D80420A |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyResourcePoolSchedulerType
&ClusterId=C-EBD62A703A43****
&RegionId=cn-hangzhou
&SchedulerType=CAPACITY_SCHEDULER
&<common request parameters>
Sample responses
XML
format
<code>200</code>
<requestId>A544317F-4A60-4532-AC96-191B9D80420A</requestId>
<successResponse>true</successResponse>
JSON
Syntax
{
"code":"200",
"requestId":"A544317F-4A60-4532-AC96-191B9D80420A",
"successResponse":true
}