A reference to a task.

interface TaskReference {
    id?: string;
    inputs?: { [key: string]: string };
    name?: string;
    version?: string;
}

Hierarchy (View Summary)

Properties

id?: string

The ID of the task definition. Corresponds to the id value of task.json file.
Example: CmdLineV2 { "id": "D9BAFED4-0B18-4F58-968D-86655B4D2CE9" }

inputs?: { [key: string]: string }

A dictionary of inputs specific to a task definition. Corresponds to inputs value of task.json file.

name?: string

The name of the task definition. Corresponds to the name value of task.json file.
Example: CmdLineV2 { "name": "CmdLine" }

version?: string

The version of the task definition. Corresponds to the version value of task.json file.
Example: CmdLineV2 { "version": { "Major": 2, "Minor": 212, "Patch": 0 } }