Share via


MailMessageEntity Class

Definition

Represents a mail message entity.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.MailMessageEntityTypeConverter))]
public class MailMessageEntity : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IMailMessageEntity, Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.MailMessageEntityTypeConverter))>]
type MailMessageEntity = class
    interface IMailMessageEntity
    interface IJsonSerializable
    interface IEntity
    interface IResource
    interface IValidates
Public Class MailMessageEntity
Implements IMailMessageEntity, IValidates
Inheritance
MailMessageEntity
Attributes
Implements

Constructors

MailMessageEntity()

Creates an new MailMessageEntity instance.

Properties

AdditionalData

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

AntispamDirection

The directionality of this mail message

BodyFingerprintBin1

The bodyFingerprintBin1

BodyFingerprintBin2

The bodyFingerprintBin2

BodyFingerprintBin3

The bodyFingerprintBin3

BodyFingerprintBin4

The bodyFingerprintBin4

BodyFingerprintBin5

The bodyFingerprintBin5

DeliveryAction

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

DeliveryLocation

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

FileEntityId

The File entity ids of this mail message's attachments

FriendlyName

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.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

InternetMessageId

The internet message id of this mail message

Kind

The kind of the entity.

Language

The language of this mail message

Name

The name of the resource

NetworkMessageId

The network message id of this mail message

P1Sender

The p1 sender's email address

P1SenderDisplayName

The p1 sender's display name

P1SenderDomain

The p1 sender's domain

P2Sender

The p2 sender's email address

P2SenderDisplayName

The p2 sender's display name

P2SenderDomain

The p2 sender's domain

ReceiveDate

The receive date of this message

Recipient

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

SenderIP

The sender's IP address

Subject

The subject of this mail message

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Threat

The threats of this mail message

ThreatDetectionMethod

The threat detection methods

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Url

The Urls contained in this mail message

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MailMessageEntity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MailMessageEntity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IMailMessageEntity.

FromJsonString(String)

Creates a new instance of MailMessageEntity, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MailMessageEntity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to