UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

90 lines (89 loc) 2.35 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", * }); * ``` */ /** @deprecated volcengine.vefaas.Timers has been deprecated in favor of volcengine.vefaas.getTimers */ export declare function timers(args: TimersArgs, opts?: pulumi.InvokeOptions): Promise<TimersResult>; /** * A collection of arguments for invoking Timers. */ export interface TimersArgs { /** * 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 Timers. */ export interface TimersResult { /** * 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.TimersItem[]; 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", * }); * ``` */ /** @deprecated volcengine.vefaas.Timers has been deprecated in favor of volcengine.vefaas.getTimers */ export declare function timersOutput(args: TimersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<TimersResult>; /** * A collection of arguments for invoking Timers. */ export interface TimersOutputArgs { /** * 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>; }