ArmIotFirmwareDefenseModelFactory.FirmwareCve 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 FirmwareCve.
public static Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareCve FirmwareCve (string cveId = default, BinaryData component = default, string severity = default, string name = default, string cvssScore = default, string cvssVersion = default, string cvssV2Score = default, string cvssV3Score = default, DateTimeOffset? publishOn = default, DateTimeOffset? updatedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotFirmwareDefense.Models.CveLink> links = default, string description = default);
static member FirmwareCve : string * BinaryData * string * string * string * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.IotFirmwareDefense.Models.CveLink> * string -> Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareCve
Public Shared Function FirmwareCve (Optional cveId As String = Nothing, Optional component As BinaryData = Nothing, Optional severity As String = Nothing, Optional name As String = Nothing, Optional cvssScore As String = Nothing, Optional cvssVersion As String = Nothing, Optional cvssV2Score As String = Nothing, Optional cvssV3Score As String = Nothing, Optional publishOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional links As IEnumerable(Of CveLink) = Nothing, Optional description As String = Nothing) As FirmwareCve
Parameters
- cveId
- String
ID of CVE.
- component
- BinaryData
Component of CVE.
- severity
- String
Severity of CVE.
- name
- String
Name of CVE.
- cvssScore
- String
A single CVSS score to represent the CVE. If a V3 score is specified, then it will use the V3 score. Otherwise if the V2 score is specified it will be the V2 score.
- cvssVersion
- String
Cvss version of CVE.
- cvssV2Score
- String
Cvss V2 score of CVE.
- cvssV3Score
- String
Cvss V3 score of CVE.
- publishOn
- Nullable<DateTimeOffset>
Publish date of CVE.
- updatedOn
- Nullable<DateTimeOffset>
Updated date of CVE.
- links
- IEnumerable<CveLink>
The list of CVE links.
- description
- String
Description of CVE.
Returns
A new FirmwareCve instance for mocking.
Applies to
Azure SDK for .NET