tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getCkafkaTopicFlowRanking
Start a Neo task
Explain and create a tencentcloud.getCkafkaTopicFlowRanking resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of ckafka topic_flow_ranking
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const topicFlowRanking = tencentcloud.getCkafkaTopicFlowRanking({
instanceId: "ckafka-xxxxxx",
rankingType: "PRO",
beginDate: "2023-05-29T00:00:00+08:00",
endDate: "2021-05-29T23:59:59+08:00",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
topic_flow_ranking = tencentcloud.get_ckafka_topic_flow_ranking(instance_id="ckafka-xxxxxx",
ranking_type="PRO",
begin_date="2023-05-29T00:00:00+08:00",
end_date="2021-05-29T23:59:59+08:00")
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.LookupCkafkaTopicFlowRanking(ctx, &tencentcloud.LookupCkafkaTopicFlowRankingArgs{
InstanceId: "ckafka-xxxxxx",
RankingType: "PRO",
BeginDate: pulumi.StringRef("2023-05-29T00:00:00+08:00"),
EndDate: pulumi.StringRef("2021-05-29T23:59:59+08:00"),
}, 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 topicFlowRanking = Tencentcloud.GetCkafkaTopicFlowRanking.Invoke(new()
{
InstanceId = "ckafka-xxxxxx",
RankingType = "PRO",
BeginDate = "2023-05-29T00:00:00+08:00",
EndDate = "2021-05-29T23:59:59+08:00",
});
});
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.GetCkafkaTopicFlowRankingArgs;
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 topicFlowRanking = TencentcloudFunctions.getCkafkaTopicFlowRanking(GetCkafkaTopicFlowRankingArgs.builder()
.instanceId("ckafka-xxxxxx")
.rankingType("PRO")
.beginDate("2023-05-29T00:00:00+08:00")
.endDate("2021-05-29T23:59:59+08:00")
.build());
}
}
variables:
topicFlowRanking:
fn::invoke:
function: tencentcloud:getCkafkaTopicFlowRanking
arguments:
instanceId: ckafka-xxxxxx
rankingType: PRO
beginDate: 2023-05-29T00:00:00+08:00
endDate: 2021-05-29T23:59:59+08:00
Using getCkafkaTopicFlowRanking
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 getCkafkaTopicFlowRanking(args: GetCkafkaTopicFlowRankingArgs, opts?: InvokeOptions): Promise<GetCkafkaTopicFlowRankingResult>
function getCkafkaTopicFlowRankingOutput(args: GetCkafkaTopicFlowRankingOutputArgs, opts?: InvokeOptions): Output<GetCkafkaTopicFlowRankingResult>def get_ckafka_topic_flow_ranking(begin_date: Optional[str] = None,
end_date: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
ranking_type: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCkafkaTopicFlowRankingResult
def get_ckafka_topic_flow_ranking_output(begin_date: Optional[pulumi.Input[str]] = None,
end_date: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
ranking_type: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCkafkaTopicFlowRankingResult]func LookupCkafkaTopicFlowRanking(ctx *Context, args *LookupCkafkaTopicFlowRankingArgs, opts ...InvokeOption) (*LookupCkafkaTopicFlowRankingResult, error)
func LookupCkafkaTopicFlowRankingOutput(ctx *Context, args *LookupCkafkaTopicFlowRankingOutputArgs, opts ...InvokeOption) LookupCkafkaTopicFlowRankingResultOutput> Note: This function is named LookupCkafkaTopicFlowRanking in the Go SDK.
public static class GetCkafkaTopicFlowRanking
{
public static Task<GetCkafkaTopicFlowRankingResult> InvokeAsync(GetCkafkaTopicFlowRankingArgs args, InvokeOptions? opts = null)
public static Output<GetCkafkaTopicFlowRankingResult> Invoke(GetCkafkaTopicFlowRankingInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCkafkaTopicFlowRankingResult> getCkafkaTopicFlowRanking(GetCkafkaTopicFlowRankingArgs args, InvokeOptions options)
public static Output<GetCkafkaTopicFlowRankingResult> getCkafkaTopicFlowRanking(GetCkafkaTopicFlowRankingArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCkafkaTopicFlowRanking:getCkafkaTopicFlowRanking
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - InstanceId.
- Ranking
Type string - Ranking type.
PRO: topic production flow,CON: topic consumption traffic. - Begin
Date string - BeginDate.
- End
Date string - EndDate.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - InstanceId.
- Ranking
Type string - Ranking type.
PRO: topic production flow,CON: topic consumption traffic. - Begin
Date string - BeginDate.
- End
Date string - EndDate.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - InstanceId.
- ranking
Type String - Ranking type.
PRO: topic production flow,CON: topic consumption traffic. - begin
Date String - BeginDate.
- end
Date String - EndDate.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - InstanceId.
- ranking
Type string - Ranking type.
PRO: topic production flow,CON: topic consumption traffic. - begin
Date string - BeginDate.
- end
Date string - EndDate.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - InstanceId.
- ranking_
type str - Ranking type.
PRO: topic production flow,CON: topic consumption traffic. - begin_
date str - BeginDate.
- end_
date str - EndDate.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - InstanceId.
- ranking
Type String - Ranking type.
PRO: topic production flow,CON: topic consumption traffic. - begin
Date String - BeginDate.
- end
Date String - EndDate.
- id String
- result
Output StringFile - Used to save results.
getCkafkaTopicFlowRanking Result
The following output properties are available:
- Id string
- Instance
Id string - Ranking
Type string - Results
List<Get
Ckafka Topic Flow Ranking Result> - result.
- Begin
Date string - End
Date string - Result
Output stringFile
- Id string
- Instance
Id string - Ranking
Type string - Results
[]Get
Ckafka Topic Flow Ranking Result - result.
- Begin
Date string - End
Date string - Result
Output stringFile
- id String
- instance
Id String - ranking
Type String - results
List<Get
Ckafka Topic Flow Ranking Result> - result.
- begin
Date String - end
Date String - result
Output StringFile
- id string
- instance
Id string - ranking
Type string - results
Get
Ckafka Topic Flow Ranking Result[] - result.
- begin
Date string - end
Date string - result
Output stringFile
- id str
- instance_
id str - ranking_
type str - results
Sequence[Get
Ckafka Topic Flow Ranking Result] - result.
- begin_
date str - end_
date str - result_
output_ strfile
- id String
- instance
Id String - ranking
Type String - results List<Property Map>
- result.
- begin
Date String - end
Date String - result
Output StringFile
Supporting Types
GetCkafkaTopicFlowRankingResult
- Consume
Speeds List<GetCkafka Topic Flow Ranking Result Consume Speed> - ConsumeSpeed.
- Topic
Flows List<GetCkafka Topic Flow Ranking Result Topic Flow> - TopicFlow.
- Topic
Message List<GetHeaps Ckafka Topic Flow Ranking Result Topic Message Heap> - TopicMessageHeapRanking.
- Consume
Speeds []GetCkafka Topic Flow Ranking Result Consume Speed - ConsumeSpeed.
- Topic
Flows []GetCkafka Topic Flow Ranking Result Topic Flow - TopicFlow.
- Topic
Message []GetHeaps Ckafka Topic Flow Ranking Result Topic Message Heap - TopicMessageHeapRanking.
- consume
Speeds List<GetCkafka Topic Flow Ranking Result Consume Speed> - ConsumeSpeed.
- topic
Flows List<GetCkafka Topic Flow Ranking Result Topic Flow> - TopicFlow.
- topic
Message List<GetHeaps Ckafka Topic Flow Ranking Result Topic Message Heap> - TopicMessageHeapRanking.
- consume
Speeds GetCkafka Topic Flow Ranking Result Consume Speed[] - ConsumeSpeed.
- topic
Flows GetCkafka Topic Flow Ranking Result Topic Flow[] - TopicFlow.
- topic
Message GetHeaps Ckafka Topic Flow Ranking Result Topic Message Heap[] - TopicMessageHeapRanking.
- consume
Speeds List<Property Map> - ConsumeSpeed.
- topic
Flows List<Property Map> - TopicFlow.
- topic
Message List<Property Map>Heaps - TopicMessageHeapRanking.
GetCkafkaTopicFlowRankingResultConsumeSpeed
- Consumer
Group stringName - ConsumerGroupName.
- Speed double
- Speed.
- Consumer
Group stringName - ConsumerGroupName.
- Speed float64
- Speed.
- consumer
Group StringName - ConsumerGroupName.
- speed Double
- Speed.
- consumer
Group stringName - ConsumerGroupName.
- speed number
- Speed.
- consumer_
group_ strname - ConsumerGroupName.
- speed float
- Speed.
- consumer
Group StringName - ConsumerGroupName.
- speed Number
- Speed.
GetCkafkaTopicFlowRankingResultTopicFlow
- Message
Heap double - Topic MessageHeap.
- Partition
Num double - PartitionNum.
- Replica
Num double - ReplicaNum.
- Topic
Id string - topicId.
- Topic
Name string - topicName.
- Topic
Traffic string - TopicTraffic.
- Message
Heap float64 - Topic MessageHeap.
- Partition
Num float64 - PartitionNum.
- Replica
Num float64 - ReplicaNum.
- Topic
Id string - topicId.
- Topic
Name string - topicName.
- Topic
Traffic string - TopicTraffic.
- message
Heap Double - Topic MessageHeap.
- partition
Num Double - PartitionNum.
- replica
Num Double - ReplicaNum.
- topic
Id String - topicId.
- topic
Name String - topicName.
- topic
Traffic String - TopicTraffic.
- message
Heap number - Topic MessageHeap.
- partition
Num number - PartitionNum.
- replica
Num number - ReplicaNum.
- topic
Id string - topicId.
- topic
Name string - topicName.
- topic
Traffic string - TopicTraffic.
- message_
heap float - Topic MessageHeap.
- partition_
num float - PartitionNum.
- replica_
num float - ReplicaNum.
- topic_
id str - topicId.
- topic_
name str - topicName.
- topic_
traffic str - TopicTraffic.
- message
Heap Number - Topic MessageHeap.
- partition
Num Number - PartitionNum.
- replica
Num Number - ReplicaNum.
- topic
Id String - topicId.
- topic
Name String - topicName.
- topic
Traffic String - TopicTraffic.
GetCkafkaTopicFlowRankingResultTopicMessageHeap
- Message
Heap double - Topic MessageHeap.
- Partition
Num double - PartitionNum.
- Replica
Num double - ReplicaNum.
- Topic
Id string - topicId.
- Topic
Name string - topicName.
- Topic
Traffic string - TopicTraffic.
- Message
Heap float64 - Topic MessageHeap.
- Partition
Num float64 - PartitionNum.
- Replica
Num float64 - ReplicaNum.
- Topic
Id string - topicId.
- Topic
Name string - topicName.
- Topic
Traffic string - TopicTraffic.
- message
Heap Double - Topic MessageHeap.
- partition
Num Double - PartitionNum.
- replica
Num Double - ReplicaNum.
- topic
Id String - topicId.
- topic
Name String - topicName.
- topic
Traffic String - TopicTraffic.
- message
Heap number - Topic MessageHeap.
- partition
Num number - PartitionNum.
- replica
Num number - ReplicaNum.
- topic
Id string - topicId.
- topic
Name string - topicName.
- topic
Traffic string - TopicTraffic.
- message_
heap float - Topic MessageHeap.
- partition_
num float - PartitionNum.
- replica_
num float - ReplicaNum.
- topic_
id str - topicId.
- topic_
name str - topicName.
- topic_
traffic str - TopicTraffic.
- message
Heap Number - Topic MessageHeap.
- partition
Num Number - PartitionNum.
- replica
Num Number - ReplicaNum.
- topic
Id String - topicId.
- topic
Name String - topicName.
- topic
Traffic String - TopicTraffic.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
