1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. TrocketRocketmqInstance
Viewing docs for tencentcloud 1.83.23
published on Friday, Aug 14, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.23
published on Friday, Aug 14, 2026 by tencentcloudstack

    Provides a resource to create a Trocket rocketmq instance

    Example Usage

    Create Basic Instance

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    // create vpc
    const vpc = new tencentcloud.Vpc("vpc", {
        name: "vpc",
        cidrBlock: "10.0.0.0/16",
    });
    // create vpc subnet
    const subnet = new tencentcloud.Subnet("subnet", {
        name: "subnet",
        vpcId: vpc.vpcId,
        availabilityZone: "ap-guangzhou-6",
        cidrBlock: "10.0.20.0/28",
        isMulticast: false,
    });
    // create rocketmq instance
    const example = new tencentcloud.TrocketRocketmqInstance("example", {
        name: "tf-example",
        instanceType: "PRO",
        skuCode: "pro_4k",
        remark: "remark",
        vpcId: vpc.vpcId,
        subnetId: subnet.subnetId,
        tags: {
            tag_key: "rocketmq",
            tag_value: "5.x",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    # create vpc
    vpc = tencentcloud.Vpc("vpc",
        name="vpc",
        cidr_block="10.0.0.0/16")
    # create vpc subnet
    subnet = tencentcloud.Subnet("subnet",
        name="subnet",
        vpc_id=vpc.vpc_id,
        availability_zone="ap-guangzhou-6",
        cidr_block="10.0.20.0/28",
        is_multicast=False)
    # create rocketmq instance
    example = tencentcloud.TrocketRocketmqInstance("example",
        name="tf-example",
        instance_type="PRO",
        sku_code="pro_4k",
        remark="remark",
        vpc_id=vpc.vpc_id,
        subnet_id=subnet.subnet_id,
        tags={
            "tag_key": "rocketmq",
            "tag_value": "5.x",
        })
    
    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 {
    		// create vpc
    		vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
    			Name:      pulumi.String("vpc"),
    			CidrBlock: pulumi.String("10.0.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		// create vpc subnet
    		subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
    			Name:             pulumi.String("subnet"),
    			VpcId:            vpc.VpcId,
    			AvailabilityZone: pulumi.String("ap-guangzhou-6"),
    			CidrBlock:        pulumi.String("10.0.20.0/28"),
    			IsMulticast:      pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		// create rocketmq instance
    		_, err = tencentcloud.NewTrocketRocketmqInstance(ctx, "example", &tencentcloud.TrocketRocketmqInstanceArgs{
    			Name:         pulumi.String("tf-example"),
    			InstanceType: pulumi.String("PRO"),
    			SkuCode:      pulumi.String("pro_4k"),
    			Remark:       pulumi.String("remark"),
    			VpcId:        vpc.VpcId,
    			SubnetId:     subnet.SubnetId,
    			Tags: pulumi.StringMap{
    				"tag_key":   pulumi.String("rocketmq"),
    				"tag_value": pulumi.String("5.x"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        // create vpc
        var vpc = new Tencentcloud.Vpc("vpc", new()
        {
            Name = "vpc",
            CidrBlock = "10.0.0.0/16",
        });
    
        // create vpc subnet
        var subnet = new Tencentcloud.Subnet("subnet", new()
        {
            Name = "subnet",
            VpcId = vpc.VpcId,
            AvailabilityZone = "ap-guangzhou-6",
            CidrBlock = "10.0.20.0/28",
            IsMulticast = false,
        });
    
        // create rocketmq instance
        var example = new Tencentcloud.TrocketRocketmqInstance("example", new()
        {
            Name = "tf-example",
            InstanceType = "PRO",
            SkuCode = "pro_4k",
            Remark = "remark",
            VpcId = vpc.VpcId,
            SubnetId = subnet.SubnetId,
            Tags = 
            {
                { "tag_key", "rocketmq" },
                { "tag_value", "5.x" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Vpc;
    import com.pulumi.tencentcloud.VpcArgs;
    import com.pulumi.tencentcloud.Subnet;
    import com.pulumi.tencentcloud.SubnetArgs;
    import com.pulumi.tencentcloud.TrocketRocketmqInstance;
    import com.pulumi.tencentcloud.TrocketRocketmqInstanceArgs;
    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) {
            // create vpc
            var vpc = new Vpc("vpc", VpcArgs.builder()
                .name("vpc")
                .cidrBlock("10.0.0.0/16")
                .build());
    
            // create vpc subnet
            var subnet = new Subnet("subnet", SubnetArgs.builder()
                .name("subnet")
                .vpcId(vpc.vpcId())
                .availabilityZone("ap-guangzhou-6")
                .cidrBlock("10.0.20.0/28")
                .isMulticast(false)
                .build());
    
            // create rocketmq instance
            var example = new TrocketRocketmqInstance("example", TrocketRocketmqInstanceArgs.builder()
                .name("tf-example")
                .instanceType("PRO")
                .skuCode("pro_4k")
                .remark("remark")
                .vpcId(vpc.vpcId())
                .subnetId(subnet.subnetId())
                .tags(Map.ofEntries(
                    Map.entry("tag_key", "rocketmq"),
                    Map.entry("tag_value", "5.x")
                ))
                .build());
    
        }
    }
    
    resources:
      # create vpc
      vpc:
        type: tencentcloud:Vpc
        properties:
          name: vpc
          cidrBlock: 10.0.0.0/16
      # create vpc subnet
      subnet:
        type: tencentcloud:Subnet
        properties:
          name: subnet
          vpcId: ${vpc.vpcId}
          availabilityZone: ap-guangzhou-6
          cidrBlock: 10.0.20.0/28
          isMulticast: false
      # create rocketmq instance
      example:
        type: tencentcloud:TrocketRocketmqInstance
        properties:
          name: tf-example
          instanceType: PRO
          skuCode: pro_4k
          remark: remark
          vpcId: ${vpc.vpcId}
          subnetId: ${subnet.subnetId}
          tags:
            tag_key: rocketmq
            tag_value: 5.x
    
    Example coming soon!
    

    Create Enable Public Network Instance

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    // create vpc
    const vpc = new tencentcloud.Vpc("vpc", {
        name: "vpc",
        cidrBlock: "10.0.0.0/16",
    });
    // create vpc subnet
    const subnet = new tencentcloud.Subnet("subnet", {
        name: "subnet",
        vpcId: vpc.vpcId,
        availabilityZone: "ap-guangzhou-6",
        cidrBlock: "10.0.20.0/28",
        isMulticast: false,
    });
    // create rocketmq instance
    const example = new tencentcloud.TrocketRocketmqInstance("example", {
        name: "tf-example",
        instanceType: "PRO",
        skuCode: "pro_4k",
        remark: "remark",
        vpcId: vpc.vpcId,
        subnetId: subnet.subnetId,
        enablePublic: true,
        bandwidth: 10,
        ipRules: [
            {
                ip: "1.1.1.1",
                allow: true,
                remark: "remark message.",
            },
            {
                ip: "2.2.2.2",
                allow: false,
                remark: "remark message.",
            },
        ],
        tags: {
            tag_key: "rocketmq",
            tag_value: "5.x",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    # create vpc
    vpc = tencentcloud.Vpc("vpc",
        name="vpc",
        cidr_block="10.0.0.0/16")
    # create vpc subnet
    subnet = tencentcloud.Subnet("subnet",
        name="subnet",
        vpc_id=vpc.vpc_id,
        availability_zone="ap-guangzhou-6",
        cidr_block="10.0.20.0/28",
        is_multicast=False)
    # create rocketmq instance
    example = tencentcloud.TrocketRocketmqInstance("example",
        name="tf-example",
        instance_type="PRO",
        sku_code="pro_4k",
        remark="remark",
        vpc_id=vpc.vpc_id,
        subnet_id=subnet.subnet_id,
        enable_public=True,
        bandwidth=10,
        ip_rules=[
            {
                "ip": "1.1.1.1",
                "allow": True,
                "remark": "remark message.",
            },
            {
                "ip": "2.2.2.2",
                "allow": False,
                "remark": "remark message.",
            },
        ],
        tags={
            "tag_key": "rocketmq",
            "tag_value": "5.x",
        })
    
    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 {
    		// create vpc
    		vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
    			Name:      pulumi.String("vpc"),
    			CidrBlock: pulumi.String("10.0.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		// create vpc subnet
    		subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
    			Name:             pulumi.String("subnet"),
    			VpcId:            vpc.VpcId,
    			AvailabilityZone: pulumi.String("ap-guangzhou-6"),
    			CidrBlock:        pulumi.String("10.0.20.0/28"),
    			IsMulticast:      pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		// create rocketmq instance
    		_, err = tencentcloud.NewTrocketRocketmqInstance(ctx, "example", &tencentcloud.TrocketRocketmqInstanceArgs{
    			Name:         pulumi.String("tf-example"),
    			InstanceType: pulumi.String("PRO"),
    			SkuCode:      pulumi.String("pro_4k"),
    			Remark:       pulumi.String("remark"),
    			VpcId:        vpc.VpcId,
    			SubnetId:     subnet.SubnetId,
    			EnablePublic: pulumi.Bool(true),
    			Bandwidth:    pulumi.Float64(10),
    			IpRules: tencentcloud.TrocketRocketmqInstanceIpRuleArray{
    				&tencentcloud.TrocketRocketmqInstanceIpRuleArgs{
    					Ip:     pulumi.String("1.1.1.1"),
    					Allow:  pulumi.Bool(true),
    					Remark: pulumi.String("remark message."),
    				},
    				&tencentcloud.TrocketRocketmqInstanceIpRuleArgs{
    					Ip:     pulumi.String("2.2.2.2"),
    					Allow:  pulumi.Bool(false),
    					Remark: pulumi.String("remark message."),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"tag_key":   pulumi.String("rocketmq"),
    				"tag_value": pulumi.String("5.x"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        // create vpc
        var vpc = new Tencentcloud.Vpc("vpc", new()
        {
            Name = "vpc",
            CidrBlock = "10.0.0.0/16",
        });
    
        // create vpc subnet
        var subnet = new Tencentcloud.Subnet("subnet", new()
        {
            Name = "subnet",
            VpcId = vpc.VpcId,
            AvailabilityZone = "ap-guangzhou-6",
            CidrBlock = "10.0.20.0/28",
            IsMulticast = false,
        });
    
        // create rocketmq instance
        var example = new Tencentcloud.TrocketRocketmqInstance("example", new()
        {
            Name = "tf-example",
            InstanceType = "PRO",
            SkuCode = "pro_4k",
            Remark = "remark",
            VpcId = vpc.VpcId,
            SubnetId = subnet.SubnetId,
            EnablePublic = true,
            Bandwidth = 10,
            IpRules = new[]
            {
                new Tencentcloud.Inputs.TrocketRocketmqInstanceIpRuleArgs
                {
                    Ip = "1.1.1.1",
                    Allow = true,
                    Remark = "remark message.",
                },
                new Tencentcloud.Inputs.TrocketRocketmqInstanceIpRuleArgs
                {
                    Ip = "2.2.2.2",
                    Allow = false,
                    Remark = "remark message.",
                },
            },
            Tags = 
            {
                { "tag_key", "rocketmq" },
                { "tag_value", "5.x" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Vpc;
    import com.pulumi.tencentcloud.VpcArgs;
    import com.pulumi.tencentcloud.Subnet;
    import com.pulumi.tencentcloud.SubnetArgs;
    import com.pulumi.tencentcloud.TrocketRocketmqInstance;
    import com.pulumi.tencentcloud.TrocketRocketmqInstanceArgs;
    import com.pulumi.tencentcloud.inputs.TrocketRocketmqInstanceIpRuleArgs;
    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) {
            // create vpc
            var vpc = new Vpc("vpc", VpcArgs.builder()
                .name("vpc")
                .cidrBlock("10.0.0.0/16")
                .build());
    
            // create vpc subnet
            var subnet = new Subnet("subnet", SubnetArgs.builder()
                .name("subnet")
                .vpcId(vpc.vpcId())
                .availabilityZone("ap-guangzhou-6")
                .cidrBlock("10.0.20.0/28")
                .isMulticast(false)
                .build());
    
            // create rocketmq instance
            var example = new TrocketRocketmqInstance("example", TrocketRocketmqInstanceArgs.builder()
                .name("tf-example")
                .instanceType("PRO")
                .skuCode("pro_4k")
                .remark("remark")
                .vpcId(vpc.vpcId())
                .subnetId(subnet.subnetId())
                .enablePublic(true)
                .bandwidth(10.0)
                .ipRules(            
                    TrocketRocketmqInstanceIpRuleArgs.builder()
                        .ip("1.1.1.1")
                        .allow(true)
                        .remark("remark message.")
                        .build(),
                    TrocketRocketmqInstanceIpRuleArgs.builder()
                        .ip("2.2.2.2")
                        .allow(false)
                        .remark("remark message.")
                        .build())
                .tags(Map.ofEntries(
                    Map.entry("tag_key", "rocketmq"),
                    Map.entry("tag_value", "5.x")
                ))
                .build());
    
        }
    }
    
    resources:
      # create vpc
      vpc:
        type: tencentcloud:Vpc
        properties:
          name: vpc
          cidrBlock: 10.0.0.0/16
      # create vpc subnet
      subnet:
        type: tencentcloud:Subnet
        properties:
          name: subnet
          vpcId: ${vpc.vpcId}
          availabilityZone: ap-guangzhou-6
          cidrBlock: 10.0.20.0/28
          isMulticast: false
      # create rocketmq instance
      example:
        type: tencentcloud:TrocketRocketmqInstance
        properties:
          name: tf-example
          instanceType: PRO
          skuCode: pro_4k
          remark: remark
          vpcId: ${vpc.vpcId}
          subnetId: ${subnet.subnetId}
          enablePublic: true
          bandwidth: 10
          ipRules:
            - ip: 1.1.1.1
              allow: true
              remark: remark message.
            - ip: 2.2.2.2
              allow: false
              remark: remark message.
          tags:
            tag_key: rocketmq
            tag_value: 5.x
    
    Example coming soon!
    

    Create Instance with Billing and Deployment Params

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    // create vpc
    const vpc = new tencentcloud.Vpc("vpc", {
        name: "vpc",
        cidrBlock: "10.0.0.0/16",
    });
    // create vpc subnet
    const subnet = new tencentcloud.Subnet("subnet", {
        name: "subnet",
        vpcId: vpc.vpcId,
        availabilityZone: "ap-guangzhou-6",
        cidrBlock: "10.0.20.0/28",
        isMulticast: false,
    });
    // create rocketmq instance with billing and deployment params
    const example = new tencentcloud.TrocketRocketmqInstance("example", {
        name: "tf-example",
        instanceType: "PRO",
        skuCode: "pro_4k",
        remark: "remark",
        vpcId: vpc.vpcId,
        subnetId: subnet.subnetId,
        payMode: 1,
        renewFlag: 1,
        timeSpan: 12,
        maxTopicNum: 1000,
        zoneIds: [
            100006,
            100007,
        ],
        tags: {
            tag_key: "rocketmq",
            tag_value: "5.x",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    # create vpc
    vpc = tencentcloud.Vpc("vpc",
        name="vpc",
        cidr_block="10.0.0.0/16")
    # create vpc subnet
    subnet = tencentcloud.Subnet("subnet",
        name="subnet",
        vpc_id=vpc.vpc_id,
        availability_zone="ap-guangzhou-6",
        cidr_block="10.0.20.0/28",
        is_multicast=False)
    # create rocketmq instance with billing and deployment params
    example = tencentcloud.TrocketRocketmqInstance("example",
        name="tf-example",
        instance_type="PRO",
        sku_code="pro_4k",
        remark="remark",
        vpc_id=vpc.vpc_id,
        subnet_id=subnet.subnet_id,
        pay_mode=1,
        renew_flag=1,
        time_span=12,
        max_topic_num=1000,
        zone_ids=[
            100006,
            100007,
        ],
        tags={
            "tag_key": "rocketmq",
            "tag_value": "5.x",
        })
    
    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 {
    		// create vpc
    		vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
    			Name:      pulumi.String("vpc"),
    			CidrBlock: pulumi.String("10.0.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		// create vpc subnet
    		subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
    			Name:             pulumi.String("subnet"),
    			VpcId:            vpc.VpcId,
    			AvailabilityZone: pulumi.String("ap-guangzhou-6"),
    			CidrBlock:        pulumi.String("10.0.20.0/28"),
    			IsMulticast:      pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		// create rocketmq instance with billing and deployment params
    		_, err = tencentcloud.NewTrocketRocketmqInstance(ctx, "example", &tencentcloud.TrocketRocketmqInstanceArgs{
    			Name:         pulumi.String("tf-example"),
    			InstanceType: pulumi.String("PRO"),
    			SkuCode:      pulumi.String("pro_4k"),
    			Remark:       pulumi.String("remark"),
    			VpcId:        vpc.VpcId,
    			SubnetId:     subnet.SubnetId,
    			PayMode:      pulumi.Float64(1),
    			RenewFlag:    pulumi.Float64(1),
    			TimeSpan:     pulumi.Float64(12),
    			MaxTopicNum:  pulumi.Float64(1000),
    			ZoneIds: pulumi.Float64Array{
    				pulumi.Float64(100006),
    				pulumi.Float64(100007),
    			},
    			Tags: pulumi.StringMap{
    				"tag_key":   pulumi.String("rocketmq"),
    				"tag_value": pulumi.String("5.x"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        // create vpc
        var vpc = new Tencentcloud.Vpc("vpc", new()
        {
            Name = "vpc",
            CidrBlock = "10.0.0.0/16",
        });
    
        // create vpc subnet
        var subnet = new Tencentcloud.Subnet("subnet", new()
        {
            Name = "subnet",
            VpcId = vpc.VpcId,
            AvailabilityZone = "ap-guangzhou-6",
            CidrBlock = "10.0.20.0/28",
            IsMulticast = false,
        });
    
        // create rocketmq instance with billing and deployment params
        var example = new Tencentcloud.TrocketRocketmqInstance("example", new()
        {
            Name = "tf-example",
            InstanceType = "PRO",
            SkuCode = "pro_4k",
            Remark = "remark",
            VpcId = vpc.VpcId,
            SubnetId = subnet.SubnetId,
            PayMode = 1,
            RenewFlag = 1,
            TimeSpan = 12,
            MaxTopicNum = 1000,
            ZoneIds = new[]
            {
                100006,
                100007,
            },
            Tags = 
            {
                { "tag_key", "rocketmq" },
                { "tag_value", "5.x" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Vpc;
    import com.pulumi.tencentcloud.VpcArgs;
    import com.pulumi.tencentcloud.Subnet;
    import com.pulumi.tencentcloud.SubnetArgs;
    import com.pulumi.tencentcloud.TrocketRocketmqInstance;
    import com.pulumi.tencentcloud.TrocketRocketmqInstanceArgs;
    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) {
            // create vpc
            var vpc = new Vpc("vpc", VpcArgs.builder()
                .name("vpc")
                .cidrBlock("10.0.0.0/16")
                .build());
    
            // create vpc subnet
            var subnet = new Subnet("subnet", SubnetArgs.builder()
                .name("subnet")
                .vpcId(vpc.vpcId())
                .availabilityZone("ap-guangzhou-6")
                .cidrBlock("10.0.20.0/28")
                .isMulticast(false)
                .build());
    
            // create rocketmq instance with billing and deployment params
            var example = new TrocketRocketmqInstance("example", TrocketRocketmqInstanceArgs.builder()
                .name("tf-example")
                .instanceType("PRO")
                .skuCode("pro_4k")
                .remark("remark")
                .vpcId(vpc.vpcId())
                .subnetId(subnet.subnetId())
                .payMode(1.0)
                .renewFlag(1.0)
                .timeSpan(12.0)
                .maxTopicNum(1000.0)
                .zoneIds(            
                    100006.0,
                    100007.0)
                .tags(Map.ofEntries(
                    Map.entry("tag_key", "rocketmq"),
                    Map.entry("tag_value", "5.x")
                ))
                .build());
    
        }
    }
    
    resources:
      # create vpc
      vpc:
        type: tencentcloud:Vpc
        properties:
          name: vpc
          cidrBlock: 10.0.0.0/16
      # create vpc subnet
      subnet:
        type: tencentcloud:Subnet
        properties:
          name: subnet
          vpcId: ${vpc.vpcId}
          availabilityZone: ap-guangzhou-6
          cidrBlock: 10.0.20.0/28
          isMulticast: false
      # create rocketmq instance with billing and deployment params
      example:
        type: tencentcloud:TrocketRocketmqInstance
        properties:
          name: tf-example
          instanceType: PRO
          skuCode: pro_4k
          remark: remark
          vpcId: ${vpc.vpcId}
          subnetId: ${subnet.subnetId}
          payMode: 1
          renewFlag: 1
          timeSpan: 12
          maxTopicNum: 1000
          zoneIds:
            - 100006
            - 100007
          tags:
            tag_key: rocketmq
            tag_value: 5.x
    
    Example coming soon!
    

    Create TrocketRocketmqInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TrocketRocketmqInstance(name: string, args: TrocketRocketmqInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def TrocketRocketmqInstance(resource_name: str,
                                args: TrocketRocketmqInstanceArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def TrocketRocketmqInstance(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                sku_code: Optional[str] = None,
                                vpc_id: Optional[str] = None,
                                instance_type: Optional[str] = None,
                                subnet_id: Optional[str] = None,
                                remark: Optional[str] = None,
                                message_retention: Optional[float] = None,
                                name: Optional[str] = None,
                                pay_mode: Optional[float] = None,
                                bandwidth: Optional[float] = None,
                                renew_flag: Optional[float] = None,
                                max_topic_num: Optional[float] = None,
                                ip_rules: Optional[Sequence[TrocketRocketmqInstanceIpRuleArgs]] = None,
                                tags: Optional[Mapping[str, str]] = None,
                                time_span: Optional[float] = None,
                                trocket_rocketmq_instance_id: Optional[str] = None,
                                enable_public: Optional[bool] = None,
                                zone_ids: Optional[Sequence[float]] = None)
    func NewTrocketRocketmqInstance(ctx *Context, name string, args TrocketRocketmqInstanceArgs, opts ...ResourceOption) (*TrocketRocketmqInstance, error)
    public TrocketRocketmqInstance(string name, TrocketRocketmqInstanceArgs args, CustomResourceOptions? opts = null)
    public TrocketRocketmqInstance(String name, TrocketRocketmqInstanceArgs args)
    public TrocketRocketmqInstance(String name, TrocketRocketmqInstanceArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TrocketRocketmqInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_trocket_rocketmq_instance" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TrocketRocketmqInstanceArgs
    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 TrocketRocketmqInstanceArgs
    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 TrocketRocketmqInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TrocketRocketmqInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TrocketRocketmqInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TrocketRocketmqInstance 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 TrocketRocketmqInstance resource accepts the following input properties:

    InstanceType string
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    SkuCode string
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    SubnetId string
    Subnet ID that the instance binds to.
    VpcId string
    VPC ID that the instance binds to.
    Bandwidth double
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    EnablePublic bool
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    IpRules List<TrocketRocketmqInstanceIpRule>
    Public network access whitelist. If left empty, all IP access is denied.
    MaxTopicNum double
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    MessageRetention double
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    Name string
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    PayMode double
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    Remark string
    Remark information.
    RenewFlag double
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    Tags Dictionary<string, string>
    Tag list.
    TimeSpan double
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    TrocketRocketmqInstanceId string
    ID of the resource.
    ZoneIds List<double>
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    InstanceType string
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    SkuCode string
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    SubnetId string
    Subnet ID that the instance binds to.
    VpcId string
    VPC ID that the instance binds to.
    Bandwidth float64
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    EnablePublic bool
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    IpRules []TrocketRocketmqInstanceIpRuleArgs
    Public network access whitelist. If left empty, all IP access is denied.
    MaxTopicNum float64
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    MessageRetention float64
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    Name string
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    PayMode float64
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    Remark string
    Remark information.
    RenewFlag float64
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    Tags map[string]string
    Tag list.
    TimeSpan float64
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    TrocketRocketmqInstanceId string
    ID of the resource.
    ZoneIds []float64
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    instance_type string
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    sku_code string
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    subnet_id string
    Subnet ID that the instance binds to.
    vpc_id string
    VPC ID that the instance binds to.
    bandwidth number
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    enable_public bool
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    ip_rules list(object)
    Public network access whitelist. If left empty, all IP access is denied.
    max_topic_num number
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    message_retention number
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    name string
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    pay_mode number
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    remark string
    Remark information.
    renew_flag number
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    tags map(string)
    Tag list.
    time_span number
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    trocket_rocketmq_instance_id string
    ID of the resource.
    zone_ids list(number)
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    instanceType String
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    skuCode String
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    subnetId String
    Subnet ID that the instance binds to.
    vpcId String
    VPC ID that the instance binds to.
    bandwidth Double
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    enablePublic Boolean
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    ipRules List<TrocketRocketmqInstanceIpRule>
    Public network access whitelist. If left empty, all IP access is denied.
    maxTopicNum Double
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    messageRetention Double
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    name String
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    payMode Double
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    remark String
    Remark information.
    renewFlag Double
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    tags Map<String,String>
    Tag list.
    timeSpan Double
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    trocketRocketmqInstanceId String
    ID of the resource.
    zoneIds List<Double>
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    instanceType string
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    skuCode string
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    subnetId string
    Subnet ID that the instance binds to.
    vpcId string
    VPC ID that the instance binds to.
    bandwidth number
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    enablePublic boolean
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    ipRules TrocketRocketmqInstanceIpRule[]
    Public network access whitelist. If left empty, all IP access is denied.
    maxTopicNum number
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    messageRetention number
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    name string
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    payMode number
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    remark string
    Remark information.
    renewFlag number
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    tags {[key: string]: string}
    Tag list.
    timeSpan number
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    trocketRocketmqInstanceId string
    ID of the resource.
    zoneIds number[]
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    instance_type str
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    sku_code str
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    subnet_id str
    Subnet ID that the instance binds to.
    vpc_id str
    VPC ID that the instance binds to.
    bandwidth float
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    enable_public bool
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    ip_rules Sequence[TrocketRocketmqInstanceIpRuleArgs]
    Public network access whitelist. If left empty, all IP access is denied.
    max_topic_num float
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    message_retention float
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    name str
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    pay_mode float
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    remark str
    Remark information.
    renew_flag float
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    tags Mapping[str, str]
    Tag list.
    time_span float
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    trocket_rocketmq_instance_id str
    ID of the resource.
    zone_ids Sequence[float]
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    instanceType String
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    skuCode String
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    subnetId String
    Subnet ID that the instance binds to.
    vpcId String
    VPC ID that the instance binds to.
    bandwidth Number
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    enablePublic Boolean
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    ipRules List<Property Map>
    Public network access whitelist. If left empty, all IP access is denied.
    maxTopicNum Number
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    messageRetention Number
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    name String
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    payMode Number
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    remark String
    Remark information.
    renewFlag Number
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    tags Map<String>
    Tag list.
    timeSpan Number
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    trocketRocketmqInstanceId String
    ID of the resource.
    zoneIds List<Number>
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TrocketRocketmqInstance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    PublicEndPoint string
    Public network access address.
    VpcEndPoint string
    VPC access address.
    Id string
    The provider-assigned unique ID for this managed resource.
    PublicEndPoint string
    Public network access address.
    VpcEndPoint string
    VPC access address.
    id string
    The provider-assigned unique ID for this managed resource.
    public_end_point string
    Public network access address.
    vpc_end_point string
    VPC access address.
    id String
    The provider-assigned unique ID for this managed resource.
    publicEndPoint String
    Public network access address.
    vpcEndPoint String
    VPC access address.
    id string
    The provider-assigned unique ID for this managed resource.
    publicEndPoint string
    Public network access address.
    vpcEndPoint string
    VPC access address.
    id str
    The provider-assigned unique ID for this managed resource.
    public_end_point str
    Public network access address.
    vpc_end_point str
    VPC access address.
    id String
    The provider-assigned unique ID for this managed resource.
    publicEndPoint String
    Public network access address.
    vpcEndPoint String
    VPC access address.

    Look up Existing TrocketRocketmqInstance Resource

    Get an existing TrocketRocketmqInstance 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?: TrocketRocketmqInstanceState, opts?: CustomResourceOptions): TrocketRocketmqInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth: Optional[float] = None,
            enable_public: Optional[bool] = None,
            instance_type: Optional[str] = None,
            ip_rules: Optional[Sequence[TrocketRocketmqInstanceIpRuleArgs]] = None,
            max_topic_num: Optional[float] = None,
            message_retention: Optional[float] = None,
            name: Optional[str] = None,
            pay_mode: Optional[float] = None,
            public_end_point: Optional[str] = None,
            remark: Optional[str] = None,
            renew_flag: Optional[float] = None,
            sku_code: Optional[str] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            time_span: Optional[float] = None,
            trocket_rocketmq_instance_id: Optional[str] = None,
            vpc_end_point: Optional[str] = None,
            vpc_id: Optional[str] = None,
            zone_ids: Optional[Sequence[float]] = None) -> TrocketRocketmqInstance
    func GetTrocketRocketmqInstance(ctx *Context, name string, id IDInput, state *TrocketRocketmqInstanceState, opts ...ResourceOption) (*TrocketRocketmqInstance, error)
    public static TrocketRocketmqInstance Get(string name, Input<string> id, TrocketRocketmqInstanceState? state, CustomResourceOptions? opts = null)
    public static TrocketRocketmqInstance get(String name, Output<String> id, TrocketRocketmqInstanceState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TrocketRocketmqInstance    get:      id: ${id}
    import {
      to = tencentcloud_trocket_rocketmq_instance.example
      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.
    The following state arguments are supported:
    Bandwidth double
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    EnablePublic bool
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    InstanceType string
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    IpRules List<TrocketRocketmqInstanceIpRule>
    Public network access whitelist. If left empty, all IP access is denied.
    MaxTopicNum double
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    MessageRetention double
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    Name string
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    PayMode double
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    PublicEndPoint string
    Public network access address.
    Remark string
    Remark information.
    RenewFlag double
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    SkuCode string
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    SubnetId string
    Subnet ID that the instance binds to.
    Tags Dictionary<string, string>
    Tag list.
    TimeSpan double
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    TrocketRocketmqInstanceId string
    ID of the resource.
    VpcEndPoint string
    VPC access address.
    VpcId string
    VPC ID that the instance binds to.
    ZoneIds List<double>
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    Bandwidth float64
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    EnablePublic bool
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    InstanceType string
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    IpRules []TrocketRocketmqInstanceIpRuleArgs
    Public network access whitelist. If left empty, all IP access is denied.
    MaxTopicNum float64
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    MessageRetention float64
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    Name string
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    PayMode float64
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    PublicEndPoint string
    Public network access address.
    Remark string
    Remark information.
    RenewFlag float64
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    SkuCode string
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    SubnetId string
    Subnet ID that the instance binds to.
    Tags map[string]string
    Tag list.
    TimeSpan float64
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    TrocketRocketmqInstanceId string
    ID of the resource.
    VpcEndPoint string
    VPC access address.
    VpcId string
    VPC ID that the instance binds to.
    ZoneIds []float64
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    bandwidth number
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    enable_public bool
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    instance_type string
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    ip_rules list(object)
    Public network access whitelist. If left empty, all IP access is denied.
    max_topic_num number
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    message_retention number
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    name string
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    pay_mode number
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    public_end_point string
    Public network access address.
    remark string
    Remark information.
    renew_flag number
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    sku_code string
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    subnet_id string
    Subnet ID that the instance binds to.
    tags map(string)
    Tag list.
    time_span number
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    trocket_rocketmq_instance_id string
    ID of the resource.
    vpc_end_point string
    VPC access address.
    vpc_id string
    VPC ID that the instance binds to.
    zone_ids list(number)
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    bandwidth Double
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    enablePublic Boolean
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    instanceType String
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    ipRules List<TrocketRocketmqInstanceIpRule>
    Public network access whitelist. If left empty, all IP access is denied.
    maxTopicNum Double
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    messageRetention Double
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    name String
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    payMode Double
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    publicEndPoint String
    Public network access address.
    remark String
    Remark information.
    renewFlag Double
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    skuCode String
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    subnetId String
    Subnet ID that the instance binds to.
    tags Map<String,String>
    Tag list.
    timeSpan Double
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    trocketRocketmqInstanceId String
    ID of the resource.
    vpcEndPoint String
    VPC access address.
    vpcId String
    VPC ID that the instance binds to.
    zoneIds List<Double>
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    bandwidth number
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    enablePublic boolean
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    instanceType string
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    ipRules TrocketRocketmqInstanceIpRule[]
    Public network access whitelist. If left empty, all IP access is denied.
    maxTopicNum number
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    messageRetention number
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    name string
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    payMode number
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    publicEndPoint string
    Public network access address.
    remark string
    Remark information.
    renewFlag number
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    skuCode string
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    subnetId string
    Subnet ID that the instance binds to.
    tags {[key: string]: string}
    Tag list.
    timeSpan number
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    trocketRocketmqInstanceId string
    ID of the resource.
    vpcEndPoint string
    VPC access address.
    vpcId string
    VPC ID that the instance binds to.
    zoneIds number[]
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    bandwidth float
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    enable_public bool
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    instance_type str
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    ip_rules Sequence[TrocketRocketmqInstanceIpRuleArgs]
    Public network access whitelist. If left empty, all IP access is denied.
    max_topic_num float
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    message_retention float
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    name str
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    pay_mode float
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    public_end_point str
    Public network access address.
    remark str
    Remark information.
    renew_flag float
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    sku_code str
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    subnet_id str
    Subnet ID that the instance binds to.
    tags Mapping[str, str]
    Tag list.
    time_span float
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    trocket_rocketmq_instance_id str
    ID of the resource.
    vpc_end_point str
    VPC access address.
    vpc_id str
    VPC ID that the instance binds to.
    zone_ids Sequence[float]
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.
    bandwidth Number
    Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
    enablePublic Boolean
    Whether to enable public network access, default false. When set to true, bandwidth must be set to a positive integer.
    instanceType String
    Instance type. Valid values: EXPERIMENT (trial edition), BASIC (basic edition), PRO (professional edition), PLATINUM (platinum edition).
    ipRules List<Property Map>
    Public network access whitelist. If left empty, all IP access is denied.
    maxTopicNum Number
    Maximum number of topics that can be created. The default/minimum and maximum are obtained from the TopicNumLimit and TopicNumUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    messageRetention Number
    Message retention time in hours. The value range and default are obtained from the DefaultRetention/RetentionLowerLimit/RetentionUpperLimit parameters in the ProductSKU output of the DescribeProductSKUs interface.
    name String
    Instance (cluster) name, 3-64 characters, can only contain digits, letters, hyphen '-' and underscore '_'.
    payMode Number
    Billing mode. 0: pay-as-you-go (postpaid), 1: subscription (prepaid). Default is 0.
    publicEndPoint String
    Public network access address.
    remark String
    Remark information.
    renewFlag Number
    Whether to auto-renew a prepaid instance. 0: no auto-renewal, 1: auto-renewal. Default is 0.
    skuCode String
    SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
    subnetId String
    Subnet ID that the instance binds to.
    tags Map<String>
    Tag list.
    timeSpan Number
    Purchase duration of a prepaid instance in months. Value range: 1-60. Default is 1.
    trocketRocketmqInstanceId String
    ID of the resource.
    vpcEndPoint String
    VPC access address.
    vpcId String
    VPC ID that the instance binds to.
    zoneIds List<Number>
    List of deployment availability zones, obtained from the ZoneInfo structure returned by the DescribeZones interface.

    Supporting Types

    TrocketRocketmqInstanceIpRule, TrocketRocketmqInstanceIpRuleArgs

    Allow bool
    Whether to allow access from this IP.
    Ip string
    IP address.
    Remark string
    Remark information.
    Allow bool
    Whether to allow access from this IP.
    Ip string
    IP address.
    Remark string
    Remark information.
    allow bool
    Whether to allow access from this IP.
    ip string
    IP address.
    remark string
    Remark information.
    allow Boolean
    Whether to allow access from this IP.
    ip String
    IP address.
    remark String
    Remark information.
    allow boolean
    Whether to allow access from this IP.
    ip string
    IP address.
    remark string
    Remark information.
    allow bool
    Whether to allow access from this IP.
    ip str
    IP address.
    remark str
    Remark information.
    allow Boolean
    Whether to allow access from this IP.
    ip String
    IP address.
    remark String
    Remark information.

    Import

    Trocket rocketmq instance can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/trocketRocketmqInstance:TrocketRocketmqInstance example rmq-n5qado7m
    

    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.
    Viewing docs for tencentcloud 1.83.23
    published on Friday, Aug 14, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial