Package version:

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

interface Task {
    agentConfiguration?: AgentProperties;
    agentPoolName?: string;
    creationDate?: any;
    credentials?: Credentials;
    id?: string;
    identity?: IdentityProperties;
    isSystemTask?: boolean;
    location: string;
    logTemplate?: string;
    name?: string;
    platform?: PlatformProperties;
    provisioningState?: string;
    status?: string;
    step?: TaskStepPropertiesUnion;
    systemData?: SystemData;
    tags?: {
        [propertyName: string]: string;
    };
    timeout?: number;
    trigger?: TriggerProperties;
    type?: string;
}

Hierarchy (view full)

Properties

agentConfiguration?: AgentProperties

The machine configuration of the run agent.

agentPoolName?: string

The dedicated agent pool for the task.

creationDate?: any

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

credentials?: Credentials

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

id?: string

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

Identity for the resource.

isSystemTask?: boolean

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

location: string

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

logTemplate?: string

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

name?: string

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

The platform properties against which the run has to happen.

provisioningState?: string

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

status?: string

The current status of task.

The properties of a task step.

systemData?: 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?: {
    [propertyName: string]: string;
}

The tags of the resource.

timeout?: number

Run timeout in seconds.

The properties that describe all triggers for the task.

type?: string

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