Class VirtualMachineInstallPatchesResultInner

java.lang.Object
com.azure.resourcemanager.compute.fluent.models.VirtualMachineInstallPatchesResultInner

public final class VirtualMachineInstallPatchesResultInner extends Object
The result summary of an installation operation.
  • Constructor Details

    • VirtualMachineInstallPatchesResultInner

      public VirtualMachineInstallPatchesResultInner()
  • Method Details

    • status

      public PatchOperationStatus status()
      Get the status property: The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or "CompletedWithWarnings.".
      Returns:
      the status value.
    • installationActivityId

      public String installationActivityId()
      Get the installationActivityId property: The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
      Returns:
      the installationActivityId value.
    • rebootStatus

      public VMGuestPatchRebootStatus rebootStatus()
      Get the rebootStatus property: The reboot state of the VM following completion of the operation.
      Returns:
      the rebootStatus value.
    • maintenanceWindowExceeded

      public Boolean maintenanceWindowExceeded()
      Get the maintenanceWindowExceeded property: Whether the operation ran out of time before it completed all its intended actions.
      Returns:
      the maintenanceWindowExceeded value.
    • excludedPatchCount

      public Integer excludedPatchCount()
      Get the excludedPatchCount property: The number of patches that were not installed due to the user blocking their installation.
      Returns:
      the excludedPatchCount value.
    • notSelectedPatchCount

      public Integer notSelectedPatchCount()
      Get the notSelectedPatchCount property: The number of patches that were detected as available for install, but did not meet the operation's criteria.
      Returns:
      the notSelectedPatchCount value.
    • pendingPatchCount

      public Integer pendingPatchCount()
      Get the pendingPatchCount property: The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true.
      Returns:
      the pendingPatchCount value.
    • installedPatchCount

      public Integer installedPatchCount()
      Get the installedPatchCount property: The number of patches successfully installed.
      Returns:
      the installedPatchCount value.
    • failedPatchCount

      public Integer failedPatchCount()
      Get the failedPatchCount property: The number of patches that could not be installed due to some issue. See errors for details.
      Returns:
      the failedPatchCount value.
    • patches

      public List<PatchInstallationDetail> patches()
      Get the patches property: The patches that were installed during the operation.
      Returns:
      the patches value.
    • startDateTime

      public OffsetDateTime startDateTime()
      Get the startDateTime property: The UTC timestamp when the operation began.
      Returns:
      the startDateTime value.
    • error

      public ApiError error()
      Get the error property: The errors that were encountered during execution of the operation. The details array contains the list of them.
      Returns:
      the error value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.