Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequest

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, 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

The ID of the work request.

operationType

operationType: OperationTypes

The type of this work request.

percentComplete

percentComplete: number

Percentage of this work request completed. 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 this work request.

timeAccepted

timeAccepted: Date

The date and time the request was created, shown as an RFC 3339 formatted datetime string.

Optional timeFinished

timeFinished: Date

The time the object was finished, shown as an RFC 3339 formatted datetime string.

Optional timeStarted

timeStarted: Date

The time the request was started, shown as an RFC 3339 formatted datetime string.

Functions

getDeserializedJsonObj

getJsonObj