通过


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

VulnerabilityAssessmentScanError Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.VulnerabilityAssessmentScanError

Implements

public final class VulnerabilityAssessmentScanError
implements JsonSerializable<VulnerabilityAssessmentScanError>

Properties of a vulnerability assessment scan error.

Constructor Summary

Constructor Description
VulnerabilityAssessmentScanError()

Creates an instance of VulnerabilityAssessmentScanError class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: The error code.

static VulnerabilityAssessmentScanError fromJson(JsonReader jsonReader)

Reads an instance of VulnerabilityAssessmentScanError from the JsonReader.

String message()

Get the message property: The error message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

VulnerabilityAssessmentScanError

public VulnerabilityAssessmentScanError()

Creates an instance of VulnerabilityAssessmentScanError class.

Method Details

code

public String code()

Get the code property: The error code.

Returns:

the code value.

fromJson

public static VulnerabilityAssessmentScanError fromJson(JsonReader jsonReader)

Reads an instance of VulnerabilityAssessmentScanError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VulnerabilityAssessmentScanError 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 VulnerabilityAssessmentScanError.

message

public String message()

Get the message property: The error message.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to