Class RollbackStatusInfo
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.RollbackStatusInfo
-
public final class RollbackStatusInfo extends Object
Information about rollback on failed VM instances after a OS Upgrade operation.
-
-
Constructor Summary
Constructors Constructor Description RollbackStatusInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerfailedRolledbackInstanceCount()Get the failedRolledbackInstanceCount property: The number of instances which failed to rollback.ApiErrorrollbackError()Get the rollbackError property: Error details if OS rollback failed.IntegersuccessfullyRolledbackInstanceCount()Get the successfullyRolledbackInstanceCount property: The number of instances which have been successfully rolled back.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
successfullyRolledbackInstanceCount
public Integer successfullyRolledbackInstanceCount()
Get the successfullyRolledbackInstanceCount property: The number of instances which have been successfully rolled back.- Returns:
- the successfullyRolledbackInstanceCount value.
-
failedRolledbackInstanceCount
public Integer failedRolledbackInstanceCount()
Get the failedRolledbackInstanceCount property: The number of instances which failed to rollback.- Returns:
- the failedRolledbackInstanceCount value.
-
rollbackError
public ApiError 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.
-
-