Updates the instance types of resource groups and compute nodes in a queue of a cluster.


After you update the instance types of a resource group, the nodes that you add by scaling out the cluster are automatically included in the resource group.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpdateQueueConfig

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

ClusterId String Yes ehpc-hz-FYUr32****

The ID of the cluster.

QueueName String Yes workq

The name of the resource queue.

ResourceGroupId String Yes rg-acfmxazb4ph****

The ID of the resource group.

ComputeInstanceType String No ecs.n1.tiny

Select the instance type of the compute node.

Response parameters

Parameter Type Example Description
RequestId String 5198C3E8-85F5-4280-8547-687C1710FE08

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

     "requestId": "5198C3E8-85F5-4280-8547-687C1710FE08"

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The server is temporarily unavailable.

For a list of error codes, visit the API Error Center.