ResourceLockRequest interface
A request for a resource's exclusive lock
Properties
assign |
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. |
check |
The ID of the check run waiting on this request |
definition |
The ID of the pipeline that requested this resource |
finish |
The date/time this request was finished. |
lock |
The behavior this request should exhibit in relation to other lock requests |
node |
Attempt of the graph node |
node |
Name of the graph node (currently stage) requesting this resource |
plan |
Internal ID for the orchestration plan connected with this request. |
project |
The ID of the project of the check run and definition exist in |
queue |
The date/time this request was queued. |
request |
ID of the request. |
resource |
The id of the resource |
resource |
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