AnalyticsDefenderEasmModelFactory.ObservedHeader Method

Definition

Initializes a new instance of ObservedHeader.

public static Azure.Analytics.Defender.Easm.ObservedHeader ObservedHeader (DateTimeOffset? firstSeen = default, DateTimeOffset? lastSeen = default, long? count = default, bool? recent = default, string headerName = default, string headerValue = default);
static member ObservedHeader : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<bool> * string * string -> Azure.Analytics.Defender.Easm.ObservedHeader
Public Shared Function ObservedHeader (Optional firstSeen As Nullable(Of DateTimeOffset) = Nothing, Optional lastSeen As Nullable(Of DateTimeOffset) = Nothing, Optional count As Nullable(Of Long) = Nothing, Optional recent As Nullable(Of Boolean) = Nothing, Optional headerName As String = Nothing, Optional headerValue As String = Nothing) As ObservedHeader

Parameters

count
Nullable<Int64>
recent
Nullable<Boolean>
headerName
String
headerValue
String

Returns

A new ObservedHeader instance for mocking.

Applies to