Class UpgradeOperationHistoricalStatusInfoProperties
java.lang.Object
com.azure.resourcemanager.compute.models.UpgradeOperationHistoricalStatusInfoProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<UpgradeOperationHistoricalStatusInfoProperties>
public final class UpgradeOperationHistoricalStatusInfoProperties
extends Object
implements com.azure.json.JsonSerializable<UpgradeOperationHistoricalStatusInfoProperties>
Describes each OS upgrade on the Virtual Machine Scale Set.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of UpgradeOperationHistoricalStatusInfoProperties class. -
Method Summary
Modifier and TypeMethodDescriptionerror()Get the error property: Error Details for this upgrade if there are any.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of UpgradeOperationHistoricalStatusInfoProperties from the JsonReader.progress()Get the progress property: Counts of the VMs in each state.Get the rollbackInfo property: Information about OS rollback if performed.Get the runningStatus property: Information about the overall status of the upgrade operation.Get the startedBy property: Invoker of the Upgrade Operation.Get the targetImageReference property: Image Reference details.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.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
-
Constructor Details
-
UpgradeOperationHistoricalStatusInfoProperties
public UpgradeOperationHistoricalStatusInfoProperties()Creates an instance of UpgradeOperationHistoricalStatusInfoProperties class.
-
-
Method Details
-
runningStatus
Get the runningStatus property: Information about the overall status of the upgrade operation.- Returns:
- the runningStatus value.
-
progress
Get the progress property: Counts of the VMs in each state.- Returns:
- the progress value.
-
error
Get the error property: Error Details for this upgrade if there are any.- Returns:
- the error value.
-
startedBy
Get the startedBy property: Invoker of the Upgrade Operation.- Returns:
- the startedBy value.
-
targetImageReference
Get the targetImageReference property: Image Reference details.- Returns:
- the targetImageReference value.
-
rollbackInfo
Get the rollbackInfo property: Information about OS rollback if performed.- Returns:
- the rollbackInfo 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<UpgradeOperationHistoricalStatusInfoProperties>- Throws:
IOException
-
fromJson
public static UpgradeOperationHistoricalStatusInfoProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of UpgradeOperationHistoricalStatusInfoProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of UpgradeOperationHistoricalStatusInfoProperties 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 UpgradeOperationHistoricalStatusInfoProperties.
-