published on Friday, Aug 14, 2026 by tencentcloudstack
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:
- 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 double
- 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,
bandwidthmust be set to a positive integer. - Ip
Rules List<TrocketRocketmq Instance Ip Rule> - Public network access whitelist. If left empty, all IP access is denied.
- Max
Topic doubleNum - 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 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 '_'.
- Pay
Mode double - Billing mode.
0: pay-as-you-go (postpaid),1: subscription (prepaid). Default is0. - Remark string
- Remark information.
- Renew
Flag double - Whether to auto-renew a prepaid instance.
0: no auto-renewal,1: auto-renewal. Default is0. - Dictionary<string, string>
- Tag list.
- Time
Span double - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - Trocket
Rocketmq stringInstance Id - ID of the resource.
- Zone
Ids List<double> - 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 float64
- 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,
bandwidthmust be set to a positive integer. - Ip
Rules []TrocketRocketmq Instance Ip Rule Args - Public network access whitelist. If left empty, all IP access is denied.
- Max
Topic float64Num - 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 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 '_'.
- Pay
Mode float64 - Billing mode.
0: pay-as-you-go (postpaid),1: subscription (prepaid). Default is0. - Remark string
- Remark information.
- Renew
Flag float64 - Whether to auto-renew a prepaid instance.
0: no auto-renewal,1: auto-renewal. Default is0. - map[string]string
- Tag list.
- Time
Span float64 - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - Trocket
Rocketmq stringInstance Id - ID of the resource.
- Zone
Ids []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,
bandwidthmust be set to a positive integer. - ip_
rules list(object) - Public network access whitelist. If left empty, all IP access is denied.
- max_
topic_ numbernum - 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 is0. - remark string
- Remark information.
- renew_
flag number - Whether to auto-renew a prepaid instance.
0: no auto-renewal,1: auto-renewal. Default is0. - map(string)
- Tag list.
- time_
span number - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - trocket_
rocketmq_ stringinstance_ id - ID of the resource.
- zone_
ids list(number) - 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 Double
- Public network bandwidth in Mbps, default 0. Must be a positive integer greater than 0 when public network is enabled.
- enable
Public Boolean - Whether to enable public network access, default false. When set to true,
bandwidthmust be set to a positive integer. - ip
Rules List<TrocketRocketmq Instance Ip Rule> - Public network access whitelist. If left empty, all IP access is denied.
- max
Topic DoubleNum - 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 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 '_'.
- pay
Mode Double - Billing mode.
0: pay-as-you-go (postpaid),1: subscription (prepaid). Default is0. - remark String
- Remark information.
- renew
Flag Double - Whether to auto-renew a prepaid instance.
0: no auto-renewal,1: auto-renewal. Default is0. - Map<String,String>
- Tag list.
- time
Span Double - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - trocket
Rocketmq StringInstance Id - ID of the resource.
- zone
Ids List<Double> - 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 boolean - Whether to enable public network access, default false. When set to true,
bandwidthmust be set to a positive integer. - ip
Rules TrocketRocketmq Instance Ip Rule[] - Public network access whitelist. If left empty, all IP access is denied.
- max
Topic numberNum - 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 is0. - remark string
- Remark information.
- renew
Flag number - Whether to auto-renew a prepaid instance.
0: no auto-renewal,1: auto-renewal. Default is0. - {[key: string]: string}
- Tag list.
- time
Span number - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - trocket
Rocketmq stringInstance Id - ID of the resource.
- zone
Ids 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,
bandwidthmust be set to a positive integer. - ip_
rules Sequence[TrocketRocketmq Instance Ip Rule Args] - Public network access whitelist. If left empty, all IP access is denied.
- max_
topic_ floatnum - 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 is0. - remark str
- Remark information.
- renew_
flag float - Whether to auto-renew a prepaid instance.
0: no auto-renewal,1: auto-renewal. Default is0. - 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_ strinstance_ id - ID of the resource.
- zone_
ids Sequence[float] - 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 Boolean - Whether to enable public network access, default false. When set to true,
bandwidthmust be set to a positive integer. - ip
Rules List<Property Map> - Public network access whitelist. If left empty, all IP access is denied.
- max
Topic NumberNum - 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 is0. - remark String
- Remark information.
- renew
Flag Number - Whether to auto-renew a prepaid instance.
0: no auto-renewal,1: auto-renewal. Default is0. - Map<String>
- Tag list.
- time
Span Number - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - trocket
Rocketmq StringInstance Id - ID of the resource.
- zone
Ids 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.
- Public
End stringPoint - Public network access address.
- Vpc
End stringPoint - VPC access address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Public
End stringPoint - Public network access address.
- Vpc
End stringPoint - VPC access address.
- id string
- The provider-assigned unique ID for this managed resource.
- public_
end_ stringpoint - Public network access address.
- vpc_
end_ stringpoint - VPC access address.
- id String
- The provider-assigned unique ID for this managed resource.
- public
End StringPoint - Public network access address.
- vpc
End StringPoint - VPC access address.
- id string
- The provider-assigned unique ID for this managed resource.
- public
End stringPoint - Public network access address.
- vpc
End stringPoint - VPC access address.
- id str
- The provider-assigned unique ID for this managed resource.
- public_
end_ strpoint - Public network access address.
- vpc_
end_ strpoint - VPC access address.
- id String
- The provider-assigned unique ID for this managed resource.
- public
End StringPoint - Public network access address.
- vpc
End StringPoint - 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) -> TrocketRocketmqInstancefunc 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.
- Bandwidth double
- 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,
bandwidthmust 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<TrocketRocketmq Instance Ip Rule> - Public network access whitelist. If left empty, all IP access is denied.
- Max
Topic doubleNum - 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 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 '_'.
- Pay
Mode double - Billing mode.
0: pay-as-you-go (postpaid),1: subscription (prepaid). Default is0. - Public
End stringPoint - Public network access address.
- Remark string
- Remark information.
- Renew
Flag double - Whether to auto-renew a prepaid instance.
0: no auto-renewal,1: auto-renewal. Default is0. - Sku
Code string - SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
- Subnet
Id string - Subnet ID that the instance binds to.
- Dictionary<string, string>
- Tag list.
- Time
Span double - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - Trocket
Rocketmq stringInstance Id - ID of the resource.
- Vpc
End stringPoint - VPC access address.
- Vpc
Id string - VPC ID that the instance binds to.
- Zone
Ids 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.
- Enable
Public bool - Whether to enable public network access, default false. When set to true,
bandwidthmust 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 []TrocketRocketmq Instance Ip Rule Args - Public network access whitelist. If left empty, all IP access is denied.
- Max
Topic float64Num - 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 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 '_'.
- Pay
Mode float64 - Billing mode.
0: pay-as-you-go (postpaid),1: subscription (prepaid). Default is0. - Public
End stringPoint - Public network access address.
- Remark string
- Remark information.
- Renew
Flag float64 - Whether to auto-renew a prepaid instance.
0: no auto-renewal,1: auto-renewal. Default is0. - Sku
Code string - SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
- Subnet
Id string - Subnet ID that the instance binds to.
- map[string]string
- Tag list.
- Time
Span float64 - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - Trocket
Rocketmq stringInstance Id - ID of the resource.
- Vpc
End stringPoint - VPC access address.
- Vpc
Id string - VPC ID that the instance binds to.
- Zone
Ids []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,
bandwidthmust 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_ numbernum - 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 is0. - public_
end_ stringpoint - 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 is0. - sku_
code string - SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
- subnet_
id string - Subnet ID that the instance binds to.
- map(string)
- Tag list.
- time_
span number - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - trocket_
rocketmq_ stringinstance_ id - ID of the resource.
- vpc_
end_ stringpoint - 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.
- enable
Public Boolean - Whether to enable public network access, default false. When set to true,
bandwidthmust 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<TrocketRocketmq Instance Ip Rule> - Public network access whitelist. If left empty, all IP access is denied.
- max
Topic DoubleNum - 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 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 '_'.
- pay
Mode Double - Billing mode.
0: pay-as-you-go (postpaid),1: subscription (prepaid). Default is0. - public
End StringPoint - Public network access address.
- remark String
- Remark information.
- renew
Flag Double - Whether to auto-renew a prepaid instance.
0: no auto-renewal,1: auto-renewal. Default is0. - sku
Code String - SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
- subnet
Id String - Subnet ID that the instance binds to.
- Map<String,String>
- Tag list.
- time
Span Double - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - trocket
Rocketmq StringInstance Id - ID of the resource.
- vpc
End StringPoint - VPC access address.
- vpc
Id String - VPC ID that the instance binds to.
- zone
Ids 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.
- enable
Public boolean - Whether to enable public network access, default false. When set to true,
bandwidthmust 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 TrocketRocketmq Instance Ip Rule[] - Public network access whitelist. If left empty, all IP access is denied.
- max
Topic numberNum - 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 is0. - public
End stringPoint - 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 is0. - sku
Code string - SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
- subnet
Id string - Subnet ID that the instance binds to.
- {[key: string]: string}
- Tag list.
- time
Span number - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - trocket
Rocketmq stringInstance Id - ID of the resource.
- vpc
End stringPoint - VPC access address.
- vpc
Id string - VPC ID that the instance binds to.
- zone
Ids 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,
bandwidthmust 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[TrocketRocketmq Instance Ip Rule Args] - Public network access whitelist. If left empty, all IP access is denied.
- max_
topic_ floatnum - 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 is0. - public_
end_ strpoint - 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 is0. - sku_
code str - SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
- subnet_
id str - Subnet ID that the instance binds to.
- 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_ strinstance_ id - ID of the resource.
- vpc_
end_ strpoint - 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.
- enable
Public Boolean - Whether to enable public network access, default false. When set to true,
bandwidthmust 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<Property Map> - Public network access whitelist. If left empty, all IP access is denied.
- max
Topic NumberNum - 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 is0. - public
End StringPoint - 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 is0. - sku
Code String - SKU code, obtained from the ProductSKU output of the DescribeProductSKUs interface.
- subnet
Id String - Subnet ID that the instance binds to.
- Map<String>
- Tag list.
- time
Span Number - Purchase duration of a prepaid instance in months. Value range: 1-60. Default is
1. - trocket
Rocketmq StringInstance Id - ID of the resource.
- vpc
End StringPoint - 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.
Supporting Types
TrocketRocketmqInstanceIpRule, TrocketRocketmqInstanceIpRuleArgs
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
tencentcloudTerraform Provider.
published on Friday, Aug 14, 2026 by tencentcloudstack