tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTcmqQueue
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of tcmq queue
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const queue = tencentcloud.getTcmqQueue({
queueName: "queue_name",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
queue = tencentcloud.get_tcmq_queue(queue_name="queue_name")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.LookupTcmqQueue(ctx, &tencentcloud.LookupTcmqQueueArgs{
QueueName: pulumi.StringRef("queue_name"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var queue = Tencentcloud.GetTcmqQueue.Invoke(new()
{
QueueName = "queue_name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetTcmqQueueArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var queue = TencentcloudFunctions.getTcmqQueue(GetTcmqQueueArgs.builder()
.queueName("queue_name")
.build());
}
}
variables:
queue:
fn::invoke:
function: tencentcloud:getTcmqQueue
arguments:
queueName: queue_name
Using getTcmqQueue
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTcmqQueue(args: GetTcmqQueueArgs, opts?: InvokeOptions): Promise<GetTcmqQueueResult>
function getTcmqQueueOutput(args: GetTcmqQueueOutputArgs, opts?: InvokeOptions): Output<GetTcmqQueueResult>
def get_tcmq_queue(filters: Optional[Sequence[GetTcmqQueueFilter]] = None,
id: Optional[str] = None,
is_tag_filter: Optional[bool] = None,
limit: Optional[float] = None,
offset: Optional[float] = None,
queue_name: Optional[str] = None,
queue_name_lists: Optional[Sequence[str]] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTcmqQueueResult
def get_tcmq_queue_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTcmqQueueFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
is_tag_filter: Optional[pulumi.Input[bool]] = None,
limit: Optional[pulumi.Input[float]] = None,
offset: Optional[pulumi.Input[float]] = None,
queue_name: Optional[pulumi.Input[str]] = None,
queue_name_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTcmqQueueResult]
func LookupTcmqQueue(ctx *Context, args *LookupTcmqQueueArgs, opts ...InvokeOption) (*LookupTcmqQueueResult, error)
func LookupTcmqQueueOutput(ctx *Context, args *LookupTcmqQueueOutputArgs, opts ...InvokeOption) LookupTcmqQueueResultOutput
> Note: This function is named LookupTcmqQueue
in the Go SDK.
public static class GetTcmqQueue
{
public static Task<GetTcmqQueueResult> InvokeAsync(GetTcmqQueueArgs args, InvokeOptions? opts = null)
public static Output<GetTcmqQueueResult> Invoke(GetTcmqQueueInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTcmqQueueResult> getTcmqQueue(GetTcmqQueueArgs args, InvokeOptions options)
public static Output<GetTcmqQueueResult> getTcmqQueue(GetTcmqQueueArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTcmqQueue:getTcmqQueue
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Tcmq Queue Filter> - Filter. Currently, you can filter by tag. The tag name must be prefixed with
tag:
, such astag: owner
,tag: environment
, ortag: business
. - Id string
- Is
Tag boolFilter - For filtering by tag, this parameter must be set to
true
. - Limit double
- 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.
- Offset double
- 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.
- Queue
Name string - Filter by QueueName.
- Queue
Name List<string>Lists - Filter by CMQ queue name.
- Result
Output stringFile - Used to save results.
- Filters
[]Get
Tcmq Queue Filter - Filter. Currently, you can filter by tag. The tag name must be prefixed with
tag:
, such astag: owner
,tag: environment
, ortag: business
. - Id string
- Is
Tag boolFilter - For filtering by tag, this parameter must be set to
true
. - Limit float64
- 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.
- Offset float64
- 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.
- Queue
Name string - Filter by QueueName.
- Queue
Name []stringLists - Filter by CMQ queue name.
- Result
Output stringFile - Used to save results.
- filters
List<Get
Tcmq Queue Filter> - Filter. Currently, you can filter by tag. The tag name must be prefixed with
tag:
, such astag: owner
,tag: environment
, ortag: business
. - id String
- is
Tag BooleanFilter - For filtering by tag, this parameter must be set to
true
. - limit Double
- 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.
- offset Double
- 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.
- queue
Name String - Filter by QueueName.
- queue
Name List<String>Lists - Filter by CMQ queue name.
- result
Output StringFile - Used to save results.
- filters
Get
Tcmq Queue Filter[] - Filter. Currently, you can filter by tag. The tag name must be prefixed with
tag:
, such astag: owner
,tag: environment
, ortag: business
. - id string
- is
Tag booleanFilter - For filtering by tag, this parameter must be set to
true
. - limit number
- 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.
- offset number
- 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.
- queue
Name string - Filter by QueueName.
- queue
Name string[]Lists - Filter by CMQ queue name.
- result
Output stringFile - Used to save results.
- filters
Sequence[Get
Tcmq Queue Filter] - Filter. Currently, you can filter by tag. The tag name must be prefixed with
tag:
, such astag: owner
,tag: environment
, ortag: business
. - id str
- is_
tag_ boolfilter - For filtering by tag, this parameter must be set to
true
. - limit float
- 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.
- offset float
- 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.
- queue_
name str - Filter by QueueName.
- queue_
name_ Sequence[str]lists - Filter by CMQ queue name.
- result_
output_ strfile - Used to save results.
- filters List<Property Map>
- Filter. Currently, you can filter by tag. The tag name must be prefixed with
tag:
, such astag: owner
,tag: environment
, ortag: business
. - id String
- is
Tag BooleanFilter - For filtering by tag, this parameter must be set to
true
. - limit Number
- 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.
- offset Number
- 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.
- queue
Name String - Filter by QueueName.
- queue
Name List<String>Lists - Filter by CMQ queue name.
- result
Output StringFile - Used to save results.
getTcmqQueue Result
The following output properties are available:
- Id string
- Queue
Lists List<GetTcmq Queue Queue List> - Queue list.
- Filters
List<Get
Tcmq Queue Filter> - Is
Tag boolFilter - Limit double
- Offset double
- Queue
Name string - Message queue name.
- Queue
Name List<string>Lists - Result
Output stringFile
- Id string
- Queue
Lists []GetTcmq Queue Queue List - Queue list.
- Filters
[]Get
Tcmq Queue Filter - Is
Tag boolFilter - Limit float64
- Offset float64
- Queue
Name string - Message queue name.
- Queue
Name []stringLists - Result
Output stringFile
- id String
- queue
Lists List<GetTcmq Queue Queue List> - Queue list.
- filters
List<Get
Tcmq Queue Filter> - is
Tag BooleanFilter - limit Double
- offset Double
- queue
Name String - Message queue name.
- queue
Name List<String>Lists - result
Output StringFile
- id string
- queue
Lists GetTcmq Queue Queue List[] - Queue list.
- filters
Get
Tcmq Queue Filter[] - is
Tag booleanFilter - limit number
- offset number
- queue
Name string - Message queue name.
- queue
Name string[]Lists - result
Output stringFile
- id str
- queue_
lists Sequence[GetTcmq Queue Queue List] - Queue list.
- filters
Sequence[Get
Tcmq Queue Filter] - is_
tag_ boolfilter - limit float
- offset float
- queue_
name str - Message queue name.
- queue_
name_ Sequence[str]lists - result_
output_ strfile
- id String
- queue
Lists List<Property Map> - Queue list.
- filters List<Property Map>
- is
Tag BooleanFilter - limit Number
- offset Number
- queue
Name String - Message queue name.
- queue
Name List<String>Lists - result
Output StringFile
Supporting Types
GetTcmqQueueFilter
GetTcmqQueueQueueList
- Active
Msg doubleNum - Total number of messages in
Active
status (i.e., unconsumed) in the queue, which is an approximate value. - Bps double
- Bandwidth limit.
- Create
Time double - Queue creation time. A Unix timestamp accurate down to the millisecond will be returned.
- Create
Uin double - Creator
Uin
. - Dead
Letter List<GetPolicies Tcmq Queue Queue List Dead Letter Policy> - Dead letter queue policy.
- Dead
Letter List<GetSources Tcmq Queue Queue List Dead Letter Source> - Dead letter queue.
- Delay
Msg doubleNum - Number of delayed messages.
- Inactive
Msg doubleNum - Total number of messages in
Inactive
status (i.e., being consumed) in the queue, which is an approximate value. - Last
Modify doubleTime - Time when the queue attribute is last modified. A Unix timestamp accurate down to the millisecond will be returned.
- Max
Delay doubleSeconds - Maximum retention period for inflight messages.
- Max
Msg doubleBacklog Size - Maximum size of heaped messages in bytes.
- Max
Msg doubleHeap Num - Maximum number of heaped messages. The value range is 1,000,000-10,000,000 during the beta test and can be 1,000,000-1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
- Max
Msg doubleSize - Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- Max
Unacked doubleMsg Num - The maximum number of unacknowledged messages.
- Min
Msg doubleTime - Minimum unconsumed time of message in seconds.
- Msg
Retention doubleSeconds - The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).
- Namespace
Name string - Namespace name.
- Polling
Wait doubleSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- Qps double
- Limit of the number of messages produced per second. The value for consumed messages is 1.1 times this value.
- Queue
Id string - Message queue ID.
- Queue
Name string - Filter by QueueName.
- Retention
Size doubleIn Mb - Queue storage space configured for message rewind. Value range: 1,024-10,240 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - Rewind
Msg doubleNum - Number of retained messages which have been deleted by the
DelMsg
API but are still within their rewind time range. - Rewind
Seconds double - Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - Status double
- Cluster status.
0
: creating;1
: normal;2
: terminating;3
: deleted;4
: isolated;5
: creation failed;6
: deletion failed. - List<Get
Tcmq Queue Queue List Tag> - Associated tag.
- Tenant
Id string - Tenant ID.
- Trace bool
- Message trace. true: enabled; false: not enabled.
- Transaction bool
- 1: transaction queue; 0: general queue.
- Transaction
Policies List<GetTcmq Queue Queue List Transaction Policy> - Transaction message policy.
- Visibility
Timeout double - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- Active
Msg float64Num - Total number of messages in
Active
status (i.e., unconsumed) in the queue, which is an approximate value. - Bps float64
- Bandwidth limit.
- Create
Time float64 - Queue creation time. A Unix timestamp accurate down to the millisecond will be returned.
- Create
Uin float64 - Creator
Uin
. - Dead
Letter []GetPolicies Tcmq Queue Queue List Dead Letter Policy - Dead letter queue policy.
- Dead
Letter []GetSources Tcmq Queue Queue List Dead Letter Source - Dead letter queue.
- Delay
Msg float64Num - Number of delayed messages.
- Inactive
Msg float64Num - Total number of messages in
Inactive
status (i.e., being consumed) in the queue, which is an approximate value. - Last
Modify float64Time - Time when the queue attribute is last modified. A Unix timestamp accurate down to the millisecond will be returned.
- Max
Delay float64Seconds - Maximum retention period for inflight messages.
- Max
Msg float64Backlog Size - Maximum size of heaped messages in bytes.
- Max
Msg float64Heap Num - Maximum number of heaped messages. The value range is 1,000,000-10,000,000 during the beta test and can be 1,000,000-1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
- Max
Msg float64Size - Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- Max
Unacked float64Msg Num - The maximum number of unacknowledged messages.
- Min
Msg float64Time - Minimum unconsumed time of message in seconds.
- Msg
Retention float64Seconds - The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).
- Namespace
Name string - Namespace name.
- Polling
Wait float64Seconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- Qps float64
- Limit of the number of messages produced per second. The value for consumed messages is 1.1 times this value.
- Queue
Id string - Message queue ID.
- Queue
Name string - Filter by QueueName.
- Retention
Size float64In Mb - Queue storage space configured for message rewind. Value range: 1,024-10,240 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - Rewind
Msg float64Num - Number of retained messages which have been deleted by the
DelMsg
API but are still within their rewind time range. - Rewind
Seconds float64 - Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - Status float64
- Cluster status.
0
: creating;1
: normal;2
: terminating;3
: deleted;4
: isolated;5
: creation failed;6
: deletion failed. - []Get
Tcmq Queue Queue List Tag - Associated tag.
- Tenant
Id string - Tenant ID.
- Trace bool
- Message trace. true: enabled; false: not enabled.
- Transaction bool
- 1: transaction queue; 0: general queue.
- Transaction
Policies []GetTcmq Queue Queue List Transaction Policy - Transaction message policy.
- Visibility
Timeout float64 - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- active
Msg DoubleNum - Total number of messages in
Active
status (i.e., unconsumed) in the queue, which is an approximate value. - bps Double
- Bandwidth limit.
- create
Time Double - Queue creation time. A Unix timestamp accurate down to the millisecond will be returned.
- create
Uin Double - Creator
Uin
. - dead
Letter List<GetPolicies Tcmq Queue Queue List Dead Letter Policy> - Dead letter queue policy.
- dead
Letter List<GetSources Tcmq Queue Queue List Dead Letter Source> - Dead letter queue.
- delay
Msg DoubleNum - Number of delayed messages.
- inactive
Msg DoubleNum - Total number of messages in
Inactive
status (i.e., being consumed) in the queue, which is an approximate value. - last
Modify DoubleTime - Time when the queue attribute is last modified. A Unix timestamp accurate down to the millisecond will be returned.
- max
Delay DoubleSeconds - Maximum retention period for inflight messages.
- max
Msg DoubleBacklog Size - Maximum size of heaped messages in bytes.
- max
Msg DoubleHeap Num - Maximum number of heaped messages. The value range is 1,000,000-10,000,000 during the beta test and can be 1,000,000-1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
- max
Msg DoubleSize - Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- max
Unacked DoubleMsg Num - The maximum number of unacknowledged messages.
- min
Msg DoubleTime - Minimum unconsumed time of message in seconds.
- msg
Retention DoubleSeconds - The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).
- namespace
Name String - Namespace name.
- polling
Wait DoubleSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- qps Double
- Limit of the number of messages produced per second. The value for consumed messages is 1.1 times this value.
- queue
Id String - Message queue ID.
- queue
Name String - Filter by QueueName.
- retention
Size DoubleIn Mb - Queue storage space configured for message rewind. Value range: 1,024-10,240 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - rewind
Msg DoubleNum - Number of retained messages which have been deleted by the
DelMsg
API but are still within their rewind time range. - rewind
Seconds Double - Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - status Double
- Cluster status.
0
: creating;1
: normal;2
: terminating;3
: deleted;4
: isolated;5
: creation failed;6
: deletion failed. - List<Get
Tcmq Queue Queue List Tag> - Associated tag.
- tenant
Id String - Tenant ID.
- trace Boolean
- Message trace. true: enabled; false: not enabled.
- transaction Boolean
- 1: transaction queue; 0: general queue.
- transaction
Policies List<GetTcmq Queue Queue List Transaction Policy> - Transaction message policy.
- visibility
Timeout Double - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- active
Msg numberNum - Total number of messages in
Active
status (i.e., unconsumed) in the queue, which is an approximate value. - bps number
- Bandwidth limit.
- create
Time number - Queue creation time. A Unix timestamp accurate down to the millisecond will be returned.
- create
Uin number - Creator
Uin
. - dead
Letter GetPolicies Tcmq Queue Queue List Dead Letter Policy[] - Dead letter queue policy.
- dead
Letter GetSources Tcmq Queue Queue List Dead Letter Source[] - Dead letter queue.
- delay
Msg numberNum - Number of delayed messages.
- inactive
Msg numberNum - Total number of messages in
Inactive
status (i.e., being consumed) in the queue, which is an approximate value. - last
Modify numberTime - Time when the queue attribute is last modified. A Unix timestamp accurate down to the millisecond will be returned.
- max
Delay numberSeconds - Maximum retention period for inflight messages.
- max
Msg numberBacklog Size - Maximum size of heaped messages in bytes.
- max
Msg numberHeap Num - Maximum number of heaped messages. The value range is 1,000,000-10,000,000 during the beta test and can be 1,000,000-1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
- max
Msg numberSize - Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- max
Unacked numberMsg Num - The maximum number of unacknowledged messages.
- min
Msg numberTime - Minimum unconsumed time of message in seconds.
- msg
Retention numberSeconds - The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).
- namespace
Name string - Namespace name.
- polling
Wait numberSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- qps number
- Limit of the number of messages produced per second. The value for consumed messages is 1.1 times this value.
- queue
Id string - Message queue ID.
- queue
Name string - Filter by QueueName.
- retention
Size numberIn Mb - Queue storage space configured for message rewind. Value range: 1,024-10,240 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - rewind
Msg numberNum - Number of retained messages which have been deleted by the
DelMsg
API but are still within their rewind time range. - rewind
Seconds number - Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - status number
- Cluster status.
0
: creating;1
: normal;2
: terminating;3
: deleted;4
: isolated;5
: creation failed;6
: deletion failed. - Get
Tcmq Queue Queue List Tag[] - Associated tag.
- tenant
Id string - Tenant ID.
- trace boolean
- Message trace. true: enabled; false: not enabled.
- transaction boolean
- 1: transaction queue; 0: general queue.
- transaction
Policies GetTcmq Queue Queue List Transaction Policy[] - Transaction message policy.
- visibility
Timeout number - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- active_
msg_ floatnum - Total number of messages in
Active
status (i.e., unconsumed) in the queue, which is an approximate value. - bps float
- Bandwidth limit.
- create_
time float - Queue creation time. A Unix timestamp accurate down to the millisecond will be returned.
- create_
uin float - Creator
Uin
. - dead_
letter_ Sequence[Getpolicies Tcmq Queue Queue List Dead Letter Policy] - Dead letter queue policy.
- dead_
letter_ Sequence[Getsources Tcmq Queue Queue List Dead Letter Source] - Dead letter queue.
- delay_
msg_ floatnum - Number of delayed messages.
- inactive_
msg_ floatnum - Total number of messages in
Inactive
status (i.e., being consumed) in the queue, which is an approximate value. - last_
modify_ floattime - Time when the queue attribute is last modified. A Unix timestamp accurate down to the millisecond will be returned.
- max_
delay_ floatseconds - Maximum retention period for inflight messages.
- max_
msg_ floatbacklog_ size - Maximum size of heaped messages in bytes.
- max_
msg_ floatheap_ num - Maximum number of heaped messages. The value range is 1,000,000-10,000,000 during the beta test and can be 1,000,000-1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
- max_
msg_ floatsize - Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- max_
unacked_ floatmsg_ num - The maximum number of unacknowledged messages.
- min_
msg_ floattime - Minimum unconsumed time of message in seconds.
- msg_
retention_ floatseconds - The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).
- namespace_
name str - Namespace name.
- polling_
wait_ floatseconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- qps float
- Limit of the number of messages produced per second. The value for consumed messages is 1.1 times this value.
- queue_
id str - Message queue ID.
- queue_
name str - Filter by QueueName.
- retention_
size_ floatin_ mb - Queue storage space configured for message rewind. Value range: 1,024-10,240 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - rewind_
msg_ floatnum - Number of retained messages which have been deleted by the
DelMsg
API but are still within their rewind time range. - rewind_
seconds float - Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - status float
- Cluster status.
0
: creating;1
: normal;2
: terminating;3
: deleted;4
: isolated;5
: creation failed;6
: deletion failed. - Sequence[Get
Tcmq Queue Queue List Tag] - Associated tag.
- tenant_
id str - Tenant ID.
- trace bool
- Message trace. true: enabled; false: not enabled.
- transaction bool
- 1: transaction queue; 0: general queue.
- transaction_
policies Sequence[GetTcmq Queue Queue List Transaction Policy] - Transaction message policy.
- visibility_
timeout float - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- active
Msg NumberNum - Total number of messages in
Active
status (i.e., unconsumed) in the queue, which is an approximate value. - bps Number
- Bandwidth limit.
- create
Time Number - Queue creation time. A Unix timestamp accurate down to the millisecond will be returned.
- create
Uin Number - Creator
Uin
. - dead
Letter List<Property Map>Policies - Dead letter queue policy.
- dead
Letter List<Property Map>Sources - Dead letter queue.
- delay
Msg NumberNum - Number of delayed messages.
- inactive
Msg NumberNum - Total number of messages in
Inactive
status (i.e., being consumed) in the queue, which is an approximate value. - last
Modify NumberTime - Time when the queue attribute is last modified. A Unix timestamp accurate down to the millisecond will be returned.
- max
Delay NumberSeconds - Maximum retention period for inflight messages.
- max
Msg NumberBacklog Size - Maximum size of heaped messages in bytes.
- max
Msg NumberHeap Num - Maximum number of heaped messages. The value range is 1,000,000-10,000,000 during the beta test and can be 1,000,000-1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
- max
Msg NumberSize - Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- max
Unacked NumberMsg Num - The maximum number of unacknowledged messages.
- min
Msg NumberTime - Minimum unconsumed time of message in seconds.
- msg
Retention NumberSeconds - The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).
- namespace
Name String - Namespace name.
- polling
Wait NumberSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- qps Number
- Limit of the number of messages produced per second. The value for consumed messages is 1.1 times this value.
- queue
Id String - Message queue ID.
- queue
Name String - Filter by QueueName.
- retention
Size NumberIn Mb - Queue storage space configured for message rewind. Value range: 1,024-10,240 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - rewind
Msg NumberNum - Number of retained messages which have been deleted by the
DelMsg
API but are still within their rewind time range. - rewind
Seconds Number - Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - status Number
- Cluster status.
0
: creating;1
: normal;2
: terminating;3
: deleted;4
: isolated;5
: creation failed;6
: deletion failed. - List<Property Map>
- Associated tag.
- tenant
Id String - Tenant ID.
- trace Boolean
- Message trace. true: enabled; false: not enabled.
- transaction Boolean
- 1: transaction queue; 0: general queue.
- transaction
Policies List<Property Map> - Transaction message policy.
- visibility
Timeout Number - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
GetTcmqQueueQueueListDeadLetterPolicy
- Dead
Letter stringQueue - Dead letter queue.
- Max
Receive doubleCount - Maximum number of receipts.
- Max
Time doubleTo Live - Maximum period in seconds before an unconsumed message expires, which is required if
Policy
is 1. Value range: 300-43200. This value should be smaller thanMsgRetentionSeconds
(maximum message retention period). - Policy double
- Dead letter queue policy.
- Dead
Letter stringQueue - Dead letter queue.
- Max
Receive float64Count - Maximum number of receipts.
- Max
Time float64To Live - Maximum period in seconds before an unconsumed message expires, which is required if
Policy
is 1. Value range: 300-43200. This value should be smaller thanMsgRetentionSeconds
(maximum message retention period). - Policy float64
- Dead letter queue policy.
- dead
Letter StringQueue - Dead letter queue.
- max
Receive DoubleCount - Maximum number of receipts.
- max
Time DoubleTo Live - Maximum period in seconds before an unconsumed message expires, which is required if
Policy
is 1. Value range: 300-43200. This value should be smaller thanMsgRetentionSeconds
(maximum message retention period). - policy Double
- Dead letter queue policy.
- dead
Letter stringQueue - Dead letter queue.
- max
Receive numberCount - Maximum number of receipts.
- max
Time numberTo Live - Maximum period in seconds before an unconsumed message expires, which is required if
Policy
is 1. Value range: 300-43200. This value should be smaller thanMsgRetentionSeconds
(maximum message retention period). - policy number
- Dead letter queue policy.
- dead_
letter_ strqueue - Dead letter queue.
- max_
receive_ floatcount - Maximum number of receipts.
- max_
time_ floatto_ live - Maximum period in seconds before an unconsumed message expires, which is required if
Policy
is 1. Value range: 300-43200. This value should be smaller thanMsgRetentionSeconds
(maximum message retention period). - policy float
- Dead letter queue policy.
- dead
Letter StringQueue - Dead letter queue.
- max
Receive NumberCount - Maximum number of receipts.
- max
Time NumberTo Live - Maximum period in seconds before an unconsumed message expires, which is required if
Policy
is 1. Value range: 300-43200. This value should be smaller thanMsgRetentionSeconds
(maximum message retention period). - policy Number
- Dead letter queue policy.
GetTcmqQueueQueueListDeadLetterSource
- queue_
id str - Message queue ID.
- queue_
name str - Filter by QueueName.
GetTcmqQueueQueueListTag
GetTcmqQueueQueueListTransactionPolicy
- First
Query doubleInterval - First lookback time.
- Max
Query doubleCount - Maximum number of queries.
- First
Query float64Interval - First lookback time.
- Max
Query float64Count - Maximum number of queries.
- first
Query DoubleInterval - First lookback time.
- max
Query DoubleCount - Maximum number of queries.
- first
Query numberInterval - First lookback time.
- max
Query numberCount - Maximum number of queries.
- first_
query_ floatinterval - First lookback time.
- max_
query_ floatcount - Maximum number of queries.
- first
Query NumberInterval - First lookback time.
- max
Query NumberCount - Maximum number of queries.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack