Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequest

An object representing an asynchronous work flow.

Many of the API requests you use to create and configure connectors do not take effect immediately. In these cases, the request spawns an asynchronous work flow to fulfill the request. WorkRequest objects provide visibility for in-progress work flows. For more information about work requests, see [Viewing the State of a Work Request](https://docs.cloud.oracle.com/iaas/Content/connector-hub/workrequests.htm).

Properties

compartmentId

compartmentId: string

The OCID of the compartment containing the work request.

id

id: string

The OCID of the work request.

operationType

operationType: OperationType

The type of action the work request represents.

percentComplete

percentComplete: number

Percentage of the 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. Format is defined by RFC3339. Example: {@code 2020-01-25T21:10:29.600Z}

Optional timeFinished

timeFinished: Date

The date and time when the object finished. Format is defined by RFC3339. Example: {@code 2020-01-25T21:10:29.600Z}

Optional timeStarted

timeStarted: Date

The date and time when the request was started. Format is defined by RFC3339. Example: {@code 2020-01-25T21:10:29.600Z}

Functions

getDeserializedJsonObj

getJsonObj