命名空间:microsoft.graph
重要:Microsoft支持Intune /beta API,但它们会受到更频繁的更改。 Microsoft建议尽可能使用版本 v1.0。 使用版本选择器检查 API 在 v1.0 版中的可用性。
注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证。
MobileAppRelationship 通过提供一个应用程序是依赖还是被另一个应用程序取代的信息来描述两个移动应用程序之间的关系。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| 列出 mobileAppRelationships | mobileAppRelationship 集合 | 列出 mobileAppRelationship 对象的属性和关系。 |
| 获取 mobileAppRelationship | mobileAppRelationship | 读取 mobileAppRelationship 对象的属性和关系。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | String | 移动应用关系实体的唯一标识符。 此唯一标识符在 MobileAppRelationship 实体创建时分配。 例如:2dbc75b9-e993-4e4d-a071-91ac5a218672_43aaaf35-ce51-4695-9447-5eac6df31161。 只读。 默认情况下返回。 支持:$select。 不支持$search、$filter$orderBy。 |
| targetId | String | 移动应用关系实体的目标的唯一应用标识符。 例如:2dbc75b9-e993-4e4d-a071-91ac5a218672。 只读。 默认情况下返回。 支持:$select。 不支持$search、$filter$orderBy。 |
| targetDisplayName | String | 应用是移动应用关系实体的目标的应用的显示名称。 例如:Firefox 安装程序 52.0.2 32bit.intunewin。 最大长度为 500 个字符。 只读。 默认情况下返回。 支持:$select。 不支持$search、$filter$orderBy。 此属性是只读的。 |
| targetDisplayVersion | String | 移动应用关系实体目标的应用的显示版本。 例如 1.0 或 1.2203.156。 只读。 默认情况下返回。 支持:$select。 不支持$search、$filter$orderBy。 此属性是只读的。 |
| targetPublisher | String | 应用发布者,该应用是移动应用关系实体的目标。 例如:Fabrikam。 最大长度为 500 个字符。 只读。 默认情况下返回。 支持:$select。 不支持$search、$filter$orderBy。 此属性是只读的。 |
| targetPublisherDisplayName | String | 发布者显示应用的名称,该应用是移动应用关系实体的目标。 例如:Fabrikam。 最大长度为 500 个字符。 只读。 支持:$select。 不支持$search、$filter$orderBy。 此属性是只读的。 |
| sourceId | String | 移动应用关系实体源的唯一应用标识符。 例如:2dbc75b9-e993-4e4d-a071-91ac5a218672。 如果在创建关系期间为 null,则它将填充父 ID。只读。 支持:$select。 不支持$search、$filter$orderBy。 此属性是只读的。 |
| sourceDisplayName | String | 应用(移动应用关系实体的源)的显示名称。 例如:Orca。 最大长度为 500 个字符。 只读。 支持:$select。 不支持$search、$filter$orderBy。 此属性是只读的。 |
| sourceDisplayVersion | String | 应用(移动应用关系实体的源)的显示版本。 例如 1.0.12 或 1.2203.156 或 3。 只读。 支持:$select。 不支持$search、$filter$orderBy。 此属性是只读的。 |
| sourcePublisherDisplayName | String | 发布者显示应用的名称,该应用是移动应用关系实体的源。 例如:Fabrikam。 最大长度为 500 个字符。 只读。 支持:$select。 不支持$search、$filter$orderBy。 此属性是只读的。 |
| targetType | mobileAppRelationshipType | 关系类型,指示关系的目标应用程序是关系中的父级还是子级。 可能的值为:父级、子级。 只读。 默认情况下返回。 支持:$select、$filter。 不支持$search,$orderBy。 此属性是只读的。 可能的值包括 child、parent、unknownFutureValue。 |
关系
无
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.mobileAppRelationship",
"id": "String (identifier)",
"targetId": "String",
"targetDisplayName": "String",
"targetDisplayVersion": "String",
"targetPublisher": "String",
"targetPublisherDisplayName": "String",
"sourceId": "String",
"sourceDisplayName": "String",
"sourceDisplayVersion": "String",
"sourcePublisherDisplayName": "String",
"targetType": "String"
}