SqlServerVulnerabilityProperties Class

public final class SqlServerVulnerabilityProperties
extends AdditionalData

Details of the resource that was assessed.

Method Summary

Modifier and Type Method and Description
AssessedResourceType assessedResourceType()

Get the assessedResourceType property: Sub-assessment resource type.

static SqlServerVulnerabilityProperties fromJson(JsonReader jsonReader)

Reads an instance of SqlServerVulnerabilityProperties from the JsonReader.

String query()

Get the query property: The T-SQL query that runs on your SQL database to perform the particular check.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type the sub assessment refers to in its resource details.

void validate()

Validates the instance.

Methods inherited from AdditionalData

Methods inherited from java.lang.Object

Method Details

assessedResourceType

public AssessedResourceType assessedResourceType()

Get the assessedResourceType property: Sub-assessment resource type.

Overrides:

SqlServerVulnerabilityProperties.assessedResourceType()

Returns:

the assessedResourceType value.

fromJson

public static SqlServerVulnerabilityProperties fromJson(JsonReader jsonReader)

Reads an instance of SqlServerVulnerabilityProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

query

public String query()

Get the query property: The T-SQL query that runs on your SQL database to perform the particular check.

Returns:

the query value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SqlServerVulnerabilityProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type the sub assessment refers to in its resource details.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SqlServerVulnerabilityProperties.validate()

Applies to