AnalyticsDefenderEasmModelFactory.SslCertAsset Method

Definition

Initializes a new instance of SslCertAsset.

public static Azure.Analytics.Defender.Easm.SslCertAsset SslCertAsset (string sha1 = default, System.Collections.Generic.IEnumerable<string> subjectCommonNames = default, System.Collections.Generic.IEnumerable<string> organizations = default, System.Collections.Generic.IEnumerable<string> organizationalUnits = default, System.Collections.Generic.IEnumerable<string> issuerCommonNames = default, string sigAlgName = default, DateTimeOffset? invalidAfter = default, string serialNumber = default, System.Collections.Generic.IEnumerable<string> subjectAlternativeNames = default, System.Collections.Generic.IEnumerable<string> issuerAlternativeNames = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.SourceDetails> sources = default, DateTimeOffset? firstSeen = default, DateTimeOffset? lastSeen = default, long? count = default, DateTimeOffset? invalidBefore = default, int? keySize = default, string keyAlgorithm = default, System.Collections.Generic.IEnumerable<string> subjectLocality = default, System.Collections.Generic.IEnumerable<string> subjectState = default, System.Collections.Generic.IEnumerable<string> subjectCountry = default, System.Collections.Generic.IEnumerable<string> issuerLocality = default, System.Collections.Generic.IEnumerable<string> issuerState = default, System.Collections.Generic.IEnumerable<string> issuerCountry = default, System.Collections.Generic.IEnumerable<string> subjectOrganizations = default, System.Collections.Generic.IEnumerable<string> subjectOrganizationalUnits = default, System.Collections.Generic.IEnumerable<string> issuerOrganizations = default, System.Collections.Generic.IEnumerable<string> issuerOrganizationalUnits = default, int? version = default, bool? certificateAuthority = default, bool? selfSigned = default, string sigAlgOid = default, bool? recent = default, Azure.Analytics.Defender.Easm.SslCertAssetValidationType? validationType = default);
static member SslCertAsset : string * seq<string> * seq<string> * seq<string> * seq<string> * string * Nullable<DateTimeOffset> * string * seq<string> * seq<string> * seq<Azure.Analytics.Defender.Easm.SourceDetails> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<int> * string * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * Nullable<int> * Nullable<bool> * Nullable<bool> * string * Nullable<bool> * Nullable<Azure.Analytics.Defender.Easm.SslCertAssetValidationType> -> Azure.Analytics.Defender.Easm.SslCertAsset
Public Shared Function SslCertAsset (Optional sha1 As String = Nothing, Optional subjectCommonNames As IEnumerable(Of String) = Nothing, Optional organizations As IEnumerable(Of String) = Nothing, Optional organizationalUnits As IEnumerable(Of String) = Nothing, Optional issuerCommonNames As IEnumerable(Of String) = Nothing, Optional sigAlgName As String = Nothing, Optional invalidAfter As Nullable(Of DateTimeOffset) = Nothing, Optional serialNumber As String = Nothing, Optional subjectAlternativeNames As IEnumerable(Of String) = Nothing, Optional issuerAlternativeNames As IEnumerable(Of String) = 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 invalidBefore As Nullable(Of DateTimeOffset) = Nothing, Optional keySize As Nullable(Of Integer) = Nothing, Optional keyAlgorithm As String = Nothing, Optional subjectLocality As IEnumerable(Of String) = Nothing, Optional subjectState As IEnumerable(Of String) = Nothing, Optional subjectCountry As IEnumerable(Of String) = Nothing, Optional issuerLocality As IEnumerable(Of String) = Nothing, Optional issuerState As IEnumerable(Of String) = Nothing, Optional issuerCountry As IEnumerable(Of String) = Nothing, Optional subjectOrganizations As IEnumerable(Of String) = Nothing, Optional subjectOrganizationalUnits As IEnumerable(Of String) = Nothing, Optional issuerOrganizations As IEnumerable(Of String) = Nothing, Optional issuerOrganizationalUnits As IEnumerable(Of String) = Nothing, Optional version As Nullable(Of Integer) = Nothing, Optional certificateAuthority As Nullable(Of Boolean) = Nothing, Optional selfSigned As Nullable(Of Boolean) = Nothing, Optional sigAlgOid As String = Nothing, Optional recent As Nullable(Of Boolean) = Nothing, Optional validationType As Nullable(Of SslCertAssetValidationType) = Nothing) As SslCertAsset

Parameters

sha1
String
subjectCommonNames
IEnumerable<String>
organizations
IEnumerable<String>
organizationalUnits
IEnumerable<String>
issuerCommonNames
IEnumerable<String>
sigAlgName
String
invalidAfter
Nullable<DateTimeOffset>
serialNumber
String
subjectAlternativeNames
IEnumerable<String>
issuerAlternativeNames
IEnumerable<String>
count
Nullable<Int64>
invalidBefore
Nullable<DateTimeOffset>
keySize
Nullable<Int32>
keyAlgorithm
String
subjectLocality
IEnumerable<String>
subjectState
IEnumerable<String>
subjectCountry
IEnumerable<String>
issuerLocality
IEnumerable<String>
issuerState
IEnumerable<String>
issuerCountry
IEnumerable<String>
subjectOrganizations
IEnumerable<String>
subjectOrganizationalUnits
IEnumerable<String>
issuerOrganizations
IEnumerable<String>
issuerOrganizationalUnits
IEnumerable<String>
version
Nullable<Int32>
certificateAuthority
Nullable<Boolean>
selfSigned
Nullable<Boolean>
sigAlgOid
String
recent
Nullable<Boolean>

Returns

A new SslCertAsset instance for mocking.

Applies to