Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequestSummary

A work request summary object.

Properties

compartmentId

compartmentId: string

The OCID of the compartment that contains this work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request affects multiple resources that are not in the same compartment, then the system picks a primary resource whose compartment should be used.

id

id: string

The ID of the work request.

operationType

operationType: OperationType

The asynchronous operation tracked by this work request.

percentComplete

percentComplete: number

The completed percentage of the operation tracked by this work request. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

resources

resources: Array<WorkRequestResource>

The resources affected by this work request.

status

status: Status

The status of this work request.

timeAccepted

timeAccepted: Date

The date and time this work request was accepted, in the timestamp format defined by RFC 3339.

Optional timeFinished

timeFinished: Date

The date and time the work request reached a terminal state, either {@code FAILED} or {@code SUCCEEDED}, in the timestamp format defined by RFC 3339.

Optional timeStarted

timeStarted: Date

The date and time the work request transitioned from {@code ACCEPTED} to {@code IN_PROGRESS}, in the timestamp format defined by RFC 3339.

Functions

getDeserializedJsonObj

getJsonObj