共用方式為


ArmSqlModelFactory.SqlVulnerabilityAssessmentScanData Method

Definition

Overloads

SqlVulnerabilityAssessmentScanData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<VulnerabilityAssessmentScanTriggerType>, Nullable<VulnerabilityAssessmentScanState>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<SqlVulnerabilityAssessmentScanError>, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>)
SqlVulnerabilityAssessmentScanData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<VulnerabilityAssessmentScanTriggerType>, Nullable<VulnerabilityAssessmentScanState>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<SqlVulnerabilityAssessmentScanError>, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTimeOffset>)

Initializes a new instance of SqlVulnerabilityAssessmentScanData.

SqlVulnerabilityAssessmentScanData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<VulnerabilityAssessmentScanTriggerType>, Nullable<VulnerabilityAssessmentScanState>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<SqlVulnerabilityAssessmentScanError>, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>)

Source:
ArmSqlModelFactory.cs
public static Azure.ResourceManager.Sql.SqlVulnerabilityAssessmentScanData SqlVulnerabilityAssessmentScanData (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.SqlVulnerabilityAssessmentScanError> errors = default, string server = default, string database = default, string sqlVersion = default, int? highSeverityFailedRulesCount = default, int? mediumSeverityFailedRulesCount = default, int? lowSeverityFailedRulesCount = default, int? totalPassedRulesCount = default, int? totalFailedRulesCount = default, int? totalRulesCount = default, bool? isBaselineApplied = default);
static member SqlVulnerabilityAssessmentScanData : 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.SqlVulnerabilityAssessmentScanError> * string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> -> Azure.ResourceManager.Sql.SqlVulnerabilityAssessmentScanData
Public Shared Function SqlVulnerabilityAssessmentScanData (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 SqlVulnerabilityAssessmentScanError) = Nothing, Optional server As String = Nothing, Optional database As String = Nothing, Optional sqlVersion As String = Nothing, Optional highSeverityFailedRulesCount As Nullable(Of Integer) = Nothing, Optional mediumSeverityFailedRulesCount As Nullable(Of Integer) = Nothing, Optional lowSeverityFailedRulesCount As Nullable(Of Integer) = Nothing, Optional totalPassedRulesCount As Nullable(Of Integer) = Nothing, Optional totalFailedRulesCount As Nullable(Of Integer) = Nothing, Optional totalRulesCount As Nullable(Of Integer) = Nothing, Optional isBaselineApplied As Nullable(Of Boolean) = Nothing) As SqlVulnerabilityAssessmentScanData

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
scanId
String
server
String
database
String
sqlVersion
String
highSeverityFailedRulesCount
Nullable<Int32>
mediumSeverityFailedRulesCount
Nullable<Int32>
lowSeverityFailedRulesCount
Nullable<Int32>
totalPassedRulesCount
Nullable<Int32>
totalFailedRulesCount
Nullable<Int32>
totalRulesCount
Nullable<Int32>
isBaselineApplied
Nullable<Boolean>

Returns

Applies to

SqlVulnerabilityAssessmentScanData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<VulnerabilityAssessmentScanTriggerType>, Nullable<VulnerabilityAssessmentScanState>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<SqlVulnerabilityAssessmentScanError>, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTimeOffset>)

Source:
ArmSqlModelFactory.cs

Initializes a new instance of SqlVulnerabilityAssessmentScanData.

public static Azure.ResourceManager.Sql.SqlVulnerabilityAssessmentScanData SqlVulnerabilityAssessmentScanData (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.SqlVulnerabilityAssessmentScanError> errors = default, string server = default, string database = default, string sqlVersion = default, int? highSeverityFailedRulesCount = default, int? mediumSeverityFailedRulesCount = default, int? lowSeverityFailedRulesCount = default, int? totalPassedRulesCount = default, int? totalFailedRulesCount = default, int? totalRulesCount = default, bool? isBaselineApplied = default, DateTimeOffset? lastScanOn = default);
static member SqlVulnerabilityAssessmentScanData : 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.SqlVulnerabilityAssessmentScanError> * string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Sql.SqlVulnerabilityAssessmentScanData
Public Shared Function SqlVulnerabilityAssessmentScanData (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 SqlVulnerabilityAssessmentScanError) = Nothing, Optional server As String = Nothing, Optional database As String = Nothing, Optional sqlVersion As String = Nothing, Optional highSeverityFailedRulesCount As Nullable(Of Integer) = Nothing, Optional mediumSeverityFailedRulesCount As Nullable(Of Integer) = Nothing, Optional lowSeverityFailedRulesCount As Nullable(Of Integer) = Nothing, Optional totalPassedRulesCount As Nullable(Of Integer) = Nothing, Optional totalFailedRulesCount As Nullable(Of Integer) = Nothing, Optional totalRulesCount As Nullable(Of Integer) = Nothing, Optional isBaselineApplied As Nullable(Of Boolean) = Nothing, Optional lastScanOn As Nullable(Of DateTimeOffset) = Nothing) As SqlVulnerabilityAssessmentScanData

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).

server
String

The server name.

database
String

The database name.

sqlVersion
String

The SQL version.

highSeverityFailedRulesCount
Nullable<Int32>

The number of failed rules with high severity.

mediumSeverityFailedRulesCount
Nullable<Int32>

The number of failed rules with medium severity.

lowSeverityFailedRulesCount
Nullable<Int32>

The number of failed rules with low severity.

totalPassedRulesCount
Nullable<Int32>

The number of total passed rules.

totalFailedRulesCount
Nullable<Int32>

The number of total failed rules.

totalRulesCount
Nullable<Int32>

The number of total rules assessed.

isBaselineApplied
Nullable<Boolean>

Baseline created for this database, and has one or more rules.

lastScanOn
Nullable<DateTimeOffset>

The last scan time.

Returns

A new SqlVulnerabilityAssessmentScanData instance for mocking.

Applies to