編輯

共用方式為


longRunningOperation 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.

Represents the status of a long-running Microsoft Graph API operation.

The following types derive from this object:

Methods

Method Return type Description
Get longRunningOperation object Read the properties and relationships of a longRunningOperation object.

Properties

Property Type Description
createdDateTime DateTimeOffset The start time of the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
id String The unique identifier for the operation.
lastActionDateTime DateTimeOffset The time of the last action in the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
resourceLocation String URI of the resource that the operation is performed on.
status longRunningOperationStatus The status of the operation. The possible values are: notStarted, running, succeeded, failed, skipped, unknownFutureValue.
statusDetail String Details about the status of the operation.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.longRunningOperation",
  "createdDateTime": "String (timestamp)",
  "id": "String (identifier)",
  "lastActionDateTime": "String (timestamp)",
  "resourceLocation": "String",
  "status": "String",
  "statusDetail": "String"
}