operation resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

The status of a long-running operation.

Methods

None.

Properties

Property Type Description
createdDateTime DateTimeOffset The start time of the operation.
id String The operation ID. Read-only. Server generated.
lastActionDateTime DateTimeOffset The time of the last action of the operation.
status String Possible values are: notStarted, running, completed, failed. Read-only.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

{
  "createdDateTime": "String (timestamp)",
  "id": "String (identifier)",
  "lastActionDateTime": "String (timestamp)",
  "status": "notStarted | running | completed | failed"
}

Example

{
  "createdDateTime": "2018-09-06T15:58:41Z",
  "id": "ABB33D04-3A2C-4D78-996F-9EEEF55EF119",
  "lastActionDateTime": "2018-09-06T15:58:41Z",
  "status": "completed"
}