deviceManagementTemplate resource type
Namespace: microsoft.graph
Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.
Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.
Entity that represents a defined collection of device settings
Methods
Method | Return Type | Description |
---|---|---|
List deviceManagementTemplates | deviceManagementTemplate collection | List properties and relationships of the deviceManagementTemplate objects. |
Get deviceManagementTemplate | deviceManagementTemplate | Read properties and relationships of the deviceManagementTemplate object. |
Create deviceManagementTemplate | deviceManagementTemplate | Create a new deviceManagementTemplate object. |
Delete deviceManagementTemplate | None | Deletes a deviceManagementTemplate. |
Update deviceManagementTemplate | deviceManagementTemplate | Update the properties of a deviceManagementTemplate object. |
createInstance action | deviceManagementIntent | |
compare function | deviceManagementSettingComparison collection | |
importOffice365DeviceConfigurationPolicies action | deviceManagementIntent collection |
Properties
Property | Type | Description |
---|---|---|
id | String | The template ID |
displayName | String | The template's display name |
description | String | The template's description |
versionInfo | String | The template's version information |
isDeprecated | Boolean | The template is deprecated or not. Intents cannot be created from a deprecated template. |
intentCount | Int32 | Number of Intents created from this template. |
templateType | deviceManagementTemplateType | The template's type. Possible values are: securityBaseline , specializedDevices , advancedThreatProtectionSecurityBaseline , deviceConfiguration , custom , securityTemplate , microsoftEdgeSecurityBaseline , microsoftOffice365ProPlusSecurityBaseline , deviceCompliance , deviceConfigurationForOffice365 , cloudPC , firewallSharedSettings . |
platformType | policyPlatformType | The template's platform. Possible values are: android , androidForWork , iOS , macOS , windowsPhone81 , windows81AndLater , windows10AndLater , androidWorkProfile , windows10XProfile , all . |
templateSubtype | deviceManagementTemplateSubtype | The template's subtype. Possible values are: none , firewall , diskEncryption , attackSurfaceReduction , endpointDetectionReponse , accountProtection , antivirus , firewallSharedAppList , firewallSharedIpList , firewallSharedPortlist . |
publishedDateTime | DateTimeOffset | When the template was published |
Relationships
Relationship | Type | Description |
---|---|---|
settings | deviceManagementSettingInstance collection | Collection of all settings this template has |
categories | deviceManagementTemplateSettingCategory collection | Collection of setting categories within the template |
migratableTo | deviceManagementTemplate collection | Collection of templates this template can migrate to |
JSON Representation
Here is a JSON representation of the resource.
{
"@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)"
}