ScanSummary Class

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

Implements

public final class ScanSummary
implements JsonSerializable<ScanSummary>

A summary of the scan results.

Method Summary

Modifier and Type Method and Description
BlobsScanSummary blobs()

Get the blobs property: A summary of the scan results of the blobs that were scanned.

Double estimatedScanCostUSD()

Get the estimatedScanCostUSD property: The estimated cost of the scan.

FilesScanSummary files()

Get the files property: A summary of the scan results of the files that were scanned.

static ScanSummary fromJson(JsonReader jsonReader)

Reads an instance of ScanSummary from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

blobs

public BlobsScanSummary blobs()

Get the blobs property: A summary of the scan results of the blobs that were scanned.

Returns:

the blobs value.

estimatedScanCostUSD

public Double estimatedScanCostUSD()

Get the estimatedScanCostUSD property: The estimated cost of the scan. Only available for a scan which has terminated.

Returns:

the estimatedScanCostUSD value.

files

public FilesScanSummary files()

Get the files property: A summary of the scan results of the files that were scanned.

Returns:

the files value.

fromJson

public static ScanSummary fromJson(JsonReader jsonReader)

Reads an instance of ScanSummary from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to