import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the list of topics of a kafka cluster associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const topics = ovh.CloudProjectDatabase.getKafkaTopics({ * serviceName: "XXX", * clusterId: "YYY", * }); * export const topicIds = topics.then(topics => topics.topicIds); * ``` */ export declare function getKafkaTopics(args: GetKafkaTopicsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKafkaTopics. */ export interface GetKafkaTopicsArgs { /** * Cluster ID */ clusterId: string; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getKafkaTopics. */ export interface GetKafkaTopicsResult { /** * See Argument Reference above. */ readonly clusterId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * See Argument Reference above. */ readonly serviceName: string; /** * The list of topics ids of the kafka cluster associated with the project. */ readonly topicIds: string[]; } /** * Use this data source to get the list of topics of a kafka cluster associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const topics = ovh.CloudProjectDatabase.getKafkaTopics({ * serviceName: "XXX", * clusterId: "YYY", * }); * export const topicIds = topics.then(topics => topics.topicIds); * ``` */ export declare function getKafkaTopicsOutput(args: GetKafkaTopicsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKafkaTopics. */ export interface GetKafkaTopicsOutputArgs { /** * Cluster ID */ clusterId: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }