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

tencentcloud.TdmqRabbitmqVipInstance

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 rabbitmq vip instance

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const zones = tencentcloud.getAvailabilityZones({
        name: "ap-guangzhou-6",
    });
    // create vpc
    const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
    // create vpc subnet
    const subnet = new tencentcloud.Subnet("subnet", {
        vpcId: vpc.vpcId,
        availabilityZone: "ap-guangzhou-6",
        cidrBlock: "10.0.20.0/28",
        isMulticast: false,
    });
    // create rabbitmq instance
    const example = new tencentcloud.TdmqRabbitmqVipInstance("example", {
        zoneIds: [zones.then(zones => zones.zones?.[0]?.id)],
        vpcId: vpc.vpcId,
        subnetId: subnet.subnetId,
        clusterName: "tf-example-rabbitmq-vip-instance",
        nodeSpec: "rabbit-vip-basic-1",
        nodeNum: 1,
        storageSize: 200,
        enableCreateDefaultHaMirrorQueue: false,
        autoRenewFlag: true,
        timeSpan: 1,
    });
    // create postpaid rabbitmq instance
    const example2 = new tencentcloud.TdmqRabbitmqVipInstance("example2", {
        zoneIds: [zones.then(zones => zones.zones?.[0]?.id)],
        vpcId: vpc.vpcId,
        subnetId: subnet.subnetId,
        clusterName: "tf-example-rabbitmq-vip-instance",
        nodeSpec: "rabbit-vip-basic-1",
        nodeNum: 1,
        storageSize: 200,
        enableCreateDefaultHaMirrorQueue: false,
        autoRenewFlag: true,
        timeSpan: 1,
        payMode: 0,
        clusterVersion: "3.11.8",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    zones = tencentcloud.get_availability_zones(name="ap-guangzhou-6")
    # create vpc
    vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
    # create vpc subnet
    subnet = tencentcloud.Subnet("subnet",
        vpc_id=vpc.vpc_id,
        availability_zone="ap-guangzhou-6",
        cidr_block="10.0.20.0/28",
        is_multicast=False)
    # create rabbitmq instance
    example = tencentcloud.TdmqRabbitmqVipInstance("example",
        zone_ids=[zones.zones[0].id],
        vpc_id=vpc.vpc_id,
        subnet_id=subnet.subnet_id,
        cluster_name="tf-example-rabbitmq-vip-instance",
        node_spec="rabbit-vip-basic-1",
        node_num=1,
        storage_size=200,
        enable_create_default_ha_mirror_queue=False,
        auto_renew_flag=True,
        time_span=1)
    # create postpaid rabbitmq instance
    example2 = tencentcloud.TdmqRabbitmqVipInstance("example2",
        zone_ids=[zones.zones[0].id],
        vpc_id=vpc.vpc_id,
        subnet_id=subnet.subnet_id,
        cluster_name="tf-example-rabbitmq-vip-instance",
        node_spec="rabbit-vip-basic-1",
        node_num=1,
        storage_size=200,
        enable_create_default_ha_mirror_queue=False,
        auto_renew_flag=True,
        time_span=1,
        pay_mode=0,
        cluster_version="3.11.8")
    
    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{
    			Name: pulumi.StringRef("ap-guangzhou-6"),
    		}, 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 vpc subnet
    		subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
    			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 rabbitmq instance
    		_, err = tencentcloud.NewTdmqRabbitmqVipInstance(ctx, "example", &tencentcloud.TdmqRabbitmqVipInstanceArgs{
    			ZoneIds: pulumi.Float64Array{
    				pulumi.String(zones.Zones[0].Id),
    			},
    			VpcId:                            vpc.VpcId,
    			SubnetId:                         subnet.SubnetId,
    			ClusterName:                      pulumi.String("tf-example-rabbitmq-vip-instance"),
    			NodeSpec:                         pulumi.String("rabbit-vip-basic-1"),
    			NodeNum:                          pulumi.Float64(1),
    			StorageSize:                      pulumi.Float64(200),
    			EnableCreateDefaultHaMirrorQueue: pulumi.Bool(false),
    			AutoRenewFlag:                    pulumi.Bool(true),
    			TimeSpan:                         pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		// create postpaid rabbitmq instance
    		_, err = tencentcloud.NewTdmqRabbitmqVipInstance(ctx, "example2", &tencentcloud.TdmqRabbitmqVipInstanceArgs{
    			ZoneIds: pulumi.Float64Array{
    				pulumi.String(zones.Zones[0].Id),
    			},
    			VpcId:                            vpc.VpcId,
    			SubnetId:                         subnet.SubnetId,
    			ClusterName:                      pulumi.String("tf-example-rabbitmq-vip-instance"),
    			NodeSpec:                         pulumi.String("rabbit-vip-basic-1"),
    			NodeNum:                          pulumi.Float64(1),
    			StorageSize:                      pulumi.Float64(200),
    			EnableCreateDefaultHaMirrorQueue: pulumi.Bool(false),
    			AutoRenewFlag:                    pulumi.Bool(true),
    			TimeSpan:                         pulumi.Float64(1),
    			PayMode:                          pulumi.Float64(0),
    			ClusterVersion:                   pulumi.String("3.11.8"),
    		})
    		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(new()
        {
            Name = "ap-guangzhou-6",
        });
    
        // create vpc
        var vpc = new Tencentcloud.Vpc("vpc", new()
        {
            CidrBlock = "10.0.0.0/16",
        });
    
        // create vpc subnet
        var subnet = new Tencentcloud.Subnet("subnet", new()
        {
            VpcId = vpc.VpcId,
            AvailabilityZone = "ap-guangzhou-6",
            CidrBlock = "10.0.20.0/28",
            IsMulticast = false,
        });
    
        // create rabbitmq instance
        var example = new Tencentcloud.TdmqRabbitmqVipInstance("example", new()
        {
            ZoneIds = new[]
            {
                zones.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Zones[0]?.Id),
            },
            VpcId = vpc.VpcId,
            SubnetId = subnet.SubnetId,
            ClusterName = "tf-example-rabbitmq-vip-instance",
            NodeSpec = "rabbit-vip-basic-1",
            NodeNum = 1,
            StorageSize = 200,
            EnableCreateDefaultHaMirrorQueue = false,
            AutoRenewFlag = true,
            TimeSpan = 1,
        });
    
        // create postpaid rabbitmq instance
        var example2 = new Tencentcloud.TdmqRabbitmqVipInstance("example2", new()
        {
            ZoneIds = new[]
            {
                zones.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Zones[0]?.Id),
            },
            VpcId = vpc.VpcId,
            SubnetId = subnet.SubnetId,
            ClusterName = "tf-example-rabbitmq-vip-instance",
            NodeSpec = "rabbit-vip-basic-1",
            NodeNum = 1,
            StorageSize = 200,
            EnableCreateDefaultHaMirrorQueue = false,
            AutoRenewFlag = true,
            TimeSpan = 1,
            PayMode = 0,
            ClusterVersion = "3.11.8",
        });
    
    });
    
    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.TdmqRabbitmqVipInstance;
    import com.pulumi.tencentcloud.TdmqRabbitmqVipInstanceArgs;
    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(GetAvailabilityZonesArgs.builder()
                .name("ap-guangzhou-6")
                .build());
    
            // create vpc
            var vpc = new Vpc("vpc", VpcArgs.builder()
                .cidrBlock("10.0.0.0/16")
                .build());
    
            // create vpc subnet
            var subnet = new Subnet("subnet", SubnetArgs.builder()
                .vpcId(vpc.vpcId())
                .availabilityZone("ap-guangzhou-6")
                .cidrBlock("10.0.20.0/28")
                .isMulticast(false)
                .build());
    
            // create rabbitmq instance
            var example = new TdmqRabbitmqVipInstance("example", TdmqRabbitmqVipInstanceArgs.builder()
                .zoneIds(zones.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.zones()[0].id()))
                .vpcId(vpc.vpcId())
                .subnetId(subnet.subnetId())
                .clusterName("tf-example-rabbitmq-vip-instance")
                .nodeSpec("rabbit-vip-basic-1")
                .nodeNum(1)
                .storageSize(200)
                .enableCreateDefaultHaMirrorQueue(false)
                .autoRenewFlag(true)
                .timeSpan(1)
                .build());
    
            // create postpaid rabbitmq instance
            var example2 = new TdmqRabbitmqVipInstance("example2", TdmqRabbitmqVipInstanceArgs.builder()
                .zoneIds(zones.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.zones()[0].id()))
                .vpcId(vpc.vpcId())
                .subnetId(subnet.subnetId())
                .clusterName("tf-example-rabbitmq-vip-instance")
                .nodeSpec("rabbit-vip-basic-1")
                .nodeNum(1)
                .storageSize(200)
                .enableCreateDefaultHaMirrorQueue(false)
                .autoRenewFlag(true)
                .timeSpan(1)
                .payMode(0)
                .clusterVersion("3.11.8")
                .build());
    
        }
    }
    
    resources:
      # create vpc
      vpc:
        type: tencentcloud:Vpc
        properties:
          cidrBlock: 10.0.0.0/16
      # create vpc subnet
      subnet:
        type: tencentcloud:Subnet
        properties:
          vpcId: ${vpc.vpcId}
          availabilityZone: ap-guangzhou-6
          cidrBlock: 10.0.20.0/28
          isMulticast: false
      # create rabbitmq instance
      example:
        type: tencentcloud:TdmqRabbitmqVipInstance
        properties:
          zoneIds:
            - ${zones.zones[0].id}
          vpcId: ${vpc.vpcId}
          subnetId: ${subnet.subnetId}
          clusterName: tf-example-rabbitmq-vip-instance
          nodeSpec: rabbit-vip-basic-1
          nodeNum: 1
          storageSize: 200
          enableCreateDefaultHaMirrorQueue: false
          autoRenewFlag: true
          timeSpan: 1
      # create postpaid rabbitmq instance
      example2:
        type: tencentcloud:TdmqRabbitmqVipInstance
        properties:
          zoneIds:
            - ${zones.zones[0].id}
          vpcId: ${vpc.vpcId}
          subnetId: ${subnet.subnetId}
          clusterName: tf-example-rabbitmq-vip-instance
          nodeSpec: rabbit-vip-basic-1
          nodeNum: 1
          storageSize: 200
          enableCreateDefaultHaMirrorQueue: false
          autoRenewFlag: true
          timeSpan: 1
          payMode: 0
          clusterVersion: 3.11.8
    variables:
      zones:
        fn::invoke:
          function: tencentcloud:getAvailabilityZones
          arguments:
            name: ap-guangzhou-6
    

    Create TdmqRabbitmqVipInstance Resource

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

    Constructor syntax

    new TdmqRabbitmqVipInstance(name: string, args: TdmqRabbitmqVipInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def TdmqRabbitmqVipInstance(resource_name: str,
                                args: TdmqRabbitmqVipInstanceArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def TdmqRabbitmqVipInstance(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                subnet_id: Optional[str] = None,
                                cluster_name: Optional[str] = None,
                                zone_ids: Optional[Sequence[float]] = None,
                                vpc_id: Optional[str] = None,
                                pay_mode: Optional[float] = None,
                                node_spec: Optional[str] = None,
                                auto_renew_flag: Optional[bool] = None,
                                storage_size: Optional[float] = None,
                                node_num: Optional[float] = None,
                                tdmq_rabbitmq_vip_instance_id: Optional[str] = None,
                                time_span: Optional[float] = None,
                                enable_create_default_ha_mirror_queue: Optional[bool] = None,
                                cluster_version: Optional[str] = None)
    func NewTdmqRabbitmqVipInstance(ctx *Context, name string, args TdmqRabbitmqVipInstanceArgs, opts ...ResourceOption) (*TdmqRabbitmqVipInstance, error)
    public TdmqRabbitmqVipInstance(string name, TdmqRabbitmqVipInstanceArgs args, CustomResourceOptions? opts = null)
    public TdmqRabbitmqVipInstance(String name, TdmqRabbitmqVipInstanceArgs args)
    public TdmqRabbitmqVipInstance(String name, TdmqRabbitmqVipInstanceArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TdmqRabbitmqVipInstance
    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 TdmqRabbitmqVipInstanceArgs
    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 TdmqRabbitmqVipInstanceArgs
    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 TdmqRabbitmqVipInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TdmqRabbitmqVipInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TdmqRabbitmqVipInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ClusterName string
    cluster name.
    SubnetId string
    Private network SubnetId.
    VpcId string
    Private network VpcId.
    ZoneIds List<double>
    availability zone.
    AutoRenewFlag bool
    Automatic renewal, the default is true.
    ClusterVersion string
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    EnableCreateDefaultHaMirrorQueue bool
    Mirrored queue, the default is false.
    NodeNum double
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    NodeSpec string
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    PayMode double
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    StorageSize double
    Single node storage specification, the default is 200G.
    TdmqRabbitmqVipInstanceId string
    ID of the resource.
    TimeSpan double
    Purchase duration, the default is 1 (month).
    ClusterName string
    cluster name.
    SubnetId string
    Private network SubnetId.
    VpcId string
    Private network VpcId.
    ZoneIds []float64
    availability zone.
    AutoRenewFlag bool
    Automatic renewal, the default is true.
    ClusterVersion string
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    EnableCreateDefaultHaMirrorQueue bool
    Mirrored queue, the default is false.
    NodeNum float64
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    NodeSpec string
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    PayMode float64
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    StorageSize float64
    Single node storage specification, the default is 200G.
    TdmqRabbitmqVipInstanceId string
    ID of the resource.
    TimeSpan float64
    Purchase duration, the default is 1 (month).
    clusterName String
    cluster name.
    subnetId String
    Private network SubnetId.
    vpcId String
    Private network VpcId.
    zoneIds List<Double>
    availability zone.
    autoRenewFlag Boolean
    Automatic renewal, the default is true.
    clusterVersion String
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    enableCreateDefaultHaMirrorQueue Boolean
    Mirrored queue, the default is false.
    nodeNum Double
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    nodeSpec String
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    payMode Double
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    storageSize Double
    Single node storage specification, the default is 200G.
    tdmqRabbitmqVipInstanceId String
    ID of the resource.
    timeSpan Double
    Purchase duration, the default is 1 (month).
    clusterName string
    cluster name.
    subnetId string
    Private network SubnetId.
    vpcId string
    Private network VpcId.
    zoneIds number[]
    availability zone.
    autoRenewFlag boolean
    Automatic renewal, the default is true.
    clusterVersion string
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    enableCreateDefaultHaMirrorQueue boolean
    Mirrored queue, the default is false.
    nodeNum number
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    nodeSpec string
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    payMode number
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    storageSize number
    Single node storage specification, the default is 200G.
    tdmqRabbitmqVipInstanceId string
    ID of the resource.
    timeSpan number
    Purchase duration, the default is 1 (month).
    cluster_name str
    cluster name.
    subnet_id str
    Private network SubnetId.
    vpc_id str
    Private network VpcId.
    zone_ids Sequence[float]
    availability zone.
    auto_renew_flag bool
    Automatic renewal, the default is true.
    cluster_version str
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    enable_create_default_ha_mirror_queue bool
    Mirrored queue, the default is false.
    node_num float
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    node_spec str
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    pay_mode float
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    storage_size float
    Single node storage specification, the default is 200G.
    tdmq_rabbitmq_vip_instance_id str
    ID of the resource.
    time_span float
    Purchase duration, the default is 1 (month).
    clusterName String
    cluster name.
    subnetId String
    Private network SubnetId.
    vpcId String
    Private network VpcId.
    zoneIds List<Number>
    availability zone.
    autoRenewFlag Boolean
    Automatic renewal, the default is true.
    clusterVersion String
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    enableCreateDefaultHaMirrorQueue Boolean
    Mirrored queue, the default is false.
    nodeNum Number
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    nodeSpec String
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    payMode Number
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    storageSize Number
    Single node storage specification, the default is 200G.
    tdmqRabbitmqVipInstanceId String
    ID of the resource.
    timeSpan Number
    Purchase duration, the default is 1 (month).

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    PublicAccessEndpoint string
    Public Network Access Point.
    Vpcs List<TdmqRabbitmqVipInstanceVpc>
    List of VPC Access Points.
    Id string
    The provider-assigned unique ID for this managed resource.
    PublicAccessEndpoint string
    Public Network Access Point.
    Vpcs []TdmqRabbitmqVipInstanceVpc
    List of VPC Access Points.
    id String
    The provider-assigned unique ID for this managed resource.
    publicAccessEndpoint String
    Public Network Access Point.
    vpcs List<TdmqRabbitmqVipInstanceVpc>
    List of VPC Access Points.
    id string
    The provider-assigned unique ID for this managed resource.
    publicAccessEndpoint string
    Public Network Access Point.
    vpcs TdmqRabbitmqVipInstanceVpc[]
    List of VPC Access Points.
    id str
    The provider-assigned unique ID for this managed resource.
    public_access_endpoint str
    Public Network Access Point.
    vpcs Sequence[TdmqRabbitmqVipInstanceVpc]
    List of VPC Access Points.
    id String
    The provider-assigned unique ID for this managed resource.
    publicAccessEndpoint String
    Public Network Access Point.
    vpcs List<Property Map>
    List of VPC Access Points.

    Look up Existing TdmqRabbitmqVipInstance Resource

    Get an existing TdmqRabbitmqVipInstance 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?: TdmqRabbitmqVipInstanceState, opts?: CustomResourceOptions): TdmqRabbitmqVipInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_renew_flag: Optional[bool] = None,
            cluster_name: Optional[str] = None,
            cluster_version: Optional[str] = None,
            enable_create_default_ha_mirror_queue: Optional[bool] = None,
            node_num: Optional[float] = None,
            node_spec: Optional[str] = None,
            pay_mode: Optional[float] = None,
            public_access_endpoint: Optional[str] = None,
            storage_size: Optional[float] = None,
            subnet_id: Optional[str] = None,
            tdmq_rabbitmq_vip_instance_id: Optional[str] = None,
            time_span: Optional[float] = None,
            vpc_id: Optional[str] = None,
            vpcs: Optional[Sequence[TdmqRabbitmqVipInstanceVpcArgs]] = None,
            zone_ids: Optional[Sequence[float]] = None) -> TdmqRabbitmqVipInstance
    func GetTdmqRabbitmqVipInstance(ctx *Context, name string, id IDInput, state *TdmqRabbitmqVipInstanceState, opts ...ResourceOption) (*TdmqRabbitmqVipInstance, error)
    public static TdmqRabbitmqVipInstance Get(string name, Input<string> id, TdmqRabbitmqVipInstanceState? state, CustomResourceOptions? opts = null)
    public static TdmqRabbitmqVipInstance get(String name, Output<String> id, TdmqRabbitmqVipInstanceState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TdmqRabbitmqVipInstance    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:
    AutoRenewFlag bool
    Automatic renewal, the default is true.
    ClusterName string
    cluster name.
    ClusterVersion string
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    EnableCreateDefaultHaMirrorQueue bool
    Mirrored queue, the default is false.
    NodeNum double
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    NodeSpec string
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    PayMode double
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    PublicAccessEndpoint string
    Public Network Access Point.
    StorageSize double
    Single node storage specification, the default is 200G.
    SubnetId string
    Private network SubnetId.
    TdmqRabbitmqVipInstanceId string
    ID of the resource.
    TimeSpan double
    Purchase duration, the default is 1 (month).
    VpcId string
    Private network VpcId.
    Vpcs List<TdmqRabbitmqVipInstanceVpc>
    List of VPC Access Points.
    ZoneIds List<double>
    availability zone.
    AutoRenewFlag bool
    Automatic renewal, the default is true.
    ClusterName string
    cluster name.
    ClusterVersion string
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    EnableCreateDefaultHaMirrorQueue bool
    Mirrored queue, the default is false.
    NodeNum float64
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    NodeSpec string
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    PayMode float64
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    PublicAccessEndpoint string
    Public Network Access Point.
    StorageSize float64
    Single node storage specification, the default is 200G.
    SubnetId string
    Private network SubnetId.
    TdmqRabbitmqVipInstanceId string
    ID of the resource.
    TimeSpan float64
    Purchase duration, the default is 1 (month).
    VpcId string
    Private network VpcId.
    Vpcs []TdmqRabbitmqVipInstanceVpcArgs
    List of VPC Access Points.
    ZoneIds []float64
    availability zone.
    autoRenewFlag Boolean
    Automatic renewal, the default is true.
    clusterName String
    cluster name.
    clusterVersion String
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    enableCreateDefaultHaMirrorQueue Boolean
    Mirrored queue, the default is false.
    nodeNum Double
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    nodeSpec String
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    payMode Double
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    publicAccessEndpoint String
    Public Network Access Point.
    storageSize Double
    Single node storage specification, the default is 200G.
    subnetId String
    Private network SubnetId.
    tdmqRabbitmqVipInstanceId String
    ID of the resource.
    timeSpan Double
    Purchase duration, the default is 1 (month).
    vpcId String
    Private network VpcId.
    vpcs List<TdmqRabbitmqVipInstanceVpc>
    List of VPC Access Points.
    zoneIds List<Double>
    availability zone.
    autoRenewFlag boolean
    Automatic renewal, the default is true.
    clusterName string
    cluster name.
    clusterVersion string
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    enableCreateDefaultHaMirrorQueue boolean
    Mirrored queue, the default is false.
    nodeNum number
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    nodeSpec string
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    payMode number
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    publicAccessEndpoint string
    Public Network Access Point.
    storageSize number
    Single node storage specification, the default is 200G.
    subnetId string
    Private network SubnetId.
    tdmqRabbitmqVipInstanceId string
    ID of the resource.
    timeSpan number
    Purchase duration, the default is 1 (month).
    vpcId string
    Private network VpcId.
    vpcs TdmqRabbitmqVipInstanceVpc[]
    List of VPC Access Points.
    zoneIds number[]
    availability zone.
    auto_renew_flag bool
    Automatic renewal, the default is true.
    cluster_name str
    cluster name.
    cluster_version str
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    enable_create_default_ha_mirror_queue bool
    Mirrored queue, the default is false.
    node_num float
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    node_spec str
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    pay_mode float
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    public_access_endpoint str
    Public Network Access Point.
    storage_size float
    Single node storage specification, the default is 200G.
    subnet_id str
    Private network SubnetId.
    tdmq_rabbitmq_vip_instance_id str
    ID of the resource.
    time_span float
    Purchase duration, the default is 1 (month).
    vpc_id str
    Private network VpcId.
    vpcs Sequence[TdmqRabbitmqVipInstanceVpcArgs]
    List of VPC Access Points.
    zone_ids Sequence[float]
    availability zone.
    autoRenewFlag Boolean
    Automatic renewal, the default is true.
    clusterName String
    cluster name.
    clusterVersion String
    Cluster version, the default is 3.8.30, valid values: 3.8.30 and 3.11.8.
    enableCreateDefaultHaMirrorQueue Boolean
    Mirrored queue, the default is false.
    nodeNum Number
    The number of nodes, a minimum of 3 nodes for a multi-availability zone. If not passed, the default single availability zone is 1, and the multi-availability zone is 3.
    nodeSpec String
    Node specifications. Valid values: rabbit-vip-basic-5 (for 2C4G), rabbit-vip-profession-2c8g (for 2C8G), rabbit-vip-basic-1 (for 4C8G), rabbit-vip-profession-4c16g (for 4C16G), rabbit-vip-basic-2 (for 8C16G), rabbit-vip-profession-8c32g (for 8C32G), rabbit-vip-basic-4 (for 16C32G), rabbit-vip-profession-16c64g (for 16C64G). The default is rabbit-vip-basic-1. NOTE: The above specifications may be sold out or removed from the shelves.
    payMode Number
    Payment method: 0 indicates postpaid; 1 indicates prepaid. Default: prepaid.
    publicAccessEndpoint String
    Public Network Access Point.
    storageSize Number
    Single node storage specification, the default is 200G.
    subnetId String
    Private network SubnetId.
    tdmqRabbitmqVipInstanceId String
    ID of the resource.
    timeSpan Number
    Purchase duration, the default is 1 (month).
    vpcId String
    Private network VpcId.
    vpcs List<Property Map>
    List of VPC Access Points.
    zoneIds List<Number>
    availability zone.

    Supporting Types

    TdmqRabbitmqVipInstanceVpc, TdmqRabbitmqVipInstanceVpcArgs

    SubnetId string
    Private network SubnetId.
    VpcDataStreamEndpointStatus string
    Status Of Vpc Endpoint.
    VpcEndpoint string
    VPC Endpoint.
    VpcId string
    Private network VpcId.
    SubnetId string
    Private network SubnetId.
    VpcDataStreamEndpointStatus string
    Status Of Vpc Endpoint.
    VpcEndpoint string
    VPC Endpoint.
    VpcId string
    Private network VpcId.
    subnetId String
    Private network SubnetId.
    vpcDataStreamEndpointStatus String
    Status Of Vpc Endpoint.
    vpcEndpoint String
    VPC Endpoint.
    vpcId String
    Private network VpcId.
    subnetId string
    Private network SubnetId.
    vpcDataStreamEndpointStatus string
    Status Of Vpc Endpoint.
    vpcEndpoint string
    VPC Endpoint.
    vpcId string
    Private network VpcId.
    subnet_id str
    Private network SubnetId.
    vpc_data_stream_endpoint_status str
    Status Of Vpc Endpoint.
    vpc_endpoint str
    VPC Endpoint.
    vpc_id str
    Private network VpcId.
    subnetId String
    Private network SubnetId.
    vpcDataStreamEndpointStatus String
    Status Of Vpc Endpoint.
    vpcEndpoint String
    VPC Endpoint.
    vpcId String
    Private network VpcId.

    Import

    TDMQ rabbitmq vip instance can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/tdmqRabbitmqVipInstance:TdmqRabbitmqVipInstance example amqp-mok52gmn
    

    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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack