操作资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

长时间运行的操作的状态。

方法

无。

属性

属性 类型 说明
createdDateTime DateTimeOffset 操作的开始时间。
id String 操作 ID。 只读。 由服务器生成。
lastActionDateTime DateTimeOffset 操作的最后一个操作的时间。
status String 可能的值是:notStartedrunningcompletedfailed。 只读。

关系

无。

JSON 表示形式

下面是资源的 JSON 表示形式。

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

示例

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