Skip to main content

setEdgeWorkerActive

Enable or disable an existing WASM edge worker.

setEdgeWorkerActive(
input: SetEdgeWorkerActiveInput!
): EdgeWorker

Example

mutation ($input: SetEdgeWorkerActiveInput!) {
setEdgeWorkerActive(input: $input) {
active
createdAt
id
location {
operator
value
}
name
onFailure
phases
source
updatedAt
wasmBinary
}
}

Arguments

setEdgeWorkerActive.input ● SetEdgeWorkerActiveInput! non-null input common

The edge worker and desired active state.

Type

EdgeWorker object common

A WASM edge worker deployed to an environment.