다음을 통해 공유


ArmSqlModelFactory.SqlVulnerabilityAssessmentRuleMetadata Method

Definition

Initializes a new instance of SqlVulnerabilityAssessmentRuleMetadata.

public static Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRuleMetadata SqlVulnerabilityAssessmentRuleMetadata (string ruleId = default, Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRuleSeverity? severity = default, string category = default, Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRuleType? ruleType = default, string title = default, string description = default, string rationale = default, Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentQueryCheck queryCheck = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentBenchmarkReference> benchmarkReferences = default);
static member SqlVulnerabilityAssessmentRuleMetadata : string * Nullable<Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRuleSeverity> * string * Nullable<Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRuleType> * string * string * string * Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentQueryCheck * seq<Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentBenchmarkReference> -> Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRuleMetadata
Public Shared Function SqlVulnerabilityAssessmentRuleMetadata (Optional ruleId As String = Nothing, Optional severity As Nullable(Of SqlVulnerabilityAssessmentRuleSeverity) = Nothing, Optional category As String = Nothing, Optional ruleType As Nullable(Of SqlVulnerabilityAssessmentRuleType) = Nothing, Optional title As String = Nothing, Optional description As String = Nothing, Optional rationale As String = Nothing, Optional queryCheck As SqlVulnerabilityAssessmentQueryCheck = Nothing, Optional benchmarkReferences As IEnumerable(Of SqlVulnerabilityAssessmentBenchmarkReference) = Nothing) As SqlVulnerabilityAssessmentRuleMetadata

Parameters

ruleId
String

SQL Vulnerability Assessment rule Id.

severity
Nullable<SqlVulnerabilityAssessmentRuleSeverity>

SQL Vulnerability Assessment rule severity.

category
String

SQL Vulnerability Assessment rule category.

ruleType
Nullable<SqlVulnerabilityAssessmentRuleType>

SQL Vulnerability Assessment rule type.

title
String

SQL Vulnerability Assessment rule title.

description
String

SQL Vulnerability Assessment rule description.

rationale
String

SQL Vulnerability Assessment rule rationale.

queryCheck
SqlVulnerabilityAssessmentQueryCheck

SQL Vulnerability Assessment rule query details.

benchmarkReferences
IEnumerable<SqlVulnerabilityAssessmentBenchmarkReference>

SQL Vulnerability Assessment benchmark references.

Returns

A new SqlVulnerabilityAssessmentRuleMetadata instance for mocking.

Applies to