ResourceLockRequest interface

A request for a resource's exclusive lock

Properties

assignTime

The date/time this request was assigned.

branch

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

checkRunId

The ID of the check run waiting on this request

definitionId

The ID of the pipeline that requested this resource

finishTime

The date/time this request was finished.

lockType

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

nodeAttempt

Attempt of the graph node

nodeName

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

planId

Internal ID for the orchestration plan connected with this request.

projectId

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

queueTime

The date/time this request was queued.

requestId

ID of the request.

resourceId

The id of the resource

resourceType

The type of the resource

status

The result of this request.

Property Details

assignTime

The date/time this request was assigned.

assignTime: Date

Property Value

Date

branch

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

branch: string

Property Value

string

checkRunId

The ID of the check run waiting on this request

checkRunId: string

Property Value

string

definitionId

The ID of the pipeline that requested this resource

definitionId: number

Property Value

number

finishTime

The date/time this request was finished.

finishTime: Date

Property Value

Date

lockType

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

lockType: ExclusiveLockType

Property Value

nodeAttempt

Attempt of the graph node

nodeAttempt: number

Property Value

number

nodeName

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

nodeName: string

Property Value

string

planId

Internal ID for the orchestration plan connected with this request.

planId: string

Property Value

string

projectId

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

projectId: string

Property Value

string

queueTime

The date/time this request was queued.

queueTime: Date

Property Value

Date

requestId

ID of the request.

requestId: number

Property Value

number

resourceId

The id of the resource

resourceId: string

Property Value

string

resourceType

The type of the resource

resourceType: string

Property Value

string

status

The result of this request.

status: ResourceLockStatus

Property Value