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

tencentcloud.TdmqRocketmqCluster

Explore with Pulumi AI

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

    Provides a resource to create a tdmqRocketmq cluster

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.TdmqRocketmqCluster("example", {
        clusterName: "tf_example",
        remark: "remark.",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.TdmqRocketmqCluster("example",
        cluster_name="tf_example",
        remark="remark.")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewTdmqRocketmqCluster(ctx, "example", &tencentcloud.TdmqRocketmqClusterArgs{
    			ClusterName: pulumi.String("tf_example"),
    			Remark:      pulumi.String("remark."),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.TdmqRocketmqCluster("example", new()
        {
            ClusterName = "tf_example",
            Remark = "remark.",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TdmqRocketmqCluster;
    import com.pulumi.tencentcloud.TdmqRocketmqClusterArgs;
    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 example = new TdmqRocketmqCluster("example", TdmqRocketmqClusterArgs.builder()
                .clusterName("tf_example")
                .remark("remark.")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:TdmqRocketmqCluster
        properties:
          clusterName: tf_example
          remark: remark.
    

    Create TdmqRocketmqCluster Resource

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

    Constructor syntax

    new TdmqRocketmqCluster(name: string, args: TdmqRocketmqClusterArgs, opts?: CustomResourceOptions);
    @overload
    def TdmqRocketmqCluster(resource_name: str,
                            args: TdmqRocketmqClusterArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def TdmqRocketmqCluster(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            cluster_name: Optional[str] = None,
                            remark: Optional[str] = None,
                            tdmq_rocketmq_cluster_id: Optional[str] = None)
    func NewTdmqRocketmqCluster(ctx *Context, name string, args TdmqRocketmqClusterArgs, opts ...ResourceOption) (*TdmqRocketmqCluster, error)
    public TdmqRocketmqCluster(string name, TdmqRocketmqClusterArgs args, CustomResourceOptions? opts = null)
    public TdmqRocketmqCluster(String name, TdmqRocketmqClusterArgs args)
    public TdmqRocketmqCluster(String name, TdmqRocketmqClusterArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TdmqRocketmqCluster
    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 TdmqRocketmqClusterArgs
    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 TdmqRocketmqClusterArgs
    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 TdmqRocketmqClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TdmqRocketmqClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TdmqRocketmqClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ClusterName string
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    Remark string
    Cluster description (up to 128 characters).
    TdmqRocketmqClusterId string
    ID of the resource.
    ClusterName string
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    Remark string
    Cluster description (up to 128 characters).
    TdmqRocketmqClusterId string
    ID of the resource.
    clusterName String
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    remark String
    Cluster description (up to 128 characters).
    tdmqRocketmqClusterId String
    ID of the resource.
    clusterName string
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    remark string
    Cluster description (up to 128 characters).
    tdmqRocketmqClusterId string
    ID of the resource.
    cluster_name str
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    remark str
    Cluster description (up to 128 characters).
    tdmq_rocketmq_cluster_id str
    ID of the resource.
    clusterName String
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    remark String
    Cluster description (up to 128 characters).
    tdmqRocketmqClusterId String
    ID of the resource.

    Outputs

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

    ClusterId string
    Cluster ID.
    CreateTime double
    Creation time in milliseconds.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsVip bool
    Whether it is an exclusive instance.
    PublicEndPoint string
    Public network access address.
    Region string
    Region information.
    RocketMQFlag bool
    Rocketmq cluster identification.
    SupportNamespaceEndpoint bool
    Whether the namespace access point is supported.
    VpcEndPoint string
    VPC access address.
    Vpcs List<TdmqRocketmqClusterVpc>
    Vpc list.
    ClusterId string
    Cluster ID.
    CreateTime float64
    Creation time in milliseconds.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsVip bool
    Whether it is an exclusive instance.
    PublicEndPoint string
    Public network access address.
    Region string
    Region information.
    RocketMQFlag bool
    Rocketmq cluster identification.
    SupportNamespaceEndpoint bool
    Whether the namespace access point is supported.
    VpcEndPoint string
    VPC access address.
    Vpcs []TdmqRocketmqClusterVpc
    Vpc list.
    clusterId String
    Cluster ID.
    createTime Double
    Creation time in milliseconds.
    id String
    The provider-assigned unique ID for this managed resource.
    isVip Boolean
    Whether it is an exclusive instance.
    publicEndPoint String
    Public network access address.
    region String
    Region information.
    rocketMQFlag Boolean
    Rocketmq cluster identification.
    supportNamespaceEndpoint Boolean
    Whether the namespace access point is supported.
    vpcEndPoint String
    VPC access address.
    vpcs List<TdmqRocketmqClusterVpc>
    Vpc list.
    clusterId string
    Cluster ID.
    createTime number
    Creation time in milliseconds.
    id string
    The provider-assigned unique ID for this managed resource.
    isVip boolean
    Whether it is an exclusive instance.
    publicEndPoint string
    Public network access address.
    region string
    Region information.
    rocketMQFlag boolean
    Rocketmq cluster identification.
    supportNamespaceEndpoint boolean
    Whether the namespace access point is supported.
    vpcEndPoint string
    VPC access address.
    vpcs TdmqRocketmqClusterVpc[]
    Vpc list.
    cluster_id str
    Cluster ID.
    create_time float
    Creation time in milliseconds.
    id str
    The provider-assigned unique ID for this managed resource.
    is_vip bool
    Whether it is an exclusive instance.
    public_end_point str
    Public network access address.
    region str
    Region information.
    rocket_mq_flag bool
    Rocketmq cluster identification.
    support_namespace_endpoint bool
    Whether the namespace access point is supported.
    vpc_end_point str
    VPC access address.
    vpcs Sequence[TdmqRocketmqClusterVpc]
    Vpc list.
    clusterId String
    Cluster ID.
    createTime Number
    Creation time in milliseconds.
    id String
    The provider-assigned unique ID for this managed resource.
    isVip Boolean
    Whether it is an exclusive instance.
    publicEndPoint String
    Public network access address.
    region String
    Region information.
    rocketMQFlag Boolean
    Rocketmq cluster identification.
    supportNamespaceEndpoint Boolean
    Whether the namespace access point is supported.
    vpcEndPoint String
    VPC access address.
    vpcs List<Property Map>
    Vpc list.

    Look up Existing TdmqRocketmqCluster Resource

    Get an existing TdmqRocketmqCluster 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?: TdmqRocketmqClusterState, opts?: CustomResourceOptions): TdmqRocketmqCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            cluster_name: Optional[str] = None,
            create_time: Optional[float] = None,
            is_vip: Optional[bool] = None,
            public_end_point: Optional[str] = None,
            region: Optional[str] = None,
            remark: Optional[str] = None,
            rocket_mq_flag: Optional[bool] = None,
            support_namespace_endpoint: Optional[bool] = None,
            tdmq_rocketmq_cluster_id: Optional[str] = None,
            vpc_end_point: Optional[str] = None,
            vpcs: Optional[Sequence[TdmqRocketmqClusterVpcArgs]] = None) -> TdmqRocketmqCluster
    func GetTdmqRocketmqCluster(ctx *Context, name string, id IDInput, state *TdmqRocketmqClusterState, opts ...ResourceOption) (*TdmqRocketmqCluster, error)
    public static TdmqRocketmqCluster Get(string name, Input<string> id, TdmqRocketmqClusterState? state, CustomResourceOptions? opts = null)
    public static TdmqRocketmqCluster get(String name, Output<String> id, TdmqRocketmqClusterState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TdmqRocketmqCluster    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:
    ClusterId string
    Cluster ID.
    ClusterName string
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    CreateTime double
    Creation time in milliseconds.
    IsVip bool
    Whether it is an exclusive instance.
    PublicEndPoint string
    Public network access address.
    Region string
    Region information.
    Remark string
    Cluster description (up to 128 characters).
    RocketMQFlag bool
    Rocketmq cluster identification.
    SupportNamespaceEndpoint bool
    Whether the namespace access point is supported.
    TdmqRocketmqClusterId string
    ID of the resource.
    VpcEndPoint string
    VPC access address.
    Vpcs List<TdmqRocketmqClusterVpc>
    Vpc list.
    ClusterId string
    Cluster ID.
    ClusterName string
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    CreateTime float64
    Creation time in milliseconds.
    IsVip bool
    Whether it is an exclusive instance.
    PublicEndPoint string
    Public network access address.
    Region string
    Region information.
    Remark string
    Cluster description (up to 128 characters).
    RocketMQFlag bool
    Rocketmq cluster identification.
    SupportNamespaceEndpoint bool
    Whether the namespace access point is supported.
    TdmqRocketmqClusterId string
    ID of the resource.
    VpcEndPoint string
    VPC access address.
    Vpcs []TdmqRocketmqClusterVpcArgs
    Vpc list.
    clusterId String
    Cluster ID.
    clusterName String
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    createTime Double
    Creation time in milliseconds.
    isVip Boolean
    Whether it is an exclusive instance.
    publicEndPoint String
    Public network access address.
    region String
    Region information.
    remark String
    Cluster description (up to 128 characters).
    rocketMQFlag Boolean
    Rocketmq cluster identification.
    supportNamespaceEndpoint Boolean
    Whether the namespace access point is supported.
    tdmqRocketmqClusterId String
    ID of the resource.
    vpcEndPoint String
    VPC access address.
    vpcs List<TdmqRocketmqClusterVpc>
    Vpc list.
    clusterId string
    Cluster ID.
    clusterName string
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    createTime number
    Creation time in milliseconds.
    isVip boolean
    Whether it is an exclusive instance.
    publicEndPoint string
    Public network access address.
    region string
    Region information.
    remark string
    Cluster description (up to 128 characters).
    rocketMQFlag boolean
    Rocketmq cluster identification.
    supportNamespaceEndpoint boolean
    Whether the namespace access point is supported.
    tdmqRocketmqClusterId string
    ID of the resource.
    vpcEndPoint string
    VPC access address.
    vpcs TdmqRocketmqClusterVpc[]
    Vpc list.
    cluster_id str
    Cluster ID.
    cluster_name str
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    create_time float
    Creation time in milliseconds.
    is_vip bool
    Whether it is an exclusive instance.
    public_end_point str
    Public network access address.
    region str
    Region information.
    remark str
    Cluster description (up to 128 characters).
    rocket_mq_flag bool
    Rocketmq cluster identification.
    support_namespace_endpoint bool
    Whether the namespace access point is supported.
    tdmq_rocketmq_cluster_id str
    ID of the resource.
    vpc_end_point str
    VPC access address.
    vpcs Sequence[TdmqRocketmqClusterVpcArgs]
    Vpc list.
    clusterId String
    Cluster ID.
    clusterName String
    Cluster name, which can contain 3-64 letters, digits, hyphens, and underscores.
    createTime Number
    Creation time in milliseconds.
    isVip Boolean
    Whether it is an exclusive instance.
    publicEndPoint String
    Public network access address.
    region String
    Region information.
    remark String
    Cluster description (up to 128 characters).
    rocketMQFlag Boolean
    Rocketmq cluster identification.
    supportNamespaceEndpoint Boolean
    Whether the namespace access point is supported.
    tdmqRocketmqClusterId String
    ID of the resource.
    vpcEndPoint String
    VPC access address.
    vpcs List<Property Map>
    Vpc list.

    Supporting Types

    TdmqRocketmqClusterVpc, TdmqRocketmqClusterVpcArgs

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

    Import

    tdmqRocketmq cluster can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/tdmqRocketmqCluster:TdmqRocketmqCluster cluster 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