import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleWorkflow = new cloudflare.Workflow("example_workflow", { * accountId: "account_id", * workflowName: "x", * className: "x", * scriptName: "x", * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/workflow:Workflow example '/' * ``` */ export declare class Workflow extends pulumi.CustomResource { /** * Get an existing Workflow resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: WorkflowState, opts?: pulumi.CustomResourceOptions): Workflow; /** * Returns true if the given object is an instance of Workflow. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Workflow; readonly accountId: pulumi.Output; readonly className: pulumi.Output; readonly createdOn: pulumi.Output; readonly instances: pulumi.Output; readonly isDeleted: pulumi.Output; readonly modifiedOn: pulumi.Output; readonly name: pulumi.Output; readonly scriptName: pulumi.Output; readonly terminatorRunning: pulumi.Output; readonly triggeredOn: pulumi.Output; readonly versionId: pulumi.Output; readonly workflowName: pulumi.Output; /** * Create a Workflow resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WorkflowArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Workflow resources. */ export interface WorkflowState { accountId?: pulumi.Input; className?: pulumi.Input; createdOn?: pulumi.Input; instances?: pulumi.Input; isDeleted?: pulumi.Input; modifiedOn?: pulumi.Input; name?: pulumi.Input; scriptName?: pulumi.Input; terminatorRunning?: pulumi.Input; triggeredOn?: pulumi.Input; versionId?: pulumi.Input; workflowName?: pulumi.Input; } /** * The set of arguments for constructing a Workflow resource. */ export interface WorkflowArgs { accountId: pulumi.Input; className: pulumi.Input; scriptName: pulumi.Input; workflowName: pulumi.Input; }