命名空间:microsoft.graph
重要: Microsoft Graph 中 /beta 版本下的 API 可能会发生更改,这可能会中断应用程序。 虽然 Microsoft 支持Intune /beta API,但你应自行决定使用这些 API。 通常,建议不要在生产应用程序中使用 /beta API。 若要确定 API 在 v1.0 中是否可用,请使用版本选择器
注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证。
设备和用户的 MacOS 软件更新类别摘要报告
方法
属性
属性 | 类型 | 说明 |
---|---|---|
id | String | 实体的键。 |
displayName | String | 报表的名称 |
deviceId | String | 设备 ID。 |
userId | String | 用户 ID。 |
updateCategory | macOSSoftwareUpdateCategory | 软件更新类型。 可能的值是:critical 、configurationDataFile 、firmware 、other 。 |
successfulUpdateCount | Int32 | 设备上成功更新的数目 |
failedUpdateCount | Int32 | 设备上失败的更新数 |
totalUpdateCount | Int32 | 设备上的更新总数 |
lastUpdatedDateTime | DateTimeOffset | 上次更新此设备的报表的日期时间。 |
关系
关系 | 类型 | 说明 |
---|---|---|
updateStateSummaries | macOSSoftwareUpdateStateSummary 集合 | 更新状态的摘要。 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.macOSSoftwareUpdateCategorySummary",
"id": "String (identifier)",
"displayName": "String",
"deviceId": "String",
"userId": "String",
"updateCategory": "String",
"successfulUpdateCount": 1024,
"failedUpdateCount": 1024,
"totalUpdateCount": 1024,
"lastUpdatedDateTime": "String (timestamp)"
}