Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WorkRequest

A description of workrequest status

Properties

Optional childrenIds

childrenIds: Array<string>

A list of the IDs of any children of this work request

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

Optional description

description: undefined | string

Description of the type of work.

id

id: string

The id of the work request.

Optional managedInstanceId

managedInstanceId: model.Id

Optional message

message: undefined | string

A progress or error message, if there is any.

operationType

operationType: OperationTypes

the type of operation this Work Request performs

Optional osFamily

osFamily: model.OsFamilies

The Operating System type of the managed instance.

Optional parentId

parentId: undefined | string

The parent of this work request, if one exists.

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 the request was created, as described in RFC 3339, section 14.29.

Optional timeFinished

timeFinished: Date

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

Optional timeStarted

timeStarted: Date

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

Functions

getDeserializedJsonObj

getJsonObj