ArmSqlModelFactory.SqlVulnerabilityAssessmentQueryCheck Method

Definition

Initializes a new instance of SqlVulnerabilityAssessmentQueryCheck.

public static Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentQueryCheck SqlVulnerabilityAssessmentQueryCheck (string query = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.IList<string>> expectedResult = default, System.Collections.Generic.IEnumerable<string> columnNames = default);
static member SqlVulnerabilityAssessmentQueryCheck : string * seq<System.Collections.Generic.IList<string>> * seq<string> -> Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentQueryCheck
Public Shared Function SqlVulnerabilityAssessmentQueryCheck (Optional query As String = Nothing, Optional expectedResult As IEnumerable(Of IList(Of String)) = Nothing, Optional columnNames As IEnumerable(Of String) = Nothing) As SqlVulnerabilityAssessmentQueryCheck

Parameters

query
String

SQL Vulnerability Assessment rule query.

expectedResult
IEnumerable<IList<String>>

SQL Vulnerability Assessment query expected result.

columnNames
IEnumerable<String>

SQL Vulnerability Assessment column names of query expected result.

Returns

A new SqlVulnerabilityAssessmentQueryCheck instance for mocking.

Applies to