Domain name for API request: trabbit.intl.tencentcloudapi.com.
This API is used to query a RabbitMQ queue list.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeRabbitMQServerlessQueues. |
| Version | Yes | String | Common Params. The value used for this API: 2023-04-18. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | Instance ID |
| VirtualHost | No | String | Vhost parameter. |
| Offset | No | Integer | Pagination offset |
| Limit | No | Integer | Pagination limit |
| SearchWord | No | String | Search keywords |
| QueueType | No | String | Specifies the queue type filter criteria. if it is left blank or set to "all", it indicates classic and quorum queues; if set to "classic", it filters classic queues; if set to "quorum", it filters quorum queues. |
| SortElement | No | String | Sorting field. ConsumerNumber: specifies the number of online consumers. MessageHeapCount specifies the number of message backlogs. MessageRateInOut specifies the total production and consumption rate. MessageRateIn specifies the production rate. MessageRateOut specifies the consumption rate. |
| SortOrder | No | String | Sort order. valid values: ascend or descend. |
| Parameter Name | Type | Description |
|---|---|---|
| QueueInfoList | Array of RabbitMQQueueListInfo | Queue list information. |
| TotalCount | Integer | Quantity |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: trabbit.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeRabbitMQServerlessQueues
<Common request parameters>
{
"InstanceId": "amqp-44w9928j",
"VirtualHost": "testVhost"
}{
"Response": {
"RequestId": "8b5d9dd2-b80f-40da-8c8c-fd180a78be38",
"TotalCount": 1,
"QueueInfoList": [
{
"QueueName": "ledou-test",
"Remark": "",
"ConsumerDetail": {
"ConsumersNumber": 0
},
"QueueType": "normal",
"MessageHeapCount": 0,
"MessageRateIn": 0,
"MessageRateOut": 0,
"CreateTime": "2024-10-16 14:39:58:000",
"ModifyTime": "2024-10-16 14:39:58:000",
"Durable": true,
"AutoDelete": false,
"InstanceId": "ramqp-cpssyrct",
"VirtualHost": "testVhost",
"Node": "",
"Policy": "",
"Arguments": "{\"x-message-ttl\":100000.0}",
"Exclusive": false
}
]
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| AuthFailure | CAM signature/authentication error. |
| DryRunOperation | DryRun operation means the request will be successful, but the DryRun parameter is passed. |
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InvalidFilter | Invalid Filter |
| InvalidParameter | Parameter error. |
| InvalidParameterValue | Parameter value error. |
| LimitExceeded | The quota limit is exceeded. |
| MissingParameter | Parameters are missing |
| OperationDenied | Operation denied. |
| RegionError | Region error. |
| RequestLimitExceeded | Request limit exceeded. |
| ResourceInUse | The resource is occupied. |
| ResourceInsufficient | Insufficient resources. |
| ResourceNotFound | The resource does not exist. |
| ResourceUnavailable | Resources are unavailable. |
| ResourcesSoldOut | Resources are sold out. |
| UnauthorizedOperation | Unauthorized operation. |
| UnknownParameter | Unknown parameter error. |
| UnsupportedOperation | The operation is not supported. |
Feedback