import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns the topic configuration. */ export declare function getTopic(args: GetTopicArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetTopicArgs { location: string; project?: string; topicId: string; } export interface GetTopicResult { /** * The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} */ readonly name: string; /** * The settings for this topic's partitions. */ readonly partitionConfig: outputs.pubsublite.v1.PartitionConfigResponse; /** * The settings for this topic's Reservation usage. */ readonly reservationConfig: outputs.pubsublite.v1.ReservationConfigResponse; /** * The settings for this topic's message retention. */ readonly retentionConfig: outputs.pubsublite.v1.RetentionConfigResponse; } /** * Returns the topic configuration. */ export declare function getTopicOutput(args: GetTopicOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetTopicOutputArgs { location: pulumi.Input; project?: pulumi.Input; topicId: pulumi.Input; }