ArmSecurityCenterModelFactory.ServerVulnerabilityProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Dictionary from cvss version to cvss details object.
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET