Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getWorkersForPlatformsDispatchNamespace
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleWorkersForPlatformsDispatchNamespace = cloudflare.getWorkersForPlatformsDispatchNamespace({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
dispatchNamespace: "my-dispatch-namespace",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_workers_for_platforms_dispatch_namespace = cloudflare.get_workers_for_platforms_dispatch_namespace(account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace")
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.LookupWorkersForPlatformsDispatchNamespace(ctx, &cloudflare.LookupWorkersForPlatformsDispatchNamespaceArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
DispatchNamespace: pulumi.StringRef("my-dispatch-namespace"),
}, 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 exampleWorkersForPlatformsDispatchNamespace = Cloudflare.GetWorkersForPlatformsDispatchNamespace.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
DispatchNamespace = "my-dispatch-namespace",
});
});
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.GetWorkersForPlatformsDispatchNamespaceArgs;
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 exampleWorkersForPlatformsDispatchNamespace = CloudflareFunctions.getWorkersForPlatformsDispatchNamespace(GetWorkersForPlatformsDispatchNamespaceArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.dispatchNamespace("my-dispatch-namespace")
.build());
}
}
variables:
exampleWorkersForPlatformsDispatchNamespace:
fn::invoke:
function: cloudflare:getWorkersForPlatformsDispatchNamespace
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
dispatchNamespace: my-dispatch-namespace
Using getWorkersForPlatformsDispatchNamespace
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 getWorkersForPlatformsDispatchNamespace(args: GetWorkersForPlatformsDispatchNamespaceArgs, opts?: InvokeOptions): Promise<GetWorkersForPlatformsDispatchNamespaceResult>
function getWorkersForPlatformsDispatchNamespaceOutput(args: GetWorkersForPlatformsDispatchNamespaceOutputArgs, opts?: InvokeOptions): Output<GetWorkersForPlatformsDispatchNamespaceResult>
def get_workers_for_platforms_dispatch_namespace(account_id: Optional[str] = None,
dispatch_namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkersForPlatformsDispatchNamespaceResult
def get_workers_for_platforms_dispatch_namespace_output(account_id: Optional[pulumi.Input[str]] = None,
dispatch_namespace: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkersForPlatformsDispatchNamespaceResult]
func LookupWorkersForPlatformsDispatchNamespace(ctx *Context, args *LookupWorkersForPlatformsDispatchNamespaceArgs, opts ...InvokeOption) (*LookupWorkersForPlatformsDispatchNamespaceResult, error)
func LookupWorkersForPlatformsDispatchNamespaceOutput(ctx *Context, args *LookupWorkersForPlatformsDispatchNamespaceOutputArgs, opts ...InvokeOption) LookupWorkersForPlatformsDispatchNamespaceResultOutput
> Note: This function is named LookupWorkersForPlatformsDispatchNamespace
in the Go SDK.
public static class GetWorkersForPlatformsDispatchNamespace
{
public static Task<GetWorkersForPlatformsDispatchNamespaceResult> InvokeAsync(GetWorkersForPlatformsDispatchNamespaceArgs args, InvokeOptions? opts = null)
public static Output<GetWorkersForPlatformsDispatchNamespaceResult> Invoke(GetWorkersForPlatformsDispatchNamespaceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkersForPlatformsDispatchNamespaceResult> getWorkersForPlatformsDispatchNamespace(GetWorkersForPlatformsDispatchNamespaceArgs args, InvokeOptions options)
public static Output<GetWorkersForPlatformsDispatchNamespaceResult> getWorkersForPlatformsDispatchNamespace(GetWorkersForPlatformsDispatchNamespaceArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getWorkersForPlatformsDispatchNamespace:getWorkersForPlatformsDispatchNamespace
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - Identifier.
- Dispatch
Namespace string - Name of the Workers for Platforms dispatch namespace.
- Account
Id string - Identifier.
- Dispatch
Namespace string - Name of the Workers for Platforms dispatch namespace.
- account
Id String - Identifier.
- dispatch
Namespace String - Name of the Workers for Platforms dispatch namespace.
- account
Id string - Identifier.
- dispatch
Namespace string - Name of the Workers for Platforms dispatch namespace.
- account_
id str - Identifier.
- dispatch_
namespace str - Name of the Workers for Platforms dispatch namespace.
- account
Id String - Identifier.
- dispatch
Namespace String - Name of the Workers for Platforms dispatch namespace.
getWorkersForPlatformsDispatchNamespace Result
The following output properties are available:
- Account
Id string - Identifier.
- 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
- Dispatch
Namespace string - Name of the Workers for Platforms dispatch namespace.
- Account
Id string - Identifier.
- 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
- Dispatch
Namespace string - Name of the Workers for Platforms dispatch namespace.
- account
Id String - Identifier.
- 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
- dispatch
Namespace String - Name of the Workers for Platforms dispatch namespace.
- account
Id string - Identifier.
- 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
- dispatch
Namespace string - Name of the Workers for Platforms dispatch namespace.
- account_
id str - Identifier.
- 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
- dispatch_
namespace str - Name of the Workers for Platforms dispatch namespace.
- account
Id String - Identifier.
- 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
- dispatch
Namespace String - Name of the Workers for Platforms dispatch namespace.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.