Workers Deployment Args
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.
Content copied to clipboard
Import
$ pulumi import cloudflare:index/workersDeployment:WorkersDeployment example '<account_id>/<script_name>'
Content copied to clipboard
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)