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

VulnerabilityAssessmentScanRecord 构造函数

定义

重载

VulnerabilityAssessmentScanRecord()

初始化 VulnerabilityAssessmentScanRecord 类的新实例。

VulnerabilityAssessmentScanRecord(String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, IList<VulnerabilityAssessmentScanError>, String, Nullable<Int32>)

初始化 VulnerabilityAssessmentScanRecord 类的新实例。

VulnerabilityAssessmentScanRecord()

初始化 VulnerabilityAssessmentScanRecord 类的新实例。

public VulnerabilityAssessmentScanRecord ();
Public Sub New ()

适用于

VulnerabilityAssessmentScanRecord(String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, IList<VulnerabilityAssessmentScanError>, String, Nullable<Int32>)

初始化 VulnerabilityAssessmentScanRecord 类的新实例。

public VulnerabilityAssessmentScanRecord (string id = default, string name = default, string type = default, string scanId = default, string triggerType = default, string state = default, DateTime? startTime = default, DateTime? endTime = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Synapse.Models.VulnerabilityAssessmentScanError> errors = default, string storageContainerPath = default, int? numberOfFailedSecurityChecks = default);
new Microsoft.Azure.Management.Synapse.Models.VulnerabilityAssessmentScanRecord : string * string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.Synapse.Models.VulnerabilityAssessmentScanError> * string * Nullable<int> -> Microsoft.Azure.Management.Synapse.Models.VulnerabilityAssessmentScanRecord
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional scanId As String = Nothing, Optional triggerType As String = Nothing, Optional state As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional errors As IList(Of VulnerabilityAssessmentScanError) = Nothing, Optional storageContainerPath As String = Nothing, Optional numberOfFailedSecurityChecks As Nullable(Of Integer) = Nothing)

参数

id
String

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

资源的名称

type
String

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

scanId
String

扫描 ID。

triggerType
String

扫描触发器类型。 可能的值包括:“OnDemand”、“定期”

state
String

扫描状态。 可能的值包括:“Passed”、“Failed”、“FailedToRun”、“InProgress”

startTime
Nullable<DateTime>

扫描开始时间 (UTC) 。

endTime
Nullable<DateTime>

扫描结束时间 (UTC) 。

errors
IList<VulnerabilityAssessmentScanError>

扫描错误。

storageContainerPath
String

扫描结果存储容器路径。

numberOfFailedSecurityChecks
Nullable<Int32>

安全检查失败的次数。

适用于