Compartilhar via


ArmSecurityInsightsModelFactory.SecurityInsightsMailMessageEntity Method

Definition

Initializes a new instance of SecurityInsightsMailMessageEntity.

public static Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMailMessageEntity SecurityInsightsMailMessageEntity (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IReadOnlyDictionary<string,BinaryData> additionalData = default, string friendlyName = default, System.Collections.Generic.IEnumerable<string> fileEntityIds = default, string recipient = default, System.Collections.Generic.IEnumerable<Uri> uris = default, System.Collections.Generic.IEnumerable<string> threats = default, string p1Sender = default, string p1SenderDisplayName = default, string p1SenderDomain = default, System.Net.IPAddress senderIP = default, string p2Sender = default, string p2SenderDisplayName = default, string p2SenderDomain = default, DateTimeOffset? receiveOn = default, Guid? networkMessageId = default, string internetMessageId = default, string subject = default, string language = default, System.Collections.Generic.IEnumerable<string> threatDetectionMethods = default, int? bodyFingerprintBin1 = default, int? bodyFingerprintBin2 = default, int? bodyFingerprintBin3 = default, int? bodyFingerprintBin4 = default, int? bodyFingerprintBin5 = default, Azure.ResourceManager.SecurityInsights.Models.AntispamMailDirection? antispamDirection = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMailMessageDeliveryAction? deliveryAction = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMailMessageDeliveryLocation? deliveryLocation = default);
static member SecurityInsightsMailMessageEntity : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IReadOnlyDictionary<string, BinaryData> * string * seq<string> * string * seq<Uri> * seq<string> * string * string * string * System.Net.IPAddress * string * string * string * Nullable<DateTimeOffset> * Nullable<Guid> * string * string * string * seq<string> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.SecurityInsights.Models.AntispamMailDirection> * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMailMessageDeliveryAction> * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMailMessageDeliveryLocation> -> Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMailMessageEntity
Public Shared Function SecurityInsightsMailMessageEntity (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional additionalData As IReadOnlyDictionary(Of String, BinaryData) = Nothing, Optional friendlyName As String = Nothing, Optional fileEntityIds As IEnumerable(Of String) = Nothing, Optional recipient As String = Nothing, Optional uris As IEnumerable(Of Uri) = Nothing, Optional threats As IEnumerable(Of String) = Nothing, Optional p1Sender As String = Nothing, Optional p1SenderDisplayName As String = Nothing, Optional p1SenderDomain As String = Nothing, Optional senderIP As IPAddress = Nothing, Optional p2Sender As String = Nothing, Optional p2SenderDisplayName As String = Nothing, Optional p2SenderDomain As String = Nothing, Optional receiveOn As Nullable(Of DateTimeOffset) = Nothing, Optional networkMessageId As Nullable(Of Guid) = Nothing, Optional internetMessageId As String = Nothing, Optional subject As String = Nothing, Optional language As String = Nothing, Optional threatDetectionMethods As IEnumerable(Of String) = Nothing, Optional bodyFingerprintBin1 As Nullable(Of Integer) = Nothing, Optional bodyFingerprintBin2 As Nullable(Of Integer) = Nothing, Optional bodyFingerprintBin3 As Nullable(Of Integer) = Nothing, Optional bodyFingerprintBin4 As Nullable(Of Integer) = Nothing, Optional bodyFingerprintBin5 As Nullable(Of Integer) = Nothing, Optional antispamDirection As Nullable(Of AntispamMailDirection) = Nothing, Optional deliveryAction As Nullable(Of SecurityInsightsMailMessageDeliveryAction) = Nothing, Optional deliveryLocation As Nullable(Of SecurityInsightsMailMessageDeliveryLocation) = Nothing) As SecurityInsightsMailMessageEntity

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

additionalData
IReadOnlyDictionary<String,BinaryData>

A bag of custom fields that should be part of the entity and will be presented to the user.

friendlyName
String

The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.

fileEntityIds
IEnumerable<String>

The File entity ids of this mail message's attachments.

recipient
String

The recipient of this mail message. Note that in case of multiple recipients the mail message is forked and each copy has one recipient.

uris
IEnumerable<Uri>

The Urls contained in this mail message.

threats
IEnumerable<String>

The threats of this mail message.

p1Sender
String

The p1 sender's email address.

p1SenderDisplayName
String

The p1 sender's display name.

p1SenderDomain
String

The p1 sender's domain.

senderIP
IPAddress

The sender's IP address.

p2Sender
String

The p2 sender's email address.

p2SenderDisplayName
String

The p2 sender's display name.

p2SenderDomain
String

The p2 sender's domain.

receiveOn
Nullable<DateTimeOffset>

The receive date of this message.

networkMessageId
Nullable<Guid>

The network message id of this mail message.

internetMessageId
String

The internet message id of this mail message.

subject
String

The subject of this mail message.

language
String

The language of this mail message.

threatDetectionMethods
IEnumerable<String>

The threat detection methods.

bodyFingerprintBin1
Nullable<Int32>

The bodyFingerprintBin1.

bodyFingerprintBin2
Nullable<Int32>

The bodyFingerprintBin2.

bodyFingerprintBin3
Nullable<Int32>

The bodyFingerprintBin3.

bodyFingerprintBin4
Nullable<Int32>

The bodyFingerprintBin4.

bodyFingerprintBin5
Nullable<Int32>

The bodyFingerprintBin5.

antispamDirection
Nullable<AntispamMailDirection>

The directionality of this mail message.

deliveryAction
Nullable<SecurityInsightsMailMessageDeliveryAction>

The delivery action of this mail message like Delivered, Blocked, Replaced etc.

deliveryLocation
Nullable<SecurityInsightsMailMessageDeliveryLocation>

The delivery location of this mail message like Inbox, JunkFolder etc.

Returns

A new SecurityInsightsMailMessageEntity instance for mocking.

Applies to