← All types
ProductionIn Input object

UpdateEdgeAppInput

Input for updating a DRAFT edge app. Only provided fields are changed.

Fields

handle

StringOptional

Wire id. Immutable on an existing draft — providing a different value than the current handle is rejected.

name

StringOptional

Display name

Optional human description

Triggers in this edgeApp; replaces the full list when provided

Handlers in this edgeApp; replaces the full list when provided

Reusable Lua snippets; replaces the full list when provided

External MQTT broker template shape; replaces the full list when provided (write-only secrets preserved per-broker by name when omitted)

External OPC UA endpoints; replaces the full list when provided (write-only secrets preserved per-endpoint by name when omitted)

External SNMP devices; replaces the full list when provided (write-only secrets preserved per-device by name when omitted)

Modbus ports; replaces the full list when provided

Exec commands; replaces the full list when provided

HTTP inbound routes; replaces the full list when provided (write-only auth credentials preserved per-route by method+path when the auth mode is unchanged)

Lua entry point script for local.edgeApp.invoke

Optional JSON Schema for installation variables

Cloud-forwarding level

Possible values (5)
DEBUG

Forward all levels to cloud

INFO

Forward info, warning, error

WARNING

Forward warning, error

ERROR

Forward error only

OFF

No cloud forwarding (local slog only)

Whether this edgeApp is included in installation pushes

Referenced by (1)
Exact type SDL
"""Input for updating a DRAFT edge app. Only provided fields are changed."""
input UpdateEdgeAppInput {
  """
  Wire id. Immutable on an existing draft — providing a different value than the current handle is rejected.
  """
  handle: String
  """Display name"""
  name: String
  """Optional human description"""
  description: String
  """Triggers in this edgeApp; replaces the full list when provided"""
  triggers: [EdgeAppTriggerInput!]
  """Handlers in this edgeApp; replaces the full list when provided"""
  handlers: [EdgeAppHandlerInput!]
  """Reusable Lua snippets; replaces the full list when provided"""
  libraries: [EdgeAppLibraryInput!]
  """
  External MQTT broker template shape; replaces the full list when provided (write-only secrets preserved per-broker by name when omitted)
  """
  mqttBrokers: [EdgeAppMQTTBrokerInput!]
  """
  External OPC UA endpoints; replaces the full list when provided (write-only secrets preserved per-endpoint by name when omitted)
  """
  opcuaEndpoints: [EdgeAppOPCUAEndpointInput!]
  """
  External SNMP devices; replaces the full list when provided (write-only secrets preserved per-device by name when omitted)
  """
  snmpDevices: [EdgeAppSNMPDeviceInput!]
  """Modbus ports; replaces the full list when provided"""
  modbusPorts: [EdgeAppModbusPortInput!]
  """Exec commands; replaces the full list when provided"""
  execCommands: [EdgeAppExecCommandInput!]
  """
  HTTP inbound routes; replaces the full list when provided (write-only auth credentials preserved per-route by method+path when the auth mode is unchanged)
  """
  httpRoutes: [EdgeAppHTTPRouteInput!]
  """Lua entry point script for local.edgeApp.invoke"""
  onMessage: String
  """Optional JSON Schema for installation variables"""
  configSchema: JSON
  """Cloud-forwarding level"""
  logLevel: EdgeAppLogLevel
  """Whether this edgeApp is included in installation pushes"""
  isActive: Boolean
}