UpsertEdgeAppInput
Input for creating or updating a edge app
Fields
Existing edgeApp ID; omit to create
Wire id (lowercase letters/digits/underscore/hyphen)
Display name
Optional human description
Triggers in this edgeApp
Handlers in this edgeApp
Reusable Lua snippets (optional; defaults to empty)
External MQTT broker template shape (optional; secrets live on the installation)
External OPC UA endpoints (optional; credentials/PEMs may be ${config:NAME} templates)
External SNMP devices (optional; community/keys may be ${config:NAME} templates)
Modbus ports (optional; auth-free protocol)
Exec commands (optional; gated by the controller's policy at run time)
HTTP inbound routes (optional; auth credentials are write-only and redacted on read)
Lua entry point script for local.edgeApp.invoke (optional)
Optional JSON Schema for installation variables
Cloud-forwarding level
Possible values (5)
DEBUGForward all levels to cloud
INFOForward info, warning, error
WARNINGForward warning, error
ERRORForward error only
OFFNo cloud forwarding (local slog only)
Default true
Referenced by (1)
Exact type SDL
"""Input for creating or updating a edge app"""
input UpsertEdgeAppInput {
"""Existing edgeApp ID; omit to create"""
id: EdgeAppID
"""Wire id (lowercase letters/digits/underscore/hyphen)"""
handle: String!
"""Display name"""
name: String!
"""Optional human description"""
description: String
"""Triggers in this edgeApp"""
triggers: [EdgeAppTriggerInput!]!
"""Handlers in this edgeApp"""
handlers: [EdgeAppHandlerInput!]!
"""Reusable Lua snippets (optional; defaults to empty)"""
libraries: [EdgeAppLibraryInput!]
"""
External MQTT broker template shape (optional; secrets live on the installation)
"""
mqttBrokers: [EdgeAppMQTTBrokerInput!]
"""
External OPC UA endpoints (optional; credentials/PEMs may be ${config:NAME} templates)
"""
opcuaEndpoints: [EdgeAppOPCUAEndpointInput!]
"""
External SNMP devices (optional; community/keys may be ${config:NAME} templates)
"""
snmpDevices: [EdgeAppSNMPDeviceInput!]
"""Modbus ports (optional; auth-free protocol)"""
modbusPorts: [EdgeAppModbusPortInput!]
"""Exec commands (optional; gated by the controller's policy at run time)"""
execCommands: [EdgeAppExecCommandInput!]
"""
HTTP inbound routes (optional; auth credentials are write-only and redacted on read)
"""
httpRoutes: [EdgeAppHTTPRouteInput!]
"""Lua entry point script for local.edgeApp.invoke (optional)"""
onMessage: String
"""Optional JSON Schema for installation variables"""
configSchema: JSON
"""Cloud-forwarding level"""
logLevel: EdgeAppLogLevel
"""Default true"""
isActive: Boolean
}