TaskInstance interface
A reference to a task.
- Extends
Properties
always |
|
condition | |
continue |
|
display |
|
enabled | |
environment | |
instance |
|
ref |
|
retry |
|
timeout |
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for