命名空间:microsoft.graph
重要:Microsoft支持Intune /beta API,但它们会受到更频繁的更改。 Microsoft建议尽可能使用版本 v1.0。 使用版本选择器检查 API 在 v1.0 版中的可用性。
注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证。
帐户的安全基线模板
方法
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | String | 从 deviceManagementTemplate 继承的模板 ID |
| displayName | String | 模板的显示名称继承自 deviceManagementTemplate |
| description | String | 模板的说明继承自 deviceManagementTemplate |
| versionInfo | String | 从 deviceManagementTemplate 继承的模板版本信息 |
| isDeprecated | 布尔值 | 模板已弃用或未使用。 不能从已弃用的模板创建意向。 继承自 deviceManagementTemplate |
| intentCount | Int32 | 从此模板创建的意向数。 继承自 deviceManagementTemplate |
| templateType | deviceManagementTemplateType | 模板的类型。 继承自 deviceManagementTemplate。 可能的值为:securityBaseline、、advancedThreatProtectionSecurityBaselinespecializedDevices、securityTemplatemicrosoftOffice365ProPlusSecurityBaselinemicrosoftEdgeSecurityBaselinedeviceConfigurationcustomdeviceCompliance、deviceConfigurationForOffice365、cloudPC、 。 firewallSharedSettings |
| platformType | policyPlatformType | 模板的平台。 继承自 deviceManagementTemplate。 可取值包括:android、androidForWork、iOS、macOS、windowsPhone81、windows81AndLater、windows10AndLater、androidWorkProfile、windows10XProfile、all。 |
| templateSubtype | deviceManagementTemplateSubtype | 模板的子类型。 继承自 deviceManagementTemplate。 可取值包括:none、firewall、diskEncryption、attackSurfaceReduction、endpointDetectionReponse、accountProtection、antivirus、firewallSharedAppList、firewallSharedIpList、firewallSharedPortlist。 |
| publishedDateTime | DateTimeOffset | 发布模板时继承自 deviceManagementTemplate |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| settings | deviceManagementSettingInstance 集合 | 此模板继承自 deviceManagementTemplate 的所有设置的集合 |
| 类别 | deviceManagementTemplateSettingCategory 集合 | 从 deviceManagementTemplate 继承的模板中的设置类别的集合 |
| migratableTo | deviceManagementTemplate 集合 | 此模板可迁移到继承自 deviceManagementTemplate 的模板集合 |
| deviceStateSummary | securityBaselineStateSummary | 安全基线设备状态摘要 |
| deviceStates | securityBaselineDeviceState 集合 | 安全基线设备状态 |
| categoryDeviceStateSummaries | securityBaselineCategoryStateSummary 集合 | 每个类别设备状态的安全基线摘要 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.securityBaselineTemplate",
"id": "String (identifier)",
"displayName": "String",
"description": "String",
"versionInfo": "String",
"isDeprecated": true,
"intentCount": 1024,
"templateType": "String",
"platformType": "String",
"templateSubtype": "String",
"publishedDateTime": "String (timestamp)"
}