命名空间: microsoft.graph.windowsUpdates
重要
Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示由 Windows Autopatch 托管的设备的只读配置文件和 Windows 服务信息。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| 列出 deviceProfiles | microsoft.graph.windowsUpdates.deviceProfile 集合 | 列出设备配置文件及其 Windows 服务信息。 |
| 获取设备配置文件 | microsoft.graph.windowsUpdates.deviceProfile | 读取设备配置文件的属性。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| azureAdDeviceId | String | Microsoft Entra 设备标识符。 只读。 |
| deviceModel | String | 设备的硬件型号。 只读。 |
| deviceName | String | 设备名称。 只读。 |
| hotpatchReadiness | windowsUpdates.hotpatchReadiness | 设备热补丁更新的准备情况。 可能的值包括 ready、notReady、unknownFutureValue。 只读。 |
| id | String | 设备配置文件的唯一标识符。 只读。 |
| osBuild | String | 设备上安装的 Windows 内部版本。 只读。 |
| osStatus | windowsUpdates.osStatus | 设备的 Windows 版本的服务状态。 可能的值包括 endOfServicing、inServicing、nearEndOfServicing、unknownFutureValue。 只读。 |
| osVersion | String | 设备上安装的 Windows 版本。 只读。 |
| serialNumber | String | 设备序列号。 只读。 |
关系
无。
JSON 表示形式
以下 JSON 表示形式显示资源类型。
{
"@odata.type": "#microsoft.graph.windowsUpdates.deviceProfile",
"azureAdDeviceId": "String",
"deviceModel": "String",
"deviceName": "String",
"hotpatchReadiness": "String",
"id": "String (identifier)",
"osBuild": "String",
"osStatus": "String",
"osVersion": "String",
"serialNumber": "String"
}