UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

76 lines (75 loc) 2.13 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tls kafka consumers * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getKafkaConsumers({ * ids: ["3c57a110-399a-43b3-bc3c-5d60e065239a"], * }); * ``` */ export declare function getKafkaConsumers(args?: GetKafkaConsumersArgs, opts?: pulumi.InvokeOptions): Promise<GetKafkaConsumersResult>; /** * A collection of arguments for invoking getKafkaConsumers. */ export interface GetKafkaConsumersArgs { /** * A list of topic IDs. */ ids?: string[]; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getKafkaConsumers. */ export interface GetKafkaConsumersResult { /** * The collection of query. */ readonly datas: outputs.tls.GetKafkaConsumersData[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of tls kafka consumers * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getKafkaConsumers({ * ids: ["3c57a110-399a-43b3-bc3c-5d60e065239a"], * }); * ``` */ export declare function getKafkaConsumersOutput(args?: GetKafkaConsumersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKafkaConsumersResult>; /** * A collection of arguments for invoking getKafkaConsumers. */ export interface GetKafkaConsumersOutputArgs { /** * A list of topic IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }