A job request for an agent.

interface TaskAgentJobRequest {
    agentSpecification?: any;
    assignTime?: Date;
    data?: { [key: string]: string };
    definition?: TaskOrchestrationOwner;
    demands?: Demand[];
    finishTime?: Date;
    hostId?: string;
    jobId?: string;
    jobName?: string;
    lockedUntil?: Date;
    matchedAgents?: TaskAgentReference[];
    matchesAllAgentsInPool?: boolean;
    orchestrationId?: string;
    owner?: TaskOrchestrationOwner;
    planGroup?: string;
    planId?: string;
    planType?: string;
    poolId?: number;
    priority?: number;
    queueId?: number;
    queueTime?: Date;
    receiveTime?: Date;
    requestId?: number;
    reservedAgent?: TaskAgentReference;
    result?: TaskResult;
    scopeId?: string;
    serviceOwner?: string;
    statusMessage?: string;
    userDelayed?: boolean;
}

Properties

agentSpecification?: any
assignTime?: Date

The date/time this request was assigned.

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

Additional data about the request.

The pipeline definition associated with this request

demands?: Demand[]

A list of demands required to fulfill this request.

finishTime?: Date

The date/time this request was finished.

hostId?: string

The host which triggered this request.

jobId?: string

ID of the job resulting from this request.

jobName?: string

Name of the job resulting from this request.

lockedUntil?: Date

The deadline for the agent to renew the lock.

matchedAgents?: TaskAgentReference[]
matchesAllAgentsInPool?: boolean
orchestrationId?: string

The pipeline associated with this request

planGroup?: string
planId?: string

Internal ID for the orchestration plan connected with this request.

planType?: string

Internal detail representing the type of orchestration plan.

poolId?: number

The ID of the pool this request targets

priority?: number
queueId?: number

The ID of the queue this request targets

queueTime?: Date

The date/time this request was queued.

receiveTime?: Date

The date/time this request was receieved by an agent.

requestId?: number

ID of the request.

reservedAgent?: TaskAgentReference

The agent allocated for this request.

result?: TaskResult

The result of this request.

scopeId?: string

Scope of the pipeline; matches the project ID.

serviceOwner?: string

The service which owns this request.

statusMessage?: string
userDelayed?: boolean