Skip to content

Latest commit

 

History

History
71 lines (60 loc) · 3.54 KB

security-retentioneventtype.md

File metadata and controls

71 lines (60 loc) · 3.54 KB
title description author ms.localizationpriority ms.subservice doc_type
retentionEventType resource type
Represents a single group for the same type of retention events. An event type is a generic description for similar events that can be used with any label with event-based retention.
sseth
medium
security
resourcePageType

retentionEventType resource type

Namespace: microsoft.graph.security

[!INCLUDE beta-disclaimer]

Represents a single group for the same type of retention events.

When a retention event is created, it's associated with a specific event type that in turn is associated with a retention label. Only content with that retention label applied will be retained for the specified retention period. For details, see Start retention when an event occurs.

Methods

Method Return type Description
List microsoft.graph.security.retentionEventType collection Get a list of the retentionEventType objects and their properties.
Create microsoft.graph.security.retentionEventType Create a new retentionEventType object.
Get microsoft.graph.security.retentionEventType Read the properties and relationships of a retentionEventType object.
Update microsoft.graph.security.retentionEventType Update the properties of a retentionEventType object.
Delete None Delete a retentionEventType object.

Properties

Property Type Description
createdBy microsoft.graph.identitySet The user who created the retentionEventType.
createdDateTime DateTimeOffset The date time when the retentionEventType was created.
description String Optional information about the event type.
displayName String Name of the event type.
id String Represents the unique ID of the user who created the retentionEventType. entity.
lastModifiedBy microsoft.graph.identitySet The user who last modified the retentionEventType.
lastModifiedDateTime DateTimeOffset The latest date time when the retentionEventType was modified.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.security.retentionEventType",
  "id": "String (identifier)",
  "displayName": "String",
  "description": "String",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "createdDateTime": "String (timestamp)",
  "lastModifiedBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "lastModifiedDateTime": "String (timestamp)"
}