import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import cloudflare:index/workersDeployment:WorkersDeployment example '/' * ``` */ export declare class WorkersDeployment extends pulumi.CustomResource { /** * Get an existing WorkersDeployment 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?: WorkersDeploymentState, opts?: pulumi.CustomResourceOptions): WorkersDeployment; /** * Returns true if the given object is an instance of WorkersDeployment. 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 WorkersDeployment; /** * Identifier. */ readonly accountId: pulumi.Output; readonly annotations: pulumi.Output; readonly authorEmail: pulumi.Output; readonly createdOn: pulumi.Output; readonly deployments: pulumi.Output; /** * Name of the script. */ readonly scriptName: pulumi.Output; readonly source: pulumi.Output; /** * Available values: "percentage". */ readonly strategy: pulumi.Output; readonly versions: pulumi.Output; /** * Create a WorkersDeployment 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: WorkersDeploymentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WorkersDeployment resources. */ export interface WorkersDeploymentState { /** * Identifier. */ accountId?: pulumi.Input; annotations?: pulumi.Input; authorEmail?: pulumi.Input; createdOn?: pulumi.Input; deployments?: pulumi.Input[]>; /** * Name of the script. */ scriptName?: pulumi.Input; source?: pulumi.Input; /** * Available values: "percentage". */ strategy?: pulumi.Input; versions?: pulumi.Input[]>; } /** * The set of arguments for constructing a WorkersDeployment resource. */ export interface WorkersDeploymentArgs { /** * Identifier. */ accountId: pulumi.Input; annotations?: pulumi.Input; /** * Name of the script. */ scriptName: pulumi.Input; /** * Available values: "percentage". */ strategy: pulumi.Input; versions: pulumi.Input[]>; }