Partilhar via


AnalyticsDefenderEasmModelFactory.IpAddressAsset Method

Definition

Initializes a new instance of IpAddressAsset.

public static Azure.Analytics.Defender.Easm.IpAddressAsset IpAddressAsset (string ipAddress = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedLong> asns = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ReputationDetails> reputations = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.WebComponent> webComponents = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedString> netRanges = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedHeader> headers = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.AttributeDetails> attributes = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.CookieDetails> cookies = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.SslCertAsset> sslCerts = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.AssetService> services = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.IpBlock> ipBlocks = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.SourceDetails> sources = default, DateTimeOffset? firstSeen = default, DateTimeOffset? lastSeen = default, long? count = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.BannerDetails> banners = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ScanMetadata> scanMetadata = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedBoolean> nsRecord = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedBoolean> mxRecord = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedLocation> location = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedString> hosts = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.ObservedBoolean> nxdomain = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.SslServerConfig> sslServerConfig = default, bool? ipv4 = default, bool? ipv6 = default);
static member IpAddressAsset : string * seq<Azure.Analytics.Defender.Easm.ObservedLong> * seq<Azure.Analytics.Defender.Easm.ReputationDetails> * seq<Azure.Analytics.Defender.Easm.WebComponent> * seq<Azure.Analytics.Defender.Easm.ObservedString> * seq<Azure.Analytics.Defender.Easm.ObservedHeader> * seq<Azure.Analytics.Defender.Easm.AttributeDetails> * seq<Azure.Analytics.Defender.Easm.CookieDetails> * seq<Azure.Analytics.Defender.Easm.SslCertAsset> * seq<Azure.Analytics.Defender.Easm.AssetService> * seq<Azure.Analytics.Defender.Easm.IpBlock> * seq<Azure.Analytics.Defender.Easm.SourceDetails> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * seq<Azure.Analytics.Defender.Easm.BannerDetails> * seq<Azure.Analytics.Defender.Easm.ScanMetadata> * seq<Azure.Analytics.Defender.Easm.ObservedBoolean> * seq<Azure.Analytics.Defender.Easm.ObservedBoolean> * seq<Azure.Analytics.Defender.Easm.ObservedLocation> * seq<Azure.Analytics.Defender.Easm.ObservedString> * seq<Azure.Analytics.Defender.Easm.ObservedBoolean> * seq<Azure.Analytics.Defender.Easm.SslServerConfig> * Nullable<bool> * Nullable<bool> -> Azure.Analytics.Defender.Easm.IpAddressAsset
Public Shared Function IpAddressAsset (Optional ipAddress As String = Nothing, Optional asns As IEnumerable(Of ObservedLong) = Nothing, Optional reputations As IEnumerable(Of ReputationDetails) = Nothing, Optional webComponents As IEnumerable(Of WebComponent) = Nothing, Optional netRanges As IEnumerable(Of ObservedString) = Nothing, Optional headers As IEnumerable(Of ObservedHeader) = Nothing, Optional attributes As IEnumerable(Of AttributeDetails) = Nothing, Optional cookies As IEnumerable(Of CookieDetails) = Nothing, Optional sslCerts As IEnumerable(Of SslCertAsset) = Nothing, Optional services As IEnumerable(Of AssetService) = Nothing, Optional ipBlocks As IEnumerable(Of IpBlock) = 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 banners As IEnumerable(Of BannerDetails) = Nothing, Optional scanMetadata As IEnumerable(Of ScanMetadata) = Nothing, Optional nsRecord As IEnumerable(Of ObservedBoolean) = Nothing, Optional mxRecord As IEnumerable(Of ObservedBoolean) = Nothing, Optional location As IEnumerable(Of ObservedLocation) = Nothing, Optional hosts As IEnumerable(Of ObservedString) = Nothing, Optional nxdomain As IEnumerable(Of ObservedBoolean) = Nothing, Optional sslServerConfig As IEnumerable(Of SslServerConfig) = Nothing, Optional ipv4 As Nullable(Of Boolean) = Nothing, Optional ipv6 As Nullable(Of Boolean) = Nothing) As IpAddressAsset

Parameters

ipAddress
String
webComponents
IEnumerable<WebComponent>
ipBlocks
IEnumerable<IpBlock>
count
Nullable<Int64>
scanMetadata
IEnumerable<ScanMetadata>
sslServerConfig
IEnumerable<SslServerConfig>

Returns

A new IpAddressAsset instance for mocking.

Applies to