Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequest

Many of the API requests you use to create and configure WAAS policies do not take effect immediately. In these cases, the request spawns an asynchronous work flow to fulfill the request. {@code WorkRequest} objects provide visibility for in-progress work flows. For more information about work requests, see Viewing the State of a Work Request.

Properties

compartmentId

compartmentId: string

The OCID of the compartment that contains the work request.

Optional errors

The list of errors that occurred while fulfilling the work request.

id

id: string

The OCID of the work request.

Optional logs

The list of log entries from the work request workflow.

operationType

A description of the operation requested by the work request.

Optional percentComplete

percentComplete: undefined | number

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

Optional resources

The resources being used to complete the work request operation.

status

The current status of the work request.

timeAccepted

timeAccepted: Date

The date and time the work request was created, in the format defined by RFC3339.

timeFinished

timeFinished: Date

The date and time the work request was fulfilled or terminated, expressed in RFC 3339 timestamp format.

timeStarted

timeStarted: Date

The date and time the work request moved from the {@code ACCEPTED} state to the {@code IN_PROGRESS} state, expressed in RFC 3339 timestamp format.

Functions

getDeserializedJsonObj

getJsonObj