你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmSecurityCenterModelFactory.SoftwareInventoryData 方法

定义

初始化 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

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

deviceId
String

服务中虚拟机的唯一标识符。

osPlatform
String

在设备上运行的操作系统的平台。

vendor
String

软件供应商的名称。

softwareName
String

软件产品的名称。

version
String

软件产品的版本号。

endOfSupportStatus
Nullable<EndOfSupportStatus>

终止支持状态。

endOfSupportDate
String

如果产品即将终止支持,则为终止支持日期。

numberOfKnownVulnerabilities
Nullable<Int32>

弱点的数量。

firstSeenOn
Nullable<DateTimeOffset>

首次在设备中看到该软件。

返回

用于模拟的新 SoftwareInventoryData 实例。

适用于