Issue Class

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

Implements

public final class Issue
implements JsonSerializable<Issue>

The issue that caused the resource to by unhealthy.

Method Summary

Modifier and Type Method and Description
static Issue fromJson(JsonReader jsonReader)

Reads an instance of Issue from the JsonReader.

Map<String,String> issueAdditionalData()

Get the issueAdditionalData property: Additional data for the given issue.

String issueDescription()

Get the issueDescription property: The issue description.

String issueKey()

Get the issueKey property: The unique issue key.

String issueName()

Get the issueName property: The issue name.

String remediationScript()

Get the remediationScript property: The remediation script to solve this issue.

String remediationSteps()

Get the remediationSteps property: Human readable description of what you should do to mitigate this health issue.

List<String> securityValues()

Get the securityValues property: The affected security values that MDC offers that will be affected by the issue, for example: recommendations, alerts, etc.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static Issue fromJson(JsonReader jsonReader)

Reads an instance of Issue from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

issueAdditionalData

public Map<String,String> issueAdditionalData()

Get the issueAdditionalData property: Additional data for the given issue. The additional data depends on the issue type.

Returns:

the issueAdditionalData value.

issueDescription

public String issueDescription()

Get the issueDescription property: The issue description.

Returns:

the issueDescription value.

issueKey

public String issueKey()

Get the issueKey property: The unique issue key.

Returns:

the issueKey value.

issueName

public String issueName()

Get the issueName property: The issue name.

Returns:

the issueName value.

remediationScript

public String remediationScript()

Get the remediationScript property: The remediation script to solve this issue.

Returns:

the remediationScript value.

remediationSteps

public String remediationSteps()

Get the remediationSteps property: Human readable description of what you should do to mitigate this health issue.

Returns:

the remediationSteps value.

securityValues

public List<String> securityValues()

Get the securityValues property: The affected security values that MDC offers that will be affected by the issue, for example: recommendations, alerts, etc.

Returns:

the securityValues value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to