Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph.security
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 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)"
}