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

tencentcloud.getTdmqRocketmqCluster

Explore with Pulumi AI

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

    Use this data source to query detailed information of tdmqRocketmq cluster

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const exampleTdmqRocketmqCluster = tencentcloud.getTdmqRocketmqCluster({
        nameKeyword: exampleIndex / tdmqRocketmqClusterTdmqRocketmqCluster.clusterName,
    });
    const exampleIndex_tdmqRocketmqClusterTdmqRocketmqCluster = new tencentcloud.TdmqRocketmqCluster("exampleIndex/tdmqRocketmqClusterTdmqRocketmqCluster", {
        clusterName: "tf_example",
        remark: "remark.",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example_tdmq_rocketmq_cluster = tencentcloud.get_tdmq_rocketmq_cluster(name_keyword=example_index / tdmq_rocketmq_cluster_tdmq_rocketmq_cluster["clusterName"])
    example_index_tdmq_rocketmq_cluster_tdmq_rocketmq_cluster = tencentcloud.TdmqRocketmqCluster("exampleIndex/tdmqRocketmqClusterTdmqRocketmqCluster",
        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.LookupTdmqRocketmqCluster(ctx, &tencentcloud.LookupTdmqRocketmqClusterArgs{
    			NameKeyword: pulumi.StringRef(pulumi.String(exampleIndex / tdmqRocketmqClusterTdmqRocketmqCluster.ClusterName)),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewTdmqRocketmqCluster(ctx, "exampleIndex/tdmqRocketmqClusterTdmqRocketmqCluster", &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 exampleTdmqRocketmqCluster = Tencentcloud.GetTdmqRocketmqCluster.Invoke(new()
        {
            NameKeyword = exampleIndex / tdmqRocketmqClusterTdmqRocketmqCluster.ClusterName,
        });
    
        var exampleIndex_tdmqRocketmqClusterTdmqRocketmqCluster = new Tencentcloud.TdmqRocketmqCluster("exampleIndex/tdmqRocketmqClusterTdmqRocketmqCluster", 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.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetTdmqRocketmqClusterArgs;
    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) {
            final var exampleTdmqRocketmqCluster = TencentcloudFunctions.getTdmqRocketmqCluster(GetTdmqRocketmqClusterArgs.builder()
                .nameKeyword(exampleIndex / tdmqRocketmqClusterTdmqRocketmqCluster.clusterName())
                .build());
    
            var exampleIndex_tdmqRocketmqClusterTdmqRocketmqCluster = new TdmqRocketmqCluster("exampleIndex/tdmqRocketmqClusterTdmqRocketmqCluster", TdmqRocketmqClusterArgs.builder()
                .clusterName("tf_example")
                .remark("remark.")
                .build());
    
        }
    }
    
    Coming soon!
    

    Using getTdmqRocketmqCluster

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTdmqRocketmqCluster(args: GetTdmqRocketmqClusterArgs, opts?: InvokeOptions): Promise<GetTdmqRocketmqClusterResult>
    function getTdmqRocketmqClusterOutput(args: GetTdmqRocketmqClusterOutputArgs, opts?: InvokeOptions): Output<GetTdmqRocketmqClusterResult>
    def get_tdmq_rocketmq_cluster(cluster_id_lists: Optional[Sequence[str]] = None,
                                  id: Optional[str] = None,
                                  id_keyword: Optional[str] = None,
                                  name_keyword: Optional[str] = None,
                                  result_output_file: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetTdmqRocketmqClusterResult
    def get_tdmq_rocketmq_cluster_output(cluster_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                  id: Optional[pulumi.Input[str]] = None,
                                  id_keyword: Optional[pulumi.Input[str]] = None,
                                  name_keyword: Optional[pulumi.Input[str]] = None,
                                  result_output_file: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetTdmqRocketmqClusterResult]
    func LookupTdmqRocketmqCluster(ctx *Context, args *LookupTdmqRocketmqClusterArgs, opts ...InvokeOption) (*LookupTdmqRocketmqClusterResult, error)
    func LookupTdmqRocketmqClusterOutput(ctx *Context, args *LookupTdmqRocketmqClusterOutputArgs, opts ...InvokeOption) LookupTdmqRocketmqClusterResultOutput

    > Note: This function is named LookupTdmqRocketmqCluster in the Go SDK.

    public static class GetTdmqRocketmqCluster 
    {
        public static Task<GetTdmqRocketmqClusterResult> InvokeAsync(GetTdmqRocketmqClusterArgs args, InvokeOptions? opts = null)
        public static Output<GetTdmqRocketmqClusterResult> Invoke(GetTdmqRocketmqClusterInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTdmqRocketmqClusterResult> getTdmqRocketmqCluster(GetTdmqRocketmqClusterArgs args, InvokeOptions options)
    public static Output<GetTdmqRocketmqClusterResult> getTdmqRocketmqCluster(GetTdmqRocketmqClusterArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTdmqRocketmqCluster:getTdmqRocketmqCluster
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterIdLists List<string>
    Filter by cluster ID.
    Id string
    IdKeyword string
    Search by cluster ID.
    NameKeyword string
    Search by cluster name.
    ResultOutputFile string
    Used to save results.
    ClusterIdLists []string
    Filter by cluster ID.
    Id string
    IdKeyword string
    Search by cluster ID.
    NameKeyword string
    Search by cluster name.
    ResultOutputFile string
    Used to save results.
    clusterIdLists List<String>
    Filter by cluster ID.
    id String
    idKeyword String
    Search by cluster ID.
    nameKeyword String
    Search by cluster name.
    resultOutputFile String
    Used to save results.
    clusterIdLists string[]
    Filter by cluster ID.
    id string
    idKeyword string
    Search by cluster ID.
    nameKeyword string
    Search by cluster name.
    resultOutputFile string
    Used to save results.
    cluster_id_lists Sequence[str]
    Filter by cluster ID.
    id str
    id_keyword str
    Search by cluster ID.
    name_keyword str
    Search by cluster name.
    result_output_file str
    Used to save results.
    clusterIdLists List<String>
    Filter by cluster ID.
    id String
    idKeyword String
    Search by cluster ID.
    nameKeyword String
    Search by cluster name.
    resultOutputFile String
    Used to save results.

    getTdmqRocketmqCluster Result

    The following output properties are available:

    clusterLists List<Property Map>
    Cluster information.
    id String
    clusterIdLists List<String>
    idKeyword String
    nameKeyword String
    resultOutputFile String

    Supporting Types

    GetTdmqRocketmqClusterClusterList

    Configs List<GetTdmqRocketmqClusterClusterListConfig>
    Cluster configuration information.
    Infos List<GetTdmqRocketmqClusterClusterListInfo>
    Basic cluster information.
    Status double
    Cluster status. 0: Creating; 1: Normal; 2: Terminating; 3: Deleted; 4: Isolated; 5: Creation failed; 6: Deletion failed.
    Configs []GetTdmqRocketmqClusterClusterListConfig
    Cluster configuration information.
    Infos []GetTdmqRocketmqClusterClusterListInfo
    Basic cluster information.
    Status float64
    Cluster status. 0: Creating; 1: Normal; 2: Terminating; 3: Deleted; 4: Isolated; 5: Creation failed; 6: Deletion failed.
    configs List<GetTdmqRocketmqClusterClusterListConfig>
    Cluster configuration information.
    infos List<GetTdmqRocketmqClusterClusterListInfo>
    Basic cluster information.
    status Double
    Cluster status. 0: Creating; 1: Normal; 2: Terminating; 3: Deleted; 4: Isolated; 5: Creation failed; 6: Deletion failed.
    configs GetTdmqRocketmqClusterClusterListConfig[]
    Cluster configuration information.
    infos GetTdmqRocketmqClusterClusterListInfo[]
    Basic cluster information.
    status number
    Cluster status. 0: Creating; 1: Normal; 2: Terminating; 3: Deleted; 4: Isolated; 5: Creation failed; 6: Deletion failed.
    configs Sequence[GetTdmqRocketmqClusterClusterListConfig]
    Cluster configuration information.
    infos Sequence[GetTdmqRocketmqClusterClusterListInfo]
    Basic cluster information.
    status float
    Cluster status. 0: Creating; 1: Normal; 2: Terminating; 3: Deleted; 4: Isolated; 5: Creation failed; 6: Deletion failed.
    configs List<Property Map>
    Cluster configuration information.
    infos List<Property Map>
    Basic cluster information.
    status Number
    Cluster status. 0: Creating; 1: Normal; 2: Terminating; 3: Deleted; 4: Isolated; 5: Creation failed; 6: Deletion failed.

    GetTdmqRocketmqClusterClusterListConfig

    MaxGroupNum double
    Maximum number of groups.
    MaxLatencyTime double
    Maximum message delay in millisecond.
    MaxNamespaceNum double
    Maximum number of namespaces.
    MaxRetentionTime double
    Maximum message retention period in milliseconds.
    MaxTopicNum double
    Maximum number of topics.
    MaxTpsPerNamespace double
    Maximum TPS per namespace.
    UsedGroupNum double
    Number of used groups.
    UsedNamespaceNum double
    Number of used namespaces.
    UsedTopicNum double
    Number of used topics.
    MaxGroupNum float64
    Maximum number of groups.
    MaxLatencyTime float64
    Maximum message delay in millisecond.
    MaxNamespaceNum float64
    Maximum number of namespaces.
    MaxRetentionTime float64
    Maximum message retention period in milliseconds.
    MaxTopicNum float64
    Maximum number of topics.
    MaxTpsPerNamespace float64
    Maximum TPS per namespace.
    UsedGroupNum float64
    Number of used groups.
    UsedNamespaceNum float64
    Number of used namespaces.
    UsedTopicNum float64
    Number of used topics.
    maxGroupNum Double
    Maximum number of groups.
    maxLatencyTime Double
    Maximum message delay in millisecond.
    maxNamespaceNum Double
    Maximum number of namespaces.
    maxRetentionTime Double
    Maximum message retention period in milliseconds.
    maxTopicNum Double
    Maximum number of topics.
    maxTpsPerNamespace Double
    Maximum TPS per namespace.
    usedGroupNum Double
    Number of used groups.
    usedNamespaceNum Double
    Number of used namespaces.
    usedTopicNum Double
    Number of used topics.
    maxGroupNum number
    Maximum number of groups.
    maxLatencyTime number
    Maximum message delay in millisecond.
    maxNamespaceNum number
    Maximum number of namespaces.
    maxRetentionTime number
    Maximum message retention period in milliseconds.
    maxTopicNum number
    Maximum number of topics.
    maxTpsPerNamespace number
    Maximum TPS per namespace.
    usedGroupNum number
    Number of used groups.
    usedNamespaceNum number
    Number of used namespaces.
    usedTopicNum number
    Number of used topics.
    max_group_num float
    Maximum number of groups.
    max_latency_time float
    Maximum message delay in millisecond.
    max_namespace_num float
    Maximum number of namespaces.
    max_retention_time float
    Maximum message retention period in milliseconds.
    max_topic_num float
    Maximum number of topics.
    max_tps_per_namespace float
    Maximum TPS per namespace.
    used_group_num float
    Number of used groups.
    used_namespace_num float
    Number of used namespaces.
    used_topic_num float
    Number of used topics.
    maxGroupNum Number
    Maximum number of groups.
    maxLatencyTime Number
    Maximum message delay in millisecond.
    maxNamespaceNum Number
    Maximum number of namespaces.
    maxRetentionTime Number
    Maximum message retention period in milliseconds.
    maxTopicNum Number
    Maximum number of topics.
    maxTpsPerNamespace Number
    Maximum TPS per namespace.
    usedGroupNum Number
    Number of used groups.
    usedNamespaceNum Number
    Number of used namespaces.
    usedTopicNum Number
    Number of used topics.

    GetTdmqRocketmqClusterClusterListInfo

    ClusterId string
    Cluster ID.
    ClusterName string
    Cluster name.
    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.
    VpcEndPoint string
    VPC access address.
    Vpcs List<GetTdmqRocketmqClusterClusterListInfoVpc>
    Vpc list.
    ClusterId string
    Cluster ID.
    ClusterName string
    Cluster name.
    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.
    VpcEndPoint string
    VPC access address.
    Vpcs []GetTdmqRocketmqClusterClusterListInfoVpc
    Vpc list.
    clusterId String
    Cluster ID.
    clusterName String
    Cluster name.
    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.
    vpcEndPoint String
    VPC access address.
    vpcs List<GetTdmqRocketmqClusterClusterListInfoVpc>
    Vpc list.
    clusterId string
    Cluster ID.
    clusterName string
    Cluster name.
    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.
    vpcEndPoint string
    VPC access address.
    vpcs GetTdmqRocketmqClusterClusterListInfoVpc[]
    Vpc list.
    cluster_id str
    Cluster ID.
    cluster_name str
    Cluster name.
    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).
    rocketmq_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[GetTdmqRocketmqClusterClusterListInfoVpc]
    Vpc list.
    clusterId String
    Cluster ID.
    clusterName String
    Cluster name.
    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.
    vpcEndPoint String
    VPC access address.
    vpcs List<Property Map>
    Vpc list.

    GetTdmqRocketmqClusterClusterListInfoVpc

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

    Package Details

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