Share via


ArmIotFirmwareDefenseModelFactory.SbomComponent Method

Definition

Initializes a new instance of SbomComponent.

public static Azure.ResourceManager.IotFirmwareDefense.Models.SbomComponent SbomComponent (string componentId = default, string componentName = default, string version = default, string license = default, DateTimeOffset? releaseOn = default, System.Collections.Generic.IEnumerable<string> paths = default, Azure.ResourceManager.IotFirmwareDefense.Models.IsUpdateAvailable? isUpdateAvailable = default);
static member SbomComponent : string * string * string * string * Nullable<DateTimeOffset> * seq<string> * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.IsUpdateAvailable> -> Azure.ResourceManager.IotFirmwareDefense.Models.SbomComponent
Public Shared Function SbomComponent (Optional componentId As String = Nothing, Optional componentName As String = Nothing, Optional version As String = Nothing, Optional license As String = Nothing, Optional releaseOn As Nullable(Of DateTimeOffset) = Nothing, Optional paths As IEnumerable(Of String) = Nothing, Optional isUpdateAvailable As Nullable(Of IsUpdateAvailable) = Nothing) As SbomComponent

Parameters

componentId
String

ID for the component.

componentName
String

Name for the component.

version
String

Version for the component.

license
String

License for the component.

releaseOn
Nullable<DateTimeOffset>

Release date for the component.

paths
IEnumerable<String>

Paths of the component.

isUpdateAvailable
Nullable<IsUpdateAvailable>

Flag if new update is available for the component.

Returns

A new SbomComponent instance for mocking.

Applies to