Partilhar via


AnalyticsDefenderEasmModelFactory.WebComponent Method

Definition

Initializes a new instance of WebComponent.

public static Azure.Analytics.Defender.Easm.WebComponent WebComponent (string name = default, string type = default, string version = default, System.Collections.Generic.IEnumerable<string> ruleId = default, DateTimeOffset? firstSeen = default, DateTimeOffset? lastSeen = default, long? count = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.CveDetails> cve = default, long? endOfLife = default, bool? recent = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.PortDetails> ports = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.SourceDetails> sources = default, string service = default);
static member WebComponent : string * string * string * seq<string> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * seq<Azure.Analytics.Defender.Easm.CveDetails> * Nullable<int64> * Nullable<bool> * seq<Azure.Analytics.Defender.Easm.PortDetails> * seq<Azure.Analytics.Defender.Easm.SourceDetails> * string -> Azure.Analytics.Defender.Easm.WebComponent
Public Shared Function WebComponent (Optional name As String = Nothing, Optional type As String = Nothing, Optional version As String = Nothing, Optional ruleId As IEnumerable(Of String) = Nothing, Optional firstSeen As Nullable(Of DateTimeOffset) = Nothing, Optional lastSeen As Nullable(Of DateTimeOffset) = Nothing, Optional count As Nullable(Of Long) = Nothing, Optional cve As IEnumerable(Of CveDetails) = Nothing, Optional endOfLife As Nullable(Of Long) = Nothing, Optional recent As Nullable(Of Boolean) = Nothing, Optional ports As IEnumerable(Of PortDetails) = Nothing, Optional sources As IEnumerable(Of SourceDetails) = Nothing, Optional service As String = Nothing) As WebComponent

Parameters

name
String
type
String
version
String
count
Nullable<Int64>
endOfLife
Nullable<Int64>
recent
Nullable<Boolean>
service
String

Returns

A new WebComponent instance for mocking.

Applies to