Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Namespace: microsoft.graph.security
Represents a trigger for event-based retention labels where start of the retention period is based on when a specific type of event occurs. To learn more about it, see Start retention when an event occurs.
Method | Return type | Description |
---|---|---|
List retentionEvents | microsoft.graph.security.retentionEvent collection | Get a list of the retentionEvent objects and their properties. |
Create retentionEvent | microsoft.graph.security.retentionEvent | Create a new retentionEvent object. |
Get retentionEvent | microsoft.graph.security.retentionEvent | Read the properties and relationships of a retentionEvent object. |
Delete retentionEvent | None | Delete a retentionEvent object. |
List retentionEventType | microsoft.graph.security.retentionEventType collection | Get the retentionEventType resources from the exapnd eventType navigation property. |
Create retentionEventType | microsoft.graph.security.retentionEventType | Add eventType by adding the relevant odata property when creating an event. |
Property | Type | Description |
---|---|---|
createdBy | microsoft.graph.identitySet | The user who created the retentionEvent. |
createdDateTime | DateTimeOffset | The date time when the retentionEvent was created. |
description | String | Optional information about the event. |
displayName | String | Name of the event. |
eventPropagationResults | microsoft.graph.security.eventPropagationResult collection | Represents the success status of a created event and additional information. |
eventQueries | microsoft.graph.security.eventQuery collection | Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event. |
eventStatus | microsoft.graph.security.retentionEventStatus | Status of event propogation to the scoped locations after the event has been created. |
eventTriggerDateTime | DateTimeOffset | Optional time when the event should be triggered. |
id | String | Represents the unique ID of the user who created the retentionEvent. entity. |
lastModifiedBy | microsoft.graph.identitySet | The user who last modified the retentionEvent. |
lastModifiedDateTime | DateTimeOffset | The latest date time when the retentionEvent was modified. |
lastStatusUpdateDateTime | DateTimeOffset | Last time the status of the event was updated. |
Relationship | Type | Description |
---|---|---|
retentionEventType | microsoft.graph.security.retentionEventType | Specifies the event that will start the retention period for labels that use this event type when an event is created. |
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.security.retentionEvent",
"id": "String (identifier)",
"displayName": "String",
"description": "String",
"eventQueries": [
{
"@odata.type": "microsoft.graph.security.eventQuery"
}
],
"eventTriggerDateTime": "String (timestamp)",
"createdBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"createdDateTime": "String (timestamp)",
"lastModifiedBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"lastModifiedDateTime": "String (timestamp)",
"eventPropagationResults": [
{
"@odata.type": "microsoft.graph.security.eventPropagationResult"
}
],
"eventStatus": {
"@odata.type": "microsoft.graph.security.retentionEventStatus"
},
"lastStatusUpdateDateTime": "String (timestamp)"
}
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now