tencentcloud.TcmqQueue
Explore with Pulumi AI
Provides a resource to create a tcmq queue
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const queue = new tencentcloud.TcmqQueue("queue", {queueName: "queue_name"});
import pulumi
import pulumi_tencentcloud as tencentcloud
queue = tencentcloud.TcmqQueue("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.NewTcmqQueue(ctx, "queue", &tencentcloud.TcmqQueueArgs{
QueueName: pulumi.String("queue_name"),
})
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 = new Tencentcloud.TcmqQueue("queue", new()
{
QueueName = "queue_name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TcmqQueue;
import com.pulumi.tencentcloud.TcmqQueueArgs;
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) {
var queue = new TcmqQueue("queue", TcmqQueueArgs.builder()
.queueName("queue_name")
.build());
}
}
resources:
queue:
type: tencentcloud:TcmqQueue
properties:
queueName: queue_name
Create TcmqQueue Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TcmqQueue(name: string, args: TcmqQueueArgs, opts?: CustomResourceOptions);
@overload
def TcmqQueue(resource_name: str,
args: TcmqQueueArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TcmqQueue(resource_name: str,
opts: Optional[ResourceOptions] = None,
queue_name: Optional[str] = None,
policy: Optional[float] = None,
first_query_interval: Optional[float] = None,
max_msg_size: Optional[float] = None,
max_query_count: Optional[float] = None,
max_receive_count: Optional[float] = None,
max_time_to_live: Optional[float] = None,
max_msg_heap_num: Optional[float] = None,
msg_retention_seconds: Optional[float] = None,
polling_wait_seconds: Optional[float] = None,
dead_letter_queue_name: Optional[str] = None,
retention_size_in_mb: Optional[float] = None,
rewind_seconds: Optional[float] = None,
tcmq_queue_id: Optional[str] = None,
trace: Optional[bool] = None,
transaction: Optional[float] = None,
visibility_timeout: Optional[float] = None)
func NewTcmqQueue(ctx *Context, name string, args TcmqQueueArgs, opts ...ResourceOption) (*TcmqQueue, error)
public TcmqQueue(string name, TcmqQueueArgs args, CustomResourceOptions? opts = null)
public TcmqQueue(String name, TcmqQueueArgs args)
public TcmqQueue(String name, TcmqQueueArgs args, CustomResourceOptions options)
type: tencentcloud:TcmqQueue
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TcmqQueueArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TcmqQueueArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TcmqQueueArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TcmqQueueArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TcmqQueueArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TcmqQueue Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TcmqQueue resource accepts the following input properties:
- Queue
Name string - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- Dead
Letter stringQueue Name - Dead letter queue name.
- First
Query doubleInterval - First lookback interval.
- 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
Query doubleCount - Maximum number of lookbacks.
- Max
Receive doubleCount - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- Policy double
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - Polling
Wait doubleSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- Retention
Size doubleIn Mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - Tcmq
Queue stringId - ID of the resource.
- Trace bool
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- Transaction double
- 1: transaction queue; 0: general queue.
- Visibility
Timeout double - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- Queue
Name string - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- Dead
Letter stringQueue Name - Dead letter queue name.
- First
Query float64Interval - First lookback interval.
- 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
Query float64Count - Maximum number of lookbacks.
- Max
Receive float64Count - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- Policy float64
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - Polling
Wait float64Seconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- Retention
Size float64In Mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - Tcmq
Queue stringId - ID of the resource.
- Trace bool
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- Transaction float64
- 1: transaction queue; 0: general queue.
- Visibility
Timeout float64 - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- queue
Name String - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- dead
Letter StringQueue Name - Dead letter queue name.
- first
Query DoubleInterval - First lookback interval.
- 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
Query DoubleCount - Maximum number of lookbacks.
- max
Receive DoubleCount - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- policy Double
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - polling
Wait DoubleSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- retention
Size DoubleIn Mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - tcmq
Queue StringId - ID of the resource.
- trace Boolean
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- transaction Double
- 1: transaction queue; 0: general queue.
- visibility
Timeout Double - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- queue
Name string - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- dead
Letter stringQueue Name - Dead letter queue name.
- first
Query numberInterval - First lookback interval.
- 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
Query numberCount - Maximum number of lookbacks.
- max
Receive numberCount - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- policy number
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - polling
Wait numberSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- retention
Size numberIn Mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - tcmq
Queue stringId - ID of the resource.
- trace boolean
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- transaction number
- 1: transaction queue; 0: general queue.
- visibility
Timeout number - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- queue_
name str - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- dead_
letter_ strqueue_ name - Dead letter queue name.
- first_
query_ floatinterval - First lookback interval.
- 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_
query_ floatcount - Maximum number of lookbacks.
- max_
receive_ floatcount - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- policy float
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - polling_
wait_ floatseconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- retention_
size_ floatin_ mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - tcmq_
queue_ strid - ID of the resource.
- trace bool
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- transaction float
- 1: transaction queue; 0: general queue.
- visibility_
timeout float - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- queue
Name String - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- dead
Letter StringQueue Name - Dead letter queue name.
- first
Query NumberInterval - First lookback interval.
- 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
Query NumberCount - Maximum number of lookbacks.
- max
Receive NumberCount - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- policy Number
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - polling
Wait NumberSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- retention
Size NumberIn Mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - tcmq
Queue StringId - ID of the resource.
- trace Boolean
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- transaction Number
- 1: transaction queue; 0: general queue.
- visibility
Timeout Number - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
Outputs
All input properties are implicitly available as output properties. Additionally, the TcmqQueue resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing TcmqQueue Resource
Get an existing TcmqQueue resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TcmqQueueState, opts?: CustomResourceOptions): TcmqQueue
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dead_letter_queue_name: Optional[str] = None,
first_query_interval: Optional[float] = None,
max_msg_heap_num: Optional[float] = None,
max_msg_size: Optional[float] = None,
max_query_count: Optional[float] = None,
max_receive_count: Optional[float] = None,
max_time_to_live: Optional[float] = None,
msg_retention_seconds: Optional[float] = None,
policy: Optional[float] = None,
polling_wait_seconds: Optional[float] = None,
queue_name: Optional[str] = None,
retention_size_in_mb: Optional[float] = None,
rewind_seconds: Optional[float] = None,
tcmq_queue_id: Optional[str] = None,
trace: Optional[bool] = None,
transaction: Optional[float] = None,
visibility_timeout: Optional[float] = None) -> TcmqQueue
func GetTcmqQueue(ctx *Context, name string, id IDInput, state *TcmqQueueState, opts ...ResourceOption) (*TcmqQueue, error)
public static TcmqQueue Get(string name, Input<string> id, TcmqQueueState? state, CustomResourceOptions? opts = null)
public static TcmqQueue get(String name, Output<String> id, TcmqQueueState state, CustomResourceOptions options)
resources: _: type: tencentcloud:TcmqQueue get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Dead
Letter stringQueue Name - Dead letter queue name.
- First
Query doubleInterval - First lookback interval.
- 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
Query doubleCount - Maximum number of lookbacks.
- Max
Receive doubleCount - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- Policy double
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - Polling
Wait doubleSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- Queue
Name string - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- Retention
Size doubleIn Mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - Tcmq
Queue stringId - ID of the resource.
- Trace bool
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- Transaction double
- 1: transaction queue; 0: general queue.
- Visibility
Timeout double - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- Dead
Letter stringQueue Name - Dead letter queue name.
- First
Query float64Interval - First lookback interval.
- 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
Query float64Count - Maximum number of lookbacks.
- Max
Receive float64Count - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- Policy float64
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - Polling
Wait float64Seconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- Queue
Name string - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- Retention
Size float64In Mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - Tcmq
Queue stringId - ID of the resource.
- Trace bool
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- Transaction float64
- 1: transaction queue; 0: general queue.
- Visibility
Timeout float64 - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- dead
Letter StringQueue Name - Dead letter queue name.
- first
Query DoubleInterval - First lookback interval.
- 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
Query DoubleCount - Maximum number of lookbacks.
- max
Receive DoubleCount - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- policy Double
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - polling
Wait DoubleSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- queue
Name String - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- retention
Size DoubleIn Mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - tcmq
Queue StringId - ID of the resource.
- trace Boolean
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- transaction Double
- 1: transaction queue; 0: general queue.
- visibility
Timeout Double - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- dead
Letter stringQueue Name - Dead letter queue name.
- first
Query numberInterval - First lookback interval.
- 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
Query numberCount - Maximum number of lookbacks.
- max
Receive numberCount - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- policy number
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - polling
Wait numberSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- queue
Name string - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- retention
Size numberIn Mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - tcmq
Queue stringId - ID of the resource.
- trace boolean
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- transaction number
- 1: transaction queue; 0: general queue.
- visibility
Timeout number - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- dead_
letter_ strqueue_ name - Dead letter queue name.
- first_
query_ floatinterval - First lookback interval.
- 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_
query_ floatcount - Maximum number of lookbacks.
- max_
receive_ floatcount - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- policy float
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - polling_
wait_ floatseconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- queue_
name str - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- retention_
size_ floatin_ mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - tcmq_
queue_ strid - ID of the resource.
- trace bool
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- transaction float
- 1: transaction queue; 0: general queue.
- visibility_
timeout float - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- dead
Letter StringQueue Name - Dead letter queue name.
- first
Query NumberInterval - First lookback interval.
- 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
Query NumberCount - Maximum number of lookbacks.
- max
Receive NumberCount - Maximum receipt times. Value range: 1-1000.
- 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). - 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).
- policy Number
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1:
Time-To-Live
has elapsed. - polling
Wait NumberSeconds - Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- queue
Name String - Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.
- retention
Size NumberIn Mb - Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value
0
indicates that message rewind is not enabled. - 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. - tcmq
Queue StringId - ID of the resource.
- trace Boolean
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled.
- transaction Number
- 1: transaction queue; 0: general queue.
- visibility
Timeout Number - Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
Import
tcmq queue can be imported using the id, e.g.
$ pulumi import tencentcloud:index/tcmqQueue:TcmqQueue queue queue_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.