Skip to content

Type Alias: JobDefinition ​

ts
type JobDefinition = object;

Job definition types for creating Nosana jobs

Properties ​

deployment_id? ​

ts
optional deployment_id: DeploymentId;

global? ​

ts
optional global: Global;

logistics? ​

ts
optional logistics: Logistics;

meta? ​

ts
optional meta: Meta;

ops ​

ts
ops: Ops;

ssh? ​

ts
optional ssh: SSH;

type? ​

ts
optional type: string;

Deprecated ​

The execution environment is no longer derived from the job definition — it is the node operator's --vm/--cvm choice. Retained as an optional, unvalidated field so type-less jobs and legacy jobs still carrying 'container' | 'vm' | 'cvm' continue to validate. Do not read it.


version ​

ts
version: string;