@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
90 lines (89 loc) • 2.31 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of kafka allow lists
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.kafka.getAllowLists({
* instanceId: "kafka-xxx",
* regionId: "cn-beijing",
* });
* ```
*/
export declare function getAllowLists(args: GetAllowListsArgs, opts?: pulumi.InvokeOptions): Promise<GetAllowListsResult>;
/**
* A collection of arguments for invoking getAllowLists.
*/
export interface GetAllowListsArgs {
/**
* The instance ID to query.
*/
instanceId?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The region ID.
*/
regionId: string;
}
/**
* A collection of values returned by getAllowLists.
*/
export interface GetAllowListsResult {
/**
* The collection of query.
*/
readonly allowLists: outputs.kafka.GetAllowListsAllowList[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The id of the instance.
*/
readonly instanceId?: string;
readonly outputFile?: string;
readonly regionId: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of kafka allow lists
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.kafka.getAllowLists({
* instanceId: "kafka-xxx",
* regionId: "cn-beijing",
* });
* ```
*/
export declare function getAllowListsOutput(args: GetAllowListsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAllowListsResult>;
/**
* A collection of arguments for invoking getAllowLists.
*/
export interface GetAllowListsOutputArgs {
/**
* The instance ID to query.
*/
instanceId?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The region ID.
*/
regionId: pulumi.Input<string>;
}