WorkersDeploymentArgs

data class WorkersDeploymentArgs(val accountId: Output<String>? = null, val annotations: Output<WorkersDeploymentAnnotationsArgs>? = null, val scriptName: Output<String>? = null, val strategy: Output<String>? = null, val versions: Output<List<WorkersDeploymentVersionArgs>>? = null) : ConvertibleToJava<WorkersDeploymentArgs>

Example Usage

resources:
exampleWorkersDeployment:
type: cloudflare:WorkersDeployment
name: example_workers_deployment
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
scriptName: this-is_my_script-01
strategy: percentage
versions:
- percentage: 100
version_id: bcf48806-b317-4351-9ee7-36e7d557d4de
annotations:
workers_message: Deploy bug fix.

Import

$ pulumi import cloudflare:index/workersDeployment:WorkersDeployment example '<account_id>/<script_name>'

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, annotations: Output<WorkersDeploymentAnnotationsArgs>? = null, scriptName: Output<String>? = null, strategy: Output<String>? = null, versions: Output<List<WorkersDeploymentVersionArgs>>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

Identifier

Link copied to clipboard
Link copied to clipboard
val scriptName: Output<String>? = null

Name of the script.

Link copied to clipboard
val strategy: Output<String>? = null

Available values: "percentage".

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): WorkersDeploymentArgs