SecurityAssessmentResponseInner Class

public final class SecurityAssessmentResponseInner
extends ProxyResource

Security assessment on a resource - response format.

Method Summary

Modifier and Type Method and Description
Map<String,String> additionalData()

Get the additionalData property: Additional data regarding the assessment.

String displayName()

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

static SecurityAssessmentResponseInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityAssessmentResponseInner from the JsonReader.

String id()

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

AssessmentLinks links()

Get the links property: Links relevant to the assessment.

SecurityAssessmentMetadataProperties metadata()

Get the metadata property: Describes properties of an assessment metadata.

String name()

Get the name property: The name of the resource.

SecurityAssessmentPartnerData partnersData()

Get the partnersData property: Data regarding 3rd party partner integration.

ResourceDetails resourceDetails()

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

SecurityAssessmentPropertiesBaseRisk risk()

Get the risk property: External model of risk result.

AssessmentStatusResponse status()

Get the status property: The result of the assessment.

SystemData systemData()

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

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 Map<String,String> additionalData()

Get the additionalData property: Additional data regarding the assessment.

Returns:

the additionalData value.

displayName

public String displayName()

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

Returns:

the displayName value.

fromJson

public static SecurityAssessmentResponseInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityAssessmentResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

SecurityAssessmentResponseInner.id()

Returns:

the id value.

links

public AssessmentLinks links()

Get the links property: Links relevant to the assessment.

Returns:

the links value.

metadata

public SecurityAssessmentMetadataProperties metadata()

Get the metadata property: Describes properties of an assessment metadata.

Returns:

the metadata value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SecurityAssessmentResponseInner.name()

Returns:

the name value.

partnersData

public SecurityAssessmentPartnerData partnersData()

Get the partnersData property: Data regarding 3rd party partner integration.

Returns:

the partnersData value.

resourceDetails

public ResourceDetails resourceDetails()

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

Returns:

the resourceDetails value.

risk

public SecurityAssessmentPropertiesBaseRisk risk()

Get the risk property: External model of risk result.

Returns:

the risk value.

status

public AssessmentStatusResponse status()

Get the status property: The result of the 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SecurityAssessmentResponseInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SecurityAssessmentResponseInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to