ArmSqlModelFactory.SqlVulnerabilityAssessmentScanData 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.
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>)
- 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
- triggerType
- Nullable<VulnerabilityAssessmentScanTriggerType>
- startOn
- Nullable<DateTimeOffset>
- endOn
- Nullable<DateTimeOffset>
- server
- String
- database
- String
- sqlVersion
- String
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
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.
- server
- String
The server name.
- database
- String
The database name.
- sqlVersion
- String
The SQL version.
- lastScanOn
- Nullable<DateTimeOffset>
The last scan time.
Returns
A new SqlVulnerabilityAssessmentScanData instance for mocking.
Applies to
Azure SDK for .NET