tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTdmqPublisherSummary
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of tdmq publisher_summary
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const publisherSummary = tencentcloud.getTdmqPublisherSummary({
clusterId: "pulsar-9n95ax58b9vn",
namespace: "keep-ns",
topic: "keep-topic",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
publisher_summary = tencentcloud.get_tdmq_publisher_summary(cluster_id="pulsar-9n95ax58b9vn",
namespace="keep-ns",
topic="keep-topic")
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.GetTdmqPublisherSummary(ctx, &tencentcloud.GetTdmqPublisherSummaryArgs{
ClusterId: "pulsar-9n95ax58b9vn",
Namespace: "keep-ns",
Topic: "keep-topic",
}, nil)
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 publisherSummary = Tencentcloud.GetTdmqPublisherSummary.Invoke(new()
{
ClusterId = "pulsar-9n95ax58b9vn",
Namespace = "keep-ns",
Topic = "keep-topic",
});
});
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.GetTdmqPublisherSummaryArgs;
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 publisherSummary = TencentcloudFunctions.getTdmqPublisherSummary(GetTdmqPublisherSummaryArgs.builder()
.clusterId("pulsar-9n95ax58b9vn")
.namespace("keep-ns")
.topic("keep-topic")
.build());
}
}
variables:
publisherSummary:
fn::invoke:
function: tencentcloud:getTdmqPublisherSummary
arguments:
clusterId: pulsar-9n95ax58b9vn
namespace: keep-ns
topic: keep-topic
Using getTdmqPublisherSummary
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 getTdmqPublisherSummary(args: GetTdmqPublisherSummaryArgs, opts?: InvokeOptions): Promise<GetTdmqPublisherSummaryResult>
function getTdmqPublisherSummaryOutput(args: GetTdmqPublisherSummaryOutputArgs, opts?: InvokeOptions): Output<GetTdmqPublisherSummaryResult>
def get_tdmq_publisher_summary(cluster_id: Optional[str] = None,
id: Optional[str] = None,
namespace: Optional[str] = None,
result_output_file: Optional[str] = None,
topic: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTdmqPublisherSummaryResult
def get_tdmq_publisher_summary_output(cluster_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
topic: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTdmqPublisherSummaryResult]
func GetTdmqPublisherSummary(ctx *Context, args *GetTdmqPublisherSummaryArgs, opts ...InvokeOption) (*GetTdmqPublisherSummaryResult, error)
func GetTdmqPublisherSummaryOutput(ctx *Context, args *GetTdmqPublisherSummaryOutputArgs, opts ...InvokeOption) GetTdmqPublisherSummaryResultOutput
> Note: This function is named GetTdmqPublisherSummary
in the Go SDK.
public static class GetTdmqPublisherSummary
{
public static Task<GetTdmqPublisherSummaryResult> InvokeAsync(GetTdmqPublisherSummaryArgs args, InvokeOptions? opts = null)
public static Output<GetTdmqPublisherSummaryResult> Invoke(GetTdmqPublisherSummaryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTdmqPublisherSummaryResult> getTdmqPublisherSummary(GetTdmqPublisherSummaryArgs args, InvokeOptions options)
public static Output<GetTdmqPublisherSummaryResult> getTdmqPublisherSummary(GetTdmqPublisherSummaryArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTdmqPublisherSummary:getTdmqPublisherSummary
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id string - Cluster ID.
- Namespace string
- namespace name.
- Topic string
- subject name.
- Id string
- Result
Output stringFile - Used to save results.
- Cluster
Id string - Cluster ID.
- Namespace string
- namespace name.
- Topic string
- subject name.
- Id string
- Result
Output stringFile - Used to save results.
- cluster
Id String - Cluster ID.
- namespace String
- namespace name.
- topic String
- subject name.
- id String
- result
Output StringFile - Used to save results.
- cluster
Id string - Cluster ID.
- namespace string
- namespace name.
- topic string
- subject name.
- id string
- result
Output stringFile - Used to save results.
- cluster_
id str - Cluster ID.
- namespace str
- namespace name.
- topic str
- subject name.
- id str
- result_
output_ strfile - Used to save results.
- cluster
Id String - Cluster ID.
- namespace String
- namespace name.
- topic String
- subject name.
- id String
- result
Output StringFile - Used to save results.
getTdmqPublisherSummary Result
The following output properties are available:
- Cluster
Id string - Id string
- Msg
Rate doubleIn - Production rate (units per second)Note: This field may return null, indicating that no valid value can be obtained.
- Msg
Throughput doubleIn - Production rate (bytes per second)Note: This field may return null, indicating that no valid value can be obtained.
- Namespace string
- Publisher
Count double - number of producersNote: This field may return null, indicating that no valid value can be obtained.
- Storage
Size double - Message store size in bytesNote: This field may return null, indicating that no valid value can be obtained.
- Topic string
- Result
Output stringFile
- Cluster
Id string - Id string
- Msg
Rate float64In - Production rate (units per second)Note: This field may return null, indicating that no valid value can be obtained.
- Msg
Throughput float64In - Production rate (bytes per second)Note: This field may return null, indicating that no valid value can be obtained.
- Namespace string
- Publisher
Count float64 - number of producersNote: This field may return null, indicating that no valid value can be obtained.
- Storage
Size float64 - Message store size in bytesNote: This field may return null, indicating that no valid value can be obtained.
- Topic string
- Result
Output stringFile
- cluster
Id String - id String
- msg
Rate DoubleIn - Production rate (units per second)Note: This field may return null, indicating that no valid value can be obtained.
- msg
Throughput DoubleIn - Production rate (bytes per second)Note: This field may return null, indicating that no valid value can be obtained.
- namespace String
- publisher
Count Double - number of producersNote: This field may return null, indicating that no valid value can be obtained.
- storage
Size Double - Message store size in bytesNote: This field may return null, indicating that no valid value can be obtained.
- topic String
- result
Output StringFile
- cluster
Id string - id string
- msg
Rate numberIn - Production rate (units per second)Note: This field may return null, indicating that no valid value can be obtained.
- msg
Throughput numberIn - Production rate (bytes per second)Note: This field may return null, indicating that no valid value can be obtained.
- namespace string
- publisher
Count number - number of producersNote: This field may return null, indicating that no valid value can be obtained.
- storage
Size number - Message store size in bytesNote: This field may return null, indicating that no valid value can be obtained.
- topic string
- result
Output stringFile
- cluster_
id str - id str
- msg_
rate_ floatin - Production rate (units per second)Note: This field may return null, indicating that no valid value can be obtained.
- msg_
throughput_ floatin - Production rate (bytes per second)Note: This field may return null, indicating that no valid value can be obtained.
- namespace str
- publisher_
count float - number of producersNote: This field may return null, indicating that no valid value can be obtained.
- storage_
size float - Message store size in bytesNote: This field may return null, indicating that no valid value can be obtained.
- topic str
- result_
output_ strfile
- cluster
Id String - id String
- msg
Rate NumberIn - Production rate (units per second)Note: This field may return null, indicating that no valid value can be obtained.
- msg
Throughput NumberIn - Production rate (bytes per second)Note: This field may return null, indicating that no valid value can be obtained.
- namespace String
- publisher
Count Number - number of producersNote: This field may return null, indicating that no valid value can be obtained.
- storage
Size Number - Message store size in bytesNote: This field may return null, indicating that no valid value can be obtained.
- topic String
- result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack