ArmSecurityCenterModelFactory.SoftwareInventoryData Method

Definition

Initializes a new instance of SoftwareInventoryData.

public static Azure.ResourceManager.SecurityCenter.SoftwareInventoryData SoftwareInventoryData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string deviceId = default, string osPlatform = default, string vendor = default, string softwareName = default, string version = default, Azure.ResourceManager.SecurityCenter.Models.EndOfSupportStatus? endOfSupportStatus = default, string endOfSupportDate = default, int? numberOfKnownVulnerabilities = default, DateTimeOffset? firstSeenOn = default);
static member SoftwareInventoryData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.EndOfSupportStatus> * string * Nullable<int> * Nullable<DateTimeOffset> -> Azure.ResourceManager.SecurityCenter.SoftwareInventoryData
Public Shared Function SoftwareInventoryData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional deviceId As String = Nothing, Optional osPlatform As String = Nothing, Optional vendor As String = Nothing, Optional softwareName As String = Nothing, Optional version As String = Nothing, Optional endOfSupportStatus As Nullable(Of EndOfSupportStatus) = Nothing, Optional endOfSupportDate As String = Nothing, Optional numberOfKnownVulnerabilities As Nullable(Of Integer) = Nothing, Optional firstSeenOn As Nullable(Of DateTimeOffset) = Nothing) As SoftwareInventoryData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

deviceId
String

Unique identifier for the virtual machine in the service.

osPlatform
String

Platform of the operating system running on the device.

vendor
String

Name of the software vendor.

softwareName
String

Name of the software product.

version
String

Version number of the software product.

endOfSupportStatus
Nullable<EndOfSupportStatus>

End of support status.

endOfSupportDate
String

The end of support date in case the product is upcoming end of support.

numberOfKnownVulnerabilities
Nullable<Int32>

Number of weaknesses.

firstSeenOn
Nullable<DateTimeOffset>

First time that the software was seen in the device.

Returns

A new SoftwareInventoryData instance for mocking.

Applies to