import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Functions in Oracle Cloud Infrastructure Functions service. * * Lists functions for an application. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFunctions = oci.functions.getFunctions({ * applicationId: testApplication.id, * displayName: functionDisplayName, * id: functionId, * state: functionState, * }); * ``` */ export declare function getFunctions(args: GetFunctionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFunctions. */ export interface GetFunctionsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the application to which this function belongs. */ applicationId: string; /** * A filter to return only functions with display names that match the display name string. Matching is exact. */ displayName?: string; filters?: inputs.Functions.GetFunctionsFilter[]; /** * A filter to return only functions with the specified OCID. */ id?: string; /** * A filter to return only functions that match the lifecycle state in this parameter. Example: `Creating` */ state?: string; } /** * A collection of values returned by getFunctions. */ export interface GetFunctionsResult { /** * The OCID of the application the function belongs to. */ readonly applicationId: string; /** * The display name of the function. The display name is unique within the application containing the function. */ readonly displayName?: string; readonly filters?: outputs.Functions.GetFunctionsFilter[]; /** * The list of functions. */ readonly functions: outputs.Functions.GetFunctionsFunction[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the function. */ readonly id?: string; /** * The current state of the function. */ readonly state?: string; } /** * This data source provides the list of Functions in Oracle Cloud Infrastructure Functions service. * * Lists functions for an application. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFunctions = oci.functions.getFunctions({ * applicationId: testApplication.id, * displayName: functionDisplayName, * id: functionId, * state: functionState, * }); * ``` */ export declare function getFunctionsOutput(args: GetFunctionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFunctions. */ export interface GetFunctionsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the application to which this function belongs. */ applicationId: pulumi.Input; /** * A filter to return only functions with display names that match the display name string. Matching is exact. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only functions with the specified OCID. */ id?: pulumi.Input; /** * A filter to return only functions that match the lifecycle state in this parameter. Example: `Creating` */ state?: pulumi.Input; } //# sourceMappingURL=getFunctions.d.ts.map