execSetEnabled
The kill switch for an app's ck-exec code, or one node type of it. Switched off, nothing of it is placed, what runs is persisted and stopped, and calls are refused with Denied; switched on, instances start as they are called. A type's switch lasts while the active version deploys the type: a deploy or a rollback that drops the type drops its switch. Requires the org 'manage_compute' permission.
execSetEnabled(
appId: BigInt!
enabled: Boolean!
nodeType: String
): ExecAppStatus!
Arguments
execSetEnabled.appId ● BigInt! non-null scalar
The app whose ck-exec code this is about.
execSetEnabled.enabled ● Boolean! non-null scalar
false switches it off; true switches it on again.
execSetEnabled.nodeType ● String scalar
Only this node type; the whole app when omitted.
Type
ExecAppStatus object
Whether an app’s ck-exec code may run: its active version and its switches.