You can call CreateResourceQueue operation to create a resource queue.


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 CreateResourceQueue

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

ClusterId String Yes C-0E995C0EE7E5****

The ID of the cluster. You can call ListClusters You can call this operation to view the ID of a cluster.

Config.N.Category String Yes QUEUE_RESOURCE_LIMIT

The name of the parameter.

Config.N.ConfigKey String Yes capacity

The key of the parameter.

Config.N.ConfigValue String Yes 100

The value of the parameter.

Name String Yes DefaultQueue

The name of the resource queue.

RegionId String Yes cn-hangzhou

The region ID of the instance.

ResourcePoolId Long Yes 115

The ID of the resource pool.

QualifiedName String No test

A parameter that you do not need to specify.

ParentQueueId Long No 225

The ID of the parent queue.

Leaf Boolean No false

Specifies whether the queue is a leaf queue.

Config.N.Note String No The capacity and weight of the queue

The description of the parameter.

Response parameters

Parameter Type Example Description
RequestId String A1153E6C-9FB9-466C-AC11-1ED0BC12858E

The ID of the request.


Sample requests

&Config.1.1ote=capacity weight
&<common request parameters>

Sample success responses

XML format


JSON Syntax