Share via


ScanProperties Constructors

Definition

Overloads

ScanProperties()

Initializes a new instance of the ScanProperties class.

ScanProperties(String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the ScanProperties class.

ScanProperties()

Initializes a new instance of the ScanProperties class.

public ScanProperties ();
Public Sub New ()

Applies to

ScanProperties(String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the ScanProperties class.

public ScanProperties (string triggerType = default, string state = default, string server = default, string database = default, string sqlVersion = default, DateTime? startTime = default, DateTime? endTime = default, int? highSeverityFailedRulesCount = default, int? mediumSeverityFailedRulesCount = default, int? lowSeverityFailedRulesCount = default, int? totalPassedRulesCount = default, int? totalFailedRulesCount = default, int? totalRulesCount = default, bool? isBaselineApplied = default);
new Microsoft.Azure.Management.Security.Models.ScanProperties : string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.Security.Models.ScanProperties
Public Sub New (Optional triggerType As String = Nothing, Optional state As String = Nothing, Optional server As String = Nothing, Optional database As String = Nothing, Optional sqlVersion As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = 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)

Parameters

triggerType
String

The scan trigger type. Possible values include: 'OnDemand', 'Recurring'

state
String

The scan status. Possible values include: 'Failed', 'FailedToRun', 'InProgress', 'Passed'

server
String

The server name.

database
String

The database name.

sqlVersion
String

The SQL version.

startTime
Nullable<DateTime>

The scan start time (UTC).

endTime
Nullable<DateTime>

Scan results are valid until end time (UTC).

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.

Applies to