Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequest

Detailed information about a work request (WorkRequest resource).

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, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.

id

id: string

Unique identifier of the work request

Optional locks

Locks associated with this resource.

operationType

operationType: OperationType

Operation type of the work request

percentComplete

percentComplete: number

Percentage of the work request that's completed Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

resources

resources: Array<WorkRequestResource>

List of resources affected by the work request

status

Operation status of the work request

timeAccepted

timeAccepted: Date

The date and time the work request was created

Optional timeFinished

timeFinished: Date

The date and time the work request was finished

Optional timeStarted

timeStarted: Date

The date and time the work request was started

Functions

getDeserializedJsonObj

getJsonObj