You can call ModifyResourcePoolSchedulerType operation to modify the scheduler type of a resource pool.

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 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
}