Partilhar via


AnalyticsDefenderEasmModelFactory.DiscoveryGroup Method

Definition

Initializes a new instance of DiscoveryGroup.

public static Azure.Analytics.Defender.Easm.DiscoveryGroup DiscoveryGroup (string id = default, string name = default, string displayName = default, string description = default, string tier = default, long? frequencyMilliseconds = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.DiscoverySource> seeds = default, System.Collections.Generic.IEnumerable<string> names = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.DiscoverySource> excludes = default, Azure.Analytics.Defender.Easm.DiscoveryRunResult latestRun = default, DateTimeOffset? createdDate = default, string templateId = default);
static member DiscoveryGroup : string * string * string * string * string * Nullable<int64> * seq<Azure.Analytics.Defender.Easm.DiscoverySource> * seq<string> * seq<Azure.Analytics.Defender.Easm.DiscoverySource> * Azure.Analytics.Defender.Easm.DiscoveryRunResult * Nullable<DateTimeOffset> * string -> Azure.Analytics.Defender.Easm.DiscoveryGroup
Public Shared Function DiscoveryGroup (Optional id As String = Nothing, Optional name As String = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional tier As String = Nothing, Optional frequencyMilliseconds As Nullable(Of Long) = Nothing, Optional seeds As IEnumerable(Of DiscoverySource) = Nothing, Optional names As IEnumerable(Of String) = Nothing, Optional excludes As IEnumerable(Of DiscoverySource) = Nothing, Optional latestRun As DiscoveryRunResult = Nothing, Optional createdDate As Nullable(Of DateTimeOffset) = Nothing, Optional templateId As String = Nothing) As DiscoveryGroup

Parameters

id
String

The system generated unique id for the resource.

name
String

The caller provided unique name for the resource.

displayName
String

The name that can be used for display purposes.

description
String

The description for a disco group.

tier
String

The tier for the disco group which will affect the algorithm used for the disco runs in this group.

frequencyMilliseconds
Nullable<Int64>

The frequency at which the disco group is supposed to be rerun in milliseconds.

seeds
IEnumerable<DiscoverySource>

The list of seeds used for the disco group runs.

names
IEnumerable<String>

The list of names used for the disco group runs.

excludes
IEnumerable<DiscoverySource>

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

latestRun
DiscoveryRunResult

The latest run of this disco group with some limited information, null if the group has never been run.

createdDate
Nullable<DateTimeOffset>

The date for the disco group was created.

templateId
String

The unique identifier for the disco template used for the disco group creation.

Returns

A new DiscoveryGroup instance for mocking.

Applies to