Class VirtualMachineInstallPatchesResultInner
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.VirtualMachineInstallPatchesResultInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualMachineInstallPatchesResultInner>
public final class VirtualMachineInstallPatchesResultInner
extends Object
implements com.azure.json.JsonSerializable<VirtualMachineInstallPatchesResultInner>
The result summary of an installation operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualMachineInstallPatchesResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionerror()Get the error property: The errors that were encountered during execution of the operation.Get the excludedPatchCount property: The number of patches that were not installed due to the user blocking their installation.Get the failedPatchCount property: The number of patches that could not be installed due to some issue.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualMachineInstallPatchesResultInner from the JsonReader.Get the installationActivityId property: The activity ID of the operation that produced this result.Get the installedPatchCount property: The number of patches successfully installed.Get the maintenanceWindowExceeded property: Whether the operation ran out of time before it completed all its intended actions.Get the notSelectedPatchCount property: The number of patches that were detected as available for install, but did not meet the operation's criteria.patches()Get the patches property: The patches that were installed during the operation.Get the pendingPatchCount property: The number of patches that were identified as meeting the installation criteria, but were not able to be installed.Get the rebootStatus property: The reboot state of the VM following completion of the operation.Get the startDateTime property: The UTC timestamp when the operation began.status()Get the status property: The overall success or failure status of the operation.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VirtualMachineInstallPatchesResultInner
public VirtualMachineInstallPatchesResultInner()Creates an instance of VirtualMachineInstallPatchesResultInner class.
-
-
Method Details
-
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
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
Get the rebootStatus property: The reboot state of the VM following completion of the operation.- Returns:
- the rebootStatus value.
-
maintenanceWindowExceeded
Get the maintenanceWindowExceeded property: Whether the operation ran out of time before it completed all its intended actions.- Returns:
- the maintenanceWindowExceeded value.
-
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
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
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
Get the installedPatchCount property: The number of patches successfully installed.- Returns:
- the installedPatchCount value.
-
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
Get the patches property: The patches that were installed during the operation.- Returns:
- the patches value.
-
startDateTime
Get the startDateTime property: The UTC timestamp when the operation began.- Returns:
- the startDateTime value.
-
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VirtualMachineInstallPatchesResultInner>- Throws:
IOException
-
fromJson
public static VirtualMachineInstallPatchesResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VirtualMachineInstallPatchesResultInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VirtualMachineInstallPatchesResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the VirtualMachineInstallPatchesResultInner.
-