Class RollingUpgradeStatusInfoProperties
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.RollingUpgradeStatusInfoProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RollingUpgradeStatusInfoProperties>
public final class RollingUpgradeStatusInfoProperties
extends Object
implements com.azure.json.JsonSerializable<RollingUpgradeStatusInfoProperties>
The status of the latest virtual machine scale set rolling upgrade.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RollingUpgradeStatusInfoProperties 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 RollingUpgradeStatusInfoProperties from the JsonReader.policy()Get the policy property: The rolling upgrade policies applied for this upgrade.progress()Get the progress property: Information about the number of virtual machine instances in each upgrade state.Get the runningStatus property: Information about the current running state of the overall upgrade.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
-
Constructor Details
-
RollingUpgradeStatusInfoProperties
public RollingUpgradeStatusInfoProperties()Creates an instance of RollingUpgradeStatusInfoProperties class.
-
-
Method Details
-
policy
Get the policy property: The rolling upgrade policies applied for this upgrade.- Returns:
- the policy value.
-
runningStatus
Get the runningStatus property: Information about the current running state of the overall upgrade.- Returns:
- the runningStatus value.
-
progress
Get the progress property: Information about the number of virtual machine instances in each upgrade state.- Returns:
- the progress value.
-
error
Get the error property: Error details for this upgrade, if there are any.- Returns:
- the error 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<RollingUpgradeStatusInfoProperties>- Throws:
IOException
-
fromJson
public static RollingUpgradeStatusInfoProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RollingUpgradeStatusInfoProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RollingUpgradeStatusInfoProperties 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 RollingUpgradeStatusInfoProperties.
-