HealthReportInner Class

public final class HealthReportInner
extends ProxyResource

The health report resource.

Method Summary

Modifier and Type Method and Description
List<String> affectedDefendersPlans()

Get the affectedDefendersPlans property: The affected defenders plans by unhealthy report.

List<String> affectedDefendersSubPlans()

Get the affectedDefendersSubPlans property: The affected defenders sub plans by unhealthy report.

EnvironmentDetails environmentDetails()

Get the environmentDetails property: The environment details of the resource.

static HealthReportInner fromJson(JsonReader jsonReader)

Reads an instance of HealthReportInner from the JsonReader.

HealthDataClassification healthDataClassification()

Get the healthDataClassification property: The classification of the health report.

String id()

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

List<Issue> issues()

Get the issues property: A collection of the issues in the report.

String name()

Get the name property: The name of the resource.

Map<String,String> reportAdditionalData()

Get the reportAdditionalData property: Additional data for the given health report, this field can include more details on the resource and the health scenario.

HealthReportResourceDetails resourceDetails()

Get the resourceDetails property: The resource details of the health report.

HealthReportStatus status()

Get the status property: The status of the health report.

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

affectedDefendersPlans

public List<String> affectedDefendersPlans()

Get the affectedDefendersPlans property: The affected defenders plans by unhealthy report.

Returns:

the affectedDefendersPlans value.

affectedDefendersSubPlans

public List<String> affectedDefendersSubPlans()

Get the affectedDefendersSubPlans property: The affected defenders sub plans by unhealthy report.

Returns:

the affectedDefendersSubPlans value.

environmentDetails

public EnvironmentDetails environmentDetails()

Get the environmentDetails property: The environment details of the resource.

Returns:

the environmentDetails value.

fromJson

public static HealthReportInner fromJson(JsonReader jsonReader)

Reads an instance of HealthReportInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

healthDataClassification

public HealthDataClassification healthDataClassification()

Get the healthDataClassification property: The classification of the health report.

Returns:

the healthDataClassification value.

id

public String id()

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

Overrides:

HealthReportInner.id()

Returns:

the id value.

issues

public List<Issue> issues()

Get the issues property: A collection of the issues in the report.

Returns:

the issues value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

HealthReportInner.name()

Returns:

the name value.

reportAdditionalData

public Map<String,String> reportAdditionalData()

Get the reportAdditionalData property: Additional data for the given health report, this field can include more details on the resource and the health scenario.

Returns:

the reportAdditionalData value.

resourceDetails

public HealthReportResourceDetails resourceDetails()

Get the resourceDetails property: The resource details of the health report.

Returns:

the resourceDetails value.

status

public HealthReportStatus status()

Get the status property: The status of the health report.

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:

HealthReportInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

HealthReportInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to