Partilhar via


AnalyticsDefenderEasmModelFactory.ObservedPortState Method

Definition

Initializes a new instance of ObservedPortState.

public static Azure.Analytics.Defender.Easm.ObservedPortState ObservedPortState (DateTimeOffset? firstSeen = default, DateTimeOffset? lastSeen = default, long? count = default, bool? recent = default, Azure.Analytics.Defender.Easm.ObservedPortStateValue? value = default, int? port = default);
static member ObservedPortState : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<bool> * Nullable<Azure.Analytics.Defender.Easm.ObservedPortStateValue> * Nullable<int> -> Azure.Analytics.Defender.Easm.ObservedPortState
Public Shared Function ObservedPortState (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 value As Nullable(Of ObservedPortStateValue) = Nothing, Optional port As Nullable(Of Integer) = Nothing) As ObservedPortState

Parameters

count
Nullable<Int64>
recent
Nullable<Boolean>
port
Nullable<Int32>

Returns

A new ObservedPortState instance for mocking.

Applies to