AlertDefinitionInner Class

public final class AlertDefinitionInner
extends ProxyResource

Alert definition.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The alert description.

String displayName()

Get the displayName property: The alert display name.

static AlertDefinitionInner fromJson(JsonReader jsonReader)

Reads an instance of AlertDefinitionInner from the JsonReader.

String howToPrevent()

Get the howToPrevent property: The ways to prevent the alert.

String id()

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

Boolean isConfigurable()

Get the isConfigurable property: True if the alert configuration can be configured; false, otherwise.

Boolean isRemediatable()

Get the isRemediatable property: True if the alert can be remediated; false, otherwise.

String mitigationSteps()

Get the mitigationSteps property: The methods to mitigate the alert.

String name()

Get the name property: The name of the resource.

String scope()

Get the scope property: The alert scope.

String securityImpact()

Get the securityImpact property: Security impact of the alert.

SeverityLevel severityLevel()

Get the severityLevel property: Severity level of the alert.

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

description

public String description()

Get the description property: The alert description.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The alert display name.

Returns:

the displayName value.

fromJson

public static AlertDefinitionInner fromJson(JsonReader jsonReader)

Reads an instance of AlertDefinitionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

howToPrevent

public String howToPrevent()

Get the howToPrevent property: The ways to prevent the alert.

Returns:

the howToPrevent value.

id

public String id()

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

Overrides:

AlertDefinitionInner.id()

Returns:

the id value.

isConfigurable

public Boolean isConfigurable()

Get the isConfigurable property: True if the alert configuration can be configured; false, otherwise.

Returns:

the isConfigurable value.

isRemediatable

public Boolean isRemediatable()

Get the isRemediatable property: True if the alert can be remediated; false, otherwise.

Returns:

the isRemediatable value.

mitigationSteps

public String mitigationSteps()

Get the mitigationSteps property: The methods to mitigate the alert.

Returns:

the mitigationSteps value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AlertDefinitionInner.name()

Returns:

the name value.

scope

public String scope()

Get the scope property: The alert scope.

Returns:

the scope value.

securityImpact

public String securityImpact()

Get the securityImpact property: Security impact of the alert.

Returns:

the securityImpact value.

severityLevel

public SeverityLevel severityLevel()

Get the severityLevel property: Severity level of the alert.

Returns:

the severityLevel 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:

AlertDefinitionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AlertDefinitionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to