SqlVulnerabilityAssessmentScanRecordInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. SqlVulnerabilityAssessmentScanRecordInner
- com.
- com.
public final class SqlVulnerabilityAssessmentScanRecordInner
extends ProxyResource
A vulnerability assessment scan record.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlVulnerabilityAssessmentScanRecordInner() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
database()
Get the database property: The database name. |
|
Offset |
endTime()
Get the end |
|
List<Sql |
errors()
Get the errors property: The scan errors. |
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| Integer |
highSeverityFailedRulesCount()
Get the high |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Boolean |
isBaselineApplied()
Get the is |
|
Offset |
lastScanTime()
Get the last |
| Integer |
lowSeverityFailedRulesCount()
Get the low |
| Integer |
mediumSeverityFailedRulesCount()
Get the medium |
| String |
name()
Get the name property: The name of the resource. |
| String |
scanId()
Get the scan |
| String |
server()
Get the server property: The server name. |
| String |
sqlVersion()
Get the sql |
|
Offset |
startTime()
Get the start |
|
Vulnerability |
state()
Get the state property: The scan status. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
totalFailedRulesCount()
Get the total |
| Integer |
totalPassedRulesCount()
Get the total |
| Integer |
totalRulesCount()
Get the total |
|
Vulnerability |
triggerType()
Get the trigger |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SqlVulnerabilityAssessmentScanRecordInner
public SqlVulnerabilityAssessmentScanRecordInner()
Creates an instance of SqlVulnerabilityAssessmentScanRecordInner class.
Method Details
database
public String database()
Get the database property: The database name.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: The scan end time (UTC).
Returns:
errors
public List<SqlVulnerabilityAssessmentScanError> errors()
Get the errors property: The scan errors.
Returns:
fromJson
public static SqlVulnerabilityAssessmentScanRecordInner fromJson(JsonReader jsonReader)
Reads an instance of SqlVulnerabilityAssessmentScanRecordInner from the JsonReader.
Parameters:
Returns:
Throws:
highSeverityFailedRulesCount
public Integer highSeverityFailedRulesCount()
Get the highSeverityFailedRulesCount property: The number of failed rules with high severity.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SqlVulnerabilityAssessmentScanRecordInner.id()Returns:
isBaselineApplied
public Boolean isBaselineApplied()
Get the isBaselineApplied property: Baseline created for this database, and has one or more rules.
Returns:
lastScanTime
public OffsetDateTime lastScanTime()
Get the lastScanTime property: The last scan time.
Returns:
lowSeverityFailedRulesCount
public Integer lowSeverityFailedRulesCount()
Get the lowSeverityFailedRulesCount property: The number of failed rules with low severity.
Returns:
mediumSeverityFailedRulesCount
public Integer mediumSeverityFailedRulesCount()
Get the mediumSeverityFailedRulesCount property: The number of failed rules with medium severity.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SqlVulnerabilityAssessmentScanRecordInner.name()Returns:
scanId
public String scanId()
Get the scanId property: The scan ID.
Returns:
server
public String server()
Get the server property: The server name.
Returns:
sqlVersion
public String sqlVersion()
Get the sqlVersion property: The SQL version.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The scan start time (UTC).
Returns:
state
public VulnerabilityAssessmentScanState state()
Get the state property: The scan status.
Returns:
systemData
public SystemData systemData()
Get the systemData property: SystemData of SqlVulnerabilityAssessmentScanRecordResource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlVulnerabilityAssessmentScanRecordInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
totalFailedRulesCount
public Integer totalFailedRulesCount()
Get the totalFailedRulesCount property: The number of total failed rules.
Returns:
totalPassedRulesCount
public Integer totalPassedRulesCount()
Get the totalPassedRulesCount property: The number of total passed rules.
Returns:
totalRulesCount
public Integer totalRulesCount()
Get the totalRulesCount property: The number of total rules assessed.
Returns:
triggerType
public VulnerabilityAssessmentScanTriggerType triggerType()
Get the triggerType property: The scan trigger type.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SqlVulnerabilityAssessmentScanRecordInner.type()Returns:
validate
public void validate()
Validates the instance.