1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getWorkerVersion
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 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 exampleWorkerVersion = cloudflare.getWorkerVersion({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        workerId: "worker_id",
        versionId: "version_id",
        include: "modules",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_worker_version = cloudflare.get_worker_version(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        worker_id="worker_id",
        version_id="version_id",
        include="modules")
    
    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.GetWorkerVersion(ctx, &cloudflare.LookupWorkerVersionArgs{
    			AccountId: pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
    			WorkerId:  "worker_id",
    			VersionId: "version_id",
    			Include:   pulumi.StringRef("modules"),
    		}, 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 exampleWorkerVersion = Cloudflare.Index.GetWorkerVersion.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            WorkerId = "worker_id",
            VersionId = "version_id",
            Include = "modules",
        });
    
    });
    
    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.GetWorkerVersionArgs;
    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 exampleWorkerVersion = CloudflareFunctions.getWorkerVersion(GetWorkerVersionArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .workerId("worker_id")
                .versionId("version_id")
                .include("modules")
                .build());
    
        }
    }
    
    variables:
      exampleWorkerVersion:
        fn::invoke:
          function: cloudflare:getWorkerVersion
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            workerId: worker_id
            versionId: version_id
            include: modules
    

    Using getWorkerVersion

    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 getWorkerVersion(args: GetWorkerVersionArgs, opts?: InvokeOptions): Promise<GetWorkerVersionResult>
    function getWorkerVersionOutput(args: GetWorkerVersionOutputArgs, opts?: InvokeOptions): Output<GetWorkerVersionResult>
    def get_worker_version(account_id: Optional[str] = None,
                           include: Optional[str] = None,
                           version_id: Optional[str] = None,
                           worker_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetWorkerVersionResult
    def get_worker_version_output(account_id: Optional[pulumi.Input[str]] = None,
                           include: Optional[pulumi.Input[str]] = None,
                           version_id: Optional[pulumi.Input[str]] = None,
                           worker_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetWorkerVersionResult]
    func LookupWorkerVersion(ctx *Context, args *LookupWorkerVersionArgs, opts ...InvokeOption) (*LookupWorkerVersionResult, error)
    func LookupWorkerVersionOutput(ctx *Context, args *LookupWorkerVersionOutputArgs, opts ...InvokeOption) LookupWorkerVersionResultOutput

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

    public static class GetWorkerVersion 
    {
        public static Task<GetWorkerVersionResult> InvokeAsync(GetWorkerVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkerVersionResult> Invoke(GetWorkerVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkerVersionResult> getWorkerVersion(GetWorkerVersionArgs args, InvokeOptions options)
    public static Output<GetWorkerVersionResult> getWorkerVersion(GetWorkerVersionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getWorkerVersion:getWorkerVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    VersionId string
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    WorkerId string
    Identifier for the Worker, which can be ID or name.
    AccountId string
    Identifier.
    Include string
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".
    VersionId string
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    WorkerId string
    Identifier for the Worker, which can be ID or name.
    AccountId string
    Identifier.
    Include string
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".
    versionId String
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    workerId String
    Identifier for the Worker, which can be ID or name.
    accountId String
    Identifier.
    include String
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".
    versionId string
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    workerId string
    Identifier for the Worker, which can be ID or name.
    accountId string
    Identifier.
    include string
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".
    version_id str
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    worker_id str
    Identifier for the Worker, which can be ID or name.
    account_id str
    Identifier.
    include str
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".
    versionId String
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    workerId String
    Identifier for the Worker, which can be ID or name.
    accountId String
    Identifier.
    include String
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".

    getWorkerVersion Result

    The following output properties are available:

    Annotations GetWorkerVersionAnnotations
    Metadata about the version.
    Assets GetWorkerVersionAssets
    Configuration for assets within a Worker.
    Bindings List<GetWorkerVersionBinding>
    CompatibilityDate string
    CompatibilityFlags List<string>
    Containers List<GetWorkerVersionContainer>
    CreatedOn string
    Id string
    Limits GetWorkerVersionLimits
    MainModule string
    MainScriptBase64 string
    MigrationTag string
    Migrations GetWorkerVersionMigrations
    Modules List<GetWorkerVersionModule>
    Number int
    Placement GetWorkerVersionPlacement
    Source string
    StartupTimeMs int
    Urls List<string>
    UsageModel string

    Deprecated: This attribute is deprecated.

    VersionId string
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    WorkerId string
    Identifier for the Worker, which can be ID or name.
    AccountId string
    Identifier.
    Include string
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".
    Annotations GetWorkerVersionAnnotations
    Metadata about the version.
    Assets GetWorkerVersionAssets
    Configuration for assets within a Worker.
    Bindings []GetWorkerVersionBinding
    CompatibilityDate string
    CompatibilityFlags []string
    Containers []GetWorkerVersionContainer
    CreatedOn string
    Id string
    Limits GetWorkerVersionLimits
    MainModule string
    MainScriptBase64 string
    MigrationTag string
    Migrations GetWorkerVersionMigrations
    Modules []GetWorkerVersionModule
    Number int
    Placement GetWorkerVersionPlacement
    Source string
    StartupTimeMs int
    Urls []string
    UsageModel string

    Deprecated: This attribute is deprecated.

    VersionId string
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    WorkerId string
    Identifier for the Worker, which can be ID or name.
    AccountId string
    Identifier.
    Include string
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".
    annotations GetWorkerVersionAnnotations
    Metadata about the version.
    assets GetWorkerVersionAssets
    Configuration for assets within a Worker.
    bindings List<GetWorkerVersionBinding>
    compatibilityDate String
    compatibilityFlags List<String>
    containers List<GetWorkerVersionContainer>
    createdOn String
    id String
    limits GetWorkerVersionLimits
    mainModule String
    mainScriptBase64 String
    migrationTag String
    migrations GetWorkerVersionMigrations
    modules List<GetWorkerVersionModule>
    number Integer
    placement GetWorkerVersionPlacement
    source String
    startupTimeMs Integer
    urls List<String>
    usageModel String

    Deprecated: This attribute is deprecated.

    versionId String
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    workerId String
    Identifier for the Worker, which can be ID or name.
    accountId String
    Identifier.
    include String
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".
    annotations GetWorkerVersionAnnotations
    Metadata about the version.
    assets GetWorkerVersionAssets
    Configuration for assets within a Worker.
    bindings GetWorkerVersionBinding[]
    compatibilityDate string
    compatibilityFlags string[]
    containers GetWorkerVersionContainer[]
    createdOn string
    id string
    limits GetWorkerVersionLimits
    mainModule string
    mainScriptBase64 string
    migrationTag string
    migrations GetWorkerVersionMigrations
    modules GetWorkerVersionModule[]
    number number
    placement GetWorkerVersionPlacement
    source string
    startupTimeMs number
    urls string[]
    usageModel string

    Deprecated: This attribute is deprecated.

    versionId string
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    workerId string
    Identifier for the Worker, which can be ID or name.
    accountId string
    Identifier.
    include string
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".
    annotations GetWorkerVersionAnnotations
    Metadata about the version.
    assets GetWorkerVersionAssets
    Configuration for assets within a Worker.
    bindings Sequence[GetWorkerVersionBinding]
    compatibility_date str
    compatibility_flags Sequence[str]
    containers Sequence[GetWorkerVersionContainer]
    created_on str
    id str
    limits GetWorkerVersionLimits
    main_module str
    main_script_base64 str
    migration_tag str
    migrations GetWorkerVersionMigrations
    modules Sequence[GetWorkerVersionModule]
    number int
    placement GetWorkerVersionPlacement
    source str
    startup_time_ms int
    urls Sequence[str]
    usage_model str

    Deprecated: This attribute is deprecated.

    version_id str
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    worker_id str
    Identifier for the Worker, which can be ID or name.
    account_id str
    Identifier.
    include str
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".
    annotations Property Map
    Metadata about the version.
    assets Property Map
    Configuration for assets within a Worker.
    bindings List<Property Map>
    compatibilityDate String
    compatibilityFlags List<String>
    containers List<Property Map>
    createdOn String
    id String
    limits Property Map
    mainModule String
    mainScriptBase64 String
    migrationTag String
    migrations Property Map
    modules List<Property Map>
    number Number
    placement Property Map
    source String
    startupTimeMs Number
    urls List<String>
    usageModel String

    Deprecated: This attribute is deprecated.

    versionId String
    Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal "latest" to operate on the most recently created version.
    workerId String
    Identifier for the Worker, which can be ID or name.
    accountId String
    Identifier.
    include String
    Whether to include the modules property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size. Available values: "modules".

    Supporting Types

    GetWorkerVersionAnnotations

    WorkersMessage string
    Human-readable message about the version. Truncated to 1000 bytes if longer.
    WorkersTag string
    User-provided identifier for the version. Maximum 100 bytes.
    WorkersTriggeredBy string
    Operation that triggered the creation of the version.
    WorkersMessage string
    Human-readable message about the version. Truncated to 1000 bytes if longer.
    WorkersTag string
    User-provided identifier for the version. Maximum 100 bytes.
    WorkersTriggeredBy string
    Operation that triggered the creation of the version.
    workersMessage String
    Human-readable message about the version. Truncated to 1000 bytes if longer.
    workersTag String
    User-provided identifier for the version. Maximum 100 bytes.
    workersTriggeredBy String
    Operation that triggered the creation of the version.
    workersMessage string
    Human-readable message about the version. Truncated to 1000 bytes if longer.
    workersTag string
    User-provided identifier for the version. Maximum 100 bytes.
    workersTriggeredBy string
    Operation that triggered the creation of the version.
    workers_message str
    Human-readable message about the version. Truncated to 1000 bytes if longer.
    workers_tag str
    User-provided identifier for the version. Maximum 100 bytes.
    workers_triggered_by str
    Operation that triggered the creation of the version.
    workersMessage String
    Human-readable message about the version. Truncated to 1000 bytes if longer.
    workersTag String
    User-provided identifier for the version. Maximum 100 bytes.
    workersTriggeredBy String
    Operation that triggered the creation of the version.

    GetWorkerVersionAssets

    Config GetWorkerVersionAssetsConfig
    Configuration for assets within a Worker.
    Jwt string
    Token provided upon successful upload of all files from a registered manifest.
    Config GetWorkerVersionAssetsConfig
    Configuration for assets within a Worker.
    Jwt string
    Token provided upon successful upload of all files from a registered manifest.
    config GetWorkerVersionAssetsConfig
    Configuration for assets within a Worker.
    jwt String
    Token provided upon successful upload of all files from a registered manifest.
    config GetWorkerVersionAssetsConfig
    Configuration for assets within a Worker.
    jwt string
    Token provided upon successful upload of all files from a registered manifest.
    config GetWorkerVersionAssetsConfig
    Configuration for assets within a Worker.
    jwt str
    Token provided upon successful upload of all files from a registered manifest.
    config Property Map
    Configuration for assets within a Worker.
    jwt String
    Token provided upon successful upload of all files from a registered manifest.

    GetWorkerVersionAssetsConfig

    HtmlHandling string
    Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
    NotFoundHandling string
    Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
    RunWorkerFirsts List<string>
    Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
    HtmlHandling string
    Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
    NotFoundHandling string
    Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
    RunWorkerFirsts []string
    Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
    htmlHandling String
    Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
    notFoundHandling String
    Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
    runWorkerFirsts List<String>
    Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
    htmlHandling string
    Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
    notFoundHandling string
    Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
    runWorkerFirsts string[]
    Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
    html_handling str
    Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
    not_found_handling str
    Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
    run_worker_firsts Sequence[str]
    Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.
    htmlHandling String
    Determines the redirects and rewrites of requests for HTML content. Available values: "auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none".
    notFoundHandling String
    Determines the response when a request does not match a static asset, and there is no Worker script. Available values: "none", "404-page", "single-page-application".
    runWorkerFirsts List<String>
    Contains a list path rules to control routing to either the Worker or assets. Glob (*) and negative (!) rules are supported. Rules must start with either '/' or '!/'. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.

    GetWorkerVersionBinding

    Algorithm string
    Algorithm-specific key parameters. Learn more.
    AllowedDestinationAddresses List<string>
    List of allowed destination addresses.
    AllowedSenderAddresses List<string>
    List of allowed sender addresses.
    AppId string
    ID of the Flagship app to bind to for feature flag evaluation.
    BucketName string
    R2 bucket to bind to.
    CertificateId string
    Identifier of the certificate to bind to.
    ClassName string
    The exported class name of the Durable Object.
    DatabaseId string
    Identifier of the D1 database to bind to.
    Dataset string
    The name of the dataset to bind to.
    DestinationAddress string
    Destination address for the email.
    DispatchNamespace string
    The dispatch namespace the Durable Object script belongs to.
    Entrypoint string
    Entrypoint to invoke on the target Worker.
    Environment string
    The environment of the scriptName to bind to.
    Format string
    Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
    Id string
    Identifier of the D1 database to bind to.
    IndexName string
    Name of the Vectorize index to bind to.
    InstanceName string
    The user-chosen instance name. Must exist at deploy time. The worker can search, chat, update, and manage items/jobs on this instance.
    Json string
    JSON data to use.
    Jurisdiction string
    The jurisdiction of the R2 bucket. Available values: "eu", "fedramp", "fedramp-high".
    KeyBase64 string
    Base64-encoded key data. Required if format is "raw", "pkcs8", or "spki".
    KeyJwk string
    Key data in JSON Web Key format. Required if format is "jwk".
    Name string
    A JavaScript variable name for the binding.
    Namespace string
    The namespace the instance belongs to. Defaults to "default" if omitted. Customers who don't use namespaces can simply omit this field.
    NamespaceId string
    Namespace identifier tag.
    NetworkId string
    Identifier of the network to bind to. Only "cf1:network" is currently supported. Mutually exclusive with tunnel_id.
    OldName string
    The old name of the inherited binding. If set, the binding will be renamed from oldName to name in the new version. If not set, the binding will keep the same name between versions.
    Outbound GetWorkerVersionBindingOutbound
    Outbound worker.
    Part string
    The name of the file containing the data content. Only accepted for service worker syntax Workers.
    Pipeline string
    Name of the Pipeline to bind to.
    QueueName string
    Name of the Queue to bind to.
    ScriptName string
    The script where the Durable Object is defined, if it is external to this Worker.
    SecretName string
    Name of the secret in the store.
    Service string
    Name of Worker to bind to.
    ServiceId string
    Identifier of the VPC service to bind to.
    Simple GetWorkerVersionBindingSimple
    The rate limit configuration.
    StoreId string
    ID of the store containing the secret.
    Text string
    The text value to use.
    TunnelId string
    UUID of the Cloudflare Tunnel to bind to. Mutually exclusive with network_id.
    Type string
    The kind of resource that the binding provides. Available values: "ai", "aisearch", "aisearchnamespace", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "media", "mtlscertificate", "plaintext", "pipelines", "queue", "ratelimit", "r2bucket", "secrettext", "sendemail", "service", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "flagship", "secretkey", "workflow", "wasmmodule", "vpcservice", "vpcnetwork".
    Usages List<string>
    Allowed operations with the key. Learn more.
    VersionId string
    Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
    WorkflowName string
    Name of the Workflow to bind to.
    Algorithm string
    Algorithm-specific key parameters. Learn more.
    AllowedDestinationAddresses []string
    List of allowed destination addresses.
    AllowedSenderAddresses []string
    List of allowed sender addresses.
    AppId string
    ID of the Flagship app to bind to for feature flag evaluation.
    BucketName string
    R2 bucket to bind to.
    CertificateId string
    Identifier of the certificate to bind to.
    ClassName string
    The exported class name of the Durable Object.
    DatabaseId string
    Identifier of the D1 database to bind to.
    Dataset string
    The name of the dataset to bind to.
    DestinationAddress string
    Destination address for the email.
    DispatchNamespace string
    The dispatch namespace the Durable Object script belongs to.
    Entrypoint string
    Entrypoint to invoke on the target Worker.
    Environment string
    The environment of the scriptName to bind to.
    Format string
    Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
    Id string
    Identifier of the D1 database to bind to.
    IndexName string
    Name of the Vectorize index to bind to.
    InstanceName string
    The user-chosen instance name. Must exist at deploy time. The worker can search, chat, update, and manage items/jobs on this instance.
    Json string
    JSON data to use.
    Jurisdiction string
    The jurisdiction of the R2 bucket. Available values: "eu", "fedramp", "fedramp-high".
    KeyBase64 string
    Base64-encoded key data. Required if format is "raw", "pkcs8", or "spki".
    KeyJwk string
    Key data in JSON Web Key format. Required if format is "jwk".
    Name string
    A JavaScript variable name for the binding.
    Namespace string
    The namespace the instance belongs to. Defaults to "default" if omitted. Customers who don't use namespaces can simply omit this field.
    NamespaceId string
    Namespace identifier tag.
    NetworkId string
    Identifier of the network to bind to. Only "cf1:network" is currently supported. Mutually exclusive with tunnel_id.
    OldName string
    The old name of the inherited binding. If set, the binding will be renamed from oldName to name in the new version. If not set, the binding will keep the same name between versions.
    Outbound GetWorkerVersionBindingOutbound
    Outbound worker.
    Part string
    The name of the file containing the data content. Only accepted for service worker syntax Workers.
    Pipeline string
    Name of the Pipeline to bind to.
    QueueName string
    Name of the Queue to bind to.
    ScriptName string
    The script where the Durable Object is defined, if it is external to this Worker.
    SecretName string
    Name of the secret in the store.
    Service string
    Name of Worker to bind to.
    ServiceId string
    Identifier of the VPC service to bind to.
    Simple GetWorkerVersionBindingSimple
    The rate limit configuration.
    StoreId string
    ID of the store containing the secret.
    Text string
    The text value to use.
    TunnelId string
    UUID of the Cloudflare Tunnel to bind to. Mutually exclusive with network_id.
    Type string
    The kind of resource that the binding provides. Available values: "ai", "aisearch", "aisearchnamespace", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "media", "mtlscertificate", "plaintext", "pipelines", "queue", "ratelimit", "r2bucket", "secrettext", "sendemail", "service", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "flagship", "secretkey", "workflow", "wasmmodule", "vpcservice", "vpcnetwork".
    Usages []string
    Allowed operations with the key. Learn more.
    VersionId string
    Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
    WorkflowName string
    Name of the Workflow to bind to.
    algorithm String
    Algorithm-specific key parameters. Learn more.
    allowedDestinationAddresses List<String>
    List of allowed destination addresses.
    allowedSenderAddresses List<String>
    List of allowed sender addresses.
    appId String
    ID of the Flagship app to bind to for feature flag evaluation.
    bucketName String
    R2 bucket to bind to.
    certificateId String
    Identifier of the certificate to bind to.
    className String
    The exported class name of the Durable Object.
    databaseId String
    Identifier of the D1 database to bind to.
    dataset String
    The name of the dataset to bind to.
    destinationAddress String
    Destination address for the email.
    dispatchNamespace String
    The dispatch namespace the Durable Object script belongs to.
    entrypoint String
    Entrypoint to invoke on the target Worker.
    environment String
    The environment of the scriptName to bind to.
    format String
    Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
    id String
    Identifier of the D1 database to bind to.
    indexName String
    Name of the Vectorize index to bind to.
    instanceName String
    The user-chosen instance name. Must exist at deploy time. The worker can search, chat, update, and manage items/jobs on this instance.
    json String
    JSON data to use.
    jurisdiction String
    The jurisdiction of the R2 bucket. Available values: "eu", "fedramp", "fedramp-high".
    keyBase64 String
    Base64-encoded key data. Required if format is "raw", "pkcs8", or "spki".
    keyJwk String
    Key data in JSON Web Key format. Required if format is "jwk".
    name String
    A JavaScript variable name for the binding.
    namespace String
    The namespace the instance belongs to. Defaults to "default" if omitted. Customers who don't use namespaces can simply omit this field.
    namespaceId String
    Namespace identifier tag.
    networkId String
    Identifier of the network to bind to. Only "cf1:network" is currently supported. Mutually exclusive with tunnel_id.
    oldName String
    The old name of the inherited binding. If set, the binding will be renamed from oldName to name in the new version. If not set, the binding will keep the same name between versions.
    outbound GetWorkerVersionBindingOutbound
    Outbound worker.
    part String
    The name of the file containing the data content. Only accepted for service worker syntax Workers.
    pipeline String
    Name of the Pipeline to bind to.
    queueName String
    Name of the Queue to bind to.
    scriptName String
    The script where the Durable Object is defined, if it is external to this Worker.
    secretName String
    Name of the secret in the store.
    service String
    Name of Worker to bind to.
    serviceId String
    Identifier of the VPC service to bind to.
    simple GetWorkerVersionBindingSimple
    The rate limit configuration.
    storeId String
    ID of the store containing the secret.
    text String
    The text value to use.
    tunnelId String
    UUID of the Cloudflare Tunnel to bind to. Mutually exclusive with network_id.
    type String
    The kind of resource that the binding provides. Available values: "ai", "aisearch", "aisearchnamespace", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "media", "mtlscertificate", "plaintext", "pipelines", "queue", "ratelimit", "r2bucket", "secrettext", "sendemail", "service", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "flagship", "secretkey", "workflow", "wasmmodule", "vpcservice", "vpcnetwork".
    usages List<String>
    Allowed operations with the key. Learn more.
    versionId String
    Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
    workflowName String
    Name of the Workflow to bind to.
    algorithm string
    Algorithm-specific key parameters. Learn more.
    allowedDestinationAddresses string[]
    List of allowed destination addresses.
    allowedSenderAddresses string[]
    List of allowed sender addresses.
    appId string
    ID of the Flagship app to bind to for feature flag evaluation.
    bucketName string
    R2 bucket to bind to.
    certificateId string
    Identifier of the certificate to bind to.
    className string
    The exported class name of the Durable Object.
    databaseId string
    Identifier of the D1 database to bind to.
    dataset string
    The name of the dataset to bind to.
    destinationAddress string
    Destination address for the email.
    dispatchNamespace string
    The dispatch namespace the Durable Object script belongs to.
    entrypoint string
    Entrypoint to invoke on the target Worker.
    environment string
    The environment of the scriptName to bind to.
    format string
    Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
    id string
    Identifier of the D1 database to bind to.
    indexName string
    Name of the Vectorize index to bind to.
    instanceName string
    The user-chosen instance name. Must exist at deploy time. The worker can search, chat, update, and manage items/jobs on this instance.
    json string
    JSON data to use.
    jurisdiction string
    The jurisdiction of the R2 bucket. Available values: "eu", "fedramp", "fedramp-high".
    keyBase64 string
    Base64-encoded key data. Required if format is "raw", "pkcs8", or "spki".
    keyJwk string
    Key data in JSON Web Key format. Required if format is "jwk".
    name string
    A JavaScript variable name for the binding.
    namespace string
    The namespace the instance belongs to. Defaults to "default" if omitted. Customers who don't use namespaces can simply omit this field.
    namespaceId string
    Namespace identifier tag.
    networkId string
    Identifier of the network to bind to. Only "cf1:network" is currently supported. Mutually exclusive with tunnel_id.
    oldName string
    The old name of the inherited binding. If set, the binding will be renamed from oldName to name in the new version. If not set, the binding will keep the same name between versions.
    outbound GetWorkerVersionBindingOutbound
    Outbound worker.
    part string
    The name of the file containing the data content. Only accepted for service worker syntax Workers.
    pipeline string
    Name of the Pipeline to bind to.
    queueName string
    Name of the Queue to bind to.
    scriptName string
    The script where the Durable Object is defined, if it is external to this Worker.
    secretName string
    Name of the secret in the store.
    service string
    Name of Worker to bind to.
    serviceId string
    Identifier of the VPC service to bind to.
    simple GetWorkerVersionBindingSimple
    The rate limit configuration.
    storeId string
    ID of the store containing the secret.
    text string
    The text value to use.
    tunnelId string
    UUID of the Cloudflare Tunnel to bind to. Mutually exclusive with network_id.
    type string
    The kind of resource that the binding provides. Available values: "ai", "aisearch", "aisearchnamespace", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "media", "mtlscertificate", "plaintext", "pipelines", "queue", "ratelimit", "r2bucket", "secrettext", "sendemail", "service", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "flagship", "secretkey", "workflow", "wasmmodule", "vpcservice", "vpcnetwork".
    usages string[]
    Allowed operations with the key. Learn more.
    versionId string
    Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
    workflowName string
    Name of the Workflow to bind to.
    algorithm str
    Algorithm-specific key parameters. Learn more.
    allowed_destination_addresses Sequence[str]
    List of allowed destination addresses.
    allowed_sender_addresses Sequence[str]
    List of allowed sender addresses.
    app_id str
    ID of the Flagship app to bind to for feature flag evaluation.
    bucket_name str
    R2 bucket to bind to.
    certificate_id str
    Identifier of the certificate to bind to.
    class_name str
    The exported class name of the Durable Object.
    database_id str
    Identifier of the D1 database to bind to.
    dataset str
    The name of the dataset to bind to.
    destination_address str
    Destination address for the email.
    dispatch_namespace str
    The dispatch namespace the Durable Object script belongs to.
    entrypoint str
    Entrypoint to invoke on the target Worker.
    environment str
    The environment of the scriptName to bind to.
    format str
    Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
    id str
    Identifier of the D1 database to bind to.
    index_name str
    Name of the Vectorize index to bind to.
    instance_name str
    The user-chosen instance name. Must exist at deploy time. The worker can search, chat, update, and manage items/jobs on this instance.
    json str
    JSON data to use.
    jurisdiction str
    The jurisdiction of the R2 bucket. Available values: "eu", "fedramp", "fedramp-high".
    key_base64 str
    Base64-encoded key data. Required if format is "raw", "pkcs8", or "spki".
    key_jwk str
    Key data in JSON Web Key format. Required if format is "jwk".
    name str
    A JavaScript variable name for the binding.
    namespace str
    The namespace the instance belongs to. Defaults to "default" if omitted. Customers who don't use namespaces can simply omit this field.
    namespace_id str
    Namespace identifier tag.
    network_id str
    Identifier of the network to bind to. Only "cf1:network" is currently supported. Mutually exclusive with tunnel_id.
    old_name str
    The old name of the inherited binding. If set, the binding will be renamed from oldName to name in the new version. If not set, the binding will keep the same name between versions.
    outbound GetWorkerVersionBindingOutbound
    Outbound worker.
    part str
    The name of the file containing the data content. Only accepted for service worker syntax Workers.
    pipeline str
    Name of the Pipeline to bind to.
    queue_name str
    Name of the Queue to bind to.
    script_name str
    The script where the Durable Object is defined, if it is external to this Worker.
    secret_name str
    Name of the secret in the store.
    service str
    Name of Worker to bind to.
    service_id str
    Identifier of the VPC service to bind to.
    simple GetWorkerVersionBindingSimple
    The rate limit configuration.
    store_id str
    ID of the store containing the secret.
    text str
    The text value to use.
    tunnel_id str
    UUID of the Cloudflare Tunnel to bind to. Mutually exclusive with network_id.
    type str
    The kind of resource that the binding provides. Available values: "ai", "aisearch", "aisearchnamespace", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "media", "mtlscertificate", "plaintext", "pipelines", "queue", "ratelimit", "r2bucket", "secrettext", "sendemail", "service", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "flagship", "secretkey", "workflow", "wasmmodule", "vpcservice", "vpcnetwork".
    usages Sequence[str]
    Allowed operations with the key. Learn more.
    version_id str
    Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
    workflow_name str
    Name of the Workflow to bind to.
    algorithm String
    Algorithm-specific key parameters. Learn more.
    allowedDestinationAddresses List<String>
    List of allowed destination addresses.
    allowedSenderAddresses List<String>
    List of allowed sender addresses.
    appId String
    ID of the Flagship app to bind to for feature flag evaluation.
    bucketName String
    R2 bucket to bind to.
    certificateId String
    Identifier of the certificate to bind to.
    className String
    The exported class name of the Durable Object.
    databaseId String
    Identifier of the D1 database to bind to.
    dataset String
    The name of the dataset to bind to.
    destinationAddress String
    Destination address for the email.
    dispatchNamespace String
    The dispatch namespace the Durable Object script belongs to.
    entrypoint String
    Entrypoint to invoke on the target Worker.
    environment String
    The environment of the scriptName to bind to.
    format String
    Data format of the key. Learn more. Available values: "raw", "pkcs8", "spki", "jwk".
    id String
    Identifier of the D1 database to bind to.
    indexName String
    Name of the Vectorize index to bind to.
    instanceName String
    The user-chosen instance name. Must exist at deploy time. The worker can search, chat, update, and manage items/jobs on this instance.
    json String
    JSON data to use.
    jurisdiction String
    The jurisdiction of the R2 bucket. Available values: "eu", "fedramp", "fedramp-high".
    keyBase64 String
    Base64-encoded key data. Required if format is "raw", "pkcs8", or "spki".
    keyJwk String
    Key data in JSON Web Key format. Required if format is "jwk".
    name String
    A JavaScript variable name for the binding.
    namespace String
    The namespace the instance belongs to. Defaults to "default" if omitted. Customers who don't use namespaces can simply omit this field.
    namespaceId String
    Namespace identifier tag.
    networkId String
    Identifier of the network to bind to. Only "cf1:network" is currently supported. Mutually exclusive with tunnel_id.
    oldName String
    The old name of the inherited binding. If set, the binding will be renamed from oldName to name in the new version. If not set, the binding will keep the same name between versions.
    outbound Property Map
    Outbound worker.
    part String
    The name of the file containing the data content. Only accepted for service worker syntax Workers.
    pipeline String
    Name of the Pipeline to bind to.
    queueName String
    Name of the Queue to bind to.
    scriptName String
    The script where the Durable Object is defined, if it is external to this Worker.
    secretName String
    Name of the secret in the store.
    service String
    Name of Worker to bind to.
    serviceId String
    Identifier of the VPC service to bind to.
    simple Property Map
    The rate limit configuration.
    storeId String
    ID of the store containing the secret.
    text String
    The text value to use.
    tunnelId String
    UUID of the Cloudflare Tunnel to bind to. Mutually exclusive with network_id.
    type String
    The kind of resource that the binding provides. Available values: "ai", "aisearch", "aisearchnamespace", "analyticsengine", "assets", "browser", "d1", "datablob", "dispatchnamespace", "durableobjectnamespace", "hyperdrive", "inherit", "images", "json", "kvnamespace", "media", "mtlscertificate", "plaintext", "pipelines", "queue", "ratelimit", "r2bucket", "secrettext", "sendemail", "service", "textblob", "vectorize", "versionmetadata", "secretsstoresecret", "flagship", "secretkey", "workflow", "wasmmodule", "vpcservice", "vpcnetwork".
    usages List<String>
    Allowed operations with the key. Learn more.
    versionId String
    Identifier for the version to inherit the binding from, which can be the version ID or the literal "latest" to inherit from the latest version. Defaults to inheriting the binding from the latest version.
    workflowName String
    Name of the Workflow to bind to.

    GetWorkerVersionBindingOutbound

    Params List<GetWorkerVersionBindingOutboundParam>
    Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
    Worker GetWorkerVersionBindingOutboundWorker
    Outbound worker.
    Params []GetWorkerVersionBindingOutboundParam
    Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
    Worker GetWorkerVersionBindingOutboundWorker
    Outbound worker.
    params List<GetWorkerVersionBindingOutboundParam>
    Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
    worker GetWorkerVersionBindingOutboundWorker
    Outbound worker.
    params GetWorkerVersionBindingOutboundParam[]
    Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
    worker GetWorkerVersionBindingOutboundWorker
    Outbound worker.
    params Sequence[GetWorkerVersionBindingOutboundParam]
    Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
    worker GetWorkerVersionBindingOutboundWorker
    Outbound worker.
    params List<Property Map>
    Pass information from the Dispatch Worker to the Outbound Worker through the parameters.
    worker Property Map
    Outbound worker.

    GetWorkerVersionBindingOutboundParam

    Name string
    Name of the parameter.
    Name string
    Name of the parameter.
    name String
    Name of the parameter.
    name string
    Name of the parameter.
    name str
    Name of the parameter.
    name String
    Name of the parameter.

    GetWorkerVersionBindingOutboundWorker

    Entrypoint string
    Entrypoint to invoke on the outbound worker.
    Environment string
    Environment of the outbound worker.
    Service string
    Name of the outbound worker.
    Entrypoint string
    Entrypoint to invoke on the outbound worker.
    Environment string
    Environment of the outbound worker.
    Service string
    Name of the outbound worker.
    entrypoint String
    Entrypoint to invoke on the outbound worker.
    environment String
    Environment of the outbound worker.
    service String
    Name of the outbound worker.
    entrypoint string
    Entrypoint to invoke on the outbound worker.
    environment string
    Environment of the outbound worker.
    service string
    Name of the outbound worker.
    entrypoint str
    Entrypoint to invoke on the outbound worker.
    environment str
    Environment of the outbound worker.
    service str
    Name of the outbound worker.
    entrypoint String
    Entrypoint to invoke on the outbound worker.
    environment String
    Environment of the outbound worker.
    service String
    Name of the outbound worker.

    GetWorkerVersionBindingSimple

    Limit double
    The limit (requests per period).
    Period int
    The period in seconds.
    Limit float64
    The limit (requests per period).
    Period int
    The period in seconds.
    limit Double
    The limit (requests per period).
    period Integer
    The period in seconds.
    limit number
    The limit (requests per period).
    period number
    The period in seconds.
    limit float
    The limit (requests per period).
    period int
    The period in seconds.
    limit Number
    The limit (requests per period).
    period Number
    The period in seconds.

    GetWorkerVersionContainer

    ClassName string
    Select which Durable Object class should get this container attached.
    ClassName string
    Select which Durable Object class should get this container attached.
    className String
    Select which Durable Object class should get this container attached.
    className string
    Select which Durable Object class should get this container attached.
    class_name str
    Select which Durable Object class should get this container attached.
    className String
    Select which Durable Object class should get this container attached.

    GetWorkerVersionLimits

    CpuMs int
    CPU time limit in milliseconds.
    Subrequests int
    Subrequest limit per request.
    CpuMs int
    CPU time limit in milliseconds.
    Subrequests int
    Subrequest limit per request.
    cpuMs Integer
    CPU time limit in milliseconds.
    subrequests Integer
    Subrequest limit per request.
    cpuMs number
    CPU time limit in milliseconds.
    subrequests number
    Subrequest limit per request.
    cpu_ms int
    CPU time limit in milliseconds.
    subrequests int
    Subrequest limit per request.
    cpuMs Number
    CPU time limit in milliseconds.
    subrequests Number
    Subrequest limit per request.

    GetWorkerVersionMigrations

    DeletedClasses List<string>
    A list of classes to delete Durable Object namespaces from.
    NewClasses List<string>
    A list of classes to create Durable Object namespaces from.
    NewSqliteClasses List<string>
    A list of classes to create Durable Object namespaces with SQLite from.
    NewTag string
    Tag to set as the latest migration tag.
    OldTag string
    Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
    RenamedClasses List<GetWorkerVersionMigrationsRenamedClass>
    A list of classes with Durable Object namespaces that were renamed.
    Steps List<GetWorkerVersionMigrationsStep>
    Migrations to apply in order.
    TransferredClasses List<GetWorkerVersionMigrationsTransferredClass>
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
    DeletedClasses []string
    A list of classes to delete Durable Object namespaces from.
    NewClasses []string
    A list of classes to create Durable Object namespaces from.
    NewSqliteClasses []string
    A list of classes to create Durable Object namespaces with SQLite from.
    NewTag string
    Tag to set as the latest migration tag.
    OldTag string
    Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
    RenamedClasses []GetWorkerVersionMigrationsRenamedClass
    A list of classes with Durable Object namespaces that were renamed.
    Steps []GetWorkerVersionMigrationsStep
    Migrations to apply in order.
    TransferredClasses []GetWorkerVersionMigrationsTransferredClass
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
    deletedClasses List<String>
    A list of classes to delete Durable Object namespaces from.
    newClasses List<String>
    A list of classes to create Durable Object namespaces from.
    newSqliteClasses List<String>
    A list of classes to create Durable Object namespaces with SQLite from.
    newTag String
    Tag to set as the latest migration tag.
    oldTag String
    Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
    renamedClasses List<GetWorkerVersionMigrationsRenamedClass>
    A list of classes with Durable Object namespaces that were renamed.
    steps List<GetWorkerVersionMigrationsStep>
    Migrations to apply in order.
    transferredClasses List<GetWorkerVersionMigrationsTransferredClass>
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
    deletedClasses string[]
    A list of classes to delete Durable Object namespaces from.
    newClasses string[]
    A list of classes to create Durable Object namespaces from.
    newSqliteClasses string[]
    A list of classes to create Durable Object namespaces with SQLite from.
    newTag string
    Tag to set as the latest migration tag.
    oldTag string
    Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
    renamedClasses GetWorkerVersionMigrationsRenamedClass[]
    A list of classes with Durable Object namespaces that were renamed.
    steps GetWorkerVersionMigrationsStep[]
    Migrations to apply in order.
    transferredClasses GetWorkerVersionMigrationsTransferredClass[]
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
    deleted_classes Sequence[str]
    A list of classes to delete Durable Object namespaces from.
    new_classes Sequence[str]
    A list of classes to create Durable Object namespaces from.
    new_sqlite_classes Sequence[str]
    A list of classes to create Durable Object namespaces with SQLite from.
    new_tag str
    Tag to set as the latest migration tag.
    old_tag str
    Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
    renamed_classes Sequence[GetWorkerVersionMigrationsRenamedClass]
    A list of classes with Durable Object namespaces that were renamed.
    steps Sequence[GetWorkerVersionMigrationsStep]
    Migrations to apply in order.
    transferred_classes Sequence[GetWorkerVersionMigrationsTransferredClass]
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
    deletedClasses List<String>
    A list of classes to delete Durable Object namespaces from.
    newClasses List<String>
    A list of classes to create Durable Object namespaces from.
    newSqliteClasses List<String>
    A list of classes to create Durable Object namespaces with SQLite from.
    newTag String
    Tag to set as the latest migration tag.
    oldTag String
    Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.
    renamedClasses List<Property Map>
    A list of classes with Durable Object namespaces that were renamed.
    steps List<Property Map>
    Migrations to apply in order.
    transferredClasses List<Property Map>
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.

    GetWorkerVersionMigrationsRenamedClass

    From string
    To string
    From string
    To string
    from String
    to String
    from string
    to string
    from_ str
    to str
    from String
    to String

    GetWorkerVersionMigrationsStep

    DeletedClasses List<string>
    A list of classes to delete Durable Object namespaces from.
    NewClasses List<string>
    A list of classes to create Durable Object namespaces from.
    NewSqliteClasses List<string>
    A list of classes to create Durable Object namespaces with SQLite from.
    RenamedClasses List<GetWorkerVersionMigrationsStepRenamedClass>
    A list of classes with Durable Object namespaces that were renamed.
    TransferredClasses List<GetWorkerVersionMigrationsStepTransferredClass>
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
    DeletedClasses []string
    A list of classes to delete Durable Object namespaces from.
    NewClasses []string
    A list of classes to create Durable Object namespaces from.
    NewSqliteClasses []string
    A list of classes to create Durable Object namespaces with SQLite from.
    RenamedClasses []GetWorkerVersionMigrationsStepRenamedClass
    A list of classes with Durable Object namespaces that were renamed.
    TransferredClasses []GetWorkerVersionMigrationsStepTransferredClass
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
    deletedClasses List<String>
    A list of classes to delete Durable Object namespaces from.
    newClasses List<String>
    A list of classes to create Durable Object namespaces from.
    newSqliteClasses List<String>
    A list of classes to create Durable Object namespaces with SQLite from.
    renamedClasses List<GetWorkerVersionMigrationsStepRenamedClass>
    A list of classes with Durable Object namespaces that were renamed.
    transferredClasses List<GetWorkerVersionMigrationsStepTransferredClass>
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
    deletedClasses string[]
    A list of classes to delete Durable Object namespaces from.
    newClasses string[]
    A list of classes to create Durable Object namespaces from.
    newSqliteClasses string[]
    A list of classes to create Durable Object namespaces with SQLite from.
    renamedClasses GetWorkerVersionMigrationsStepRenamedClass[]
    A list of classes with Durable Object namespaces that were renamed.
    transferredClasses GetWorkerVersionMigrationsStepTransferredClass[]
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
    deleted_classes Sequence[str]
    A list of classes to delete Durable Object namespaces from.
    new_classes Sequence[str]
    A list of classes to create Durable Object namespaces from.
    new_sqlite_classes Sequence[str]
    A list of classes to create Durable Object namespaces with SQLite from.
    renamed_classes Sequence[GetWorkerVersionMigrationsStepRenamedClass]
    A list of classes with Durable Object namespaces that were renamed.
    transferred_classes Sequence[GetWorkerVersionMigrationsStepTransferredClass]
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.
    deletedClasses List<String>
    A list of classes to delete Durable Object namespaces from.
    newClasses List<String>
    A list of classes to create Durable Object namespaces from.
    newSqliteClasses List<String>
    A list of classes to create Durable Object namespaces with SQLite from.
    renamedClasses List<Property Map>
    A list of classes with Durable Object namespaces that were renamed.
    transferredClasses List<Property Map>
    A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.

    GetWorkerVersionMigrationsStepRenamedClass

    From string
    To string
    From string
    To string
    from String
    to String
    from string
    to string
    from_ str
    to str
    from String
    to String

    GetWorkerVersionMigrationsStepTransferredClass

    From string
    FromScript string
    To string
    From string
    FromScript string
    To string
    from String
    fromScript String
    to String
    from string
    fromScript string
    to string
    from_ str
    from_script str
    to str
    from String
    fromScript String
    to String

    GetWorkerVersionMigrationsTransferredClass

    From string
    FromScript string
    To string
    From string
    FromScript string
    To string
    from String
    fromScript String
    to String
    from string
    fromScript string
    to string
    from_ str
    from_script str
    to str
    from String
    fromScript String
    to String

    GetWorkerVersionModule

    ContentBase64 string
    The base64-encoded module content.
    ContentType string
    The content type of the module.
    Name string
    The name of the module.
    ContentBase64 string
    The base64-encoded module content.
    ContentType string
    The content type of the module.
    Name string
    The name of the module.
    contentBase64 String
    The base64-encoded module content.
    contentType String
    The content type of the module.
    name String
    The name of the module.
    contentBase64 string
    The base64-encoded module content.
    contentType string
    The content type of the module.
    name string
    The name of the module.
    content_base64 str
    The base64-encoded module content.
    content_type str
    The content type of the module.
    name str
    The name of the module.
    contentBase64 String
    The base64-encoded module content.
    contentType String
    The content type of the module.
    name String
    The name of the module.

    GetWorkerVersionPlacement

    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<GetWorkerVersionPlacementTarget>
    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 []GetWorkerVersionPlacementTarget
    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<GetWorkerVersionPlacementTarget>
    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 GetWorkerVersionPlacementTarget[]
    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[GetWorkerVersionPlacementTarget]
    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).

    GetWorkerVersionPlacementTarget

    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'.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.15.0
    published on Saturday, May 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.