ArmSecurityCenterModelFactory.ServerVulnerabilityProperties Method

Definition

Initializes a new instance of ServerVulnerabilityProperties.

public static Azure.ResourceManager.SecurityCenter.Models.ServerVulnerabilityProperties ServerVulnerabilityProperties (string serverVulnerabilityType = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.ResourceManager.SecurityCenter.Models.SecurityCvss> cvss = default, bool? isPatchable = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityCve> cve = default, string threat = default, DateTimeOffset? publishedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.VendorReference> vendorReferences = default);
static member ServerVulnerabilityProperties : string * System.Collections.Generic.IReadOnlyDictionary<string, Azure.ResourceManager.SecurityCenter.Models.SecurityCvss> * Nullable<bool> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityCve> * string * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.SecurityCenter.Models.VendorReference> -> Azure.ResourceManager.SecurityCenter.Models.ServerVulnerabilityProperties
Public Shared Function ServerVulnerabilityProperties (Optional serverVulnerabilityType As String = Nothing, Optional cvss As IReadOnlyDictionary(Of String, SecurityCvss) = Nothing, Optional isPatchable As Nullable(Of Boolean) = Nothing, Optional cve As IEnumerable(Of SecurityCve) = Nothing, Optional threat As String = Nothing, Optional publishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional vendorReferences As IEnumerable(Of VendorReference) = Nothing) As ServerVulnerabilityProperties

Parameters

serverVulnerabilityType
String

Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered.

cvss
IReadOnlyDictionary<String,SecurityCvss>

Dictionary from cvss version to cvss details object.

isPatchable
Nullable<Boolean>

Indicates whether a patch is available or not.

cve
IEnumerable<SecurityCve>

List of CVEs.

threat
String

Threat name.

publishedOn
Nullable<DateTimeOffset>

Published time.

vendorReferences
IEnumerable<VendorReference>

Returns

A new ServerVulnerabilityProperties instance for mocking.

Applies to