onenoteOperation 资源类型

命名空间:microsoft.graph

某些长时间运行的操作的状态OneNote状态。

JSON 表示形式

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

{
  "createdDateTime": "String (timestamp)",
  "error": {"@odata.type": "microsoft.graph.onenoteOperationError"},
  "id": "string (identifier)",
  "lastActionDateTime": "String (timestamp)",
  "resourceId": "string",
  "resourceLocation": "string",
  "status": "string",
  "percentComplete": "string"
}

属性

属性 类型 说明
createdDateTime DateTimeOffset 操作开始时间。
error onenoteOperationError 操作返回的错误。
id string 操作 ID。只读。
lastActionDateTime DateTimeOffset 操作的最后一个操作的时间。
resourceId string 资源 ID。
resourceLocation string 对象的资源 URI。 例如,复制的页面或节的资源 URI。
status operationStatus 操作的当前状态 NotStarted Running :、、、。 Completed Failed
percentComplete string 如果操作仍处于状态,则操作完成百 running 分比。

关系

方法

方法 返回类型 说明
获取操作 onenoteOperation 获取操作的状态。