A request for a resource's exclusive lock

interface ResourceLockRequest {
    assignTime?: Date;
    branch?: string;
    checkRunId?: string;
    definitionId?: number;
    finishTime?: Date;
    lockType?: ExclusiveLockType;
    nodeAttempt?: number;
    nodeName?: string;
    planId?: string;
    projectId?: string;
    queueTime?: Date;
    requestId?: number;
    resourceId?: string;
    resourceType?: string;
    status?: ResourceLockStatus;
}

Properties

assignTime?: Date

The date/time this request was assigned.

branch?: string

The branch the lock belongs to. It's used only by RunLatest exclusive locks of persisted stages.

checkRunId?: string

The ID of the check run waiting on this request

definitionId?: number

The ID of the pipeline that requested this resource

finishTime?: Date

The date/time this request was finished.

The behavior this request should exhibit in relation to other lock requests

nodeAttempt?: number

Attempt of the graph node

nodeName?: string

Name of the graph node (currently stage) requesting this resource

planId?: string

Internal ID for the orchestration plan connected with this request.

projectId?: string

The ID of the project of the check run and definition exist in

queueTime?: Date

The date/time this request was queued.

requestId?: number

ID of the request.

resourceId?: string

The id of the resource

resourceType?: string

The type of the resource

The result of this request.