protectByTemplateAction resource type

Namespace: microsoft.graph.security

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Informs the application that a protection template in Microsoft Purview Information Protection should be applied. protectionByTemplateAction might be returned by evaluateApplication or evaluateClassificationResults if the resulting label has been configured to apply protection. The consuming application must read the templateId from the result and then use a client library, such as the Microsoft Purview Information Protection SDK, to apply protection via Azure Information Protection.

Inherits from informationProtectionAction.

Properties

Property Type Description
templateId String The unique identifier for a protection template in Microsoft Purview Information Protection to apply to the content.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.security.protectByTemplateAction",
  "templateId": "String"
}