次の方法で共有


ArmSqlModelFactory.SqlVulnerabilityAssessmentScanData メソッド

定義

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

パラメーター

name
String

名前。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

scanId
String

スキャン ID。

triggerType
Nullable<VulnerabilityAssessmentScanTriggerType>

スキャン トリガーの種類。

state
Nullable<VulnerabilityAssessmentScanState>

スキャンの状態。

startOn
Nullable<DateTimeOffset>

スキャンの開始時刻 (UTC)。

endOn
Nullable<DateTimeOffset>

スキャンの終了時刻 (UTC)。

errors
IEnumerable<SqlVulnerabilityAssessmentScanError>

スキャン エラー。

server
String

サーバー名。

database
String

データベース名。

sqlVersion
String

SQL バージョン。

highSeverityFailedRulesCount
Nullable<Int32>

重大度が高い失敗したルールの数。

mediumSeverityFailedRulesCount
Nullable<Int32>

重大度が中程度の失敗したルールの数。

lowSeverityFailedRulesCount
Nullable<Int32>

重大度が低い失敗したルールの数。

totalPassedRulesCount
Nullable<Int32>

合格したルールの合計数。

totalFailedRulesCount
Nullable<Int32>

失敗したルールの合計数。

totalRulesCount
Nullable<Int32>

評価された合計ルールの数。

isBaselineApplied
Nullable<Boolean>

このデータベース用に作成され、1 つ以上のルールがあるベースライン。

lastScanOn
Nullable<DateTimeOffset>

最後のスキャン時刻。

戻り値

モック作成用の新しい SqlVulnerabilityAssessmentScanData インスタンス。

適用対象