SqlVulnerabilityAssessmentScanOperationResultProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.SqlVulnerabilityAssessmentScanOperationResultProperties

Implements

public final class SqlVulnerabilityAssessmentScanOperationResultProperties
implements JsonSerializable<SqlVulnerabilityAssessmentScanOperationResultProperties>

Represents the properties of a SQL Vulnerability Assessment scan operation result.

Method Summary

Modifier and Type Method and Description
static SqlVulnerabilityAssessmentScanOperationResultProperties fromJson(JsonReader jsonReader)

Reads an instance of SqlVulnerabilityAssessmentScanOperationResultProperties from the JsonReader.

String operationId()

Get the operationId property: Gets or sets the operation id.

ScanOperationStatus scanStatus()

Get the scanStatus property: The scan operation status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static SqlVulnerabilityAssessmentScanOperationResultProperties fromJson(JsonReader jsonReader)

Reads an instance of SqlVulnerabilityAssessmentScanOperationResultProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlVulnerabilityAssessmentScanOperationResultProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SqlVulnerabilityAssessmentScanOperationResultProperties.

operationId

public String operationId()

Get the operationId property: Gets or sets the operation id.

Returns:

the operationId value.

scanStatus

public ScanOperationStatus scanStatus()

Get the scanStatus property: The scan operation status.

Returns:

the scanStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to