Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequest

The asynchronous API request does not take effect immediately. This request spawns an asynchronous workflow to fulfill the request. WorkRequest objects provide visibility for in-progress workflows.

Properties

compartmentId

compartmentId: string

The OCID of the compartment that contains the work request.

id

id: string

The OCID of the work request.

operationType

operationType: OperationType

An enum-like description of the type of work the work request is doing.

percentComplete

percentComplete: number

How much progress the operation has made. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

resources

resources: Array<WorkRequestResource>

The resources this work request affects.

status

The current status of the work request.

timeAccepted

timeAccepted: Date

Date and time the work was accepted, in the format defined by RFC3339. Example: {@code 2016-08-25T21:10:29.600Z}

Optional timeFinished

timeFinished: Date

Date and time the work completed, in the format defined by RFC3339. Example: {@code 2016-08-25T21:10:29.600Z}

Optional timeStarted

timeStarted: Date

Date and time the work started, in the format defined by RFC3339. Example: {@code 2016-08-25T21:10:29.600Z}

Functions

getDeserializedJsonObj

getJsonObj