Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequest

A description of the work request status.

Properties

compartmentId

compartmentId: string

The OCID of the compartment that contains the 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 the primary resource whose compartment should be used.

id

id: string

The ID of the work request.

operationType

The type of work request.

percentComplete

percentComplete: number

The completed percentage of the operation tracked by the 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

The status of the current work request.

timeAccepted

timeAccepted: Date

The date and time the work request was accepted, as described in RFC 3339. The precision for this time object in milliseconds.

Optional timeFinished

timeFinished: Date

The date and time the work request reached a terminal state, either FAILED or SUCCEEDED, as described in RFC 3339. The precision for this time object is in milliseconds.

Optional timeStarted

timeStarted: Date

The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, as described in RFC 3339. The precision for this time object is in milliseconds.

Functions

getDeserializedJsonObj

getJsonObj