CmdID / PowerShell / Cmdlets / New
New-MgSecurityTriggerRetentionEvent
Create a new retentionEvent object. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 25 parameters Its page in the reference
Parameters
Show its 25 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterretentionEvent To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CreatedByidentitySet To construct, see NOTES section for CREATEDBY properties and create a hash table.-CreatedDateTimeThe date time when the retentionEvent was created.-DescriptionOptional information about the event.-DisplayNameName of the event.-EventPropagationResultsRepresents the success status of a created event and additional information.-EventQueriesRepresents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event.-EventStatusretentionEventStatus To construct, see NOTES section for EVENTSTATUS properties and create a hash table.-EventTriggerDateTimeOptional time when the event should be triggered.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-LastModifiedByidentitySet To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.-LastModifiedDateTimeThe latest date time when the retentionEvent was modified.-LastStatusUpdateDateTimeLast time the status of the event was updated.-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-RetentionEventTyperetentionEventType To construct, see NOTES section for RETENTIONEVENTTYPE properties and create a hash table.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.