Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequest

A description of a 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 that is affected by the work request. If the work request affects multiple resources, and these resources are not in the same compartment, the service team can choose the primary resource of the compartment to be used.

id

id: string

The ID of the work request.

operationType

operationType: OperationType

The type of the work request.

percentComplete

percentComplete: number

The percentage of 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

Status of current work request.

timeAccepted

timeAccepted: Date

The date and time when the request was created, as described in RFC 3339, section 14.29.

Optional timeFinished

timeFinished: Date

The date and time when the object was complete, as described in RFC 3339.

Optional timeStarted

timeStarted: Date

The date and time when the request started, as described in RFC 3339, section 14.29.

Functions

getDeserializedJsonObj

getJsonObj