Skip to content

Oadm.Sdk.Tasks

Starting and cancelling tasks from a core plugin.

Type Description
ITaskRunner Starts and cancels tasks from a core plugin (ICorePluginContext.Tasks).
Type Description
SecretAttribute Marks a payload property that holds a password, key or other secret (SDK 0.13.0).
TaskSecrets The default secrets of a payload type (ITaskPlugin.SecretsOf): its top-level SecretAttribute properties.
Type Description
PayloadError One problem of a task payload (SDK 0.13.0, ITaskPlugin.ValidatePayload): the field and the text the dialog shows below it.
TaskAudit The audit entry of a run (ITaskRunner.RunAsync, SDK 0.15.0).
TaskOutcome The end of a task (ITaskRunner.GetOutcomeAsync, SDK 0.7.0).
TaskPlan What a run of a payload would do on the chosen devices (SDK 0.13.0, ITaskPlugin.PlanAsync): every device once, to run or skipped with a reason, and the warnings of the dialog (a change that can make devices unreachable).
TaskPlanDevice One device of a TaskPlan: it gets a task, or it is skipped with the reason.
TaskPlanFile An uploaded file a run would use: its name and SHA-256 (upper-case hex) as the upload store holds them.
TaskSecret A secret a run of a payload needs that an AI agent never sends (SDK 0.13.0, ITaskPlugin.SecretsOf): the person enters it, and the host puts it into the payload at TaskSecret.Field for the run only.
Type Description
TaskEndState How a task ended (ITaskRunner.GetOutcomeAsync, SDK 0.7.0).