DeploymentDiagnosticsDefinition Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.DeploymentDiagnosticsDefinition

Implements

public final class DeploymentDiagnosticsDefinition
implements JsonSerializable<DeploymentDiagnosticsDefinition>

The DeploymentDiagnosticsDefinition model.

Method Summary

Modifier and Type Method and Description
List<ErrorAdditionalInfo> additionalInfo()

Get the additionalInfo property: The error additional info.

String code()

Get the code property: The error code.

static DeploymentDiagnosticsDefinition fromJson(JsonReader jsonReader)

Reads an instance of DeploymentDiagnosticsDefinition from the JsonReader.

Level level()

Get the level property: Denotes the additional response level.

String message()

Get the message property: The error message.

String target()

Get the target property: The error target.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

additionalInfo

public List<ErrorAdditionalInfo> additionalInfo()

Get the additionalInfo property: The error additional info.

Returns:

the additionalInfo value.

code

public String code()

Get the code property: The error code.

Returns:

the code value.

fromJson

public static DeploymentDiagnosticsDefinition fromJson(JsonReader jsonReader)

Reads an instance of DeploymentDiagnosticsDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

level

public Level level()

Get the level property: Denotes the additional response level.

Returns:

the level value.

message

public String message()

Get the message property: The error message.

Returns:

the message value.

target

public String target()

Get the target property: The error target.

Returns:

the target value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to