ArmSqlModelFactory.VulnerabilityAssessmentScanRecordData Method

Definition

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

id
ResourceIdentifier

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.

state
Nullable<VulnerabilityAssessmentScanState>

The scan status.

startOn
Nullable<DateTimeOffset>

The scan start time (UTC).

endOn
Nullable<DateTimeOffset>

The scan end time (UTC).

storageContainerPath
String

The scan results storage container path.

numberOfFailedSecurityChecks
Nullable<Int32>

The number of failed security checks.

Returns

A new VulnerabilityAssessmentScanRecordData instance for mocking.

Applies to