teamworkDeviceOperation 资源类型
命名空间:microsoft.graph
重要
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 、、configUpdate 、deviceDiagnostics 、softwareUpdate deviceManagementAgentConfigUpdate 、remoteLogin 、remoteLogout 、 。 unknownFutureValue |
startedDateTime | DateTimeOffset | 操作开始的时间。 |
status | String | 异步操作的当前状态,例如 、Queued 、Scheduled 、InProgress Successful 、 Cancelled 和 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"
}