ArmIotFirmwareDefenseModelFactory.CveResult 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.
Overloads
CveResult(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, String, String, String, Nullable<Single>, Nullable<Int32>, IEnumerable<CvssScore>, IEnumerable<CveLink>, String, Nullable<FirmwareProvisioningState>)
Initializes a new instance of CveResult.
public static Azure.ResourceManager.IotFirmwareDefense.Models.CveResult CveResult(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string cveId = default, string componentId = default, string componentName = default, string componentVersion = default, string severity = default, string cveName = default, float? effectiveCvssScore = default, int? effectiveCvssVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotFirmwareDefense.Models.CvssScore> cvssScores = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotFirmwareDefense.Models.CveLink> links = default, string description = default, Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareProvisioningState? provisioningState = default);
static member CveResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string * string * Nullable<single> * Nullable<int> * seq<Azure.ResourceManager.IotFirmwareDefense.Models.CvssScore> * seq<Azure.ResourceManager.IotFirmwareDefense.Models.CveLink> * string * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareProvisioningState> -> Azure.ResourceManager.IotFirmwareDefense.Models.CveResult
Public Shared Function CveResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional cveId As String = Nothing, Optional componentId As String = Nothing, Optional componentName As String = Nothing, Optional componentVersion As String = Nothing, Optional severity As String = Nothing, Optional cveName As String = Nothing, Optional effectiveCvssScore As Nullable(Of Single) = Nothing, Optional effectiveCvssVersion As Nullable(Of Integer) = Nothing, Optional cvssScores As IEnumerable(Of CvssScore) = Nothing, Optional links As IEnumerable(Of CveLink) = Nothing, Optional description As String = Nothing, Optional provisioningState As Nullable(Of FirmwareProvisioningState) = Nothing) As CveResult
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- cveId
- String
ID of the CVE result.
- componentId
- String
ID of the affected SBOM component.
- componentName
- String
Name of the affected SBOM component.
- componentVersion
- String
Version of the affected SBOM component.
- severity
- String
Severity of the CVE.
- cveName
- String
Name of the CVE.
- cvssScores
- IEnumerable<CvssScore>
All known CVSS scores for the CVE.
- links
- IEnumerable<CveLink>
The list of reference links for the CVE.
- description
- String
The CVE description.
- provisioningState
- Nullable<FirmwareProvisioningState>
The status of the last operation.
Returns
A new CveResult instance for mocking.
Applies to
CveResult(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, String, String, String, CveComponent, String, String, String, String, Nullable<Single>, Nullable<Int32>, IEnumerable<CvssScore>, IEnumerable<CveLink>, String, Nullable<FirmwareProvisioningState>)
Initializes a new instance of CveResult.
public static Azure.ResourceManager.IotFirmwareDefense.Models.CveResult CveResult(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string cveId = default, string componentId = default, string componentName = default, string componentVersion = default, string severity = default, string cveName = default, Azure.ResourceManager.IotFirmwareDefense.Models.CveComponent component = default, string cvssScore = default, string cvssV2Score = default, string cvssV3Score = default, string cvssVersion = default, float? effectiveCvssScore = default, int? effectiveCvssVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotFirmwareDefense.Models.CvssScore> cvssScores = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotFirmwareDefense.Models.CveLink> links = default, string description = default, Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareProvisioningState? provisioningState = default);
static member CveResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string * string * Azure.ResourceManager.IotFirmwareDefense.Models.CveComponent * string * string * string * string * Nullable<single> * Nullable<int> * seq<Azure.ResourceManager.IotFirmwareDefense.Models.CvssScore> * seq<Azure.ResourceManager.IotFirmwareDefense.Models.CveLink> * string * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareProvisioningState> -> Azure.ResourceManager.IotFirmwareDefense.Models.CveResult
Public Shared Function CveResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional cveId As String = Nothing, Optional componentId As String = Nothing, Optional componentName As String = Nothing, Optional componentVersion As String = Nothing, Optional severity As String = Nothing, Optional cveName As String = Nothing, Optional component As CveComponent = Nothing, Optional cvssScore As String = Nothing, Optional cvssV2Score As String = Nothing, Optional cvssV3Score As String = Nothing, Optional cvssVersion As String = Nothing, Optional effectiveCvssScore As Nullable(Of Single) = Nothing, Optional effectiveCvssVersion As Nullable(Of Integer) = Nothing, Optional cvssScores As IEnumerable(Of CvssScore) = Nothing, Optional links As IEnumerable(Of CveLink) = Nothing, Optional description As String = Nothing, Optional provisioningState As Nullable(Of FirmwareProvisioningState) = Nothing) As CveResult
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- cveId
- String
ID of the CVE result.
- componentId
- String
ID of the affected SBOM component.
- componentName
- String
Name of the affected SBOM component.
- componentVersion
- String
Version of the affected SBOM component.
- severity
- String
Severity of the CVE.
- cveName
- String
Name of the CVE.
- component
- CveComponent
Legacy property for what is now componentName.
- cvssScore
- String
Legacy property for the effective CVE score.
- cvssV2Score
- String
Legacy property for the CVE CVSS version 2 score, if one existed.
- cvssV3Score
- String
Legacy property for the CVE CVSS version 3 score, if one existed.
- cvssVersion
- String
Legacy property for the what CVSS version score was stored in the cvssScore property.
- cvssScores
- IEnumerable<CvssScore>
All known CVSS scores for the CVE.
- links
- IEnumerable<CveLink>
The list of reference links for the CVE.
- description
- String
The CVE description.
- provisioningState
- Nullable<FirmwareProvisioningState>
The status of the last operation.
Returns
A new CveResult instance for mocking.