Moves compute nodes to a specified queue.

Debugging

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 SetQueue

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

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

The ID of the cluster.

QueueName String Yes work

The name of the destination queue.

Node.N.Name String No compute1

The hostname of the compute nodes that you want to move.

Response parameters

Parameter Type Example Description
RequestId String DFC3EAA9-F11F-4ED0-836F-4FFCB279E700

The ID of the request.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=SetQueue
&ClusterId=ehpc-hz-FYUr32****
&QueueName=work
&<Common request parameters>

Sample success responses

XML format

<SetQueueResponse>
      <RequestId>DFC3EAA9-F11F-4ED0-836F-4FFCB279E700</RequestId>
</SetQueueResponse>

JSON format

{
    "RequestId": "DFC3EAA9-F11F-4ED0-836F-4FFCB279E700"
}

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.