UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

88 lines (87 loc) 2.18 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of vefaas timers * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.vefaas.getTimers({ * functionId: "g79asxxx", * }); * ``` */ export declare function getTimers(args: GetTimersArgs, opts?: pulumi.InvokeOptions): Promise<GetTimersResult>; /** * A collection of arguments for invoking getTimers. */ export interface GetTimersArgs { /** * 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 getTimers. */ export interface GetTimersResult { /** * 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.GetTimersItem[]; readonly nameRegex?: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of vefaas timers * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.vefaas.getTimers({ * functionId: "g79asxxx", * }); * ``` */ export declare function getTimersOutput(args: GetTimersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTimersResult>; /** * A collection of arguments for invoking getTimers. */ export interface GetTimersOutputArgs { /** * 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>; }