Class VirtualMachineAssessPatchesResultInner

java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineAssessPatchesResultInner

public final class VirtualMachineAssessPatchesResultInner extends Object
Describes the properties of an AssessPatches result.
  • Constructor Details

    • VirtualMachineAssessPatchesResultInner

      public VirtualMachineAssessPatchesResultInner()
  • 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 "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings.".
      Returns:
      the status value.
    • assessmentActivityId

      public String assessmentActivityId()
      Get the assessmentActivityId property: The activity ID of the operation that produced this result.
      Returns:
      the assessmentActivityId value.
    • rebootPending

      public Boolean rebootPending()
      Get the rebootPending property: The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.
      Returns:
      the rebootPending value.
    • availablePatchCountByClassification

      public AvailablePatchCountByClassification availablePatchCountByClassification()
      Get the availablePatchCountByClassification property: Summarization of patches available for installation on the machine by classification.
      Returns:
      the availablePatchCountByClassification value.
    • withAvailablePatchCountByClassification

      public VirtualMachineAssessPatchesResultInner withAvailablePatchCountByClassification(AvailablePatchCountByClassification availablePatchCountByClassification)
      Set the availablePatchCountByClassification property: Summarization of patches available for installation on the machine by classification.
      Parameters:
      availablePatchCountByClassification - the availablePatchCountByClassification value to set.
      Returns:
      the VirtualMachineAssessPatchesResultInner object itself.
    • startDateTime

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

      public OffsetDateTime lastModifiedDateTime()
      Get the lastModifiedDateTime property: The UTC timestamp when the operation finished.
      Returns:
      the lastModifiedDateTime value.
    • startedBy

      public PatchOperationStartedBy startedBy()
      Get the startedBy property: Indicates if operation was triggered by user or by platform.
      Returns:
      the startedBy value.
    • patchServiceUsed

      public PatchServiceUsed patchServiceUsed()
      Get the patchServiceUsed property: Specifies the patch service used for the operation.
      Returns:
      the patchServiceUsed value.
    • osType

      public OsTypeUM osType()
      Get the osType property: The operating system type of the machine.
      Returns:
      the osType value.
    • errorDetails

      public ErrorDetail errorDetails()
      Get the errorDetails property: Error details.

      The errors that were encountered during execution of the operation. The details array contains the list of them.

      Returns:
      the errorDetails value.
    • validate

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