import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleWorkflows = cloudflare.getWorkflows({ * accountId: "account_id", * search: "x", * }); * ``` */ export declare function getWorkflows(args: GetWorkflowsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWorkflows. */ export interface GetWorkflowsArgs { accountId: string; /** * Max items to fetch, default: 1000 */ maxItems?: number; /** * Allows filtering workflows` name. */ search?: string; } /** * A collection of values returned by getWorkflows. */ export interface GetWorkflowsResult { readonly accountId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Max items to fetch, default: 1000 */ readonly maxItems?: number; /** * The items returned by the data source */ readonly results: outputs.GetWorkflowsResult[]; /** * Allows filtering workflows` name. */ readonly search?: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleWorkflows = cloudflare.getWorkflows({ * accountId: "account_id", * search: "x", * }); * ``` */ export declare function getWorkflowsOutput(args: GetWorkflowsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWorkflows. */ export interface GetWorkflowsOutputArgs { accountId: pulumi.Input; /** * Max items to fetch, default: 1000 */ maxItems?: pulumi.Input; /** * Allows filtering workflows` name. */ search?: pulumi.Input; }