SecuritySubAssessmentInner Class

public final class SecuritySubAssessmentInner
extends ProxyResource

Security sub-assessment on a resource.

Method Summary

Modifier and Type Method and Description
AdditionalData additionalData()

Get the additionalData property: Details of the sub-assessment.

String category()

Get the category property: Category of the sub-assessment.

String description()

Get the description property: Human readable description of the assessment status.

String displayName()

Get the displayName property: User friendly display name of the sub-assessment.

static SecuritySubAssessmentInner fromJson(JsonReader jsonReader)

Reads an instance of SecuritySubAssessmentInner from the JsonReader.

String id()

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

String idPropertiesId()

Get the id property: Vulnerability ID.

String impact()

Get the impact property: Description of the impact of this sub-assessment.

String name()

Get the name property: The name of the resource.

String remediation()

Get the remediation property: Information on how to remediate this sub-assessment.

ResourceDetails resourceDetails()

Get the resourceDetails property: Details of the resource that was assessed.

SubAssessmentStatus status()

Get the status property: Status of the sub-assessment.

SystemData systemData()

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

OffsetDateTime timeGenerated()

Get the timeGenerated property: The date and time the sub-assessment was generated.

JsonWriter toJson(JsonWriter jsonWriter)
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

additionalData

public AdditionalData additionalData()

Get the additionalData property: Details of the sub-assessment.

Returns:

the additionalData value.

category

public String category()

Get the category property: Category of the sub-assessment.

Returns:

the category value.

description

public String description()

Get the description property: Human readable description of the assessment status.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: User friendly display name of the sub-assessment.

Returns:

the displayName value.

fromJson

public static SecuritySubAssessmentInner fromJson(JsonReader jsonReader)

Reads an instance of SecuritySubAssessmentInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SecuritySubAssessmentInner 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:

SecuritySubAssessmentInner.id()

Returns:

the id value.

idPropertiesId

public String idPropertiesId()

Get the id property: Vulnerability ID.

Returns:

the id value.

impact

public String impact()

Get the impact property: Description of the impact of this sub-assessment.

Returns:

the impact value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SecuritySubAssessmentInner.name()

Returns:

the name value.

remediation

public String remediation()

Get the remediation property: Information on how to remediate this sub-assessment.

Returns:

the remediation value.

resourceDetails

public ResourceDetails resourceDetails()

Get the resourceDetails property: Details of the resource that was assessed.

Returns:

the resourceDetails value.

status

public SubAssessmentStatus status()

Get the status property: Status of the sub-assessment.

Returns:

the status value.

systemData

public SystemData systemData()

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

Returns:

the systemData value.

timeGenerated

public OffsetDateTime timeGenerated()

Get the timeGenerated property: The date and time the sub-assessment was generated.

Returns:

the timeGenerated value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SecuritySubAssessmentInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SecuritySubAssessmentInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to