Class RollingUpgradeProgressInfo

java.lang.Object
com.azure.resourcemanager.compute.models.RollingUpgradeProgressInfo

public final class RollingUpgradeProgressInfo extends Object
Information about the number of virtual machine instances in each upgrade state.
  • Constructor Details

    • RollingUpgradeProgressInfo

      public RollingUpgradeProgressInfo()
      Creates an instance of RollingUpgradeProgressInfo class.
  • Method Details

    • successfulInstanceCount

      public Integer successfulInstanceCount()
      Get the successfulInstanceCount property: The number of instances that have been successfully upgraded.
      Returns:
      the successfulInstanceCount value.
    • failedInstanceCount

      public Integer failedInstanceCount()
      Get the failedInstanceCount property: The number of instances that have failed to be upgraded successfully.
      Returns:
      the failedInstanceCount value.
    • inProgressInstanceCount

      public Integer inProgressInstanceCount()
      Get the inProgressInstanceCount property: The number of instances that are currently being upgraded.
      Returns:
      the inProgressInstanceCount value.
    • pendingInstanceCount

      public Integer 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.