JobOperationState interface
Operation state for a long-running operation that creates a job resource.
CUSTOMIZATION: SDK-IMPROVEMENT: the emitted pollers resolve to the job's terminal result
payload, which carries no identifier; jobId keeps the created job reachable.
- Extends
-
OperationState<TResult>
Properties
| job |
Server-assigned id of the created job. Available once |
Inherited Properties
| error | Will exist if the operation encountered any error. |
| result | Will exist if the operation produced a result of the expected type. |
| status | The current status of the operation. |
Property Details
jobId
Server-assigned id of the created job. Available once submitted() resolves.
jobId?: string
Property Value
string
Inherited Property Details
error
Will exist if the operation encountered any error.
error?: Error
Property Value
Error
Inherited From OperationState.error
result
Will exist if the operation produced a result of the expected type.
result?: TResult
Property Value
TResult
Inherited From OperationState.result
status
The current status of the operation.
status: OperationStatus
Property Value
Inherited From OperationState.status