Class DevCenterOperationDetails
java.lang.Object
com.azure.developer.devcenter.models.DevCenterOperationDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DevCenterOperationDetails>
public final class DevCenterOperationDetails
extends Object
implements com.azure.json.JsonSerializable<DevCenterOperationDetails>
The current status of an async operation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DevCenterOperationDetailsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DevCenterOperationDetails from the JsonReader.Get the endTime property: The end time of the operation, in RFC3339 format.com.azure.core.models.ResponseErrorgetError()Get the error property: Operation Error message.getId()Get the id property: Fully qualified ID for the operation status.getName()Get the name property: The operation id name.Get the percentComplete property: Percent of the operation that is complete.Get the properties property: Custom operation properties, populated only for a successful operation.Get the resourceId property: The id of the resource.Get the startTime property: The start time of the operation, in RFC3339 format.Get the status property: Provisioning state of the resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getId
Get the id property: Fully qualified ID for the operation status.- Returns:
- the id value.
-
getName
Get the name property: The operation id name.- Returns:
- the name value.
-
getStatus
Get the status property: Provisioning state of the resource.- Returns:
- the status value.
-
getResourceId
Get the resourceId property: The id of the resource.- Returns:
- the resourceId value.
-
getStartTime
Get the startTime property: The start time of the operation, in RFC3339 format.- Returns:
- the startTime value.
-
getEndTime
Get the endTime property: The end time of the operation, in RFC3339 format.- Returns:
- the endTime value.
-
getPercentComplete
Get the percentComplete property: Percent of the operation that is complete.- Returns:
- the percentComplete value.
-
getProperties
Get the properties property: Custom operation properties, populated only for a successful operation.- Returns:
- the properties value.
-
getError
public com.azure.core.models.ResponseError getError()Get the error property: Operation Error message.- Returns:
- the error value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DevCenterOperationDetails>- Throws:
IOException
-
fromJson
public static DevCenterOperationDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DevCenterOperationDetails from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DevCenterOperationDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the DevCenterOperationDetails.
-