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

tencentcloud.TdmqProfessionalCluster

Explore with Pulumi AI

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],
});
Copy
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])
Copy
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
	})
}
Copy
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,
        },
    });

});
Copy
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());

    }
}
Copy
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
Copy

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,
    ],
});
Copy
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,
    ])
Copy
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
	})
}
Copy
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,
        },
    });

});
Copy
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());

    }
}
Copy
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
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. TdmqProfessionalClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. TdmqProfessionalClusterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TdmqProfessionalClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 This property is required. double
Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
ClusterName This property is required. string
Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
ProductName This property is required. string
Cluster specification code. ReferenceProfessional Cluster Specifications.
StorageSize This property is required. double
Storage specifications. ReferenceProfessional Cluster Specifications.
ZoneIds This property is required. 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 This property is required. float64
Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
ClusterName This property is required. string
Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
ProductName This property is required. string
Cluster specification code. ReferenceProfessional Cluster Specifications.
StorageSize This property is required. float64
Storage specifications. ReferenceProfessional Cluster Specifications.
ZoneIds This property is required. []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 This property is required. Double
Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
clusterName This property is required. String
Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
productName This property is required. String
Cluster specification code. ReferenceProfessional Cluster Specifications.
storageSize This property is required. Double
Storage specifications. ReferenceProfessional Cluster Specifications.
zoneIds This property is required. 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 This property is required. number
Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
clusterName This property is required. string
Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
productName This property is required. string
Cluster specification code. ReferenceProfessional Cluster Specifications.
storageSize This property is required. number
Storage specifications. ReferenceProfessional Cluster Specifications.
zoneIds This property is required. 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 This property is required. float
Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
cluster_name This property is required. str
Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
product_name This property is required. str
Cluster specification code. ReferenceProfessional Cluster Specifications.
storage_size This property is required. float
Storage specifications. ReferenceProfessional Cluster Specifications.
zone_ids This property is required. 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 This property is required. Number
Whether to turn on automatic monthly renewal. 1: turn on, 0: turn off.
clusterName This property is required. String
Name of cluster. It does not support Chinese characters and special characters except dashes and underscores and cannot exceed 64 characters.
productName This property is required. String
Cluster specification code. ReferenceProfessional Cluster Specifications.
storageSize This property is required. Number
Storage specifications. ReferenceProfessional Cluster Specifications.
zoneIds This property is required. 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required. string
Id of Subnet.
VpcId This property is required. string
Id of VPC.
SubnetId This property is required. string
Id of Subnet.
VpcId This property is required. string
Id of VPC.
subnetId This property is required. String
Id of Subnet.
vpcId This property is required. String
Id of VPC.
subnetId This property is required. string
Id of Subnet.
vpcId This property is required. string
Id of VPC.
subnet_id This property is required. str
Id of Subnet.
vpc_id This property is required. str
Id of VPC.
subnetId This property is required. String
Id of Subnet.
vpcId This property is required. 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
Copy

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.