@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
90 lines (89 loc) • 2.5 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",
* });
* ```
*/
/** @deprecated volcengine.vefaas.KafkaTriggers has been deprecated in favor of volcengine.vefaas.getKafkaTriggers */
export declare function kafkaTriggers(args: KafkaTriggersArgs, opts?: pulumi.InvokeOptions): Promise<KafkaTriggersResult>;
/**
* A collection of arguments for invoking KafkaTriggers.
*/
export interface KafkaTriggersArgs {
/**
* 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 KafkaTriggers.
*/
export interface KafkaTriggersResult {
/**
* 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.KafkaTriggersItem[];
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",
* });
* ```
*/
/** @deprecated volcengine.vefaas.KafkaTriggers has been deprecated in favor of volcengine.vefaas.getKafkaTriggers */
export declare function kafkaTriggersOutput(args: KafkaTriggersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<KafkaTriggersResult>;
/**
* A collection of arguments for invoking KafkaTriggers.
*/
export interface KafkaTriggersOutputArgs {
/**
* 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>;
}