deviceManagementTemplate 资源类型

命名空间:microsoft.graph

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

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

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

方法

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

属性

属性 类型 说明
id String 模板 ID
displayName String 模板的显示名称
description String 模板的说明
versionInfo String 模板的版本信息
isDeprecated 布尔值 模板已弃用或未使用。 不能从已弃用的模板创建意向。
intentCount Int32 从此模板创建的意向数。
templateType deviceManagementTemplateType 模板的类型。 可能的值为:securityBaseline、、advancedThreatProtectionSecurityBaselinespecializedDevicessecurityTemplatemicrosoftOffice365ProPlusSecurityBaselinemicrosoftEdgeSecurityBaselinedeviceConfigurationcustomdeviceCompliancedeviceConfigurationForOffice365cloudPC、 。 firewallSharedSettings
platformType policyPlatformType 模板的平台。 可取值包括:androidandroidForWorkiOSmacOSwindowsPhone81windows81AndLaterwindows10AndLaterandroidWorkProfilewindows10XProfileall
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)"
}