1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TdmqRocketmqVipInstance
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.TdmqRocketmqVipInstance

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a tdmq rocketmq_vip_instance

    NOTE: The instance cannot be downgraded, Include parameters node_count, spec, storage_size. NOTE: If spec is rocket-vip-basic-2, configuration changes are not supported.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const zones = tencentcloud.getAvailabilityZones({});
    // create vpc
    const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
    // create subnet
    const subnet = new tencentcloud.Subnet("subnet", {
        availabilityZone: zones.then(zones => zones.zones?.[1]?.name),
        vpcId: vpc.vpcId,
        cidrBlock: "10.0.0.0/16",
        isMulticast: false,
    });
    // create rocketmq vip instance
    const example = new tencentcloud.TdmqRocketmqVipInstance("example", {
        spec: "rocket-vip-basic-2",
        nodeCount: 2,
        storageSize: 200,
        zoneIds: [
            zones.then(zones => zones.zones?.[0]?.id),
            zones.then(zones => zones.zones?.[1]?.id),
        ],
        vpcInfo: {
            vpcId: vpc.vpcId,
            subnetId: subnet.subnetId,
        },
        timeSpan: 1,
        ipRules: [{
            ipRule: "0.0.0.0/0",
            allow: true,
            remark: "remark.",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    zones = tencentcloud.get_availability_zones()
    # create vpc
    vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
    # create subnet
    subnet = tencentcloud.Subnet("subnet",
        availability_zone=zones.zones[1].name,
        vpc_id=vpc.vpc_id,
        cidr_block="10.0.0.0/16",
        is_multicast=False)
    # create rocketmq vip instance
    example = tencentcloud.TdmqRocketmqVipInstance("example",
        spec="rocket-vip-basic-2",
        node_count=2,
        storage_size=200,
        zone_ids=[
            zones.zones[0].id,
            zones.zones[1].id,
        ],
        vpc_info={
            "vpc_id": vpc.vpc_id,
            "subnet_id": subnet.subnet_id,
        },
        time_span=1,
        ip_rules=[{
            "ip_rule": "0.0.0.0/0",
            "allow": True,
            "remark": "remark.",
        }])
    
    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 {
    		zones, err := tencentcloud.GetAvailabilityZones(ctx, &tencentcloud.GetAvailabilityZonesArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		// create vpc
    		vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
    			CidrBlock: pulumi.String("10.0.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		// create subnet
    		subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
    			AvailabilityZone: pulumi.String(zones.Zones[1].Name),
    			VpcId:            vpc.VpcId,
    			CidrBlock:        pulumi.String("10.0.0.0/16"),
    			IsMulticast:      pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		// create rocketmq vip instance
    		_, err = tencentcloud.NewTdmqRocketmqVipInstance(ctx, "example", &tencentcloud.TdmqRocketmqVipInstanceArgs{
    			Spec:        pulumi.String("rocket-vip-basic-2"),
    			NodeCount:   pulumi.Float64(2),
    			StorageSize: pulumi.Float64(200),
    			ZoneIds: pulumi.StringArray{
    				pulumi.String(zones.Zones[0].Id),
    				pulumi.String(zones.Zones[1].Id),
    			},
    			VpcInfo: &tencentcloud.TdmqRocketmqVipInstanceVpcInfoArgs{
    				VpcId:    vpc.VpcId,
    				SubnetId: subnet.SubnetId,
    			},
    			TimeSpan: pulumi.Float64(1),
    			IpRules: tencentcloud.TdmqRocketmqVipInstanceIpRuleArray{
    				&tencentcloud.TdmqRocketmqVipInstanceIpRuleArgs{
    					IpRule: pulumi.String("0.0.0.0/0"),
    					Allow:  pulumi.Bool(true),
    					Remark: pulumi.String("remark."),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var zones = Tencentcloud.GetAvailabilityZones.Invoke();
    
        // create vpc
        var vpc = new Tencentcloud.Vpc("vpc", new()
        {
            CidrBlock = "10.0.0.0/16",
        });
    
        // create subnet
        var subnet = new Tencentcloud.Subnet("subnet", new()
        {
            AvailabilityZone = zones.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Zones[1]?.Name),
            VpcId = vpc.VpcId,
            CidrBlock = "10.0.0.0/16",
            IsMulticast = false,
        });
    
        // create rocketmq vip instance
        var example = new Tencentcloud.TdmqRocketmqVipInstance("example", new()
        {
            Spec = "rocket-vip-basic-2",
            NodeCount = 2,
            StorageSize = 200,
            ZoneIds = new[]
            {
                zones.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Zones[0]?.Id),
                zones.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Zones[1]?.Id),
            },
            VpcInfo = new Tencentcloud.Inputs.TdmqRocketmqVipInstanceVpcInfoArgs
            {
                VpcId = vpc.VpcId,
                SubnetId = subnet.SubnetId,
            },
            TimeSpan = 1,
            IpRules = new[]
            {
                new Tencentcloud.Inputs.TdmqRocketmqVipInstanceIpRuleArgs
                {
                    IpRule = "0.0.0.0/0",
                    Allow = true,
                    Remark = "remark.",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetAvailabilityZonesArgs;
    import com.pulumi.tencentcloud.Vpc;
    import com.pulumi.tencentcloud.VpcArgs;
    import com.pulumi.tencentcloud.Subnet;
    import com.pulumi.tencentcloud.SubnetArgs;
    import com.pulumi.tencentcloud.TdmqRocketmqVipInstance;
    import com.pulumi.tencentcloud.TdmqRocketmqVipInstanceArgs;
    import com.pulumi.tencentcloud.inputs.TdmqRocketmqVipInstanceVpcInfoArgs;
    import com.pulumi.tencentcloud.inputs.TdmqRocketmqVipInstanceIpRuleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var zones = TencentcloudFunctions.getAvailabilityZones();
    
            // create vpc
            var vpc = new Vpc("vpc", VpcArgs.builder()
                .cidrBlock("10.0.0.0/16")
                .build());
    
            // create subnet
            var subnet = new Subnet("subnet", SubnetArgs.builder()
                .availabilityZone(zones.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.zones()[1].name()))
                .vpcId(vpc.vpcId())
                .cidrBlock("10.0.0.0/16")
                .isMulticast(false)
                .build());
    
            // create rocketmq vip instance
            var example = new TdmqRocketmqVipInstance("example", TdmqRocketmqVipInstanceArgs.builder()
                .spec("rocket-vip-basic-2")
                .nodeCount(2)
                .storageSize(200)
                .zoneIds(            
                    zones.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.zones()[0].id()),
                    zones.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.zones()[1].id()))
                .vpcInfo(TdmqRocketmqVipInstanceVpcInfoArgs.builder()
                    .vpcId(vpc.vpcId())
                    .subnetId(subnet.subnetId())
                    .build())
                .timeSpan(1)
                .ipRules(TdmqRocketmqVipInstanceIpRuleArgs.builder()
                    .ipRule("0.0.0.0/0")
                    .allow(true)
                    .remark("remark.")
                    .build())
                .build());
    
        }
    }
    
    resources:
      # create vpc
      vpc:
        type: tencentcloud:Vpc
        properties:
          cidrBlock: 10.0.0.0/16
      # create subnet
      subnet:
        type: tencentcloud:Subnet
        properties:
          availabilityZone: ${zones.zones[1].name}
          vpcId: ${vpc.vpcId}
          cidrBlock: 10.0.0.0/16
          isMulticast: false
      # create rocketmq vip instance
      example:
        type: tencentcloud:TdmqRocketmqVipInstance
        properties:
          spec: rocket-vip-basic-2
          nodeCount: 2
          storageSize: 200
          zoneIds:
            - ${zones.zones[0].id}
            - ${zones.zones[1].id}
          vpcInfo:
            vpcId: ${vpc.vpcId}
            subnetId: ${subnet.subnetId}
          timeSpan: 1
          ipRules:
            - ipRule: 0.0.0.0/0
              allow: true
              remark: remark.
    variables:
      zones:
        fn::invoke:
          function: tencentcloud:getAvailabilityZones
          arguments: {}
    

    Create TdmqRocketmqVipInstance Resource

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

    Constructor syntax

    new TdmqRocketmqVipInstance(name: string, args: TdmqRocketmqVipInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def TdmqRocketmqVipInstance(resource_name: str,
                                args: TdmqRocketmqVipInstanceArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def TdmqRocketmqVipInstance(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                node_count: Optional[float] = None,
                                spec: Optional[str] = None,
                                storage_size: Optional[float] = None,
                                time_span: Optional[float] = None,
                                vpc_info: Optional[TdmqRocketmqVipInstanceVpcInfoArgs] = None,
                                zone_ids: Optional[Sequence[str]] = None,
                                ip_rules: Optional[Sequence[TdmqRocketmqVipInstanceIpRuleArgs]] = None,
                                name: Optional[str] = None,
                                tdmq_rocketmq_vip_instance_id: Optional[str] = None)
    func NewTdmqRocketmqVipInstance(ctx *Context, name string, args TdmqRocketmqVipInstanceArgs, opts ...ResourceOption) (*TdmqRocketmqVipInstance, error)
    public TdmqRocketmqVipInstance(string name, TdmqRocketmqVipInstanceArgs args, CustomResourceOptions? opts = null)
    public TdmqRocketmqVipInstance(String name, TdmqRocketmqVipInstanceArgs args)
    public TdmqRocketmqVipInstance(String name, TdmqRocketmqVipInstanceArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TdmqRocketmqVipInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

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

    NodeCount double
    Number of nodes, minimum 2, maximum 20.
    Spec string
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    StorageSize double
    Single node storage space, in GB, minimum 200GB.
    TimeSpan double
    Purchase period, in months.
    VpcInfo TdmqRocketmqVipInstanceVpcInfo
    VPC information.
    ZoneIds List<string>
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    IpRules List<TdmqRocketmqVipInstanceIpRule>
    Public IP access control rules.
    Name string
    Instance name.
    TdmqRocketmqVipInstanceId string
    ID of the resource.
    NodeCount float64
    Number of nodes, minimum 2, maximum 20.
    Spec string
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    StorageSize float64
    Single node storage space, in GB, minimum 200GB.
    TimeSpan float64
    Purchase period, in months.
    VpcInfo TdmqRocketmqVipInstanceVpcInfoArgs
    VPC information.
    ZoneIds []string
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    IpRules []TdmqRocketmqVipInstanceIpRuleArgs
    Public IP access control rules.
    Name string
    Instance name.
    TdmqRocketmqVipInstanceId string
    ID of the resource.
    nodeCount Double
    Number of nodes, minimum 2, maximum 20.
    spec String
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    storageSize Double
    Single node storage space, in GB, minimum 200GB.
    timeSpan Double
    Purchase period, in months.
    vpcInfo TdmqRocketmqVipInstanceVpcInfo
    VPC information.
    zoneIds List<String>
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    ipRules List<TdmqRocketmqVipInstanceIpRule>
    Public IP access control rules.
    name String
    Instance name.
    tdmqRocketmqVipInstanceId String
    ID of the resource.
    nodeCount number
    Number of nodes, minimum 2, maximum 20.
    spec string
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    storageSize number
    Single node storage space, in GB, minimum 200GB.
    timeSpan number
    Purchase period, in months.
    vpcInfo TdmqRocketmqVipInstanceVpcInfo
    VPC information.
    zoneIds string[]
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    ipRules TdmqRocketmqVipInstanceIpRule[]
    Public IP access control rules.
    name string
    Instance name.
    tdmqRocketmqVipInstanceId string
    ID of the resource.
    node_count float
    Number of nodes, minimum 2, maximum 20.
    spec str
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    storage_size float
    Single node storage space, in GB, minimum 200GB.
    time_span float
    Purchase period, in months.
    vpc_info TdmqRocketmqVipInstanceVpcInfoArgs
    VPC information.
    zone_ids Sequence[str]
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    ip_rules Sequence[TdmqRocketmqVipInstanceIpRuleArgs]
    Public IP access control rules.
    name str
    Instance name.
    tdmq_rocketmq_vip_instance_id str
    ID of the resource.
    nodeCount Number
    Number of nodes, minimum 2, maximum 20.
    spec String
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    storageSize Number
    Single node storage space, in GB, minimum 200GB.
    timeSpan Number
    Purchase period, in months.
    vpcInfo Property Map
    VPC information.
    zoneIds List<String>
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    ipRules List<Property Map>
    Public IP access control rules.
    name String
    Instance name.
    tdmqRocketmqVipInstanceId String
    ID of the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TdmqRocketmqVipInstance Resource

    Get an existing TdmqRocketmqVipInstance 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?: TdmqRocketmqVipInstanceState, opts?: CustomResourceOptions): TdmqRocketmqVipInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ip_rules: Optional[Sequence[TdmqRocketmqVipInstanceIpRuleArgs]] = None,
            name: Optional[str] = None,
            node_count: Optional[float] = None,
            spec: Optional[str] = None,
            storage_size: Optional[float] = None,
            tdmq_rocketmq_vip_instance_id: Optional[str] = None,
            time_span: Optional[float] = None,
            vpc_info: Optional[TdmqRocketmqVipInstanceVpcInfoArgs] = None,
            zone_ids: Optional[Sequence[str]] = None) -> TdmqRocketmqVipInstance
    func GetTdmqRocketmqVipInstance(ctx *Context, name string, id IDInput, state *TdmqRocketmqVipInstanceState, opts ...ResourceOption) (*TdmqRocketmqVipInstance, error)
    public static TdmqRocketmqVipInstance Get(string name, Input<string> id, TdmqRocketmqVipInstanceState? state, CustomResourceOptions? opts = null)
    public static TdmqRocketmqVipInstance get(String name, Output<String> id, TdmqRocketmqVipInstanceState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TdmqRocketmqVipInstance    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    IpRules List<TdmqRocketmqVipInstanceIpRule>
    Public IP access control rules.
    Name string
    Instance name.
    NodeCount double
    Number of nodes, minimum 2, maximum 20.
    Spec string
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    StorageSize double
    Single node storage space, in GB, minimum 200GB.
    TdmqRocketmqVipInstanceId string
    ID of the resource.
    TimeSpan double
    Purchase period, in months.
    VpcInfo TdmqRocketmqVipInstanceVpcInfo
    VPC information.
    ZoneIds List<string>
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    IpRules []TdmqRocketmqVipInstanceIpRuleArgs
    Public IP access control rules.
    Name string
    Instance name.
    NodeCount float64
    Number of nodes, minimum 2, maximum 20.
    Spec string
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    StorageSize float64
    Single node storage space, in GB, minimum 200GB.
    TdmqRocketmqVipInstanceId string
    ID of the resource.
    TimeSpan float64
    Purchase period, in months.
    VpcInfo TdmqRocketmqVipInstanceVpcInfoArgs
    VPC information.
    ZoneIds []string
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    ipRules List<TdmqRocketmqVipInstanceIpRule>
    Public IP access control rules.
    name String
    Instance name.
    nodeCount Double
    Number of nodes, minimum 2, maximum 20.
    spec String
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    storageSize Double
    Single node storage space, in GB, minimum 200GB.
    tdmqRocketmqVipInstanceId String
    ID of the resource.
    timeSpan Double
    Purchase period, in months.
    vpcInfo TdmqRocketmqVipInstanceVpcInfo
    VPC information.
    zoneIds List<String>
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    ipRules TdmqRocketmqVipInstanceIpRule[]
    Public IP access control rules.
    name string
    Instance name.
    nodeCount number
    Number of nodes, minimum 2, maximum 20.
    spec string
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    storageSize number
    Single node storage space, in GB, minimum 200GB.
    tdmqRocketmqVipInstanceId string
    ID of the resource.
    timeSpan number
    Purchase period, in months.
    vpcInfo TdmqRocketmqVipInstanceVpcInfo
    VPC information.
    zoneIds string[]
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    ip_rules Sequence[TdmqRocketmqVipInstanceIpRuleArgs]
    Public IP access control rules.
    name str
    Instance name.
    node_count float
    Number of nodes, minimum 2, maximum 20.
    spec str
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    storage_size float
    Single node storage space, in GB, minimum 200GB.
    tdmq_rocketmq_vip_instance_id str
    ID of the resource.
    time_span float
    Purchase period, in months.
    vpc_info TdmqRocketmqVipInstanceVpcInfoArgs
    VPC information.
    zone_ids Sequence[str]
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.
    ipRules List<Property Map>
    Public IP access control rules.
    name String
    Instance name.
    nodeCount Number
    Number of nodes, minimum 2, maximum 20.
    spec String
    Instance specification: Universal type, rocket-vip-basic-0, Basic type: rocket-vip-basic-1, Standard type: rocket-vip-basic-2, Advanced Type I: rocket-vip-basic-3, Advanced Type II: rocket-vip-basic-4.
    storageSize Number
    Single node storage space, in GB, minimum 200GB.
    tdmqRocketmqVipInstanceId String
    ID of the resource.
    timeSpan Number
    Purchase period, in months.
    vpcInfo Property Map
    VPC information.
    zoneIds List<String>
    The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud.

    Supporting Types

    TdmqRocketmqVipInstanceIpRule, TdmqRocketmqVipInstanceIpRuleArgs

    Allow bool
    Whether to allow or deny.
    IpRule string
    IP address block information.
    Remark string
    Remark.
    Allow bool
    Whether to allow or deny.
    IpRule string
    IP address block information.
    Remark string
    Remark.
    allow Boolean
    Whether to allow or deny.
    ipRule String
    IP address block information.
    remark String
    Remark.
    allow boolean
    Whether to allow or deny.
    ipRule string
    IP address block information.
    remark string
    Remark.
    allow bool
    Whether to allow or deny.
    ip_rule str
    IP address block information.
    remark str
    Remark.
    allow Boolean
    Whether to allow or deny.
    ipRule String
    IP address block information.
    remark String
    Remark.

    TdmqRocketmqVipInstanceVpcInfo, TdmqRocketmqVipInstanceVpcInfoArgs

    SubnetId string
    Subnet ID.
    VpcId string
    VPC ID.
    SubnetId string
    Subnet ID.
    VpcId string
    VPC ID.
    subnetId String
    Subnet ID.
    vpcId String
    VPC ID.
    subnetId string
    Subnet ID.
    vpcId string
    VPC ID.
    subnet_id str
    Subnet ID.
    vpc_id str
    VPC ID.
    subnetId String
    Subnet ID.
    vpcId String
    VPC ID.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack