tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getTdmqRocketmqGroup
Start a Neo task
Explain and create a tencentcloud.getTdmqRocketmqGroup resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of tdmqRocketmq group
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const exampleTdmqRocketmqCluster = new tencentcloud.TdmqRocketmqCluster("example", {
clusterName: "tf_example",
remark: "remark.",
});
const exampleTdmqRocketmqNamespace = new tencentcloud.TdmqRocketmqNamespace("example", {
clusterId: exampleTdmqRocketmqCluster.clusterId,
namespaceName: "tf_example",
remark: "remark.",
});
const exampleTdmqRocketmqGroup = new tencentcloud.TdmqRocketmqGroup("example", {
groupName: "tf_example",
namespace: exampleTdmqRocketmqNamespace.namespaceName,
readEnable: true,
broadcastEnable: true,
clusterId: exampleTdmqRocketmqCluster.clusterId,
remark: "remark.",
});
const example = tencentcloud.getTdmqRocketmqGroupOutput({
clusterId: exampleTdmqRocketmqCluster.clusterId,
namespaceId: exampleTdmqRocketmqNamespace.namespaceName,
filterGroup: exampleTdmqRocketmqGroup.groupName,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example_tdmq_rocketmq_cluster = tencentcloud.TdmqRocketmqCluster("example",
cluster_name="tf_example",
remark="remark.")
example_tdmq_rocketmq_namespace = tencentcloud.TdmqRocketmqNamespace("example",
cluster_id=example_tdmq_rocketmq_cluster.cluster_id,
namespace_name="tf_example",
remark="remark.")
example_tdmq_rocketmq_group = tencentcloud.TdmqRocketmqGroup("example",
group_name="tf_example",
namespace=example_tdmq_rocketmq_namespace.namespace_name,
read_enable=True,
broadcast_enable=True,
cluster_id=example_tdmq_rocketmq_cluster.cluster_id,
remark="remark.")
example = tencentcloud.get_tdmq_rocketmq_group_output(cluster_id=example_tdmq_rocketmq_cluster.cluster_id,
namespace_id=example_tdmq_rocketmq_namespace.namespace_name,
filter_group=example_tdmq_rocketmq_group.group_name)
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 {
exampleTdmqRocketmqCluster, err := tencentcloud.NewTdmqRocketmqCluster(ctx, "example", &tencentcloud.TdmqRocketmqClusterArgs{
ClusterName: pulumi.String("tf_example"),
Remark: pulumi.String("remark."),
})
if err != nil {
return err
}
exampleTdmqRocketmqNamespace, err := tencentcloud.NewTdmqRocketmqNamespace(ctx, "example", &tencentcloud.TdmqRocketmqNamespaceArgs{
ClusterId: exampleTdmqRocketmqCluster.ClusterId,
NamespaceName: pulumi.String("tf_example"),
Remark: pulumi.String("remark."),
})
if err != nil {
return err
}
exampleTdmqRocketmqGroup, err := tencentcloud.NewTdmqRocketmqGroup(ctx, "example", &tencentcloud.TdmqRocketmqGroupArgs{
GroupName: pulumi.String("tf_example"),
Namespace: exampleTdmqRocketmqNamespace.NamespaceName,
ReadEnable: pulumi.Bool(true),
BroadcastEnable: pulumi.Bool(true),
ClusterId: exampleTdmqRocketmqCluster.ClusterId,
Remark: pulumi.String("remark."),
})
if err != nil {
return err
}
_ = tencentcloud.LookupTdmqRocketmqGroupOutput(ctx, tencentcloud.GetTdmqRocketmqGroupOutputArgs{
ClusterId: exampleTdmqRocketmqCluster.ClusterId,
NamespaceId: exampleTdmqRocketmqNamespace.NamespaceName,
FilterGroup: exampleTdmqRocketmqGroup.GroupName,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var exampleTdmqRocketmqCluster = new Tencentcloud.TdmqRocketmqCluster("example", new()
{
ClusterName = "tf_example",
Remark = "remark.",
});
var exampleTdmqRocketmqNamespace = new Tencentcloud.TdmqRocketmqNamespace("example", new()
{
ClusterId = exampleTdmqRocketmqCluster.ClusterId,
NamespaceName = "tf_example",
Remark = "remark.",
});
var exampleTdmqRocketmqGroup = new Tencentcloud.TdmqRocketmqGroup("example", new()
{
GroupName = "tf_example",
Namespace = exampleTdmqRocketmqNamespace.NamespaceName,
ReadEnable = true,
BroadcastEnable = true,
ClusterId = exampleTdmqRocketmqCluster.ClusterId,
Remark = "remark.",
});
var example = Tencentcloud.GetTdmqRocketmqGroup.Invoke(new()
{
ClusterId = exampleTdmqRocketmqCluster.ClusterId,
NamespaceId = exampleTdmqRocketmqNamespace.NamespaceName,
FilterGroup = exampleTdmqRocketmqGroup.GroupName,
});
});
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 com.pulumi.tencentcloud.TdmqRocketmqNamespace;
import com.pulumi.tencentcloud.TdmqRocketmqNamespaceArgs;
import com.pulumi.tencentcloud.TdmqRocketmqGroup;
import com.pulumi.tencentcloud.TdmqRocketmqGroupArgs;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetTdmqRocketmqGroupArgs;
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 exampleTdmqRocketmqCluster = new TdmqRocketmqCluster("exampleTdmqRocketmqCluster", TdmqRocketmqClusterArgs.builder()
.clusterName("tf_example")
.remark("remark.")
.build());
var exampleTdmqRocketmqNamespace = new TdmqRocketmqNamespace("exampleTdmqRocketmqNamespace", TdmqRocketmqNamespaceArgs.builder()
.clusterId(exampleTdmqRocketmqCluster.clusterId())
.namespaceName("tf_example")
.remark("remark.")
.build());
var exampleTdmqRocketmqGroup = new TdmqRocketmqGroup("exampleTdmqRocketmqGroup", TdmqRocketmqGroupArgs.builder()
.groupName("tf_example")
.namespace(exampleTdmqRocketmqNamespace.namespaceName())
.readEnable(true)
.broadcastEnable(true)
.clusterId(exampleTdmqRocketmqCluster.clusterId())
.remark("remark.")
.build());
final var example = TencentcloudFunctions.getTdmqRocketmqGroup(GetTdmqRocketmqGroupArgs.builder()
.clusterId(exampleTdmqRocketmqCluster.clusterId())
.namespaceId(exampleTdmqRocketmqNamespace.namespaceName())
.filterGroup(exampleTdmqRocketmqGroup.groupName())
.build());
}
}
resources:
exampleTdmqRocketmqCluster:
type: tencentcloud:TdmqRocketmqCluster
name: example
properties:
clusterName: tf_example
remark: remark.
exampleTdmqRocketmqNamespace:
type: tencentcloud:TdmqRocketmqNamespace
name: example
properties:
clusterId: ${exampleTdmqRocketmqCluster.clusterId}
namespaceName: tf_example
remark: remark.
exampleTdmqRocketmqGroup:
type: tencentcloud:TdmqRocketmqGroup
name: example
properties:
groupName: tf_example
namespace: ${exampleTdmqRocketmqNamespace.namespaceName}
readEnable: true
broadcastEnable: true
clusterId: ${exampleTdmqRocketmqCluster.clusterId}
remark: remark.
variables:
example:
fn::invoke:
function: tencentcloud:getTdmqRocketmqGroup
arguments:
clusterId: ${exampleTdmqRocketmqCluster.clusterId}
namespaceId: ${exampleTdmqRocketmqNamespace.namespaceName}
filterGroup: ${exampleTdmqRocketmqGroup.groupName}
Using getTdmqRocketmqGroup
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 getTdmqRocketmqGroup(args: GetTdmqRocketmqGroupArgs, opts?: InvokeOptions): Promise<GetTdmqRocketmqGroupResult>
function getTdmqRocketmqGroupOutput(args: GetTdmqRocketmqGroupOutputArgs, opts?: InvokeOptions): Output<GetTdmqRocketmqGroupResult>def get_tdmq_rocketmq_group(cluster_id: Optional[str] = None,
filter_group: Optional[str] = None,
filter_one_group: Optional[str] = None,
filter_topic: Optional[str] = None,
id: Optional[str] = None,
namespace_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTdmqRocketmqGroupResult
def get_tdmq_rocketmq_group_output(cluster_id: Optional[pulumi.Input[str]] = None,
filter_group: Optional[pulumi.Input[str]] = None,
filter_one_group: Optional[pulumi.Input[str]] = None,
filter_topic: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
namespace_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTdmqRocketmqGroupResult]func LookupTdmqRocketmqGroup(ctx *Context, args *LookupTdmqRocketmqGroupArgs, opts ...InvokeOption) (*LookupTdmqRocketmqGroupResult, error)
func LookupTdmqRocketmqGroupOutput(ctx *Context, args *LookupTdmqRocketmqGroupOutputArgs, opts ...InvokeOption) LookupTdmqRocketmqGroupResultOutput> Note: This function is named LookupTdmqRocketmqGroup in the Go SDK.
public static class GetTdmqRocketmqGroup
{
public static Task<GetTdmqRocketmqGroupResult> InvokeAsync(GetTdmqRocketmqGroupArgs args, InvokeOptions? opts = null)
public static Output<GetTdmqRocketmqGroupResult> Invoke(GetTdmqRocketmqGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTdmqRocketmqGroupResult> getTdmqRocketmqGroup(GetTdmqRocketmqGroupArgs args, InvokeOptions options)
public static Output<GetTdmqRocketmqGroupResult> getTdmqRocketmqGroup(GetTdmqRocketmqGroupArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTdmqRocketmqGroup:getTdmqRocketmqGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Cluster
Id string - Cluster ID.
- Namespace
Id string - Namespace.
- Filter
Group string - Consumer group query by consumer group name. Fuzzy query is supported.
- Filter
One stringGroup - Subscription group name. After it is specified, the information of only this subscription group will be returned.
- Filter
Topic string - Topic name, which can be used to query all subscription groups under the topic.
- Id string
- Result
Output stringFile - Used to save results.
- Cluster
Id string - Cluster ID.
- Namespace
Id string - Namespace.
- Filter
Group string - Consumer group query by consumer group name. Fuzzy query is supported.
- Filter
One stringGroup - Subscription group name. After it is specified, the information of only this subscription group will be returned.
- Filter
Topic string - Topic name, which can be used to query all subscription groups under the topic.
- Id string
- Result
Output stringFile - Used to save results.
- cluster
Id String - Cluster ID.
- namespace
Id String - Namespace.
- filter
Group String - Consumer group query by consumer group name. Fuzzy query is supported.
- filter
One StringGroup - Subscription group name. After it is specified, the information of only this subscription group will be returned.
- filter
Topic String - Topic name, which can be used to query all subscription groups under the topic.
- id String
- result
Output StringFile - Used to save results.
- cluster
Id string - Cluster ID.
- namespace
Id string - Namespace.
- filter
Group string - Consumer group query by consumer group name. Fuzzy query is supported.
- filter
One stringGroup - Subscription group name. After it is specified, the information of only this subscription group will be returned.
- filter
Topic string - Topic name, which can be used to query all subscription groups under the topic.
- id string
- result
Output stringFile - Used to save results.
- cluster_
id str - Cluster ID.
- namespace_
id str - Namespace.
- filter_
group str - Consumer group query by consumer group name. Fuzzy query is supported.
- filter_
one_ strgroup - Subscription group name. After it is specified, the information of only this subscription group will be returned.
- filter_
topic str - Topic name, which can be used to query all subscription groups under the topic.
- id str
- result_
output_ strfile - Used to save results.
- cluster
Id String - Cluster ID.
- namespace
Id String - Namespace.
- filter
Group String - Consumer group query by consumer group name. Fuzzy query is supported.
- filter
One StringGroup - Subscription group name. After it is specified, the information of only this subscription group will be returned.
- filter
Topic String - Topic name, which can be used to query all subscription groups under the topic.
- id String
- result
Output StringFile - Used to save results.
getTdmqRocketmqGroup Result
The following output properties are available:
- Cluster
Id string - Groups
List<Get
Tdmq Rocketmq Group Group> - List of subscription groups.
- Id string
- Namespace
Id string - Filter
Group string - Filter
One stringGroup - Filter
Topic string - Result
Output stringFile
- Cluster
Id string - Groups
[]Get
Tdmq Rocketmq Group Group - List of subscription groups.
- Id string
- Namespace
Id string - Filter
Group string - Filter
One stringGroup - Filter
Topic string - Result
Output stringFile
- cluster
Id String - groups
List<Get
Tdmq Rocketmq Group Group> - List of subscription groups.
- id String
- namespace
Id String - filter
Group String - filter
One StringGroup - filter
Topic String - result
Output StringFile
- cluster
Id string - groups
Get
Tdmq Rocketmq Group Group[] - List of subscription groups.
- id string
- namespace
Id string - filter
Group string - filter
One stringGroup - filter
Topic string - result
Output stringFile
- cluster_
id str - groups
Sequence[Get
Tdmq Rocketmq Group Group] - List of subscription groups.
- id str
- namespace_
id str - filter_
group str - filter_
one_ strgroup - filter_
topic str - result_
output_ strfile
- cluster
Id String - groups List<Property Map>
- List of subscription groups.
- id String
- namespace
Id String - filter
Group String - filter
One StringGroup - filter
Topic String - result
Output StringFile
Supporting Types
GetTdmqRocketmqGroupGroup
- Broadcast
Enable bool - Whether to enable broadcast consumption.
- Client
Protocol string - Client protocol.
- Consumer
Num double - The number of online consumers.
- Consumer
Type string - Consumer type. Enumerated values: ACTIVELY or PASSIVELY.
- Consumption
Mode double 0: Cluster consumption mode;1: Broadcast consumption mode;-1: Unknown.- Create
Time double - Creation time in milliseconds.
- Name string
- Consumer group name.
- Read
Enable bool - Whether to enable consumption.
- Remark string
- Remarks (up to 128 characters).
- Retry
Partition doubleNum - The number of partitions in a retry topic.
- Total
Accumulative double - The total number of heaped messages.
- Tps double
- Consumption TPS.
- Update
Time double - Modification time in milliseconds.
- Broadcast
Enable bool - Whether to enable broadcast consumption.
- Client
Protocol string - Client protocol.
- Consumer
Num float64 - The number of online consumers.
- Consumer
Type string - Consumer type. Enumerated values: ACTIVELY or PASSIVELY.
- Consumption
Mode float64 0: Cluster consumption mode;1: Broadcast consumption mode;-1: Unknown.- Create
Time float64 - Creation time in milliseconds.
- Name string
- Consumer group name.
- Read
Enable bool - Whether to enable consumption.
- Remark string
- Remarks (up to 128 characters).
- Retry
Partition float64Num - The number of partitions in a retry topic.
- Total
Accumulative float64 - The total number of heaped messages.
- Tps float64
- Consumption TPS.
- Update
Time float64 - Modification time in milliseconds.
- broadcast
Enable Boolean - Whether to enable broadcast consumption.
- client
Protocol String - Client protocol.
- consumer
Num Double - The number of online consumers.
- consumer
Type String - Consumer type. Enumerated values: ACTIVELY or PASSIVELY.
- consumption
Mode Double 0: Cluster consumption mode;1: Broadcast consumption mode;-1: Unknown.- create
Time Double - Creation time in milliseconds.
- name String
- Consumer group name.
- read
Enable Boolean - Whether to enable consumption.
- remark String
- Remarks (up to 128 characters).
- retry
Partition DoubleNum - The number of partitions in a retry topic.
- total
Accumulative Double - The total number of heaped messages.
- tps Double
- Consumption TPS.
- update
Time Double - Modification time in milliseconds.
- broadcast
Enable boolean - Whether to enable broadcast consumption.
- client
Protocol string - Client protocol.
- consumer
Num number - The number of online consumers.
- consumer
Type string - Consumer type. Enumerated values: ACTIVELY or PASSIVELY.
- consumption
Mode number 0: Cluster consumption mode;1: Broadcast consumption mode;-1: Unknown.- create
Time number - Creation time in milliseconds.
- name string
- Consumer group name.
- read
Enable boolean - Whether to enable consumption.
- remark string
- Remarks (up to 128 characters).
- retry
Partition numberNum - The number of partitions in a retry topic.
- total
Accumulative number - The total number of heaped messages.
- tps number
- Consumption TPS.
- update
Time number - Modification time in milliseconds.
- broadcast_
enable bool - Whether to enable broadcast consumption.
- client_
protocol str - Client protocol.
- consumer_
num float - The number of online consumers.
- consumer_
type str - Consumer type. Enumerated values: ACTIVELY or PASSIVELY.
- consumption_
mode float 0: Cluster consumption mode;1: Broadcast consumption mode;-1: Unknown.- create_
time float - Creation time in milliseconds.
- name str
- Consumer group name.
- read_
enable bool - Whether to enable consumption.
- remark str
- Remarks (up to 128 characters).
- retry_
partition_ floatnum - The number of partitions in a retry topic.
- total_
accumulative float - The total number of heaped messages.
- tps float
- Consumption TPS.
- update_
time float - Modification time in milliseconds.
- broadcast
Enable Boolean - Whether to enable broadcast consumption.
- client
Protocol String - Client protocol.
- consumer
Num Number - The number of online consumers.
- consumer
Type String - Consumer type. Enumerated values: ACTIVELY or PASSIVELY.
- consumption
Mode Number 0: Cluster consumption mode;1: Broadcast consumption mode;-1: Unknown.- create
Time Number - Creation time in milliseconds.
- name String
- Consumer group name.
- read
Enable Boolean - Whether to enable consumption.
- remark String
- Remarks (up to 128 characters).
- retry
Partition NumberNum - The number of partitions in a retry topic.
- total
Accumulative Number - The total number of heaped messages.
- tps Number
- Consumption TPS.
- update
Time Number - Modification time in milliseconds.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
