Partilhar via


AnalyticsDefenderEasmModelFactory.DiscoveryRunResult Method

Definition

Initializes a new instance of DiscoveryRunResult.

public static Azure.Analytics.Defender.Easm.DiscoveryRunResult DiscoveryRunResult (DateTimeOffset? submittedDate = default, DateTimeOffset? startedDate = default, DateTimeOffset? completedDate = default, string tier = default, Azure.Analytics.Defender.Easm.DiscoRunState? state = default, long? totalAssetsFoundCount = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.DiscoverySource> seeds = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.DiscoverySource> excludes = default, System.Collections.Generic.IEnumerable<string> names = default);
static member DiscoveryRunResult : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<Azure.Analytics.Defender.Easm.DiscoRunState> * Nullable<int64> * seq<Azure.Analytics.Defender.Easm.DiscoverySource> * seq<Azure.Analytics.Defender.Easm.DiscoverySource> * seq<string> -> Azure.Analytics.Defender.Easm.DiscoveryRunResult
Public Shared Function DiscoveryRunResult (Optional submittedDate As Nullable(Of DateTimeOffset) = Nothing, Optional startedDate As Nullable(Of DateTimeOffset) = Nothing, Optional completedDate As Nullable(Of DateTimeOffset) = Nothing, Optional tier As String = Nothing, Optional state As Nullable(Of DiscoRunState) = Nothing, Optional totalAssetsFoundCount As Nullable(Of Long) = Nothing, Optional seeds As IEnumerable(Of DiscoverySource) = Nothing, Optional excludes As IEnumerable(Of DiscoverySource) = Nothing, Optional names As IEnumerable(Of String) = Nothing) As DiscoveryRunResult

Parameters

submittedDate
Nullable<DateTimeOffset>

The date for when the disco run was created in the system.

startedDate
Nullable<DateTimeOffset>

The date for when the disco run was actually started by the system.

completedDate
Nullable<DateTimeOffset>

The date for when the disco run was completed by the system.

tier
String

The tier which will affect the algorithm used for the disco run.

state
Nullable<DiscoRunState>

The State of the disco run.

totalAssetsFoundCount
Nullable<Int64>

The total count of assets that were found this disco run.

seeds
IEnumerable<DiscoverySource>

The list of seeds used for the disco run.

excludes
IEnumerable<DiscoverySource>

The list of excludes used for the disco run, aka assets to exclude from the discovery algorithm.

names
IEnumerable<String>

The list of names used for the disco run.

Returns

A new DiscoveryRunResult instance for mocking.

Applies to