Condividi tramite


SqlVulnerabilityAssessmentScanData Class

Definition

A class representing the SqlVulnerabilityAssessmentScan data model. A vulnerability assessment scan record.

public class SqlVulnerabilityAssessmentScanData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.SqlVulnerabilityAssessmentScanData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.SqlVulnerabilityAssessmentScanData>
type SqlVulnerabilityAssessmentScanData = class
    inherit ResourceData
    interface IJsonModel<SqlVulnerabilityAssessmentScanData>
    interface IPersistableModel<SqlVulnerabilityAssessmentScanData>
Public Class SqlVulnerabilityAssessmentScanData
Inherits ResourceData
Implements IJsonModel(Of SqlVulnerabilityAssessmentScanData), IPersistableModel(Of SqlVulnerabilityAssessmentScanData)
Inheritance
SqlVulnerabilityAssessmentScanData
Implements

Constructors

SqlVulnerabilityAssessmentScanData()

Initializes a new instance of SqlVulnerabilityAssessmentScanData.

Properties

Database

The database name.

EndOn

The scan end time (UTC).

Errors

The scan errors.

HighSeverityFailedRulesCount

The number of failed rules with high severity.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsBaselineApplied

Baseline created for this database, and has one or more rules.

LastScanOn

The last scan time.

LowSeverityFailedRulesCount

The number of failed rules with low severity.

MediumSeverityFailedRulesCount

The number of failed rules with medium severity.

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ScanId

The scan ID.

Server

The server name.

SqlVersion

The SQL version.

StartOn

The scan start time (UTC).

State

The scan status.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TotalFailedRulesCount

The number of total failed rules.

TotalPassedRulesCount

The number of total passed rules.

TotalRulesCount

The number of total rules assessed.

TriggerType

The scan trigger type.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SqlVulnerabilityAssessmentScanData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SqlVulnerabilityAssessmentScanData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlVulnerabilityAssessmentScanData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlVulnerabilityAssessmentScanData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SqlVulnerabilityAssessmentScanData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to