Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleWorkersForPlatformsDispatchNamespaces = cloudflare.getWorkersForPlatformsDispatchNamespaces({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_workers_for_platforms_dispatch_namespaces = cloudflare.get_workers_for_platforms_dispatch_namespaces(account_id="023e105f4ecef8ad9ca31a8372d0c353")
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.LookupWorkersForPlatformsDispatchNamespaces(ctx, &cloudflare.LookupWorkersForPlatformsDispatchNamespacesArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
}, 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 exampleWorkersForPlatformsDispatchNamespaces = Cloudflare.GetWorkersForPlatformsDispatchNamespaces.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
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.GetWorkersForPlatformsDispatchNamespacesArgs;
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 exampleWorkersForPlatformsDispatchNamespaces = CloudflareFunctions.getWorkersForPlatformsDispatchNamespaces(GetWorkersForPlatformsDispatchNamespacesArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleWorkersForPlatformsDispatchNamespaces:
fn::invoke:
function: cloudflare:getWorkersForPlatformsDispatchNamespaces
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
Using getWorkersForPlatformsDispatchNamespaces
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 getWorkersForPlatformsDispatchNamespaces(args: GetWorkersForPlatformsDispatchNamespacesArgs, opts?: InvokeOptions): Promise<GetWorkersForPlatformsDispatchNamespacesResult>
function getWorkersForPlatformsDispatchNamespacesOutput(args: GetWorkersForPlatformsDispatchNamespacesOutputArgs, opts?: InvokeOptions): Output<GetWorkersForPlatformsDispatchNamespacesResult>def get_workers_for_platforms_dispatch_namespaces(account_id: Optional[str] = None,
max_items: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkersForPlatformsDispatchNamespacesResult
def get_workers_for_platforms_dispatch_namespaces_output(account_id: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkersForPlatformsDispatchNamespacesResult]func LookupWorkersForPlatformsDispatchNamespaces(ctx *Context, args *LookupWorkersForPlatformsDispatchNamespacesArgs, opts ...InvokeOption) (*LookupWorkersForPlatformsDispatchNamespacesResult, error)
func LookupWorkersForPlatformsDispatchNamespacesOutput(ctx *Context, args *LookupWorkersForPlatformsDispatchNamespacesOutputArgs, opts ...InvokeOption) LookupWorkersForPlatformsDispatchNamespacesResultOutput> Note: This function is named LookupWorkersForPlatformsDispatchNamespaces in the Go SDK.
public static class GetWorkersForPlatformsDispatchNamespaces
{
public static Task<GetWorkersForPlatformsDispatchNamespacesResult> InvokeAsync(GetWorkersForPlatformsDispatchNamespacesArgs args, InvokeOptions? opts = null)
public static Output<GetWorkersForPlatformsDispatchNamespacesResult> Invoke(GetWorkersForPlatformsDispatchNamespacesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkersForPlatformsDispatchNamespacesResult> getWorkersForPlatformsDispatchNamespaces(GetWorkersForPlatformsDispatchNamespacesArgs args, InvokeOptions options)
public static Output<GetWorkersForPlatformsDispatchNamespacesResult> getWorkersForPlatformsDispatchNamespaces(GetWorkersForPlatformsDispatchNamespacesArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getWorkersForPlatformsDispatchNamespaces:getWorkersForPlatformsDispatchNamespaces
arguments:
# arguments dictionaryThe following arguments are supported:
- account_
id str - Identifier.
- max_
items int - Max items to fetch, default: 1000
getWorkersForPlatformsDispatchNamespaces 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 For Platforms Dispatch Namespaces Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Workers For Platforms Dispatch Namespaces Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account
Id String - Identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Workers For Platforms Dispatch Namespaces Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Workers For Platforms Dispatch Namespaces Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Identifier.
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Workers For Platforms Dispatch Namespaces Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- 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
Supporting Types
GetWorkersForPlatformsDispatchNamespacesResult
- Created
By string - Identifier.
- Created
On string - When the script was created.
- Id string
- Name of the Workers for Platforms dispatch namespace.
- Modified
By string - Identifier.
- Modified
On string - When the script was last modified.
- Namespace
Id string - API Resource UUID tag.
- Namespace
Name string - Name of the Workers for Platforms dispatch namespace.
- Script
Count int - The current number of scripts in this Dispatch Namespace.
- Trusted
Workers bool - Whether the Workers in the namespace are executed in a "trusted" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the
request.cfobject on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, andrequest.cfis undefined. By default, Workers in a namespace are "untrusted".
- Created
By string - Identifier.
- Created
On string - When the script was created.
- Id string
- Name of the Workers for Platforms dispatch namespace.
- Modified
By string - Identifier.
- Modified
On string - When the script was last modified.
- Namespace
Id string - API Resource UUID tag.
- Namespace
Name string - Name of the Workers for Platforms dispatch namespace.
- Script
Count int - The current number of scripts in this Dispatch Namespace.
- Trusted
Workers bool - Whether the Workers in the namespace are executed in a "trusted" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the
request.cfobject on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, andrequest.cfis undefined. By default, Workers in a namespace are "untrusted".
- created
By String - Identifier.
- created
On String - When the script was created.
- id String
- Name of the Workers for Platforms dispatch namespace.
- modified
By String - Identifier.
- modified
On String - When the script was last modified.
- namespace
Id String - API Resource UUID tag.
- namespace
Name String - Name of the Workers for Platforms dispatch namespace.
- script
Count Integer - The current number of scripts in this Dispatch Namespace.
- trusted
Workers Boolean - Whether the Workers in the namespace are executed in a "trusted" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the
request.cfobject on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, andrequest.cfis undefined. By default, Workers in a namespace are "untrusted".
- created
By string - Identifier.
- created
On string - When the script was created.
- id string
- Name of the Workers for Platforms dispatch namespace.
- modified
By string - Identifier.
- modified
On string - When the script was last modified.
- namespace
Id string - API Resource UUID tag.
- namespace
Name string - Name of the Workers for Platforms dispatch namespace.
- script
Count number - The current number of scripts in this Dispatch Namespace.
- trusted
Workers boolean - Whether the Workers in the namespace are executed in a "trusted" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the
request.cfobject on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, andrequest.cfis undefined. By default, Workers in a namespace are "untrusted".
- created_
by str - Identifier.
- created_
on str - When the script was created.
- id str
- Name of the Workers for Platforms dispatch namespace.
- modified_
by str - Identifier.
- modified_
on str - When the script was last modified.
- namespace_
id str - API Resource UUID tag.
- namespace_
name str - Name of the Workers for Platforms dispatch namespace.
- script_
count int - The current number of scripts in this Dispatch Namespace.
- trusted_
workers bool - Whether the Workers in the namespace are executed in a "trusted" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the
request.cfobject on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, andrequest.cfis undefined. By default, Workers in a namespace are "untrusted".
- created
By String - Identifier.
- created
On String - When the script was created.
- id String
- Name of the Workers for Platforms dispatch namespace.
- modified
By String - Identifier.
- modified
On String - When the script was last modified.
- namespace
Id String - API Resource UUID tag.
- namespace
Name String - Name of the Workers for Platforms dispatch namespace.
- script
Count Number - The current number of scripts in this Dispatch Namespace.
- trusted
Workers Boolean - Whether the Workers in the namespace are executed in a "trusted" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the
request.cfobject on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, andrequest.cfis undefined. By default, Workers in a namespace are "untrusted".
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.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
