你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmSqlModelFactory.SqlVulnerabilityAssessmentRuleMetadata 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.
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.
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.