Interface VirtualMachineInstallPatchesResult
public interface VirtualMachineInstallPatchesResult
An immutable client-side representation of VirtualMachineInstallPatchesResult.
-
Method Summary
Modifier and TypeMethodDescriptionGets the errorDetails property: Error details.Gets the excludedPatchCount property: The number of patches that were not installed due to the user blocking their installation.Gets the failedPatchCount property: The number of patches that could not be installed due to some issue.Gets the inner com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineInstallPatchesResultInner object.Gets the installationActivityId property: The activity ID of the operation that produced this result.Gets the installedPatchCount property: The number of patches successfully installed.Gets the lastModifiedDateTime property: The UTC timestamp when the operation finished.Gets the maintenanceWindowExceeded property: Whether the operation ran out of time before it completed all its intended actions.Gets the notSelectedPatchCount property: The number of patches that were detected as available for install, but did not meet the operation's criteria.osType()
Gets the osType property: The operating system type of the machine.Gets the patchServiceUsed property: Specifies the patch service used for the operation.Gets the pendingPatchCount property: The number of patches that were identified as meeting the installation criteria, but were not able to be installed.Gets the rebootStatus property: The reboot state of the VM following completion of the operation.Gets the startDateTime property: The UTC timestamp when the operation began.Gets the startedBy property: Indicates if operation was triggered by user or by platform.status()
Gets the status property: The overall success or failure status of the operation.
-
Method Details
-
status
PatchOperationStatus status()Gets 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
String installationActivityId()Gets the installationActivityId property: The activity ID of the operation that produced this result.- Returns:
- the installationActivityId value.
-
rebootStatus
VMGuestPatchRebootStatus rebootStatus()Gets the rebootStatus property: The reboot state of the VM following completion of the operation.- Returns:
- the rebootStatus value.
-
maintenanceWindowExceeded
Boolean maintenanceWindowExceeded()Gets the maintenanceWindowExceeded property: Whether the operation ran out of time before it completed all its intended actions.- Returns:
- the maintenanceWindowExceeded value.
-
excludedPatchCount
Integer excludedPatchCount()Gets the excludedPatchCount property: The number of patches that were not installed due to the user blocking their installation.- Returns:
- the excludedPatchCount value.
-
notSelectedPatchCount
Integer notSelectedPatchCount()Gets 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
Integer pendingPatchCount()Gets 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
Integer installedPatchCount()Gets the installedPatchCount property: The number of patches successfully installed.- Returns:
- the installedPatchCount value.
-
failedPatchCount
Integer failedPatchCount()Gets the failedPatchCount property: The number of patches that could not be installed due to some issue. See errors for details.- Returns:
- the failedPatchCount value.
-
startDateTime
OffsetDateTime startDateTime()Gets the startDateTime property: The UTC timestamp when the operation began.- Returns:
- the startDateTime value.
-
lastModifiedDateTime
OffsetDateTime lastModifiedDateTime()Gets the lastModifiedDateTime property: The UTC timestamp when the operation finished.- Returns:
- the lastModifiedDateTime value.
-
startedBy
PatchOperationStartedBy startedBy()Gets the startedBy property: Indicates if operation was triggered by user or by platform.- Returns:
- the startedBy value.
-
patchServiceUsed
PatchServiceUsed patchServiceUsed()Gets the patchServiceUsed property: Specifies the patch service used for the operation.- Returns:
- the patchServiceUsed value.
-
osType
OsTypeUM osType()Gets the osType property: The operating system type of the machine.- Returns:
- the osType value.
-
errorDetails
ErrorDetail errorDetails()Gets 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.
-
innerModel
VirtualMachineInstallPatchesResultInner innerModel()Gets the inner com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineInstallPatchesResultInner object.- Returns:
- the inner object.
-