@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
84 lines (83 loc) • 2.37 kB
TypeScript
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: [
* "65d67d34-c5b4-4ec8-b3a9-175d33668b45",
* "cfb5c08b-0c7a-44fa-8971-8afc12f1b123",
* "edf051ed-3c46-49ba-9339-bea628fedc15",
* ],
* });
* ```
*/
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: [
* "65d67d34-c5b4-4ec8-b3a9-175d33668b45",
* "cfb5c08b-0c7a-44fa-8971-8afc12f1b123",
* "edf051ed-3c46-49ba-9339-bea628fedc15",
* ],
* });
* ```
*/
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>;
}