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 exampleWorker = cloudflare.getWorker({ * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * workerId: "023e105f4ecef8ad9ca31a8372d0c353", * }); * ``` */ export declare function getWorker(args: GetWorkerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWorker. */ export interface GetWorkerArgs { /** * Identifier. */ accountId: string; /** * Identifier. */ workerId?: string; } /** * A collection of values returned by getWorker. */ export interface GetWorkerResult { /** * Identifier. */ readonly accountId: string; /** * When the Worker was created. */ readonly createdOn: string; /** * Identifier. */ readonly id: string; /** * Whether logpush is enabled for the Worker. */ readonly logpush: boolean; /** * Name of the Worker. */ readonly name: string; /** * Observability settings for the Worker. */ readonly observability: outputs.GetWorkerObservability; /** * Subdomain settings for the Worker. */ readonly subdomain: outputs.GetWorkerSubdomain; /** * Tags associated with the Worker. */ readonly tags: string[]; /** * Other Workers that should consume logs from the Worker. */ readonly tailConsumers: outputs.GetWorkerTailConsumer[]; /** * When the Worker was most recently updated. */ readonly updatedOn: string; /** * Identifier. */ readonly workerId?: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleWorker = cloudflare.getWorker({ * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * workerId: "023e105f4ecef8ad9ca31a8372d0c353", * }); * ``` */ export declare function getWorkerOutput(args: GetWorkerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWorker. */ export interface GetWorkerOutputArgs { /** * Identifier. */ accountId: pulumi.Input; /** * Identifier. */ workerId?: pulumi.Input; }