命名空间:microsoft.graph
重要: Microsoft Graph 中 /beta 版本下的 API 可能会发生更改,这可能会中断应用程序。 虽然 Microsoft 支持Intune /beta API,但你应自行决定使用这些 API。 通常,建议不要在生产应用程序中使用 /beta API。 若要确定 API 在 v1.0 中是否可用,请使用版本选择器
注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证。
表示定义的设备设置集合的实体
方法
属性
属性 | 类型 | 说明 |
---|---|---|
id | String | 模板 ID |
displayName | String | 模板的显示名称 |
description | String | 模板的说明 |
versionInfo | String | 模板的版本信息 |
isDeprecated | 布尔值 | 模板已弃用或未使用。 不能从已弃用的模板创建意向。 |
intentCount | Int32 | 从此模板创建的意向数。 |
templateType | deviceManagementTemplateType | 模板的类型。 可取值为:securityBaseline 、specializedDevices 、advancedThreatProtectionSecurityBaseline 、deviceConfiguration 、custom 、securityTemplate 、microsoftEdgeSecurityBaseline 、microsoftOffice365ProPlusSecurityBaseline 、deviceCompliance 、deviceConfigurationForOffice365 、cloudPC 、firewallSharedSettings 。 |
platformType | policyPlatformType | 模板的平台。 可取值为:android 、androidForWork 、iOS 、macOS 、windowsPhone81 、windows81AndLater 、windows10AndLater 、androidWorkProfile 、windows10XProfile 、all 。 |
templateSubtype | deviceManagementTemplateSubtype | 模板的子类型。 可取值为:none 、firewall 、diskEncryption 、attackSurfaceReduction 、endpointDetectionReponse 、accountProtection 、antivirus 、firewallSharedAppList 、firewallSharedIpList 、firewallSharedPortlist 。 |
publishedDateTime | DateTimeOffset | 发布模板时 |
关系
关系 | 类型 | 说明 |
---|---|---|
settings | deviceManagementSettingInstance 集合 | 此模板具有的所有设置的集合 |
类别 | deviceManagementTemplateSettingCategory 集合 | 模板中的设置类别的集合 |
migratableTo | deviceManagementTemplate 集合 | 此模板可迁移到的模板集合 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.deviceManagementTemplate",
"id": "String (identifier)",
"displayName": "String",
"description": "String",
"versionInfo": "String",
"isDeprecated": true,
"intentCount": 1024,
"templateType": "String",
"platformType": "String",
"templateSubtype": "String",
"publishedDateTime": "String (timestamp)"
}