Domain name for API request: tdmq.tencentcloudapi.com.
This API is used to query all CMQ queues.
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: DescribeCmqQueues. |
Version | Yes | String | Common Params. The value used for this API: 2020-02-17. |
Region | No | String | Common Params. This parameter is not required for this API. |
Offset | No | Integer | Starting position of a queue list to be returned on the current page in case of paginated return. If a value is entered, limit must be specified. If this parameter is left empty, 0 will be used by default. |
Limit | No | Integer | The number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50. |
QueueName | No | String | Filter by QueueName |
QueueNameList.N | No | Array of String | Filter by CMQ queue name. |
IsTagFilter | No | Boolean | For filtering by tag, this parameter must be set to true . |
Filters.N | No | Array of Filter | Filter. Currently, you can filter by tag. The tag name must be prefixed with “tag:”, such as “tag: owner”, “tag: environment”, or “tag: business”. |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | The number of queues. |
QueueList | Array of CmqQueue | Queue list. Note: This field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: tdmq.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCmqQueues
<Common request parameters>
{
"Limit": 1,
"Offset": "0"
}
{
"Response": {
"TotalCount": 2005,
"QueueList": [
{
"Tags": [],
"QueueId": "queue-6zs45b15",
"QueueName": "QTA-5cd25c1e-5c7c-11ea-b510-460d8830b47a",
"CreateUin": 100002742997,
"Qps": 5000,
"Bps": 52428800,
"MaxDelaySeconds": 3600,
"MaxMsgHeapNum": 10000000,
"PollingWaitSeconds": 0,
"MsgRetentionSeconds": 345600,
"VisibilityTimeout": 30,
"MaxMsgSize": 65536,
"RewindSeconds": 43200,
"CreateTime": 1583149980,
"LastModifyTime": 1583149980,
"Transaction": false,
"DeadLetterSource": [],
"DeadLetterPolicy": [],
"TransactionPolicy": [],
"ActiveMsgNum": 0,
"InactiveMsgNum": 0,
"DelayMsgNum": 0,
"RewindMsgNum": 0,
"MinMsgTime": 0
}
],
"RequestId": "6bab9048-bc14-4142-80c6-3ec119729bed"
}
}
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 |
---|---|
FailedOperation | Operation failed. |
ResourceUnavailable | The resource is unavailable. |
Was this page helpful?