Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequest

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

id

id: string

The OCID of the work request.

operationType

operationType: OperationType

Type of work request.

percentComplete

percentComplete: number

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