ArmSqlModelFactory.SqlVulnerabilityAssessmentScanResultData Method

Definition

Initializes a new instance of SqlVulnerabilityAssessmentScanResultData.

public static Azure.ResourceManager.Sql.SqlVulnerabilityAssessmentScanResultData SqlVulnerabilityAssessmentScanResultData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string ruleId = default, Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRuleStatus? status = default, string errorMessage = default, bool? isTrimmed = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.IList<string>> queryResults = default, Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRemediation remediation = default, Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentBaselineAdjustedResult baselineAdjustedResult = default, Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRuleMetadata ruleMetadata = default);
static member SqlVulnerabilityAssessmentScanResultData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRuleStatus> * string * Nullable<bool> * seq<System.Collections.Generic.IList<string>> * Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRemediation * Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentBaselineAdjustedResult * Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentRuleMetadata -> Azure.ResourceManager.Sql.SqlVulnerabilityAssessmentScanResultData
Public Shared Function SqlVulnerabilityAssessmentScanResultData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional ruleId As String = Nothing, Optional status As Nullable(Of SqlVulnerabilityAssessmentRuleStatus) = Nothing, Optional errorMessage As String = Nothing, Optional isTrimmed As Nullable(Of Boolean) = Nothing, Optional queryResults As IEnumerable(Of IList(Of String)) = Nothing, Optional remediation As SqlVulnerabilityAssessmentRemediation = Nothing, Optional baselineAdjustedResult As SqlVulnerabilityAssessmentBaselineAdjustedResult = Nothing, Optional ruleMetadata As SqlVulnerabilityAssessmentRuleMetadata = Nothing) As SqlVulnerabilityAssessmentScanResultData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

ruleId
String

SQL Vulnerability Assessment rule Id.

status
Nullable<SqlVulnerabilityAssessmentRuleStatus>

SQL Vulnerability Assessment rule result status.

errorMessage
String

SQL Vulnerability Assessment error message.

isTrimmed
Nullable<Boolean>

SQL Vulnerability Assessment is the query results trimmed.

queryResults
IEnumerable<IList<String>>

SQL Vulnerability Assessment query results that was run.

remediation
SqlVulnerabilityAssessmentRemediation

SQL Vulnerability Assessment the remediation details.

baselineAdjustedResult
SqlVulnerabilityAssessmentBaselineAdjustedResult

SQL Vulnerability Assessment rule result adjusted with baseline.

ruleMetadata
SqlVulnerabilityAssessmentRuleMetadata

SQL Vulnerability Assessment rule metadata.

Returns

A new SqlVulnerabilityAssessmentScanResultData instance for mocking.

Applies to