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:
- QueueName 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.
- DeadLetter stringQueue Name 
- Dead letter queue name.
- FirstQuery doubleInterval 
- First lookback interval.
- MaxMsg 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.
- MaxMsg doubleSize 
- Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- MaxQuery doubleCount 
- Maximum number of lookbacks.
- MaxReceive doubleCount 
- Maximum receipt times. Value range: 1-1000.
- MaxTime doubleTo Live 
- Maximum period in seconds before an unconsumed message expires, which is required if policyis 1. Value range: 300-43200. This value should be smaller thanmsgRetentionSeconds(maximum message retention period).
- MsgRetention 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-Livehas elapsed.
- PollingWait doubleSeconds 
- Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- RetentionSize doubleIn Mb 
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- RewindSeconds double
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- TcmqQueue 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.
- VisibilityTimeout double
- Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- QueueName 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.
- DeadLetter stringQueue Name 
- Dead letter queue name.
- FirstQuery float64Interval 
- First lookback interval.
- MaxMsg 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.
- MaxMsg float64Size 
- Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- MaxQuery float64Count 
- Maximum number of lookbacks.
- MaxReceive float64Count 
- Maximum receipt times. Value range: 1-1000.
- MaxTime float64To Live 
- Maximum period in seconds before an unconsumed message expires, which is required if policyis 1. Value range: 300-43200. This value should be smaller thanmsgRetentionSeconds(maximum message retention period).
- MsgRetention 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-Livehas elapsed.
- PollingWait float64Seconds 
- Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- RetentionSize float64In Mb 
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- RewindSeconds float64
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- TcmqQueue 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.
- VisibilityTimeout float64
- Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- queueName 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.
- deadLetter StringQueue Name 
- Dead letter queue name.
- firstQuery DoubleInterval 
- First lookback interval.
- maxMsg 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.
- maxMsg DoubleSize 
- Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- maxQuery DoubleCount 
- Maximum number of lookbacks.
- maxReceive DoubleCount 
- Maximum receipt times. Value range: 1-1000.
- maxTime DoubleTo Live 
- Maximum period in seconds before an unconsumed message expires, which is required if policyis 1. Value range: 300-43200. This value should be smaller thanmsgRetentionSeconds(maximum message retention period).
- msgRetention 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-Livehas elapsed.
- pollingWait DoubleSeconds 
- Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- retentionSize DoubleIn Mb 
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- rewindSeconds Double
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- tcmqQueue 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.
- visibilityTimeout Double
- Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- queueName 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.
- deadLetter stringQueue Name 
- Dead letter queue name.
- firstQuery numberInterval 
- First lookback interval.
- maxMsg 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.
- maxMsg numberSize 
- Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- maxQuery numberCount 
- Maximum number of lookbacks.
- maxReceive numberCount 
- Maximum receipt times. Value range: 1-1000.
- maxTime numberTo Live 
- Maximum period in seconds before an unconsumed message expires, which is required if policyis 1. Value range: 300-43200. This value should be smaller thanmsgRetentionSeconds(maximum message retention period).
- msgRetention 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-Livehas elapsed.
- pollingWait numberSeconds 
- Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- retentionSize numberIn Mb 
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- rewindSeconds number
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- tcmqQueue 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.
- visibilityTimeout 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 policyis 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-Livehas 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 0indicates 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 0indicates 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.
- queueName 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.
- deadLetter StringQueue Name 
- Dead letter queue name.
- firstQuery NumberInterval 
- First lookback interval.
- maxMsg 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.
- maxMsg NumberSize 
- Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- maxQuery NumberCount 
- Maximum number of lookbacks.
- maxReceive NumberCount 
- Maximum receipt times. Value range: 1-1000.
- maxTime NumberTo Live 
- Maximum period in seconds before an unconsumed message expires, which is required if policyis 1. Value range: 300-43200. This value should be smaller thanmsgRetentionSeconds(maximum message retention period).
- msgRetention 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-Livehas elapsed.
- pollingWait NumberSeconds 
- Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- retentionSize NumberIn Mb 
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- rewindSeconds Number
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- tcmqQueue 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.
- visibilityTimeout 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) -> TcmqQueuefunc 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.
- DeadLetter stringQueue Name 
- Dead letter queue name.
- FirstQuery doubleInterval 
- First lookback interval.
- MaxMsg 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.
- MaxMsg doubleSize 
- Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- MaxQuery doubleCount 
- Maximum number of lookbacks.
- MaxReceive doubleCount 
- Maximum receipt times. Value range: 1-1000.
- MaxTime doubleTo Live 
- Maximum period in seconds before an unconsumed message expires, which is required if policyis 1. Value range: 300-43200. This value should be smaller thanmsgRetentionSeconds(maximum message retention period).
- MsgRetention 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-Livehas elapsed.
- PollingWait doubleSeconds 
- Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- QueueName 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.
- RetentionSize doubleIn Mb 
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- RewindSeconds double
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- TcmqQueue 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.
- VisibilityTimeout double
- Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- DeadLetter stringQueue Name 
- Dead letter queue name.
- FirstQuery float64Interval 
- First lookback interval.
- MaxMsg 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.
- MaxMsg float64Size 
- Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- MaxQuery float64Count 
- Maximum number of lookbacks.
- MaxReceive float64Count 
- Maximum receipt times. Value range: 1-1000.
- MaxTime float64To Live 
- Maximum period in seconds before an unconsumed message expires, which is required if policyis 1. Value range: 300-43200. This value should be smaller thanmsgRetentionSeconds(maximum message retention period).
- MsgRetention 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-Livehas elapsed.
- PollingWait float64Seconds 
- Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- QueueName 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.
- RetentionSize float64In Mb 
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- RewindSeconds float64
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- TcmqQueue 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.
- VisibilityTimeout float64
- Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- deadLetter StringQueue Name 
- Dead letter queue name.
- firstQuery DoubleInterval 
- First lookback interval.
- maxMsg 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.
- maxMsg DoubleSize 
- Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- maxQuery DoubleCount 
- Maximum number of lookbacks.
- maxReceive DoubleCount 
- Maximum receipt times. Value range: 1-1000.
- maxTime DoubleTo Live 
- Maximum period in seconds before an unconsumed message expires, which is required if policyis 1. Value range: 300-43200. This value should be smaller thanmsgRetentionSeconds(maximum message retention period).
- msgRetention 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-Livehas elapsed.
- pollingWait DoubleSeconds 
- Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- queueName 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.
- retentionSize DoubleIn Mb 
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- rewindSeconds Double
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- tcmqQueue 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.
- visibilityTimeout Double
- Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
- deadLetter stringQueue Name 
- Dead letter queue name.
- firstQuery numberInterval 
- First lookback interval.
- maxMsg 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.
- maxMsg numberSize 
- Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- maxQuery numberCount 
- Maximum number of lookbacks.
- maxReceive numberCount 
- Maximum receipt times. Value range: 1-1000.
- maxTime numberTo Live 
- Maximum period in seconds before an unconsumed message expires, which is required if policyis 1. Value range: 300-43200. This value should be smaller thanmsgRetentionSeconds(maximum message retention period).
- msgRetention 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-Livehas elapsed.
- pollingWait numberSeconds 
- Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- queueName 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.
- retentionSize numberIn Mb 
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- rewindSeconds number
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- tcmqQueue 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.
- visibilityTimeout 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 policyis 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-Livehas 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 0indicates 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 0indicates 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.
- deadLetter StringQueue Name 
- Dead letter queue name.
- firstQuery NumberInterval 
- First lookback interval.
- maxMsg 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.
- maxMsg NumberSize 
- Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
- maxQuery NumberCount 
- Maximum number of lookbacks.
- maxReceive NumberCount 
- Maximum receipt times. Value range: 1-1000.
- maxTime NumberTo Live 
- Maximum period in seconds before an unconsumed message expires, which is required if policyis 1. Value range: 300-43200. This value should be smaller thanmsgRetentionSeconds(maximum message retention period).
- msgRetention 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-Livehas elapsed.
- pollingWait NumberSeconds 
- Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
- queueName 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.
- retentionSize NumberIn Mb 
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- rewindSeconds Number
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value 0indicates that message rewind is not enabled.
- tcmqQueue 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.
- visibilityTimeout 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 tencentcloudTerraform Provider.