Partilhar via


AnalyticsDefenderEasmModelFactory.AssetService Method

Definition

Initializes a new instance of AssetService.

public static Azure.Analytics.Defender.Easm.AssetService AssetService (string scheme = default, int? port = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.WebComponent> webComponents = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.SslCertAsset> sslCerts = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedString> exceptions = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.SourceDetails> sources = default, DateTimeOffset? firstSeen = default, DateTimeOffset? lastSeen = default, long? count = default, bool? recent = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedPortState> portStates = default);
static member AssetService : string * Nullable<int> * seq<Azure.Analytics.Defender.Easm.WebComponent> * seq<Azure.Analytics.Defender.Easm.SslCertAsset> * seq<Azure.Analytics.Defender.Easm.ObservedString> * seq<Azure.Analytics.Defender.Easm.SourceDetails> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<bool> * seq<Azure.Analytics.Defender.Easm.ObservedPortState> -> Azure.Analytics.Defender.Easm.AssetService
Public Shared Function AssetService (Optional scheme As String = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional webComponents As IEnumerable(Of WebComponent) = Nothing, Optional sslCerts As IEnumerable(Of SslCertAsset) = Nothing, Optional exceptions As IEnumerable(Of ObservedString) = Nothing, Optional sources As IEnumerable(Of SourceDetails) = Nothing, 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 portStates As IEnumerable(Of ObservedPortState) = Nothing) As AssetService

Parameters

scheme
String
port
Nullable<Int32>
webComponents
IEnumerable<WebComponent>
count
Nullable<Int64>
recent
Nullable<Boolean>

Returns

A new AssetService instance for mocking.

Applies to