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 exampleWorkersDeployment = cloudflare.getWorkersDeployment({ * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * scriptName: "this-is_my_script-01", * deploymentId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", * }); * ``` */ export declare function getWorkersDeployment(args: GetWorkersDeploymentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWorkersDeployment. */ export interface GetWorkersDeploymentArgs { /** * Identifier. */ accountId: string; deploymentId: string; /** * Name of the script, used in URLs and route configuration. */ scriptName: string; } /** * A collection of values returned by getWorkersDeployment. */ export interface GetWorkersDeploymentResult { /** * Identifier. */ readonly accountId: string; readonly annotations: outputs.GetWorkersDeploymentAnnotations; readonly authorEmail: string; readonly createdOn: string; readonly deploymentId: string; /** * The ID of this resource. */ readonly id: string; /** * Name of the script, used in URLs and route configuration. */ readonly scriptName: string; readonly source: string; /** * Available values: "percentage". */ readonly strategy: string; readonly versions: outputs.GetWorkersDeploymentVersion[]; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleWorkersDeployment = cloudflare.getWorkersDeployment({ * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * scriptName: "this-is_my_script-01", * deploymentId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", * }); * ``` */ export declare function getWorkersDeploymentOutput(args: GetWorkersDeploymentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWorkersDeployment. */ export interface GetWorkersDeploymentOutputArgs { /** * Identifier. */ accountId: pulumi.Input; deploymentId: pulumi.Input; /** * Name of the script, used in URLs and route configuration. */ scriptName: pulumi.Input; }