UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

74 lines (73 loc) 2.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of vefaas functions * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.vefaas.getFunctions({}); * ``` */ /** @deprecated volcengine.vefaas.Functions has been deprecated in favor of volcengine.vefaas.getFunctions */ export declare function functions(args?: FunctionsArgs, opts?: pulumi.InvokeOptions): Promise<FunctionsResult>; /** * A collection of arguments for invoking Functions. */ export interface FunctionsArgs { /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by Functions. */ export interface FunctionsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The collection of query. */ readonly items: outputs.vefaas.FunctionsItem[]; readonly nameRegex?: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of vefaas functions * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.vefaas.getFunctions({}); * ``` */ /** @deprecated volcengine.vefaas.Functions has been deprecated in favor of volcengine.vefaas.getFunctions */ export declare function functionsOutput(args?: FunctionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<FunctionsResult>; /** * A collection of arguments for invoking Functions. */ export interface FunctionsOutputArgs { /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }