tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCkafkaDatahubTopic
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 ckafka datahub_topic
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const datahubTopic = tencentcloud.getCkafkaDatahubTopic({});
import pulumi
import pulumi_tencentcloud as tencentcloud
datahub_topic = tencentcloud.get_ckafka_datahub_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.LookupCkafkaDatahubTopic(ctx, &tencentcloud.LookupCkafkaDatahubTopicArgs{}, 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 datahubTopic = Tencentcloud.GetCkafkaDatahubTopic.Invoke();
});
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.GetCkafkaDatahubTopicArgs;
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 datahubTopic = TencentcloudFunctions.getCkafkaDatahubTopic();
}
}
variables:
datahubTopic:
fn::invoke:
function: tencentcloud:getCkafkaDatahubTopic
arguments: {}
Using getCkafkaDatahubTopic
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 getCkafkaDatahubTopic(args: GetCkafkaDatahubTopicArgs, opts?: InvokeOptions): Promise<GetCkafkaDatahubTopicResult>
function getCkafkaDatahubTopicOutput(args: GetCkafkaDatahubTopicOutputArgs, opts?: InvokeOptions): Output<GetCkafkaDatahubTopicResult>
def get_ckafka_datahub_topic(id: Optional[str] = None,
limit: Optional[float] = None,
offset: Optional[float] = None,
result_output_file: Optional[str] = None,
search_word: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCkafkaDatahubTopicResult
def get_ckafka_datahub_topic_output(id: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[float]] = None,
offset: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
search_word: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCkafkaDatahubTopicResult]
func LookupCkafkaDatahubTopic(ctx *Context, args *LookupCkafkaDatahubTopicArgs, opts ...InvokeOption) (*LookupCkafkaDatahubTopicResult, error)
func LookupCkafkaDatahubTopicOutput(ctx *Context, args *LookupCkafkaDatahubTopicOutputArgs, opts ...InvokeOption) LookupCkafkaDatahubTopicResultOutput
> Note: This function is named LookupCkafkaDatahubTopic
in the Go SDK.
public static class GetCkafkaDatahubTopic
{
public static Task<GetCkafkaDatahubTopicResult> InvokeAsync(GetCkafkaDatahubTopicArgs args, InvokeOptions? opts = null)
public static Output<GetCkafkaDatahubTopicResult> Invoke(GetCkafkaDatahubTopicInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCkafkaDatahubTopicResult> getCkafkaDatahubTopic(GetCkafkaDatahubTopicArgs args, InvokeOptions options)
public static Output<GetCkafkaDatahubTopicResult> getCkafkaDatahubTopic(GetCkafkaDatahubTopicArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCkafkaDatahubTopic:getCkafkaDatahubTopic
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Limit double
- The maximum number of results returned this time, the default is 50, and the maximum value is 50.
- Offset double
- The offset position of this query, the default is 0.
- Result
Output stringFile - Used to save results.
- Search
Word string - query key word.
- Id string
- Limit float64
- The maximum number of results returned this time, the default is 50, and the maximum value is 50.
- Offset float64
- The offset position of this query, the default is 0.
- Result
Output stringFile - Used to save results.
- Search
Word string - query key word.
- id String
- limit Double
- The maximum number of results returned this time, the default is 50, and the maximum value is 50.
- offset Double
- The offset position of this query, the default is 0.
- result
Output StringFile - Used to save results.
- search
Word String - query key word.
- id string
- limit number
- The maximum number of results returned this time, the default is 50, and the maximum value is 50.
- offset number
- The offset position of this query, the default is 0.
- result
Output stringFile - Used to save results.
- search
Word string - query key word.
- id str
- limit float
- The maximum number of results returned this time, the default is 50, and the maximum value is 50.
- offset float
- The offset position of this query, the default is 0.
- result_
output_ strfile - Used to save results.
- search_
word str - query key word.
- id String
- limit Number
- The maximum number of results returned this time, the default is 50, and the maximum value is 50.
- offset Number
- The offset position of this query, the default is 0.
- result
Output StringFile - Used to save results.
- search
Word String - query key word.
getCkafkaDatahubTopic Result
The following output properties are available:
- Id string
- Topic
Lists List<GetCkafka Datahub Topic Topic List> - Topic list.
- Limit double
- Offset double
- Result
Output stringFile - Search
Word string
- Id string
- Topic
Lists []GetCkafka Datahub Topic Topic List - Topic list.
- Limit float64
- Offset float64
- Result
Output stringFile - Search
Word string
- id String
- topic
Lists List<GetCkafka Datahub Topic Topic List> - Topic list.
- limit Double
- offset Double
- result
Output StringFile - search
Word String
- id string
- topic
Lists GetCkafka Datahub Topic Topic List[] - Topic list.
- limit number
- offset number
- result
Output stringFile - search
Word string
- id str
- topic_
lists Sequence[GetCkafka Datahub Topic Topic List] - Topic list.
- limit float
- offset float
- result_
output_ strfile - search_
word str
- id String
- topic
Lists List<Property Map> - Topic list.
- limit Number
- offset Number
- result
Output StringFile - search
Word String
Supporting Types
GetCkafkaDatahubTopicTopicList
- Name string
- name.
- Note string
- Remark.
- Partition
Num double - number of partitions.
- Retention
Ms double - Expiration.
- Status double
- Status, 1 in use, 2 in deletion.
- Topic
Id string - Topic Id.
- Topic
Name string - Topic name.
- Name string
- name.
- Note string
- Remark.
- Partition
Num float64 - number of partitions.
- Retention
Ms float64 - Expiration.
- Status float64
- Status, 1 in use, 2 in deletion.
- Topic
Id string - Topic Id.
- Topic
Name string - Topic name.
- name String
- name.
- note String
- Remark.
- partition
Num Double - number of partitions.
- retention
Ms Double - Expiration.
- status Double
- Status, 1 in use, 2 in deletion.
- topic
Id String - Topic Id.
- topic
Name String - Topic name.
- name string
- name.
- note string
- Remark.
- partition
Num number - number of partitions.
- retention
Ms number - Expiration.
- status number
- Status, 1 in use, 2 in deletion.
- topic
Id string - Topic Id.
- topic
Name string - Topic name.
- name str
- name.
- note str
- Remark.
- partition_
num float - number of partitions.
- retention_
ms float - Expiration.
- status float
- Status, 1 in use, 2 in deletion.
- topic_
id str - Topic Id.
- topic_
name str - Topic name.
- name String
- name.
- note String
- Remark.
- partition
Num Number - number of partitions.
- retention
Ms Number - Expiration.
- status Number
- Status, 1 in use, 2 in deletion.
- topic
Id String - Topic Id.
- topic
Name String - Topic name.
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