1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getWorker
Viewing docs for Cloudflare v6.23.2
published on Tuesday, Oct 27, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.23.2
published on Tuesday, Oct 27, 2026 by Pulumi

    Accepted Permissions

    • Workers Scripts Read
    • Workers Scripts Write
    • Workers Tail Read

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleWorker = cloudflare.getWorker({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        workerId: "worker_id",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_worker = cloudflare.get_worker(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        worker_id="worker_id")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.GetWorker(ctx, &cloudflare.LookupWorkerArgs{
    			AccountId: pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
    			WorkerId:  pulumi.StringRef("worker_id"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleWorker = Cloudflare.GetWorker.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            WorkerId = "worker_id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetWorkerArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleWorker = CloudflareFunctions.getWorker(GetWorkerArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .workerId("worker_id")
                .build());
    
        }
    }
    
    variables:
      exampleWorker:
        fn::invoke:
          function: cloudflare:getWorker
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            workerId: worker_id
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_worker" "exampleWorker" {
      account_id = "023e105f4ecef8ad9ca31a8372d0c353"
      worker_id  = "worker_id"
    }
    

    Using getWorker

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWorker(args: GetWorkerArgs, opts?: InvokeOptions): Promise<GetWorkerResult>
    function getWorkerOutput(args: GetWorkerOutputArgs, opts?: InvokeOutputOptions): Output<GetWorkerResult>
    def get_worker(account_id: Optional[str] = None,
                   filter: Optional[GetWorkerFilter] = None,
                   worker_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetWorkerResult
    def get_worker_output(account_id: pulumi.Input[Optional[str]] = None,
                   filter: pulumi.Input[Optional[GetWorkerFilterArgs]] = None,
                   worker_id: pulumi.Input[Optional[str]] = None,
                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetWorkerResult]
    func LookupWorker(ctx *Context, args *LookupWorkerArgs, opts ...InvokeOption) (*LookupWorkerResult, error)
    func LookupWorkerOutput(ctx *Context, args *LookupWorkerOutputArgs, opts ...InvokeOption) LookupWorkerResultOutput

    > Note: This function is named LookupWorker in the Go SDK.

    public static class GetWorker 
    {
        public static Task<GetWorkerResult> InvokeAsync(GetWorkerArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkerResult> Invoke(GetWorkerInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkerResult> Invoke(GetWorkerInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetWorkerResult> getWorker(GetWorkerArgs args, InvokeOptions options)
    public static Output<GetWorkerResult> getWorker(GetWorkerArgs args, InvokeOptions options)
    public static Output<GetWorkerResult> getWorker(GetWorkerArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getWorker:getWorker
      arguments:
        # arguments dictionary
    data "cloudflare_get_worker" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Identifier.
    Filter GetWorkerFilter
    WorkerId string
    Identifier for the Worker, which can be ID or name.
    AccountId string
    Identifier.
    Filter GetWorkerFilter
    WorkerId string
    Identifier for the Worker, which can be ID or name.
    account_id string
    Identifier.
    filter object
    worker_id string
    Identifier for the Worker, which can be ID or name.
    accountId String
    Identifier.
    filter GetWorkerFilter
    workerId String
    Identifier for the Worker, which can be ID or name.
    accountId string
    Identifier.
    filter GetWorkerFilter
    workerId string
    Identifier for the Worker, which can be ID or name.
    account_id str
    Identifier.
    filter GetWorkerFilter
    worker_id str
    Identifier for the Worker, which can be ID or name.
    accountId String
    Identifier.
    filter Property Map
    workerId String
    Identifier for the Worker, which can be ID or name.

    getWorker Result

    The following output properties are available:

    CreatedOn string
    When the Worker was created.
    DeployedOn string
    When the Worker's most recent deployment was created. null if the Worker has never been deployed.
    Id string
    Identifier for the Worker, which can be ID or name.
    Logpush bool
    Whether logpush is enabled for the Worker.
    Name string
    Name of the Worker.
    Observability GetWorkerObservability
    Observability settings for the Worker.
    PreviewsBaseConfig GetWorkerPreviewsBaseConfig
    Template configuration used when creating new Previews for this Worker.
    References GetWorkerReferences
    Other resources that reference the Worker and depend on it existing.
    Subdomain GetWorkerSubdomain
    Subdomain settings for the Worker.
    Tags List<string>
    Tags associated with the Worker.
    TailConsumers List<GetWorkerTailConsumer>
    Other Workers that should consume logs from the Worker.
    UpdatedOn string
    When the Worker was most recently updated.
    AccountId string
    Identifier.
    Filter GetWorkerFilter
    WorkerId string
    Identifier for the Worker, which can be ID or name.
    CreatedOn string
    When the Worker was created.
    DeployedOn string
    When the Worker's most recent deployment was created. null if the Worker has never been deployed.
    Id string
    Identifier for the Worker, which can be ID or name.
    Logpush bool
    Whether logpush is enabled for the Worker.
    Name string
    Name of the Worker.
    Observability GetWorkerObservability
    Observability settings for the Worker.
    PreviewsBaseConfig GetWorkerPreviewsBaseConfig
    Template configuration used when creating new Previews for this Worker.
    References GetWorkerReferences
    Other resources that reference the Worker and depend on it existing.
    Subdomain GetWorkerSubdomain
    Subdomain settings for the Worker.
    Tags []string
    Tags associated with the Worker.
    TailConsumers []GetWorkerTailConsumer
    Other Workers that should consume logs from the Worker.
    UpdatedOn string
    When the Worker was most recently updated.
    AccountId string
    Identifier.
    Filter GetWorkerFilter
    WorkerId string
    Identifier for the Worker, which can be ID or name.
    created_on string
    When the Worker was created.
    deployed_on string
    When the Worker's most recent deployment was created. null if the Worker has never been deployed.
    id string
    Identifier for the Worker, which can be ID or name.
    logpush bool
    Whether logpush is enabled for the Worker.
    name string
    Name of the Worker.
    observability object
    Observability settings for the Worker.
    previews_base_config object
    Template configuration used when creating new Previews for this Worker.
    references object
    Other resources that reference the Worker and depend on it existing.
    subdomain object
    Subdomain settings for the Worker.
    tags list(string)
    Tags associated with the Worker.
    tail_consumers list(object)
    Other Workers that should consume logs from the Worker.
    updated_on string
    When the Worker was most recently updated.
    account_id string
    Identifier.
    filter object
    worker_id string
    Identifier for the Worker, which can be ID or name.
    createdOn String
    When the Worker was created.
    deployedOn String
    When the Worker's most recent deployment was created. null if the Worker has never been deployed.
    id String
    Identifier for the Worker, which can be ID or name.
    logpush Boolean
    Whether logpush is enabled for the Worker.
    name String
    Name of the Worker.
    observability GetWorkerObservability
    Observability settings for the Worker.
    previewsBaseConfig GetWorkerPreviewsBaseConfig
    Template configuration used when creating new Previews for this Worker.
    references GetWorkerReferences
    Other resources that reference the Worker and depend on it existing.
    subdomain GetWorkerSubdomain
    Subdomain settings for the Worker.
    tags List<String>
    Tags associated with the Worker.
    tailConsumers List<GetWorkerTailConsumer>
    Other Workers that should consume logs from the Worker.
    updatedOn String
    When the Worker was most recently updated.
    accountId String
    Identifier.
    filter GetWorkerFilter
    workerId String
    Identifier for the Worker, which can be ID or name.
    createdOn string
    When the Worker was created.
    deployedOn string
    When the Worker's most recent deployment was created. null if the Worker has never been deployed.
    id string
    Identifier for the Worker, which can be ID or name.
    logpush boolean
    Whether logpush is enabled for the Worker.
    name string
    Name of the Worker.
    observability GetWorkerObservability
    Observability settings for the Worker.
    previewsBaseConfig GetWorkerPreviewsBaseConfig
    Template configuration used when creating new Previews for this Worker.
    references GetWorkerReferences
    Other resources that reference the Worker and depend on it existing.
    subdomain GetWorkerSubdomain
    Subdomain settings for the Worker.
    tags string[]
    Tags associated with the Worker.
    tailConsumers GetWorkerTailConsumer[]
    Other Workers that should consume logs from the Worker.
    updatedOn string
    When the Worker was most recently updated.
    accountId string
    Identifier.
    filter GetWorkerFilter
    workerId string
    Identifier for the Worker, which can be ID or name.
    created_on str
    When the Worker was created.
    deployed_on str
    When the Worker's most recent deployment was created. null if the Worker has never been deployed.
    id str
    Identifier for the Worker, which can be ID or name.
    logpush bool
    Whether logpush is enabled for the Worker.
    name str
    Name of the Worker.
    observability GetWorkerObservability
    Observability settings for the Worker.
    previews_base_config GetWorkerPreviewsBaseConfig
    Template configuration used when creating new Previews for this Worker.
    references GetWorkerReferences
    Other resources that reference the Worker and depend on it existing.
    subdomain GetWorkerSubdomain
    Subdomain settings for the Worker.
    tags Sequence[str]
    Tags associated with the Worker.
    tail_consumers Sequence[GetWorkerTailConsumer]
    Other Workers that should consume logs from the Worker.
    updated_on str
    When the Worker was most recently updated.
    account_id str
    Identifier.
    filter GetWorkerFilter
    worker_id str
    Identifier for the Worker, which can be ID or name.
    createdOn String
    When the Worker was created.
    deployedOn String
    When the Worker's most recent deployment was created. null if the Worker has never been deployed.
    id String
    Identifier for the Worker, which can be ID or name.
    logpush Boolean
    Whether logpush is enabled for the Worker.
    name String
    Name of the Worker.
    observability Property Map
    Observability settings for the Worker.
    previewsBaseConfig Property Map
    Template configuration used when creating new Previews for this Worker.
    references Property Map
    Other resources that reference the Worker and depend on it existing.
    subdomain Property Map
    Subdomain settings for the Worker.
    tags List<String>
    Tags associated with the Worker.
    tailConsumers List<Property Map>
    Other Workers that should consume logs from the Worker.
    updatedOn String
    When the Worker was most recently updated.
    accountId String
    Identifier.
    filter Property Map
    workerId String
    Identifier for the Worker, which can be ID or name.

    Supporting Types

    GetWorkerFilter

    Order string
    Sort direction. Available values: "asc", "desc".
    OrderBy string
    Property to sort results by. Available values: "deployedon", "updatedon", "createdOn", "name".
    Order string
    Sort direction. Available values: "asc", "desc".
    OrderBy string
    Property to sort results by. Available values: "deployedon", "updatedon", "createdOn", "name".
    order string
    Sort direction. Available values: "asc", "desc".
    order_by string
    Property to sort results by. Available values: "deployedon", "updatedon", "createdOn", "name".
    order String
    Sort direction. Available values: "asc", "desc".
    orderBy String
    Property to sort results by. Available values: "deployedon", "updatedon", "createdOn", "name".
    order string
    Sort direction. Available values: "asc", "desc".
    orderBy string
    Property to sort results by. Available values: "deployedon", "updatedon", "createdOn", "name".
    order str
    Sort direction. Available values: "asc", "desc".
    order_by str
    Property to sort results by. Available values: "deployedon", "updatedon", "createdOn", "name".
    order String
    Sort direction. Available values: "asc", "desc".
    orderBy String
    Property to sort results by. Available values: "deployedon", "updatedon", "createdOn", "name".

    GetWorkerObservability

    Enabled bool
    Whether observability is enabled for the Worker.
    HeadSamplingRate double
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    Issues GetWorkerObservabilityIssues
    Real-time Issues settings for the Worker.
    Logs GetWorkerObservabilityLogs
    Log settings for the Worker.
    RedactQueryString bool
    Whether query strings are removed from request URLs in logs and traces.
    Traces GetWorkerObservabilityTraces
    Trace settings for the Worker.
    Enabled bool
    Whether observability is enabled for the Worker.
    HeadSamplingRate float64
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    Issues GetWorkerObservabilityIssues
    Real-time Issues settings for the Worker.
    Logs GetWorkerObservabilityLogs
    Log settings for the Worker.
    RedactQueryString bool
    Whether query strings are removed from request URLs in logs and traces.
    Traces GetWorkerObservabilityTraces
    Trace settings for the Worker.
    enabled bool
    Whether observability is enabled for the Worker.
    head_sampling_rate number
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    issues object
    Real-time Issues settings for the Worker.
    logs object
    Log settings for the Worker.
    redact_query_string bool
    Whether query strings are removed from request URLs in logs and traces.
    traces object
    Trace settings for the Worker.
    enabled Boolean
    Whether observability is enabled for the Worker.
    headSamplingRate Double
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    issues GetWorkerObservabilityIssues
    Real-time Issues settings for the Worker.
    logs GetWorkerObservabilityLogs
    Log settings for the Worker.
    redactQueryString Boolean
    Whether query strings are removed from request URLs in logs and traces.
    traces GetWorkerObservabilityTraces
    Trace settings for the Worker.
    enabled boolean
    Whether observability is enabled for the Worker.
    headSamplingRate number
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    issues GetWorkerObservabilityIssues
    Real-time Issues settings for the Worker.
    logs GetWorkerObservabilityLogs
    Log settings for the Worker.
    redactQueryString boolean
    Whether query strings are removed from request URLs in logs and traces.
    traces GetWorkerObservabilityTraces
    Trace settings for the Worker.
    enabled bool
    Whether observability is enabled for the Worker.
    head_sampling_rate float
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    issues GetWorkerObservabilityIssues
    Real-time Issues settings for the Worker.
    logs GetWorkerObservabilityLogs
    Log settings for the Worker.
    redact_query_string bool
    Whether query strings are removed from request URLs in logs and traces.
    traces GetWorkerObservabilityTraces
    Trace settings for the Worker.
    enabled Boolean
    Whether observability is enabled for the Worker.
    headSamplingRate Number
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    issues Property Map
    Real-time Issues settings for the Worker.
    logs Property Map
    Log settings for the Worker.
    redactQueryString Boolean
    Whether query strings are removed from request URLs in logs and traces.
    traces Property Map
    Trace settings for the Worker.

    GetWorkerObservabilityIssues

    Enabled bool
    Whether real-time Issues are enabled for the Worker.
    Enabled bool
    Whether real-time Issues are enabled for the Worker.
    enabled bool
    Whether real-time Issues are enabled for the Worker.
    enabled Boolean
    Whether real-time Issues are enabled for the Worker.
    enabled boolean
    Whether real-time Issues are enabled for the Worker.
    enabled bool
    Whether real-time Issues are enabled for the Worker.
    enabled Boolean
    Whether real-time Issues are enabled for the Worker.

    GetWorkerObservabilityLogs

    Destinations List<string>
    A list of destinations where logs will be exported to.
    Enabled bool
    Whether logs are enabled for the Worker.
    HeadSamplingRate double
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    InvocationLogs bool
    Whether invocation logs are enabled for the Worker.
    Persist bool
    Whether log persistence is enabled for the Worker.
    Destinations []string
    A list of destinations where logs will be exported to.
    Enabled bool
    Whether logs are enabled for the Worker.
    HeadSamplingRate float64
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    InvocationLogs bool
    Whether invocation logs are enabled for the Worker.
    Persist bool
    Whether log persistence is enabled for the Worker.
    destinations list(string)
    A list of destinations where logs will be exported to.
    enabled bool
    Whether logs are enabled for the Worker.
    head_sampling_rate number
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    invocation_logs bool
    Whether invocation logs are enabled for the Worker.
    persist bool
    Whether log persistence is enabled for the Worker.
    destinations List<String>
    A list of destinations where logs will be exported to.
    enabled Boolean
    Whether logs are enabled for the Worker.
    headSamplingRate Double
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    invocationLogs Boolean
    Whether invocation logs are enabled for the Worker.
    persist Boolean
    Whether log persistence is enabled for the Worker.
    destinations string[]
    A list of destinations where logs will be exported to.
    enabled boolean
    Whether logs are enabled for the Worker.
    headSamplingRate number
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    invocationLogs boolean
    Whether invocation logs are enabled for the Worker.
    persist boolean
    Whether log persistence is enabled for the Worker.
    destinations Sequence[str]
    A list of destinations where logs will be exported to.
    enabled bool
    Whether logs are enabled for the Worker.
    head_sampling_rate float
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    invocation_logs bool
    Whether invocation logs are enabled for the Worker.
    persist bool
    Whether log persistence is enabled for the Worker.
    destinations List<String>
    A list of destinations where logs will be exported to.
    enabled Boolean
    Whether logs are enabled for the Worker.
    headSamplingRate Number
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    invocationLogs Boolean
    Whether invocation logs are enabled for the Worker.
    persist Boolean
    Whether log persistence is enabled for the Worker.

    GetWorkerObservabilityTraces

    Destinations List<string>
    A list of destinations where traces will be exported to.
    Enabled bool
    Whether traces are enabled for the Worker.
    HeadSamplingRate double
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    Persist bool
    Whether trace persistence is enabled for the Worker.
    PropagationPolicy string
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    Destinations []string
    A list of destinations where traces will be exported to.
    Enabled bool
    Whether traces are enabled for the Worker.
    HeadSamplingRate float64
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    Persist bool
    Whether trace persistence is enabled for the Worker.
    PropagationPolicy string
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    destinations list(string)
    A list of destinations where traces will be exported to.
    enabled bool
    Whether traces are enabled for the Worker.
    head_sampling_rate number
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    persist bool
    Whether trace persistence is enabled for the Worker.
    propagation_policy string
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    destinations List<String>
    A list of destinations where traces will be exported to.
    enabled Boolean
    Whether traces are enabled for the Worker.
    headSamplingRate Double
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    persist Boolean
    Whether trace persistence is enabled for the Worker.
    propagationPolicy String
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    destinations string[]
    A list of destinations where traces will be exported to.
    enabled boolean
    Whether traces are enabled for the Worker.
    headSamplingRate number
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    persist boolean
    Whether trace persistence is enabled for the Worker.
    propagationPolicy string
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    destinations Sequence[str]
    A list of destinations where traces will be exported to.
    enabled bool
    Whether traces are enabled for the Worker.
    head_sampling_rate float
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    persist bool
    Whether trace persistence is enabled for the Worker.
    propagation_policy str
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    destinations List<String>
    A list of destinations where traces will be exported to.
    enabled Boolean
    Whether traces are enabled for the Worker.
    headSamplingRate Number
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    persist Boolean
    Whether trace persistence is enabled for the Worker.
    propagationPolicy String
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".

    GetWorkerPreviewsBaseConfig

    CacheOptions GetWorkerPreviewsBaseConfigCacheOptions
    Cache options used when creating new Previews.
    Env Dictionary<string, GetWorkerPreviewsBaseConfigEnv>
    Bindings used when creating new Previews, keyed by binding name.
    Limits GetWorkerPreviewsBaseConfigLimits
    Resource limits enforced at runtime for newly created Previews.
    Logpush bool
    Whether logpush is enabled when creating new Previews.
    Observability GetWorkerPreviewsBaseConfigObservability
    Observability settings used when creating new Previews.
    Placement GetWorkerPreviewsBaseConfigPlacement
    Placement configuration used when creating new Previews.
    TailConsumers List<GetWorkerPreviewsBaseConfigTailConsumer>
    Other Workers that should consume logs from newly created Previews.
    CacheOptions GetWorkerPreviewsBaseConfigCacheOptions
    Cache options used when creating new Previews.
    Env map[string]GetWorkerPreviewsBaseConfigEnv
    Bindings used when creating new Previews, keyed by binding name.
    Limits GetWorkerPreviewsBaseConfigLimits
    Resource limits enforced at runtime for newly created Previews.
    Logpush bool
    Whether logpush is enabled when creating new Previews.
    Observability GetWorkerPreviewsBaseConfigObservability
    Observability settings used when creating new Previews.
    Placement GetWorkerPreviewsBaseConfigPlacement
    Placement configuration used when creating new Previews.
    TailConsumers []GetWorkerPreviewsBaseConfigTailConsumer
    Other Workers that should consume logs from newly created Previews.
    cache_options object
    Cache options used when creating new Previews.
    env map(object)
    Bindings used when creating new Previews, keyed by binding name.
    limits object
    Resource limits enforced at runtime for newly created Previews.
    logpush bool
    Whether logpush is enabled when creating new Previews.
    observability object
    Observability settings used when creating new Previews.
    placement object
    Placement configuration used when creating new Previews.
    tail_consumers list(object)
    Other Workers that should consume logs from newly created Previews.
    cacheOptions GetWorkerPreviewsBaseConfigCacheOptions
    Cache options used when creating new Previews.
    env Map<String,GetWorkerPreviewsBaseConfigEnv>
    Bindings used when creating new Previews, keyed by binding name.
    limits GetWorkerPreviewsBaseConfigLimits
    Resource limits enforced at runtime for newly created Previews.
    logpush Boolean
    Whether logpush is enabled when creating new Previews.
    observability GetWorkerPreviewsBaseConfigObservability
    Observability settings used when creating new Previews.
    placement GetWorkerPreviewsBaseConfigPlacement
    Placement configuration used when creating new Previews.
    tailConsumers List<GetWorkerPreviewsBaseConfigTailConsumer>
    Other Workers that should consume logs from newly created Previews.
    cacheOptions GetWorkerPreviewsBaseConfigCacheOptions
    Cache options used when creating new Previews.
    env {[key: string]: GetWorkerPreviewsBaseConfigEnv}
    Bindings used when creating new Previews, keyed by binding name.
    limits GetWorkerPreviewsBaseConfigLimits
    Resource limits enforced at runtime for newly created Previews.
    logpush boolean
    Whether logpush is enabled when creating new Previews.
    observability GetWorkerPreviewsBaseConfigObservability
    Observability settings used when creating new Previews.
    placement GetWorkerPreviewsBaseConfigPlacement
    Placement configuration used when creating new Previews.
    tailConsumers GetWorkerPreviewsBaseConfigTailConsumer[]
    Other Workers that should consume logs from newly created Previews.
    cache_options GetWorkerPreviewsBaseConfigCacheOptions
    Cache options used when creating new Previews.
    env Mapping[str, GetWorkerPreviewsBaseConfigEnv]
    Bindings used when creating new Previews, keyed by binding name.
    limits GetWorkerPreviewsBaseConfigLimits
    Resource limits enforced at runtime for newly created Previews.
    logpush bool
    Whether logpush is enabled when creating new Previews.
    observability GetWorkerPreviewsBaseConfigObservability
    Observability settings used when creating new Previews.
    placement GetWorkerPreviewsBaseConfigPlacement
    Placement configuration used when creating new Previews.
    tail_consumers Sequence[GetWorkerPreviewsBaseConfigTailConsumer]
    Other Workers that should consume logs from newly created Previews.
    cacheOptions Property Map
    Cache options used when creating new Previews.
    env Map<Property Map>
    Bindings used when creating new Previews, keyed by binding name.
    limits Property Map
    Resource limits enforced at runtime for newly created Previews.
    logpush Boolean
    Whether logpush is enabled when creating new Previews.
    observability Property Map
    Observability settings used when creating new Previews.
    placement Property Map
    Placement configuration used when creating new Previews.
    tailConsumers List<Property Map>
    Other Workers that should consume logs from newly created Previews.

    GetWorkerPreviewsBaseConfigCacheOptions

    CrossVersionCache bool
    Whether cached responses are shared across Worker version uploads. This is independent of enabled. It can stay true while caching is off, so the preference survives turning caching off and back on.
    Enabled bool
    Whether caching is enabled for this Worker.
    CrossVersionCache bool
    Whether cached responses are shared across Worker version uploads. This is independent of enabled. It can stay true while caching is off, so the preference survives turning caching off and back on.
    Enabled bool
    Whether caching is enabled for this Worker.
    cross_version_cache bool
    Whether cached responses are shared across Worker version uploads. This is independent of enabled. It can stay true while caching is off, so the preference survives turning caching off and back on.
    enabled bool
    Whether caching is enabled for this Worker.
    crossVersionCache Boolean
    Whether cached responses are shared across Worker version uploads. This is independent of enabled. It can stay true while caching is off, so the preference survives turning caching off and back on.
    enabled Boolean
    Whether caching is enabled for this Worker.
    crossVersionCache boolean
    Whether cached responses are shared across Worker version uploads. This is independent of enabled. It can stay true while caching is off, so the preference survives turning caching off and back on.
    enabled boolean
    Whether caching is enabled for this Worker.
    cross_version_cache bool
    Whether cached responses are shared across Worker version uploads. This is independent of enabled. It can stay true while caching is off, so the preference survives turning caching off and back on.
    enabled bool
    Whether caching is enabled for this Worker.
    crossVersionCache Boolean
    Whether cached responses are shared across Worker version uploads. This is independent of enabled. It can stay true while caching is off, so the preference survives turning caching off and back on.
    enabled Boolean
    Whether caching is enabled for this Worker.

    GetWorkerPreviewsBaseConfigEnv

    Type string
    The kind of resource that the binding provides.
    Type string
    The kind of resource that the binding provides.
    type string
    The kind of resource that the binding provides.
    type String
    The kind of resource that the binding provides.
    type string
    The kind of resource that the binding provides.
    type str
    The kind of resource that the binding provides.
    type String
    The kind of resource that the binding provides.

    GetWorkerPreviewsBaseConfigLimits

    CpuMs int
    The amount of CPU time this Worker can use in milliseconds.
    Subrequests int
    The number of subrequests this Worker can make per request.
    CpuMs int
    The amount of CPU time this Worker can use in milliseconds.
    Subrequests int
    The number of subrequests this Worker can make per request.
    cpu_ms number
    The amount of CPU time this Worker can use in milliseconds.
    subrequests number
    The number of subrequests this Worker can make per request.
    cpuMs Integer
    The amount of CPU time this Worker can use in milliseconds.
    subrequests Integer
    The number of subrequests this Worker can make per request.
    cpuMs number
    The amount of CPU time this Worker can use in milliseconds.
    subrequests number
    The number of subrequests this Worker can make per request.
    cpu_ms int
    The amount of CPU time this Worker can use in milliseconds.
    subrequests int
    The number of subrequests this Worker can make per request.
    cpuMs Number
    The amount of CPU time this Worker can use in milliseconds.
    subrequests Number
    The number of subrequests this Worker can make per request.

    GetWorkerPreviewsBaseConfigObservability

    Enabled bool
    Whether observability is enabled for the Worker.
    HeadSamplingRate double
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    Issues GetWorkerPreviewsBaseConfigObservabilityIssues
    Real-time Issues settings for the Worker.
    Logs GetWorkerPreviewsBaseConfigObservabilityLogs
    Log settings for the Worker.
    RedactQueryString bool
    Whether query strings are removed from request URLs in logs and traces.
    Traces GetWorkerPreviewsBaseConfigObservabilityTraces
    Trace settings for the Worker.
    Enabled bool
    Whether observability is enabled for the Worker.
    HeadSamplingRate float64
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    Issues GetWorkerPreviewsBaseConfigObservabilityIssues
    Real-time Issues settings for the Worker.
    Logs GetWorkerPreviewsBaseConfigObservabilityLogs
    Log settings for the Worker.
    RedactQueryString bool
    Whether query strings are removed from request URLs in logs and traces.
    Traces GetWorkerPreviewsBaseConfigObservabilityTraces
    Trace settings for the Worker.
    enabled bool
    Whether observability is enabled for the Worker.
    head_sampling_rate number
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    issues object
    Real-time Issues settings for the Worker.
    logs object
    Log settings for the Worker.
    redact_query_string bool
    Whether query strings are removed from request URLs in logs and traces.
    traces object
    Trace settings for the Worker.
    enabled Boolean
    Whether observability is enabled for the Worker.
    headSamplingRate Double
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    issues GetWorkerPreviewsBaseConfigObservabilityIssues
    Real-time Issues settings for the Worker.
    logs GetWorkerPreviewsBaseConfigObservabilityLogs
    Log settings for the Worker.
    redactQueryString Boolean
    Whether query strings are removed from request URLs in logs and traces.
    traces GetWorkerPreviewsBaseConfigObservabilityTraces
    Trace settings for the Worker.
    enabled boolean
    Whether observability is enabled for the Worker.
    headSamplingRate number
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    issues GetWorkerPreviewsBaseConfigObservabilityIssues
    Real-time Issues settings for the Worker.
    logs GetWorkerPreviewsBaseConfigObservabilityLogs
    Log settings for the Worker.
    redactQueryString boolean
    Whether query strings are removed from request URLs in logs and traces.
    traces GetWorkerPreviewsBaseConfigObservabilityTraces
    Trace settings for the Worker.
    enabled bool
    Whether observability is enabled for the Worker.
    head_sampling_rate float
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    issues GetWorkerPreviewsBaseConfigObservabilityIssues
    Real-time Issues settings for the Worker.
    logs GetWorkerPreviewsBaseConfigObservabilityLogs
    Log settings for the Worker.
    redact_query_string bool
    Whether query strings are removed from request URLs in logs and traces.
    traces GetWorkerPreviewsBaseConfigObservabilityTraces
    Trace settings for the Worker.
    enabled Boolean
    Whether observability is enabled for the Worker.
    headSamplingRate Number
    The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).
    issues Property Map
    Real-time Issues settings for the Worker.
    logs Property Map
    Log settings for the Worker.
    redactQueryString Boolean
    Whether query strings are removed from request URLs in logs and traces.
    traces Property Map
    Trace settings for the Worker.

    GetWorkerPreviewsBaseConfigObservabilityIssues

    Enabled bool
    Whether real-time Issues are enabled for the Worker.
    Enabled bool
    Whether real-time Issues are enabled for the Worker.
    enabled bool
    Whether real-time Issues are enabled for the Worker.
    enabled Boolean
    Whether real-time Issues are enabled for the Worker.
    enabled boolean
    Whether real-time Issues are enabled for the Worker.
    enabled bool
    Whether real-time Issues are enabled for the Worker.
    enabled Boolean
    Whether real-time Issues are enabled for the Worker.

    GetWorkerPreviewsBaseConfigObservabilityLogs

    Destinations List<string>
    A list of destinations where logs will be exported to.
    Enabled bool
    Whether logs are enabled for the Worker.
    HeadSamplingRate double
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    InvocationLogs bool
    Whether invocation logs are enabled for the Worker.
    Persist bool
    Whether log persistence is enabled for the Worker.
    Destinations []string
    A list of destinations where logs will be exported to.
    Enabled bool
    Whether logs are enabled for the Worker.
    HeadSamplingRate float64
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    InvocationLogs bool
    Whether invocation logs are enabled for the Worker.
    Persist bool
    Whether log persistence is enabled for the Worker.
    destinations list(string)
    A list of destinations where logs will be exported to.
    enabled bool
    Whether logs are enabled for the Worker.
    head_sampling_rate number
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    invocation_logs bool
    Whether invocation logs are enabled for the Worker.
    persist bool
    Whether log persistence is enabled for the Worker.
    destinations List<String>
    A list of destinations where logs will be exported to.
    enabled Boolean
    Whether logs are enabled for the Worker.
    headSamplingRate Double
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    invocationLogs Boolean
    Whether invocation logs are enabled for the Worker.
    persist Boolean
    Whether log persistence is enabled for the Worker.
    destinations string[]
    A list of destinations where logs will be exported to.
    enabled boolean
    Whether logs are enabled for the Worker.
    headSamplingRate number
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    invocationLogs boolean
    Whether invocation logs are enabled for the Worker.
    persist boolean
    Whether log persistence is enabled for the Worker.
    destinations Sequence[str]
    A list of destinations where logs will be exported to.
    enabled bool
    Whether logs are enabled for the Worker.
    head_sampling_rate float
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    invocation_logs bool
    Whether invocation logs are enabled for the Worker.
    persist bool
    Whether log persistence is enabled for the Worker.
    destinations List<String>
    A list of destinations where logs will be exported to.
    enabled Boolean
    Whether logs are enabled for the Worker.
    headSamplingRate Number
    The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).
    invocationLogs Boolean
    Whether invocation logs are enabled for the Worker.
    persist Boolean
    Whether log persistence is enabled for the Worker.

    GetWorkerPreviewsBaseConfigObservabilityTraces

    Destinations List<string>
    A list of destinations where traces will be exported to.
    Enabled bool
    Whether traces are enabled for the Worker.
    HeadSamplingRate double
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    Persist bool
    Whether trace persistence is enabled for the Worker.
    PropagationPolicy string
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    Destinations []string
    A list of destinations where traces will be exported to.
    Enabled bool
    Whether traces are enabled for the Worker.
    HeadSamplingRate float64
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    Persist bool
    Whether trace persistence is enabled for the Worker.
    PropagationPolicy string
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    destinations list(string)
    A list of destinations where traces will be exported to.
    enabled bool
    Whether traces are enabled for the Worker.
    head_sampling_rate number
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    persist bool
    Whether trace persistence is enabled for the Worker.
    propagation_policy string
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    destinations List<String>
    A list of destinations where traces will be exported to.
    enabled Boolean
    Whether traces are enabled for the Worker.
    headSamplingRate Double
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    persist Boolean
    Whether trace persistence is enabled for the Worker.
    propagationPolicy String
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    destinations string[]
    A list of destinations where traces will be exported to.
    enabled boolean
    Whether traces are enabled for the Worker.
    headSamplingRate number
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    persist boolean
    Whether trace persistence is enabled for the Worker.
    propagationPolicy string
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    destinations Sequence[str]
    A list of destinations where traces will be exported to.
    enabled bool
    Whether traces are enabled for the Worker.
    head_sampling_rate float
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    persist bool
    Whether trace persistence is enabled for the Worker.
    propagation_policy str
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".
    destinations List<String>
    A list of destinations where traces will be exported to.
    enabled Boolean
    Whether traces are enabled for the Worker.
    headSamplingRate Number
    The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).
    persist Boolean
    Whether trace persistence is enabled for the Worker.
    propagationPolicy String
    Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. "authenticated" honors inbound trace context only when accompanied by a valid trace auth token. "accept" unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account. Available values: "authenticated", "accept".

    GetWorkerPreviewsBaseConfigPlacement

    Host string
    TCP host and port for targeted placement.
    Hostname string
    HTTP hostname for targeted placement.
    Mode string
    Enables Smart Placement. Available values: "smart", "targeted".
    Region string
    Cloud region for targeted placement in format 'provider:region'.
    Targets List<GetWorkerPreviewsBaseConfigPlacementTarget>
    Array of placement targets (currently limited to single target).
    Host string
    TCP host and port for targeted placement.
    Hostname string
    HTTP hostname for targeted placement.
    Mode string
    Enables Smart Placement. Available values: "smart", "targeted".
    Region string
    Cloud region for targeted placement in format 'provider:region'.
    Targets []GetWorkerPreviewsBaseConfigPlacementTarget
    Array of placement targets (currently limited to single target).
    host string
    TCP host and port for targeted placement.
    hostname string
    HTTP hostname for targeted placement.
    mode string
    Enables Smart Placement. Available values: "smart", "targeted".
    region string
    Cloud region for targeted placement in format 'provider:region'.
    targets list(object)
    Array of placement targets (currently limited to single target).
    host String
    TCP host and port for targeted placement.
    hostname String
    HTTP hostname for targeted placement.
    mode String
    Enables Smart Placement. Available values: "smart", "targeted".
    region String
    Cloud region for targeted placement in format 'provider:region'.
    targets List<GetWorkerPreviewsBaseConfigPlacementTarget>
    Array of placement targets (currently limited to single target).
    host string
    TCP host and port for targeted placement.
    hostname string
    HTTP hostname for targeted placement.
    mode string
    Enables Smart Placement. Available values: "smart", "targeted".
    region string
    Cloud region for targeted placement in format 'provider:region'.
    targets GetWorkerPreviewsBaseConfigPlacementTarget[]
    Array of placement targets (currently limited to single target).
    host str
    TCP host and port for targeted placement.
    hostname str
    HTTP hostname for targeted placement.
    mode str
    Enables Smart Placement. Available values: "smart", "targeted".
    region str
    Cloud region for targeted placement in format 'provider:region'.
    targets Sequence[GetWorkerPreviewsBaseConfigPlacementTarget]
    Array of placement targets (currently limited to single target).
    host String
    TCP host and port for targeted placement.
    hostname String
    HTTP hostname for targeted placement.
    mode String
    Enables Smart Placement. Available values: "smart", "targeted".
    region String
    Cloud region for targeted placement in format 'provider:region'.
    targets List<Property Map>
    Array of placement targets (currently limited to single target).

    GetWorkerPreviewsBaseConfigPlacementTarget

    Host string
    TCP host:port for targeted placement.
    Hostname string
    HTTP hostname for targeted placement.
    Region string
    Cloud region in format 'provider:region'.
    Host string
    TCP host:port for targeted placement.
    Hostname string
    HTTP hostname for targeted placement.
    Region string
    Cloud region in format 'provider:region'.
    host string
    TCP host:port for targeted placement.
    hostname string
    HTTP hostname for targeted placement.
    region string
    Cloud region in format 'provider:region'.
    host String
    TCP host:port for targeted placement.
    hostname String
    HTTP hostname for targeted placement.
    region String
    Cloud region in format 'provider:region'.
    host string
    TCP host:port for targeted placement.
    hostname string
    HTTP hostname for targeted placement.
    region string
    Cloud region in format 'provider:region'.
    host str
    TCP host:port for targeted placement.
    hostname str
    HTTP hostname for targeted placement.
    region str
    Cloud region in format 'provider:region'.
    host String
    TCP host:port for targeted placement.
    hostname String
    HTTP hostname for targeted placement.
    region String
    Cloud region in format 'provider:region'.

    GetWorkerPreviewsBaseConfigTailConsumer

    Name string
    Name of the consumer Worker.
    Name string
    Name of the consumer Worker.
    name string
    Name of the consumer Worker.
    name String
    Name of the consumer Worker.
    name string
    Name of the consumer Worker.
    name str
    Name of the consumer Worker.
    name String
    Name of the consumer Worker.

    GetWorkerReferences

    DispatchNamespaceOutbounds List<GetWorkerReferencesDispatchNamespaceOutbound>
    Other Workers that reference the Worker as an outbound for a dispatch namespace.
    Domains List<GetWorkerReferencesDomain>
    Custom domains connected to the Worker.
    DurableObjects List<GetWorkerReferencesDurableObject>
    Other Workers that reference Durable Object classes implemented by the Worker.
    Queues List<GetWorkerReferencesQueue>
    Queues that send messages to the Worker.
    Workers List<GetWorkerReferencesWorker>
    Other Workers that reference the Worker using service bindings.
    DispatchNamespaceOutbounds []GetWorkerReferencesDispatchNamespaceOutbound
    Other Workers that reference the Worker as an outbound for a dispatch namespace.
    Domains []GetWorkerReferencesDomain
    Custom domains connected to the Worker.
    DurableObjects []GetWorkerReferencesDurableObject
    Other Workers that reference Durable Object classes implemented by the Worker.
    Queues []GetWorkerReferencesQueue
    Queues that send messages to the Worker.
    Workers []GetWorkerReferencesWorker
    Other Workers that reference the Worker using service bindings.
    dispatch_namespace_outbounds list(object)
    Other Workers that reference the Worker as an outbound for a dispatch namespace.
    domains list(object)
    Custom domains connected to the Worker.
    durable_objects list(object)
    Other Workers that reference Durable Object classes implemented by the Worker.
    queues list(object)
    Queues that send messages to the Worker.
    workers list(object)
    Other Workers that reference the Worker using service bindings.
    dispatchNamespaceOutbounds List<GetWorkerReferencesDispatchNamespaceOutbound>
    Other Workers that reference the Worker as an outbound for a dispatch namespace.
    domains List<GetWorkerReferencesDomain>
    Custom domains connected to the Worker.
    durableObjects List<GetWorkerReferencesDurableObject>
    Other Workers that reference Durable Object classes implemented by the Worker.
    queues List<GetWorkerReferencesQueue>
    Queues that send messages to the Worker.
    workers List<GetWorkerReferencesWorker>
    Other Workers that reference the Worker using service bindings.
    dispatchNamespaceOutbounds GetWorkerReferencesDispatchNamespaceOutbound[]
    Other Workers that reference the Worker as an outbound for a dispatch namespace.
    domains GetWorkerReferencesDomain[]
    Custom domains connected to the Worker.
    durableObjects GetWorkerReferencesDurableObject[]
    Other Workers that reference Durable Object classes implemented by the Worker.
    queues GetWorkerReferencesQueue[]
    Queues that send messages to the Worker.
    workers GetWorkerReferencesWorker[]
    Other Workers that reference the Worker using service bindings.
    dispatch_namespace_outbounds Sequence[GetWorkerReferencesDispatchNamespaceOutbound]
    Other Workers that reference the Worker as an outbound for a dispatch namespace.
    domains Sequence[GetWorkerReferencesDomain]
    Custom domains connected to the Worker.
    durable_objects Sequence[GetWorkerReferencesDurableObject]
    Other Workers that reference Durable Object classes implemented by the Worker.
    queues Sequence[GetWorkerReferencesQueue]
    Queues that send messages to the Worker.
    workers Sequence[GetWorkerReferencesWorker]
    Other Workers that reference the Worker using service bindings.
    dispatchNamespaceOutbounds List<Property Map>
    Other Workers that reference the Worker as an outbound for a dispatch namespace.
    domains List<Property Map>
    Custom domains connected to the Worker.
    durableObjects List<Property Map>
    Other Workers that reference Durable Object classes implemented by the Worker.
    queues List<Property Map>
    Queues that send messages to the Worker.
    workers List<Property Map>
    Other Workers that reference the Worker using service bindings.

    GetWorkerReferencesDispatchNamespaceOutbound

    NamespaceId string
    ID of the dispatch namespace.
    NamespaceName string
    Name of the dispatch namespace.
    WorkerId string
    ID of the Worker using the dispatch namespace.
    WorkerName string
    Name of the Worker using the dispatch namespace.
    NamespaceId string
    ID of the dispatch namespace.
    NamespaceName string
    Name of the dispatch namespace.
    WorkerId string
    ID of the Worker using the dispatch namespace.
    WorkerName string
    Name of the Worker using the dispatch namespace.
    namespace_id string
    ID of the dispatch namespace.
    namespace_name string
    Name of the dispatch namespace.
    worker_id string
    ID of the Worker using the dispatch namespace.
    worker_name string
    Name of the Worker using the dispatch namespace.
    namespaceId String
    ID of the dispatch namespace.
    namespaceName String
    Name of the dispatch namespace.
    workerId String
    ID of the Worker using the dispatch namespace.
    workerName String
    Name of the Worker using the dispatch namespace.
    namespaceId string
    ID of the dispatch namespace.
    namespaceName string
    Name of the dispatch namespace.
    workerId string
    ID of the Worker using the dispatch namespace.
    workerName string
    Name of the Worker using the dispatch namespace.
    namespace_id str
    ID of the dispatch namespace.
    namespace_name str
    Name of the dispatch namespace.
    worker_id str
    ID of the Worker using the dispatch namespace.
    worker_name str
    Name of the Worker using the dispatch namespace.
    namespaceId String
    ID of the dispatch namespace.
    namespaceName String
    Name of the dispatch namespace.
    workerId String
    ID of the Worker using the dispatch namespace.
    workerName String
    Name of the Worker using the dispatch namespace.

    GetWorkerReferencesDomain

    CertificateId string
    ID of the TLS certificate issued for the custom domain.
    Hostname string
    Full hostname of the custom domain, including the zone name.
    Id string
    ID of the custom domain.
    ZoneId string
    ID of the zone.
    ZoneName string
    Name of the zone.
    CertificateId string
    ID of the TLS certificate issued for the custom domain.
    Hostname string
    Full hostname of the custom domain, including the zone name.
    Id string
    ID of the custom domain.
    ZoneId string
    ID of the zone.
    ZoneName string
    Name of the zone.
    certificate_id string
    ID of the TLS certificate issued for the custom domain.
    hostname string
    Full hostname of the custom domain, including the zone name.
    id string
    ID of the custom domain.
    zone_id string
    ID of the zone.
    zone_name string
    Name of the zone.
    certificateId String
    ID of the TLS certificate issued for the custom domain.
    hostname String
    Full hostname of the custom domain, including the zone name.
    id String
    ID of the custom domain.
    zoneId String
    ID of the zone.
    zoneName String
    Name of the zone.
    certificateId string
    ID of the TLS certificate issued for the custom domain.
    hostname string
    Full hostname of the custom domain, including the zone name.
    id string
    ID of the custom domain.
    zoneId string
    ID of the zone.
    zoneName string
    Name of the zone.
    certificate_id str
    ID of the TLS certificate issued for the custom domain.
    hostname str
    Full hostname of the custom domain, including the zone name.
    id str
    ID of the custom domain.
    zone_id str
    ID of the zone.
    zone_name str
    Name of the zone.
    certificateId String
    ID of the TLS certificate issued for the custom domain.
    hostname String
    Full hostname of the custom domain, including the zone name.
    id String
    ID of the custom domain.
    zoneId String
    ID of the zone.
    zoneName String
    Name of the zone.

    GetWorkerReferencesDurableObject

    NamespaceId string
    ID of the Durable Object namespace being used.
    NamespaceName string
    Name of the Durable Object namespace being used.
    WorkerId string
    ID of the Worker using the Durable Object implementation.
    WorkerName string
    Name of the Worker using the Durable Object implementation.
    NamespaceId string
    ID of the Durable Object namespace being used.
    NamespaceName string
    Name of the Durable Object namespace being used.
    WorkerId string
    ID of the Worker using the Durable Object implementation.
    WorkerName string
    Name of the Worker using the Durable Object implementation.
    namespace_id string
    ID of the Durable Object namespace being used.
    namespace_name string
    Name of the Durable Object namespace being used.
    worker_id string
    ID of the Worker using the Durable Object implementation.
    worker_name string
    Name of the Worker using the Durable Object implementation.
    namespaceId String
    ID of the Durable Object namespace being used.
    namespaceName String
    Name of the Durable Object namespace being used.
    workerId String
    ID of the Worker using the Durable Object implementation.
    workerName String
    Name of the Worker using the Durable Object implementation.
    namespaceId string
    ID of the Durable Object namespace being used.
    namespaceName string
    Name of the Durable Object namespace being used.
    workerId string
    ID of the Worker using the Durable Object implementation.
    workerName string
    Name of the Worker using the Durable Object implementation.
    namespace_id str
    ID of the Durable Object namespace being used.
    namespace_name str
    Name of the Durable Object namespace being used.
    worker_id str
    ID of the Worker using the Durable Object implementation.
    worker_name str
    Name of the Worker using the Durable Object implementation.
    namespaceId String
    ID of the Durable Object namespace being used.
    namespaceName String
    Name of the Durable Object namespace being used.
    workerId String
    ID of the Worker using the Durable Object implementation.
    workerName String
    Name of the Worker using the Durable Object implementation.

    GetWorkerReferencesQueue

    QueueConsumerId string
    ID of the queue consumer configuration.
    QueueId string
    ID of the queue.
    QueueName string
    Name of the queue.
    QueueConsumerId string
    ID of the queue consumer configuration.
    QueueId string
    ID of the queue.
    QueueName string
    Name of the queue.
    queue_consumer_id string
    ID of the queue consumer configuration.
    queue_id string
    ID of the queue.
    queue_name string
    Name of the queue.
    queueConsumerId String
    ID of the queue consumer configuration.
    queueId String
    ID of the queue.
    queueName String
    Name of the queue.
    queueConsumerId string
    ID of the queue consumer configuration.
    queueId string
    ID of the queue.
    queueName string
    Name of the queue.
    queue_consumer_id str
    ID of the queue consumer configuration.
    queue_id str
    ID of the queue.
    queue_name str
    Name of the queue.
    queueConsumerId String
    ID of the queue consumer configuration.
    queueId String
    ID of the queue.
    queueName String
    Name of the queue.

    GetWorkerReferencesWorker

    Id string
    ID of the referencing Worker.
    Name string
    Name of the referencing Worker.
    Id string
    ID of the referencing Worker.
    Name string
    Name of the referencing Worker.
    id string
    ID of the referencing Worker.
    name string
    Name of the referencing Worker.
    id String
    ID of the referencing Worker.
    name String
    Name of the referencing Worker.
    id string
    ID of the referencing Worker.
    name string
    Name of the referencing Worker.
    id str
    ID of the referencing Worker.
    name str
    Name of the referencing Worker.
    id String
    ID of the referencing Worker.
    name String
    Name of the referencing Worker.

    GetWorkerSubdomain

    Enabled bool
    Whether the *.workers.dev subdomain is enabled for the Worker.
    PreviewUrlSuffix string
    Prepend a version or preview prefix to this host suffix to form the *.workers.dev preview URL the Worker would serve on once previews are enabled, e.g. https://<prefix>-my-worker.my-subdomain.workers.dev. Present whenever the account owns a workers.dev subdomain, regardless of whether previewsEnabled is true, so presence does not imply preview URLs are currently live. Absent only when the account owns no workers.dev subdomain.
    PreviewsEnabled bool
    Whether preview URLs are enabled for the Worker.
    Url string
    The address the Worker would serve on once its *.workers.dev subdomain is enabled. Present whenever the account owns a workers.dev subdomain, regardless of whether enabled is true, so presence does not imply the Worker is currently live at this URL. Absent only when the account owns no workers.dev subdomain.
    Enabled bool
    Whether the *.workers.dev subdomain is enabled for the Worker.
    PreviewUrlSuffix string
    Prepend a version or preview prefix to this host suffix to form the *.workers.dev preview URL the Worker would serve on once previews are enabled, e.g. https://<prefix>-my-worker.my-subdomain.workers.dev. Present whenever the account owns a workers.dev subdomain, regardless of whether previewsEnabled is true, so presence does not imply preview URLs are currently live. Absent only when the account owns no workers.dev subdomain.
    PreviewsEnabled bool
    Whether preview URLs are enabled for the Worker.
    Url string
    The address the Worker would serve on once its *.workers.dev subdomain is enabled. Present whenever the account owns a workers.dev subdomain, regardless of whether enabled is true, so presence does not imply the Worker is currently live at this URL. Absent only when the account owns no workers.dev subdomain.
    enabled bool
    Whether the *.workers.dev subdomain is enabled for the Worker.
    preview_url_suffix string
    Prepend a version or preview prefix to this host suffix to form the *.workers.dev preview URL the Worker would serve on once previews are enabled, e.g. https://<prefix>-my-worker.my-subdomain.workers.dev. Present whenever the account owns a workers.dev subdomain, regardless of whether previewsEnabled is true, so presence does not imply preview URLs are currently live. Absent only when the account owns no workers.dev subdomain.
    previews_enabled bool
    Whether preview URLs are enabled for the Worker.
    url string
    The address the Worker would serve on once its *.workers.dev subdomain is enabled. Present whenever the account owns a workers.dev subdomain, regardless of whether enabled is true, so presence does not imply the Worker is currently live at this URL. Absent only when the account owns no workers.dev subdomain.
    enabled Boolean
    Whether the *.workers.dev subdomain is enabled for the Worker.
    previewUrlSuffix String
    Prepend a version or preview prefix to this host suffix to form the *.workers.dev preview URL the Worker would serve on once previews are enabled, e.g. https://<prefix>-my-worker.my-subdomain.workers.dev. Present whenever the account owns a workers.dev subdomain, regardless of whether previewsEnabled is true, so presence does not imply preview URLs are currently live. Absent only when the account owns no workers.dev subdomain.
    previewsEnabled Boolean
    Whether preview URLs are enabled for the Worker.
    url String
    The address the Worker would serve on once its *.workers.dev subdomain is enabled. Present whenever the account owns a workers.dev subdomain, regardless of whether enabled is true, so presence does not imply the Worker is currently live at this URL. Absent only when the account owns no workers.dev subdomain.
    enabled boolean
    Whether the *.workers.dev subdomain is enabled for the Worker.
    previewUrlSuffix string
    Prepend a version or preview prefix to this host suffix to form the *.workers.dev preview URL the Worker would serve on once previews are enabled, e.g. https://<prefix>-my-worker.my-subdomain.workers.dev. Present whenever the account owns a workers.dev subdomain, regardless of whether previewsEnabled is true, so presence does not imply preview URLs are currently live. Absent only when the account owns no workers.dev subdomain.
    previewsEnabled boolean
    Whether preview URLs are enabled for the Worker.
    url string
    The address the Worker would serve on once its *.workers.dev subdomain is enabled. Present whenever the account owns a workers.dev subdomain, regardless of whether enabled is true, so presence does not imply the Worker is currently live at this URL. Absent only when the account owns no workers.dev subdomain.
    enabled bool
    Whether the *.workers.dev subdomain is enabled for the Worker.
    preview_url_suffix str
    Prepend a version or preview prefix to this host suffix to form the *.workers.dev preview URL the Worker would serve on once previews are enabled, e.g. https://<prefix>-my-worker.my-subdomain.workers.dev. Present whenever the account owns a workers.dev subdomain, regardless of whether previewsEnabled is true, so presence does not imply preview URLs are currently live. Absent only when the account owns no workers.dev subdomain.
    previews_enabled bool
    Whether preview URLs are enabled for the Worker.
    url str
    The address the Worker would serve on once its *.workers.dev subdomain is enabled. Present whenever the account owns a workers.dev subdomain, regardless of whether enabled is true, so presence does not imply the Worker is currently live at this URL. Absent only when the account owns no workers.dev subdomain.
    enabled Boolean
    Whether the *.workers.dev subdomain is enabled for the Worker.
    previewUrlSuffix String
    Prepend a version or preview prefix to this host suffix to form the *.workers.dev preview URL the Worker would serve on once previews are enabled, e.g. https://<prefix>-my-worker.my-subdomain.workers.dev. Present whenever the account owns a workers.dev subdomain, regardless of whether previewsEnabled is true, so presence does not imply preview URLs are currently live. Absent only when the account owns no workers.dev subdomain.
    previewsEnabled Boolean
    Whether preview URLs are enabled for the Worker.
    url String
    The address the Worker would serve on once its *.workers.dev subdomain is enabled. Present whenever the account owns a workers.dev subdomain, regardless of whether enabled is true, so presence does not imply the Worker is currently live at this URL. Absent only when the account owns no workers.dev subdomain.

    GetWorkerTailConsumer

    Name string
    Name of the consumer Worker.
    Name string
    Name of the consumer Worker.
    name string
    Name of the consumer Worker.
    name String
    Name of the consumer Worker.
    name string
    Name of the consumer Worker.
    name str
    Name of the consumer Worker.
    name String
    Name of the consumer Worker.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo cloudflare logo
    Viewing docs for Cloudflare v6.23.2
    published on Tuesday, Oct 27, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial