VulnerabilityAssessmentScanRecordInner Class

public final class VulnerabilityAssessmentScanRecordInner
extends ProxyResource

A vulnerability assessment scan record.

Method Summary

Modifier and Type Method and Description
OffsetDateTime endTime()

Get the endTime property: The scan end time (UTC).

List<VulnerabilityAssessmentScanError> errors()

Get the errors property: The scan errors.

static VulnerabilityAssessmentScanRecordInner fromJson(JsonReader jsonReader)

Reads an instance of VulnerabilityAssessmentScanRecordInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

Integer numberOfFailedSecurityChecks()

Get the numberOfFailedSecurityChecks property: The number of failed security checks.

String scanId()

Get the scanId property: The scan ID.

OffsetDateTime startTime()

Get the startTime property: The scan start time (UTC).

VulnerabilityAssessmentScanState state()

Get the state property: The scan status.

String storageContainerPath()

Get the storageContainerPath property: The scan results storage container path.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
VulnerabilityAssessmentScanTriggerType triggerType()

Get the triggerType property: The scan trigger type.

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

Method Details

endTime

public OffsetDateTime endTime()

Get the endTime property: The scan end time (UTC).

Returns:

the endTime value.

errors

public List<VulnerabilityAssessmentScanError> errors()

Get the errors property: The scan errors.

Returns:

the errors value.

fromJson

public static VulnerabilityAssessmentScanRecordInner fromJson(JsonReader jsonReader)

Reads an instance of VulnerabilityAssessmentScanRecordInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

VulnerabilityAssessmentScanRecordInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

VulnerabilityAssessmentScanRecordInner.name()

Returns:

the name value.

numberOfFailedSecurityChecks

public Integer numberOfFailedSecurityChecks()

Get the numberOfFailedSecurityChecks property: The number of failed security checks.

Returns:

the numberOfFailedSecurityChecks value.

scanId

public String scanId()

Get the scanId property: The scan ID.

Returns:

the scanId value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The scan start time (UTC).

Returns:

the startTime value.

state

public VulnerabilityAssessmentScanState state()

Get the state property: The scan status.

Returns:

the state value.

storageContainerPath

public String storageContainerPath()

Get the storageContainerPath property: The scan results storage container path.

Returns:

the storageContainerPath value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VulnerabilityAssessmentScanRecordInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

triggerType

public VulnerabilityAssessmentScanTriggerType triggerType()

Get the triggerType property: The scan trigger type.

Returns:

the triggerType value.

type

public String type()

Get the type property: The type of the resource.

Overrides:

VulnerabilityAssessmentScanRecordInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to