命名空间:microsoft.graph
重要:Microsoft支持Intune /beta API,但它们会受到更频繁的更改。 Microsoft建议尽可能使用版本 v1.0。 使用版本选择器检查 API 在 v1.0 版中的可用性。
注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证。
表示定义的设备设置集合的实体
方法
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | String | 模板 ID |
| displayName | String | 模板的显示名称 |
| description | String | 模板的说明 |
| versionInfo | String | 模板的版本信息 |
| isDeprecated | 布尔值 | 模板已弃用或未使用。 不能从已弃用的模板创建意向。 |
| intentCount | Int32 | 从此模板创建的意向数。 |
| templateType | deviceManagementTemplateType | 模板的类型。 可能的值为:securityBaseline、、advancedThreatProtectionSecurityBaselinespecializedDevices、securityTemplatemicrosoftOffice365ProPlusSecurityBaselinemicrosoftEdgeSecurityBaselinedeviceConfigurationcustomdeviceCompliance、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)"
}