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

tencentcloud.TdmqProfessionalCluster

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 professional_cluster

    Example Usage

    single-zone Professional Cluster

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const professionalCluster = new tencentcloud.TdmqProfessionalCluster("professionalCluster", {
        autoRenewFlag: 1,
        clusterName: "single_zone_cluster",
        productName: "PULSAR.P1.MINI2",
        storageSize: 600,
        tags: {
            createby: "terrafrom",
        },
        vpc: {
            subnetId: "subnet-xxxx",
            vpcId: "vpc-xxxx",
        },
        zoneIds: [100004],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    professional_cluster = tencentcloud.TdmqProfessionalCluster("professionalCluster",
        auto_renew_flag=1,
        cluster_name="single_zone_cluster",
        product_name="PULSAR.P1.MINI2",
        storage_size=600,
        tags={
            "createby": "terrafrom",
        },
        vpc={
            "subnet_id": "subnet-xxxx",
            "vpc_id": "vpc-xxxx",
        },
        zone_ids=[100004])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewTdmqProfessionalCluster(ctx, "professionalCluster", &tencentcloud.TdmqProfessionalClusterArgs{
    			AutoRenewFlag: pulumi.Float64(1),
    			ClusterName:   pulumi.String("single_zone_cluster"),
    			ProductName:   pulumi.String("PULSAR.P1.MINI2"),
    			StorageSize:   pulumi.Float64(600),
    			Tags: pulumi.StringMap{
    				"createby": pulumi.String("terrafrom"),
    			},
    			Vpc: &tencentcloud.TdmqProfessionalClusterVpcArgs{
    				SubnetId: pulumi.String("subnet-xxxx"),
    				VpcId:    pulumi.String("vpc-xxxx"),
    			},
    			ZoneIds: pulumi.Float64Array{
    				pulumi.Float64(100004),
    			},
    		})
    		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 professionalCluster = new Tencentcloud.TdmqProfessionalCluster("professionalCluster", new()
        {
            AutoRenewFlag = 1,
            ClusterName = "single_zone_cluster",
            ProductName = "PULSAR.P1.MINI2",
            StorageSize = 600,
            Tags = 
            {
                { "createby", "terrafrom" },
            },
            Vpc = new Tencentcloud.Inputs.TdmqProfessionalClusterVpcArgs
            {
                SubnetId = "subnet-xxxx",
                VpcId = "vpc-xxxx",
            },
            ZoneIds = new[]
            {
                100004,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TdmqProfessionalCluster;
    import com.pulumi.tencentcloud.TdmqProfessionalClusterArgs;
    import com.pulumi.tencentcloud.inputs.TdmqProfessionalClusterVpcArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var professionalCluster = new TdmqProfessionalCluster("professionalCluster", TdmqProfessionalClusterArgs.builder()
                .autoRenewFlag(1)
                .clusterName("single_zone_cluster")
                .productName("PULSAR.P1.MINI2")
                .storageSize(600)
                .tags(Map.of("createby", "terrafrom"))
                .vpc(TdmqProfessionalClusterVpcArgs.builder()
                    .subnetId("subnet-xxxx")
                    .vpcId("vpc-xxxx")
                    .build())
                .zoneIds(100004)
                .build());
    
        }
    }
    
    resources:
      professionalCluster:
        type: tencentcloud:TdmqProfessionalCluster
        properties:
          autoRenewFlag: 1
          clusterName: single_zone_cluster
          productName: PULSAR.P1.MINI2
          storageSize: 600
          tags:
            createby: terrafrom
          vpc:
            subnetId: subnet-xxxx
            vpcId: vpc-xxxx
          zoneIds:
            - 100004
    

    Multi-zone Professional Cluster

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const professionalCluster = new tencentcloud.TdmqProfessionalCluster("professionalCluster", {
        autoRenewFlag: 1,
        clusterName: "multi_zone_cluster",
        productName: "PULSAR.P1.MINI2",
        storageSize: 200,
        tags: {
            key: "value1",
            key2: "value2",
        },
        vpc: {
            subnetId: "subnet-xxxx",
            vpcId: "vpc-xxxx",
        },
        zoneIds: [
            330001,
            330002,
            330003,
        ],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    professional_cluster = tencentcloud.TdmqProfessionalCluster("professionalCluster",
        auto_renew_flag=1,
        cluster_name="multi_zone_cluster",
        product_name="PULSAR.P1.MINI2",
        storage_size=200,
        tags={
            "key": "value1",
            "key2": "value2",
        },
        vpc={
            "subnet_id": "subnet-xxxx",
            "vpc_id": "vpc-xxxx",
        },
        zone_ids=[
            330001,
            330002,
            330003,
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewTdmqProfessionalCluster(ctx, "professionalCluster", &tencentcloud.TdmqProfessionalClusterArgs{
    			AutoRenewFlag: pulumi.Float64(1),
    			ClusterName:   pulumi.String("multi_zone_cluster"),
    			ProductName:   pulumi.String("PULSAR.P1.MINI2"),
    			StorageSize:   pulumi.Float64(200),
    			Tags: pulumi.StringMap{
    				"key":  pulumi.String("value1"),
    				"key2": pulumi.String("value2"),
    			},
    			Vpc: &tencentcloud.TdmqProfessionalClusterVpcArgs{
    				SubnetId: pulumi.String("subnet-xxxx"),
    				VpcId:    pulumi.String("vpc-xxxx"),
    			},
    			ZoneIds: pulumi.Float64Array{
    				pulumi.Float64(330001),
    				pulumi.Float64(330002),
    				pulumi.Float64(330003),
    			},
    		})
    		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 professionalCluster = new Tencentcloud.TdmqProfessionalCluster("professionalCluster", new()
        {
            AutoRenewFlag = 1,
            ClusterName = "multi_zone_cluster",
            ProductName = "PULSAR.P1.MINI2",
            StorageSize = 200,
            Tags = 
            {
                { "key", "value1" },
                { "key2", "value2" },
            },
            Vpc = new Tencentcloud.Inputs.TdmqProfessionalClusterVpcArgs
            {
                SubnetId = "subnet-xxxx",
                VpcId = "vpc-xxxx",
            },
            ZoneIds = new[]
            {
                330001,
                330002,
                330003,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TdmqProfessionalCluster;
    import com.pulumi.tencentcloud.TdmqProfessionalClusterArgs;
    import com.pulumi.tencentcloud.inputs.TdmqProfessionalClusterVpcArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var professionalCluster = new TdmqProfessionalCluster("professionalCluster", TdmqProfessionalClusterArgs.builder()
                .autoRenewFlag(1)
                .clusterName("multi_zone_cluster")
                .productName("PULSAR.P1.MINI2")
                .storageSize(200)
                .tags(Map.ofEntries(
                    Map.entry("key", "value1"),
                    Map.entry("key2", "value2")
                ))
                .vpc(TdmqProfessionalClusterVpcArgs.builder()
                    .subnetId("subnet-xxxx")
                    .vpcId("vpc-xxxx")
                    .build())
                .zoneIds(            
                    330001,
                    330002,
                    330003)
                .build());
    
        }
    }
    
    resources:
      professionalCluster:
        type: tencentcloud:TdmqProfessionalCluster
        properties:
          autoRenewFlag: 1
          clusterName: multi_zone_cluster
          productName: PULSAR.P1.MINI2
          storageSize: 200
          tags:
            key: value1
            key2: value2
          vpc:
            subnetId: subnet-xxxx
            vpcId: vpc-xxxx
          zoneIds:
            - 330001
            - 330002
            - 330003
    

    Create TdmqProfessionalCluster Resource

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

    Constructor syntax

    new TdmqProfessionalCluster(name: string, args: TdmqProfessionalClusterArgs, opts?: CustomResourceOptions);
    @overload
    def TdmqProfessionalCluster(resource_name: str,
                                args: TdmqProfessionalClusterArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def TdmqProfessionalCluster(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                auto_renew_flag: Optional[float] = None,
                                cluster_name: Optional[str] = None,
                                product_name: Optional[str] = None,
                                storage_size: Optional[float] = None,
                                zone_ids: Optional[Sequence[float]] = None,
                                auto_voucher: Optional[float] = None,
                                tags: Optional[Mapping[str, str]] = None,
                                tdmq_professional_cluster_id: Optional[str] = None,
                                time_span: Optional[float] = None,
                                vpc: Optional[TdmqProfessionalClusterVpcArgs] = None)
    func NewTdmqProfessionalCluster(ctx *Context, name string, args TdmqProfessionalClusterArgs, opts ...ResourceOption) (*TdmqProfessionalCluster, error)
    public TdmqProfessionalCluster(string name, TdmqProfessionalClusterArgs args, CustomResourceOptions? opts = null)
    public TdmqProfessionalCluster(String name, TdmqProfessionalClusterArgs args)
    public TdmqProfessionalCluster(String name, TdmqProfessionalClusterArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TdmqProfessionalCluster
    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 TdmqProfessionalClusterArgs
    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 TdmqProfessionalClusterArgs
    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 TdmqProfessionalClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TdmqProfessionalClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TdmqProfessionalClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    AutoRenewFlag double
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    ClusterName string
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    ProductName string
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    StorageSize double
    Storage specifications. ReferenceProfessional Cluster Specifications.
    ZoneIds List<double>
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    AutoVoucher double
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    Tags Dictionary<string, string>
    Tag description list.
    TdmqProfessionalClusterId string
    ID of the resource.
    TimeSpan double
    Purchase duration, value range: 1~50. Default: 1.
    Vpc TdmqProfessionalClusterVpc
    Label of VPC network.
    AutoRenewFlag float64
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    ClusterName string
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    ProductName string
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    StorageSize float64
    Storage specifications. ReferenceProfessional Cluster Specifications.
    ZoneIds []float64
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    AutoVoucher float64
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    Tags map[string]string
    Tag description list.
    TdmqProfessionalClusterId string
    ID of the resource.
    TimeSpan float64
    Purchase duration, value range: 1~50. Default: 1.
    Vpc TdmqProfessionalClusterVpcArgs
    Label of VPC network.
    autoRenewFlag Double
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    clusterName String
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    productName String
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    storageSize Double
    Storage specifications. ReferenceProfessional Cluster Specifications.
    zoneIds List<Double>
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    autoVoucher Double
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    tags Map<String,String>
    Tag description list.
    tdmqProfessionalClusterId String
    ID of the resource.
    timeSpan Double
    Purchase duration, value range: 1~50. Default: 1.
    vpc TdmqProfessionalClusterVpc
    Label of VPC network.
    autoRenewFlag number
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    clusterName string
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    productName string
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    storageSize number
    Storage specifications. ReferenceProfessional Cluster Specifications.
    zoneIds number[]
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    autoVoucher number
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    tags {[key: string]: string}
    Tag description list.
    tdmqProfessionalClusterId string
    ID of the resource.
    timeSpan number
    Purchase duration, value range: 1~50. Default: 1.
    vpc TdmqProfessionalClusterVpc
    Label of VPC network.
    auto_renew_flag float
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    cluster_name str
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    product_name str
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    storage_size float
    Storage specifications. ReferenceProfessional Cluster Specifications.
    zone_ids Sequence[float]
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    auto_voucher float
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    tags Mapping[str, str]
    Tag description list.
    tdmq_professional_cluster_id str
    ID of the resource.
    time_span float
    Purchase duration, value range: 1~50. Default: 1.
    vpc TdmqProfessionalClusterVpcArgs
    Label of VPC network.
    autoRenewFlag Number
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    clusterName String
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    productName String
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    storageSize Number
    Storage specifications. ReferenceProfessional Cluster Specifications.
    zoneIds List<Number>
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    autoVoucher Number
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    tags Map<String>
    Tag description list.
    tdmqProfessionalClusterId String
    ID of the resource.
    timeSpan Number
    Purchase duration, value range: 1~50. Default: 1.
    vpc Property Map
    Label of VPC network.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TdmqProfessionalCluster 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 TdmqProfessionalCluster Resource

    Get an existing TdmqProfessionalCluster 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?: TdmqProfessionalClusterState, opts?: CustomResourceOptions): TdmqProfessionalCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_renew_flag: Optional[float] = None,
            auto_voucher: Optional[float] = None,
            cluster_name: Optional[str] = None,
            product_name: Optional[str] = None,
            storage_size: Optional[float] = None,
            tags: Optional[Mapping[str, str]] = None,
            tdmq_professional_cluster_id: Optional[str] = None,
            time_span: Optional[float] = None,
            vpc: Optional[TdmqProfessionalClusterVpcArgs] = None,
            zone_ids: Optional[Sequence[float]] = None) -> TdmqProfessionalCluster
    func GetTdmqProfessionalCluster(ctx *Context, name string, id IDInput, state *TdmqProfessionalClusterState, opts ...ResourceOption) (*TdmqProfessionalCluster, error)
    public static TdmqProfessionalCluster Get(string name, Input<string> id, TdmqProfessionalClusterState? state, CustomResourceOptions? opts = null)
    public static TdmqProfessionalCluster get(String name, Output<String> id, TdmqProfessionalClusterState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TdmqProfessionalCluster    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 double
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    AutoVoucher double
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    ClusterName string
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    ProductName string
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    StorageSize double
    Storage specifications. ReferenceProfessional Cluster Specifications.
    Tags Dictionary<string, string>
    Tag description list.
    TdmqProfessionalClusterId string
    ID of the resource.
    TimeSpan double
    Purchase duration, value range: 1~50. Default: 1.
    Vpc TdmqProfessionalClusterVpc
    Label of VPC network.
    ZoneIds List<double>
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    AutoRenewFlag float64
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    AutoVoucher float64
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    ClusterName string
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    ProductName string
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    StorageSize float64
    Storage specifications. ReferenceProfessional Cluster Specifications.
    Tags map[string]string
    Tag description list.
    TdmqProfessionalClusterId string
    ID of the resource.
    TimeSpan float64
    Purchase duration, value range: 1~50. Default: 1.
    Vpc TdmqProfessionalClusterVpcArgs
    Label of VPC network.
    ZoneIds []float64
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    autoRenewFlag Double
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    autoVoucher Double
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    clusterName String
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    productName String
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    storageSize Double
    Storage specifications. ReferenceProfessional Cluster Specifications.
    tags Map<String,String>
    Tag description list.
    tdmqProfessionalClusterId String
    ID of the resource.
    timeSpan Double
    Purchase duration, value range: 1~50. Default: 1.
    vpc TdmqProfessionalClusterVpc
    Label of VPC network.
    zoneIds List<Double>
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    autoRenewFlag number
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    autoVoucher number
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    clusterName string
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    productName string
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    storageSize number
    Storage specifications. ReferenceProfessional Cluster Specifications.
    tags {[key: string]: string}
    Tag description list.
    tdmqProfessionalClusterId string
    ID of the resource.
    timeSpan number
    Purchase duration, value range: 1~50. Default: 1.
    vpc TdmqProfessionalClusterVpc
    Label of VPC network.
    zoneIds number[]
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    auto_renew_flag float
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    auto_voucher float
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    cluster_name str
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    product_name str
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    storage_size float
    Storage specifications. ReferenceProfessional Cluster Specifications.
    tags Mapping[str, str]
    Tag description list.
    tdmq_professional_cluster_id str
    ID of the resource.
    time_span float
    Purchase duration, value range: 1~50. Default: 1.
    vpc TdmqProfessionalClusterVpcArgs
    Label of VPC network.
    zone_ids Sequence[float]
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].
    autoRenewFlag Number
    Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
    autoVoucher Number
    Whether to automatically select vouchers. 1: Yes, 0: No. Default is 0.
    clusterName String
    Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
    productName String
    Cluster specification code. ReferenceProfessional Cluster Specifications.
    storageSize Number
    Storage specifications. ReferenceProfessional Cluster Specifications.
    tags Map<String>
    Tag description list.
    tdmqProfessionalClusterId String
    ID of the resource.
    timeSpan Number
    Purchase duration, value range: 1~50. Default: 1.
    vpc Property Map
    Label of VPC network.
    zoneIds List<Number>
    Multi-AZ deployment select three Availability Zones, like: [200002,200003,200004]. Single availability zone deployment selects an availability zone, like [200002].

    Supporting Types

    TdmqProfessionalClusterVpc, TdmqProfessionalClusterVpcArgs

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

    Import

    tdmq professional_cluster can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/tdmqProfessionalCluster:TdmqProfessionalCluster professional_cluster professional_cluster_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

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