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 Details

    • RollbackStatusInfo

      public RollbackStatusInfo()
  • Method Details

    • 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.