@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
88 lines (87 loc) • 2.3 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of vefaas kafka triggers
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.vefaas.getKafkaTriggers({
* functionId: "f0zvcxxx",
* });
* ```
*/
export declare function getKafkaTriggers(args: GetKafkaTriggersArgs, opts?: pulumi.InvokeOptions): Promise<GetKafkaTriggersResult>;
/**
* A collection of arguments for invoking getKafkaTriggers.
*/
export interface GetKafkaTriggersArgs {
/**
* The ID of Function.
*/
functionId: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by getKafkaTriggers.
*/
export interface GetKafkaTriggersResult {
/**
* The ID of Function.
*/
readonly functionId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The list of timer trigger.
*/
readonly items: outputs.vefaas.GetKafkaTriggersItem[];
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of vefaas kafka triggers
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.vefaas.getKafkaTriggers({
* functionId: "f0zvcxxx",
* });
* ```
*/
export declare function getKafkaTriggersOutput(args: GetKafkaTriggersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKafkaTriggersResult>;
/**
* A collection of arguments for invoking getKafkaTriggers.
*/
export interface GetKafkaTriggersOutputArgs {
/**
* The ID of Function.
*/
functionId: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}