Task interface

The task that has the ARM resource and task properties. The task will have all information to schedule a run against it.

Extends

Properties

agentConfiguration

The machine configuration of the run agent.

agentPoolName

The dedicated agent pool for the task.

creationDate

The creation date of task. NOTE: This property will not be serialized. It can only be populated by the server.

credentials

The properties that describes a set of credentials that will be used when this run is invoked.

identity

Identity for the resource.

isSystemTask

The value of this property indicates whether the task resource is system task or not.

logTemplate

The template that describes the repository and tag information for run log artifact.

platform

The platform properties against which the run has to happen.

provisioningState

The provisioning state of the task. NOTE: This property will not be serialized. It can only be populated by the server.

status

The current status of task.

step

The properties of a task step.

timeout

Run timeout in seconds.

trigger

The properties that describe all triggers for the task.

Inherited Properties

id

The resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

location

The location of the resource. This cannot be changed after the resource is created.

name

The name of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

systemData

Metadata pertaining to creation and last modification of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

tags

The tags of the resource.

type

The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

agentConfiguration

The machine configuration of the run agent.

agentConfiguration?: AgentProperties

Property Value

agentPoolName

The dedicated agent pool for the task.

agentPoolName?: string

Property Value

string

creationDate

The creation date of task. NOTE: This property will not be serialized. It can only be populated by the server.

creationDate?: Date

Property Value

Date

credentials

The properties that describes a set of credentials that will be used when this run is invoked.

credentials?: Credentials

Property Value

identity

Identity for the resource.

identity?: IdentityProperties

Property Value

isSystemTask

The value of this property indicates whether the task resource is system task or not.

isSystemTask?: boolean

Property Value

boolean

logTemplate

The template that describes the repository and tag information for run log artifact.

logTemplate?: string

Property Value

string

platform

The platform properties against which the run has to happen.

platform?: PlatformProperties

Property Value

provisioningState

The provisioning state of the task. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

status

The current status of task.

status?: string

Property Value

string

step

The properties of a task step.

step?: TaskStepPropertiesUnion

Property Value

timeout

Run timeout in seconds.

timeout?: number

Property Value

number

trigger

The properties that describe all triggers for the task.

trigger?: TriggerProperties

Property Value

Inherited Property Details

id

The resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From Resource.id

location

The location of the resource. This cannot be changed after the resource is created.

location: string

Property Value

string

Inherited From Resource.location

name

The name of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From Resource.name

systemData

Metadata pertaining to creation and last modification of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Property Value

Inherited From Resource.systemData

tags

The tags of the resource.

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From Resource.tags

type

The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From Resource.type