命名空间:microsoft.graph
重要: Microsoft Graph 中 /beta 版本下的 API 可能会发生更改,这可能会中断应用程序。 虽然 Microsoft 支持Intune /beta API,但你应自行决定使用这些 API。 通常,建议不要在生产应用程序中使用 /beta API。 若要确定 API 在 v1.0 中是否可用,请使用版本选择器
注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证。
托管设备上安装的托管或未托管应用。 未托管应用仅出现在标记为公司所有的设备上。
方法
方法 | 返回类型 | 说明 |
---|---|---|
List detectedApps | detectedApp 集合 | 列出 detectedApp 对象的属性和关系。 |
Get detectedApp | detectedApp | 读取 detectedApp 对象的属性和关系。 |
Create detectedApp | detectedApp | 创建新的 detectedApp 对象。 |
Delete detectedApp | 无 | 删除 detectedApp。 |
Update detectedApp | detectedApp | 更新 detectedApp 对象的属性。 |
属性
属性 | 类型 | 说明 |
---|---|---|
id | String | 检测到的应用程序的唯一标识符。 创建此应用程序时,Intune 将自动生成它。 只读。 |
displayName | String | 发现的应用程序的名称。 只读 |
version | String | 发现的应用程序的版本。 只读 |
sizeInByte | Int64 | 发现的应用程序的大小,以字节为单位。 只读 |
deviceCount | Int32 | 已安装此应用程序的设备数量 |
发布者 | String | 指示发现的应用程序的发布者。 例如:“Microsoft”。 默认值为空字符串。 |
平台 | detectedAppPlatformType | 指示已发现应用程序的作系统/平台。 一些可能的值为 Windows、iOS、macOS。 默认值为未知 (0) 。 可取值为:unknown 、windows 、windowsMobile 、windowsHolographic 、ios 、macOS 、chromeOS 、androidOSP 、androidDeviceAdministrator 、androidWorkProfile 、androidDedicatedAndFullyManaged 、unknownFutureValue 。 |
关系
关系 | 类型 | 说明 |
---|---|---|
managedDevices | managedDevice 集合 | 已安装发现的应用程序的设备 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.detectedApp",
"id": "String (identifier)",
"displayName": "String",
"version": "String",
"sizeInByte": 1024,
"deviceCount": 1024,
"publisher": "String",
"platform": "String"
}