UpdateEdgeWorkerInput
Input for updating an edge worker.
input UpdateEdgeWorkerInput {
edgeWorkerId: Int!
environmentId: Int!
location: EdgeWorkerLocationInput
name: String
onFailure: EdgeWorkerOnFailure
source: String
wasmBinary: String
}
Fields
UpdateEdgeWorkerInput.edgeWorkerId ● Int! non-null scalar common
The identifier of the edge worker to update.
UpdateEdgeWorkerInput.environmentId ● Int! non-null scalar common
The environment the worker belongs to.
UpdateEdgeWorkerInput.location ● EdgeWorkerLocationInput input common
A new rule scoping which requests the worker runs on.
UpdateEdgeWorkerInput.name ● String scalar common
A new human-readable name for the edge worker.
UpdateEdgeWorkerInput.onFailure ● EdgeWorkerOnFailure enum common
The behavior to apply when the worker errors at runtime.
UpdateEdgeWorkerInput.source ● String scalar common
New source code to store for reference.
UpdateEdgeWorkerInput.wasmBinary ● String scalar common
A new base64-encoded compiled WASM binary. Re-validated when provided.
Member Of
updateEdgeWorker mutation