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

Request parameters

Name Type Required Example Description
ClusterId String Yes C-EBD62A703A430E23 The ID of the cluster.
RegionId String Yes cn-hangzhou The region location ID.
SchedulerType String Yes CAPACITY_SCHEDULER The scheduler type.
AccessKeyId String No xxx The AccessKey ID.

Response parameters

Name Type Example Description
RequestId String A544317F-4A60-4532-AC96-191B9D80420A The ID of the request.

Examples

  • Sample requests
    /? Action=ModifyResourcePoolSchedulerType
    &ClusterId=C-EBD62A703A430E23
    &RegionId=cn-hangzhou 
    &SchedulerType=CAPACITY_SCHEDULER 
    &AccessKeyId=xxx 
    &<Common request parameters>
  • Successful response examples
    JSON format
    {
    	"code":"200",
    	"requestId":"A544317F-4A60-4532-AC96-191B9D80420A",
    	"successResponse":true
    }
  • Error response examples
    JSON format
    {
    	"code":"User.OtherUserResource.NotAllow",
    	"message":"It is not allowed to operate other user's resource",
    	"requestId":"A544317F-4A60-4532-AC96-191B9D80420AF",
    	"successResponse":false
    }

Error codes

View error codes.