ArmSecurityCenterModelFactory.SqlServerVulnerabilityProperties Method

Definition

Initializes a new instance of SqlServerVulnerabilityProperties.

public static Azure.ResourceManager.SecurityCenter.Models.SqlServerVulnerabilityProperties SqlServerVulnerabilityProperties (string sqlServerVulnerabilityType = default, string query = default);
static member SqlServerVulnerabilityProperties : string * string -> Azure.ResourceManager.SecurityCenter.Models.SqlServerVulnerabilityProperties
Public Shared Function SqlServerVulnerabilityProperties (Optional sqlServerVulnerabilityType As String = Nothing, Optional query As String = Nothing) As SqlServerVulnerabilityProperties

Parameters

sqlServerVulnerabilityType
String

The resource type the sub assessment refers to in its resource details.

query
String

The T-SQL query that runs on your SQL database to perform the particular check.

Returns

A new SqlServerVulnerabilityProperties instance for mocking.

Applies to