Class RollingUpgradeProgressInfo
java.lang.Object
com.azure.resourcemanager.compute.models.RollingUpgradeProgressInfo
Information about the number of virtual machine instances in each upgrade state.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the failedInstanceCount property: The number of instances that have failed to be upgraded successfully.Get the inProgressInstanceCount property: The number of instances that are currently being upgraded.Get the pendingInstanceCount property: The number of instances that have not yet begun to be upgraded.Get the successfulInstanceCount property: The number of instances that have been successfully upgraded.voidvalidate()Validates the instance.
-
Constructor Details
-
RollingUpgradeProgressInfo
public RollingUpgradeProgressInfo()
-
-
Method Details
-
successfulInstanceCount
Get the successfulInstanceCount property: The number of instances that have been successfully upgraded.- Returns:
- the successfulInstanceCount value.
-
failedInstanceCount
Get the failedInstanceCount property: The number of instances that have failed to be upgraded successfully.- Returns:
- the failedInstanceCount value.
-
inProgressInstanceCount
Get the inProgressInstanceCount property: The number of instances that are currently being upgraded.- Returns:
- the inProgressInstanceCount value.
-
pendingInstanceCount
Get the pendingInstanceCount property: The number of instances that have not yet begun to be upgraded.- Returns:
- the pendingInstanceCount value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-