VirtualMachineInstallPatchesResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineInstallPatchesResultInner
- com.
Implements
public final class VirtualMachineInstallPatchesResultInner
implements JsonSerializable<VirtualMachineInstallPatchesResultInner>
The result summary of an installation operation.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineInstallPatchesResultInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
Api |
error()
Get the error property: The errors that were encountered during execution of the operation. |
Integer |
excludedPatchCount()
Get the excluded |
Integer |
failedPatchCount()
Get the failed |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
installationActivityId()
Get the installation |
Integer |
installedPatchCount()
Get the installed |
Boolean |
maintenanceWindowExceeded()
Get the maintenance |
Integer |
notSelectedPatchCount()
Get the not |
List<Patch |
patches()
Get the patches property: The patches that were installed during the operation. |
Integer |
pendingPatchCount()
Get the pending |
VMGuest |
rebootStatus()
Get the reboot |
Offset |
startDateTime()
Get the start |
Patch |
status()
Get the status property: The overall success or failure status of the operation. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineInstallPatchesResultInner
public VirtualMachineInstallPatchesResultInner()
Creates an instance of VirtualMachineInstallPatchesResultInner class.
Method Details
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:
excludedPatchCount
public Integer excludedPatchCount()
Get the excludedPatchCount property: The number of patches that were not installed due to the user blocking their installation.
Returns:
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:
fromJson
public static VirtualMachineInstallPatchesResultInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineInstallPatchesResultInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
installedPatchCount
public Integer installedPatchCount()
Get the installedPatchCount property: The number of patches successfully installed.
Returns:
maintenanceWindowExceeded
public Boolean maintenanceWindowExceeded()
Get the maintenanceWindowExceeded property: Whether the operation ran out of time before it completed all its intended actions.
Returns:
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:
patches
public List
Get the patches property: The patches that were installed during the operation.
Returns:
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:
rebootStatus
public VMGuestPatchRebootStatus rebootStatus()
Get the rebootStatus property: The reboot state of the VM following completion of the operation.
Returns:
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: The UTC timestamp when the operation began.
Returns:
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:
toJson
validate
public void validate()
Validates the instance.