deviceManagementTemplate 资源类型

命名空间:microsoft.graph

重要提示:Microsoft 支持 Intune/beta API,但它们可能会进行更频繁的更改。 Microsoft 建议尽可能使用 v1.0 版本。 使用版本选择器检查 API 在版本 v1.0 中的可用性。

注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证

表示已定义的设备设置集合的实体

方法

方法 返回类型 说明
列出 deviceManagementTemplates deviceManagementTemplate 集合 列出 deviceManagementTemplate 对象的属性和关系。
获取 deviceManagementTemplate deviceManagementTemplate 读取 deviceManagementTemplate 对象的属性和关系。
Create deviceManagementTemplate deviceManagementTemplate 创建新的 deviceManagementTemplate 对象。
删除 deviceManagementTemplate 删除 deviceManagementTemplate
更新 deviceManagementTemplate deviceManagementTemplate 更新 deviceManagementTemplate 对象的属性。
createInstance 操作 deviceManagementIntent
比较函数 deviceManagementSettingComparison 集合
importOffice365DeviceConfigurationPolicies 操作 deviceManagementIntent 集合

属性

属性 类型 说明
id String 模板 ID
displayName String 模板的显示名称
description String 模板的说明
versionInfo String 模板的版本信息
isDeprecated 布尔值 模板是否已弃用。 无法从已弃用的模板创建意向。
intentCount Int32 从此模板创建的意向数。
templateType deviceManagementTemplateType 模板的类型。 可取值为:securityBaselinespecializedDevicesadvancedThreatProtectionSecurityBaselinedeviceConfigurationcustomsecurityTemplatemicrosoftEdgeSecurityBaselinemicrosoftOffice365ProPlusSecurityBaselinedeviceCompliancedeviceConfigurationForOffice365cloudPCfirewallSharedSettings
platformType policyPlatformType 模板的平台。 可取值为:androidandroidForWorkiOSmacOSwindowsPhone81windows81AndLaterwindows10AndLaterandroidWorkProfilewindows10XProfilelinuxall
templateSubtype deviceManagementTemplateSubtype 模板的子类型。 可取值为:nonefirewalldiskEncryptionattackSurfaceReductionendpointDetectionReponseaccountProtectionantivirusfirewallSharedAppListfirewallSharedIpListfirewallSharedPortlist
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)"
}