Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequest

Information on a work request.

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

Example: {@code ocid1.compartment.oc1..uniqueID}

id

id: string

The OCID of the work request.

Example: {@code ocid1.drworkrequest.oc1..uniqueID}

operationType

operationType: OperationType

The type of the work request.

percentComplete

percentComplete: number

The percentage of the request completed.

Example: {@code 75} 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 work request.

timeAccepted

timeAccepted: Date

The date and time the request was created. An RFC3339 formatted datetime string.

Example: {@code 2019-03-29T09:36:42Z}

Optional timeFinished

timeFinished: Date

The date and time the request was finished. An RFC3339 formatted datetime string.

Example: {@code 2019-03-29T09:36:42Z}

Optional timeStarted

timeStarted: Date

The date and time the request was started. An RFC3339 formatted datetime string.

Example: {@code 2019-03-29T09:36:42Z}

Functions

getDeserializedJsonObj

getJsonObj