StatusMessage Class

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

Implements

public final class StatusMessage
implements JsonSerializable<StatusMessage>

Operation status message object.

Method Summary

Modifier and Type Method and Description
ManagementError error()

Get the error property: The error reported by the operation.

static StatusMessage fromJson(JsonReader jsonReader)

Reads an instance of StatusMessage from the JsonReader.

String status()

Get the status property: Status of the deployment operation.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

error

public ManagementError error()

Get the error property: The error reported by the operation.

Returns:

the error value.

fromJson

public static StatusMessage fromJson(JsonReader jsonReader)

Reads an instance of StatusMessage from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StatusMessage if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StatusMessage.

status

public String status()

Get the status property: Status of the deployment operation.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to