Partilhar via


AnalyticsDefenderEasmModelFactory.ContactAsset Method

Definition

Initializes a new instance of ContactAsset.

public static Azure.Analytics.Defender.Easm.ContactAsset ContactAsset (string email = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedString> names = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedString> organizations = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.SourceDetails> sources = default, DateTimeOffset? firstSeen = default, DateTimeOffset? lastSeen = default, long? count = default);
static member ContactAsset : string * seq<Azure.Analytics.Defender.Easm.ObservedString> * seq<Azure.Analytics.Defender.Easm.ObservedString> * seq<Azure.Analytics.Defender.Easm.SourceDetails> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> -> Azure.Analytics.Defender.Easm.ContactAsset
Public Shared Function ContactAsset (Optional email As String = Nothing, Optional names As IEnumerable(Of ObservedString) = Nothing, Optional organizations As IEnumerable(Of ObservedString) = Nothing, Optional sources As IEnumerable(Of SourceDetails) = Nothing, Optional firstSeen As Nullable(Of DateTimeOffset) = Nothing, Optional lastSeen As Nullable(Of DateTimeOffset) = Nothing, Optional count As Nullable(Of Long) = Nothing) As ContactAsset

Parameters

email
String
organizations
IEnumerable<ObservedString>
count
Nullable<Int64>

Returns

A new ContactAsset instance for mocking.

Applies to