Class DiskRestorePointReplicationStatus
java.lang.Object
com.azure.resourcemanager.compute.models.DiskRestorePointReplicationStatus
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DiskRestorePointReplicationStatus>
public final class DiskRestorePointReplicationStatus
extends Object
implements com.azure.json.JsonSerializable<DiskRestorePointReplicationStatus>
The instance view of a disk restore point.
-
Method Summary
Modifier and TypeMethodDescriptionGet the completionPercent property: Replication completion percentage.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DiskRestorePointReplicationStatus from the JsonReader.status()Get the status property: The resource status information.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class 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
-
status
Get the status property: The resource status information.- Returns:
- the status value.
-
completionPercent
Get the completionPercent property: Replication completion percentage.- Returns:
- the completionPercent value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DiskRestorePointReplicationStatus>- Throws:
IOException
-
fromJson
public static DiskRestorePointReplicationStatus fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DiskRestorePointReplicationStatus from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DiskRestorePointReplicationStatus 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 DiskRestorePointReplicationStatus.
-