Class RollbackStatusInfo
java.lang.Object
com.azure.resourcemanager.compute.models.RollbackStatusInfo
Information about rollback on failed VM instances after a OS Upgrade operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the failedRolledbackInstanceCount property: The number of instances which failed to rollback.Get the rollbackError property: Error details if OS rollback failed.Get the successfullyRolledbackInstanceCount property: The number of instances which have been successfully rolled back.voidvalidate()Validates the instance.
-
Constructor Details
-
RollbackStatusInfo
public RollbackStatusInfo()
-
-
Method Details
-
successfullyRolledbackInstanceCount
Get the successfullyRolledbackInstanceCount property: The number of instances which have been successfully rolled back.- Returns:
- the successfullyRolledbackInstanceCount value.
-
failedRolledbackInstanceCount
Get the failedRolledbackInstanceCount property: The number of instances which failed to rollback.- Returns:
- the failedRolledbackInstanceCount value.
-
rollbackError
Get the rollbackError property: Error details if OS rollback failed.- Returns:
- the rollbackError value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-