Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleWorkersScripts = cloudflare.getWorkersScripts({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
tags: "production:yes,staging:no",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_workers_scripts = cloudflare.get_workers_scripts(account_id="023e105f4ecef8ad9ca31a8372d0c353",
tags="production:yes,staging:no")
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.LookupWorkersScripts(ctx, &cloudflare.LookupWorkersScriptsArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
Tags: pulumi.StringRef("production:yes,staging:no"),
}, 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 exampleWorkersScripts = Cloudflare.GetWorkersScripts.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
Tags = "production:yes,staging:no",
});
});
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.GetWorkersScriptsArgs;
import java.util.List;
import java.util.ArrayList;
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 exampleWorkersScripts = CloudflareFunctions.getWorkersScripts(GetWorkersScriptsArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.tags("production:yes,staging:no")
.build());
}
}
variables:
exampleWorkersScripts:
fn::invoke:
function: cloudflare:getWorkersScripts
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
tags: production:yes,staging:no
Using getWorkersScripts
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 getWorkersScripts(args: GetWorkersScriptsArgs, opts?: InvokeOptions): Promise<GetWorkersScriptsResult>
function getWorkersScriptsOutput(args: GetWorkersScriptsOutputArgs, opts?: InvokeOptions): Output<GetWorkersScriptsResult>def get_workers_scripts(account_id: Optional[str] = None,
max_items: Optional[int] = None,
tags: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkersScriptsResult
def get_workers_scripts_output(account_id: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkersScriptsResult]func LookupWorkersScripts(ctx *Context, args *LookupWorkersScriptsArgs, opts ...InvokeOption) (*LookupWorkersScriptsResult, error)
func LookupWorkersScriptsOutput(ctx *Context, args *LookupWorkersScriptsOutputArgs, opts ...InvokeOption) LookupWorkersScriptsResultOutput> Note: This function is named LookupWorkersScripts in the Go SDK.
public static class GetWorkersScripts
{
public static Task<GetWorkersScriptsResult> InvokeAsync(GetWorkersScriptsArgs args, InvokeOptions? opts = null)
public static Output<GetWorkersScriptsResult> Invoke(GetWorkersScriptsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkersScriptsResult> getWorkersScripts(GetWorkersScriptsArgs args, InvokeOptions options)
public static Output<GetWorkersScriptsResult> getWorkersScripts(GetWorkersScriptsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getWorkersScripts:getWorkersScripts
arguments:
# arguments dictionaryThe following arguments are supported:
- account_
id str - Identifier.
- max_
items int - Max items to fetch, default: 1000
- str
- Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.
getWorkersScripts Result
The following output properties are available:
- Account
Id string - Identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Workers Scripts Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- string
- Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.
- Account
Id string - Identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Workers Scripts Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- string
- Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.
- account
Id String - Identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Workers Scripts Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- String
- Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.
- account
Id string - Identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Workers Scripts Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- string
- Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.
- account_
id str - Identifier.
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Workers Scripts Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- str
- Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.
- account
Id String - Identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
- String
- Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.
Supporting Types
GetWorkersScriptsResult
- Compatibility
Date string - Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
- Compatibility
Flags List<string> - Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a
compatibilityDate. - Created
On string - When the script was created.
- Etag string
- Hashed script content, can be used in a If-None-Match header when updating.
- Handlers List<string>
- The names of handlers exported as part of the default export.
- Has
Assets bool - Whether a Worker contains assets.
- Has
Modules bool - Whether a Worker contains modules.
- Id string
- The name used to identify the script.
- Last
Deployed stringFrom - The client most recently used to deploy this Worker.
- Logpush bool
- Whether Logpush is turned on for the Worker.
- Migration
Tag string - The tag of the Durable Object migration that was most recently applied for this Worker.
- Modified
On string - When the script was last modified.
- Named
Handlers List<GetWorkers Scripts Result Named Handler> - Named exports, such as Durable Object class implementations and named entrypoints.
- Observability
Get
Workers Scripts Result Observability - Observability settings for the Worker.
- Placement
Get
Workers Scripts Result Placement - Configuration for Smart Placement. Specify mode='smart' for Smart Placement, or one of region/hostname/host.
- Placement
Mode string - Available values: "smart", "targeted".
- Placement
Status string - Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- Routes
List<Get
Workers Scripts Result Route> - Routes associated with the Worker.
- Tag string
- The immutable ID of the script.
- List<string>
- Tags associated with the Worker.
- Tail
Consumers List<GetWorkers Scripts Result Tail Consumer> - List of Workers that will consume logs from the attached Worker.
- Usage
Model string - Usage model for the Worker invocations. Available values: "standard", "bundled", "unbound".
- Compatibility
Date string - Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
- Compatibility
Flags []string - Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a
compatibilityDate. - Created
On string - When the script was created.
- Etag string
- Hashed script content, can be used in a If-None-Match header when updating.
- Handlers []string
- The names of handlers exported as part of the default export.
- Has
Assets bool - Whether a Worker contains assets.
- Has
Modules bool - Whether a Worker contains modules.
- Id string
- The name used to identify the script.
- Last
Deployed stringFrom - The client most recently used to deploy this Worker.
- Logpush bool
- Whether Logpush is turned on for the Worker.
- Migration
Tag string - The tag of the Durable Object migration that was most recently applied for this Worker.
- Modified
On string - When the script was last modified.
- Named
Handlers []GetWorkers Scripts Result Named Handler - Named exports, such as Durable Object class implementations and named entrypoints.
- Observability
Get
Workers Scripts Result Observability - Observability settings for the Worker.
- Placement
Get
Workers Scripts Result Placement - Configuration for Smart Placement. Specify mode='smart' for Smart Placement, or one of region/hostname/host.
- Placement
Mode string - Available values: "smart", "targeted".
- Placement
Status string - Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- Routes
[]Get
Workers Scripts Result Route - Routes associated with the Worker.
- Tag string
- The immutable ID of the script.
- []string
- Tags associated with the Worker.
- Tail
Consumers []GetWorkers Scripts Result Tail Consumer - List of Workers that will consume logs from the attached Worker.
- Usage
Model string - Usage model for the Worker invocations. Available values: "standard", "bundled", "unbound".
- compatibility
Date String - Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
- compatibility
Flags List<String> - Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a
compatibilityDate. - created
On String - When the script was created.
- etag String
- Hashed script content, can be used in a If-None-Match header when updating.
- handlers List<String>
- The names of handlers exported as part of the default export.
- has
Assets Boolean - Whether a Worker contains assets.
- has
Modules Boolean - Whether a Worker contains modules.
- id String
- The name used to identify the script.
- last
Deployed StringFrom - The client most recently used to deploy this Worker.
- logpush Boolean
- Whether Logpush is turned on for the Worker.
- migration
Tag String - The tag of the Durable Object migration that was most recently applied for this Worker.
- modified
On String - When the script was last modified.
- named
Handlers List<GetWorkers Scripts Result Named Handler> - Named exports, such as Durable Object class implementations and named entrypoints.
- observability
Get
Workers Scripts Result Observability - Observability settings for the Worker.
- placement
Get
Workers Scripts Result Placement - Configuration for Smart Placement. Specify mode='smart' for Smart Placement, or one of region/hostname/host.
- placement
Mode String - Available values: "smart", "targeted".
- placement
Status String - Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- routes
List<Get
Workers Scripts Result Route> - Routes associated with the Worker.
- tag String
- The immutable ID of the script.
- List<String>
- Tags associated with the Worker.
- tail
Consumers List<GetWorkers Scripts Result Tail Consumer> - List of Workers that will consume logs from the attached Worker.
- usage
Model String - Usage model for the Worker invocations. Available values: "standard", "bundled", "unbound".
- compatibility
Date string - Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
- compatibility
Flags string[] - Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a
compatibilityDate. - created
On string - When the script was created.
- etag string
- Hashed script content, can be used in a If-None-Match header when updating.
- handlers string[]
- The names of handlers exported as part of the default export.
- has
Assets boolean - Whether a Worker contains assets.
- has
Modules boolean - Whether a Worker contains modules.
- id string
- The name used to identify the script.
- last
Deployed stringFrom - The client most recently used to deploy this Worker.
- logpush boolean
- Whether Logpush is turned on for the Worker.
- migration
Tag string - The tag of the Durable Object migration that was most recently applied for this Worker.
- modified
On string - When the script was last modified.
- named
Handlers GetWorkers Scripts Result Named Handler[] - Named exports, such as Durable Object class implementations and named entrypoints.
- observability
Get
Workers Scripts Result Observability - Observability settings for the Worker.
- placement
Get
Workers Scripts Result Placement - Configuration for Smart Placement. Specify mode='smart' for Smart Placement, or one of region/hostname/host.
- placement
Mode string - Available values: "smart", "targeted".
- placement
Status string - Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- routes
Get
Workers Scripts Result Route[] - Routes associated with the Worker.
- tag string
- The immutable ID of the script.
- string[]
- Tags associated with the Worker.
- tail
Consumers GetWorkers Scripts Result Tail Consumer[] - List of Workers that will consume logs from the attached Worker.
- usage
Model string - Usage model for the Worker invocations. Available values: "standard", "bundled", "unbound".
- compatibility_
date str - Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
- compatibility_
flags Sequence[str] - Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a
compatibilityDate. - created_
on str - When the script was created.
- etag str
- Hashed script content, can be used in a If-None-Match header when updating.
- handlers Sequence[str]
- The names of handlers exported as part of the default export.
- has_
assets bool - Whether a Worker contains assets.
- has_
modules bool - Whether a Worker contains modules.
- id str
- The name used to identify the script.
- last_
deployed_ strfrom - The client most recently used to deploy this Worker.
- logpush bool
- Whether Logpush is turned on for the Worker.
- migration_
tag str - The tag of the Durable Object migration that was most recently applied for this Worker.
- modified_
on str - When the script was last modified.
- named_
handlers Sequence[GetWorkers Scripts Result Named Handler] - Named exports, such as Durable Object class implementations and named entrypoints.
- observability
Get
Workers Scripts Result Observability - Observability settings for the Worker.
- placement
Get
Workers Scripts Result Placement - Configuration for Smart Placement. Specify mode='smart' for Smart Placement, or one of region/hostname/host.
- placement_
mode str - Available values: "smart", "targeted".
- placement_
status str - Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- routes
Sequence[Get
Workers Scripts Result Route] - Routes associated with the Worker.
- tag str
- The immutable ID of the script.
- Sequence[str]
- Tags associated with the Worker.
- tail_
consumers Sequence[GetWorkers Scripts Result Tail Consumer] - List of Workers that will consume logs from the attached Worker.
- usage_
model str - Usage model for the Worker invocations. Available values: "standard", "bundled", "unbound".
- compatibility
Date String - Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
- compatibility
Flags List<String> - Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a
compatibilityDate. - created
On String - When the script was created.
- etag String
- Hashed script content, can be used in a If-None-Match header when updating.
- handlers List<String>
- The names of handlers exported as part of the default export.
- has
Assets Boolean - Whether a Worker contains assets.
- has
Modules Boolean - Whether a Worker contains modules.
- id String
- The name used to identify the script.
- last
Deployed StringFrom - The client most recently used to deploy this Worker.
- logpush Boolean
- Whether Logpush is turned on for the Worker.
- migration
Tag String - The tag of the Durable Object migration that was most recently applied for this Worker.
- modified
On String - When the script was last modified.
- named
Handlers List<Property Map> - Named exports, such as Durable Object class implementations and named entrypoints.
- observability Property Map
- Observability settings for the Worker.
- placement Property Map
- Configuration for Smart Placement. Specify mode='smart' for Smart Placement, or one of region/hostname/host.
- placement
Mode String - Available values: "smart", "targeted".
- placement
Status String - Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- routes List<Property Map>
- Routes associated with the Worker.
- tag String
- The immutable ID of the script.
- List<String>
- Tags associated with the Worker.
- tail
Consumers List<Property Map> - List of Workers that will consume logs from the attached Worker.
- usage
Model String - Usage model for the Worker invocations. Available values: "standard", "bundled", "unbound".
GetWorkersScriptsResultNamedHandler
GetWorkersScriptsResultObservability
- Enabled bool
- Whether observability is enabled for the Worker.
- Head
Sampling doubleRate - The sampling rate for incoming requests. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- Logs
Get
Workers Scripts Result Observability Logs - Log settings for the Worker.
- Enabled bool
- Whether observability is enabled for the Worker.
- Head
Sampling float64Rate - The sampling rate for incoming requests. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- Logs
Get
Workers Scripts Result Observability Logs - Log settings for the Worker.
- enabled Boolean
- Whether observability is enabled for the Worker.
- head
Sampling DoubleRate - The sampling rate for incoming requests. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- logs
Get
Workers Scripts Result Observability Logs - Log settings for the Worker.
- enabled boolean
- Whether observability is enabled for the Worker.
- head
Sampling numberRate - The sampling rate for incoming requests. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- logs
Get
Workers Scripts Result Observability Logs - Log settings for the Worker.
- enabled bool
- Whether observability is enabled for the Worker.
- head_
sampling_ floatrate - The sampling rate for incoming requests. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- logs
Get
Workers Scripts Result Observability Logs - Log settings for the Worker.
- enabled Boolean
- Whether observability is enabled for the Worker.
- head
Sampling NumberRate - The sampling rate for incoming requests. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- logs Property Map
- Log settings for the Worker.
GetWorkersScriptsResultObservabilityLogs
- Destinations List<string>
- A list of destinations where logs will be exported to.
- Enabled bool
- Whether logs are enabled for the Worker.
- Head
Sampling doubleRate - The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- Invocation
Logs 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.
- Head
Sampling float64Rate - The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- 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.
- head
Sampling DoubleRate - The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- invocation
Logs 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.
- head
Sampling numberRate - The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- invocation
Logs 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_ floatrate - The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- 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.
- head
Sampling NumberRate - The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
- invocation
Logs Boolean - Whether invocation logs are enabled for the Worker.
- persist Boolean
- Whether log persistence is enabled for the Worker.
GetWorkersScriptsResultPlacement
- Host string
- TCP host and port for targeted placement.
- Hostname string
- HTTP hostname for targeted placement.
- Last
Analyzed stringAt - The last time the script was analyzed for Smart Placement.
- Mode string
- Enables Smart Placement. Available values: "smart", "targeted".
- Region string
- Cloud region for targeted placement in format 'provider:region'.
- Status string
- Status of Smart Placement. Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- Targets
List<Get
Workers Scripts Result Placement Target> - 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.
- Last
Analyzed stringAt - The last time the script was analyzed for Smart Placement.
- Mode string
- Enables Smart Placement. Available values: "smart", "targeted".
- Region string
- Cloud region for targeted placement in format 'provider:region'.
- Status string
- Status of Smart Placement. Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- Targets
[]Get
Workers Scripts Result Placement Target - 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.
- last
Analyzed StringAt - The last time the script was analyzed for Smart Placement.
- mode String
- Enables Smart Placement. Available values: "smart", "targeted".
- region String
- Cloud region for targeted placement in format 'provider:region'.
- status String
- Status of Smart Placement. Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- targets
List<Get
Workers Scripts Result Placement Target> - 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.
- last
Analyzed stringAt - The last time the script was analyzed for Smart Placement.
- mode string
- Enables Smart Placement. Available values: "smart", "targeted".
- region string
- Cloud region for targeted placement in format 'provider:region'.
- status string
- Status of Smart Placement. Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- targets
Get
Workers Scripts Result Placement Target[] - 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.
- last_
analyzed_ strat - The last time the script was analyzed for Smart Placement.
- mode str
- Enables Smart Placement. Available values: "smart", "targeted".
- region str
- Cloud region for targeted placement in format 'provider:region'.
- status str
- Status of Smart Placement. Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- targets
Sequence[Get
Workers Scripts Result Placement Target] - 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.
- last
Analyzed StringAt - The last time the script was analyzed for Smart Placement.
- mode String
- Enables Smart Placement. Available values: "smart", "targeted".
- region String
- Cloud region for targeted placement in format 'provider:region'.
- status String
- Status of Smart Placement. Available values: "SUCCESS", "UNSUPPORTEDAPPLICATION", "INSUFFICIENTINVOCATIONS".
- targets List<Property Map>
- Array of placement targets (currently limited to single target).
GetWorkersScriptsResultPlacementTarget
GetWorkersScriptsResultRoute
- Id string
- Identifier.
- Pattern string
- Pattern to match incoming requests against. Learn more.
- Script string
- Name of the script to run if the route matches.
- Id string
- Identifier.
- Pattern string
- Pattern to match incoming requests against. Learn more.
- Script string
- Name of the script to run if the route matches.
- id String
- Identifier.
- pattern String
- Pattern to match incoming requests against. Learn more.
- script String
- Name of the script to run if the route matches.
- id string
- Identifier.
- pattern string
- Pattern to match incoming requests against. Learn more.
- script string
- Name of the script to run if the route matches.
- id str
- Identifier.
- pattern str
- Pattern to match incoming requests against. Learn more.
- script str
- Name of the script to run if the route matches.
- id String
- Identifier.
- pattern String
- Pattern to match incoming requests against. Learn more.
- script String
- Name of the script to run if the route matches.
GetWorkersScriptsResultTailConsumer
- Environment string
- Optional environment if the Worker utilizes one.
- Namespace string
- Optional dispatch namespace the script belongs to.
- Service string
- Name of Worker that is to be the consumer.
- Environment string
- Optional environment if the Worker utilizes one.
- Namespace string
- Optional dispatch namespace the script belongs to.
- Service string
- Name of Worker that is to be the consumer.
- environment String
- Optional environment if the Worker utilizes one.
- namespace String
- Optional dispatch namespace the script belongs to.
- service String
- Name of Worker that is to be the consumer.
- environment string
- Optional environment if the Worker utilizes one.
- namespace string
- Optional dispatch namespace the script belongs to.
- service string
- Name of Worker that is to be the consumer.
- environment str
- Optional environment if the Worker utilizes one.
- namespace str
- Optional dispatch namespace the script belongs to.
- service str
- Name of Worker that is to be the consumer.
- environment String
- Optional environment if the Worker utilizes one.
- namespace String
- Optional dispatch namespace the script belongs to.
- service String
- Name of Worker that is to be the consumer.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
