TaskInstance interface

A reference to a task.

Extends

Properties

alwaysRun
condition
continueOnError
displayName
enabled
environment
instanceId
refName
retryCountOnTaskFailure
timeoutInMinutes

Inherited Properties

id

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

inputs

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

name

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

version

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

Property Details

alwaysRun

alwaysRun: boolean

Property Value

boolean

condition

condition: string

Property Value

string

continueOnError

continueOnError: boolean

Property Value

boolean

displayName

displayName: string

Property Value

string

enabled

enabled: boolean

Property Value

boolean

environment

environment: {[key: string]: string}

Property Value

{[key: string]: string}

instanceId

instanceId: string

Property Value

string

refName

refName: string

Property Value

string

retryCountOnTaskFailure

retryCountOnTaskFailure: number

Property Value

number

timeoutInMinutes

timeoutInMinutes: number

Property Value

number

Inherited Property Details

id

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

id: string

Property Value

string

Inherited From TaskReference.id

inputs

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

inputs: {[key: string]: string}

Property Value

{[key: string]: string}

Inherited From TaskReference.inputs

name

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

name: string

Property Value

string

Inherited From TaskReference.name

version

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

version: string

Property Value

string

Inherited From TaskReference.version