你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmSqlModelFactory.VulnerabilityAssessmentScanRecordData 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.
Initializes a new instance of VulnerabilityAssessmentScanRecordData.
public static Azure.ResourceManager.Sql.VulnerabilityAssessmentScanRecordData VulnerabilityAssessmentScanRecordData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string scanId = default, Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanTriggerType? triggerType = default, Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanState? state = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanError> errors = default, string storageContainerPath = default, int? numberOfFailedSecurityChecks = default);
static member VulnerabilityAssessmentScanRecordData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanTriggerType> * Nullable<Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanError> * string * Nullable<int> -> Azure.ResourceManager.Sql.VulnerabilityAssessmentScanRecordData
Public Shared Function VulnerabilityAssessmentScanRecordData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional scanId As String = Nothing, Optional triggerType As Nullable(Of VulnerabilityAssessmentScanTriggerType) = Nothing, Optional state As Nullable(Of VulnerabilityAssessmentScanState) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional errors As IEnumerable(Of VulnerabilityAssessmentScanError) = Nothing, Optional storageContainerPath As String = Nothing, Optional numberOfFailedSecurityChecks As Nullable(Of Integer) = Nothing) As VulnerabilityAssessmentScanRecordData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- scanId
- String
The scan ID.
- triggerType
- Nullable<VulnerabilityAssessmentScanTriggerType>
The scan trigger type.
The scan status.
- startOn
- Nullable<DateTimeOffset>
The scan start time (UTC).
- endOn
- Nullable<DateTimeOffset>
The scan end time (UTC).
The scan errors.
- storageContainerPath
- String
The scan results storage container path.
Returns
A new VulnerabilityAssessmentScanRecordData instance for mocking.