teamworkDeviceOperation 资源类型

命名空间:microsoft.graph

注意

与资源类型的设备管理 teamworkDevice 相关的 Microsoft Graph beta API 将于 2025 年 11 月弃用,并且在该日期之后将不再受支持。

重要

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

表示有关在启用 Microsoft Teams 的 设备上运行的异步操作的详细信息,包括操作状态。 在设备上运行的任何异步操作都会创建一个 teamworkDeviceOperation 对象。

继承自 entity。

Methods

方法 返回类型 Description
List teamworkDeviceOperation 集合 获取 teamworkDeviceOperation 对象及其属性的列表。
Get teamworkDeviceOperation 读取 teamworkDeviceOperation 对象的属性和关系。

属性

属性 类型 说明
completedDateTime DateTimeOffset 操作达到最终状态的时间 (例如 Successful、 、 Failed和 Cancelled) 。
createdBy identitySet 创建设备操作的用户的标识。
createdDateTime DateTimeOffset 创建设备操作时的 UTC 日期和时间。
error operationError 错误详细信息仅在失败状态下可用。
id String 文档标识符。 继承自 entity。
lastActionBy identitySet 上次修改设备操作的用户的标识。
lastActionDateTime DateTimeOffset 上次修改设备操作时的 UTC 日期和时间。
operationType teamworkDeviceOperationType 设备上的异步操作类型。 可能的值为:deviceRestart、configUpdateremoteLogoutdeviceDiagnosticssoftwareUpdatedeviceManagementAgentConfigUpdateremoteLogin。 unknownFutureValue
startedDateTime DateTimeOffset 操作开始的时间。
status String 异步操作的当前状态,例如 Queued、 Scheduled、 CancelledInProgressSuccessful、 和 。Failed

关系

无。

JSON 表示形式

以下 JSON 表示形式显示资源类型。

{
  "@odata.type": "#microsoft.graph.teamworkDeviceOperation",
  "completedDateTime": "String (timestamp)",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "createdDateTime": "String (timestamp)",
  "error": {
    "@odata.type": "microsoft.graph.operationError"
  },
  "id": "String (identifier)",
  "lastActionBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "lastActionDateTime": "String (timestamp)",
  "operationType": "String",
  "startedDateTime": "String (timestamp)",
  "status": "String"
}