| title | retentionEventType resource type |
|---|---|
| description | 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. |
| author | sseth |
| ms.localizationpriority | medium |
| ms.subservice | security |
| doc_type | resourcePageType |
| ms.date | 07/22/2024 |
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.
| 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. |
| 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. |
None.
The following JSON representation shows the resource type.
{
"@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)"
}