Class AvailablePatchSummary
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.AvailablePatchSummary
-
public final class AvailablePatchSummary extends Object
Describes the properties of an virtual machine instance view for available patch summary.
-
-
Constructor Summary
Constructors Constructor Description AvailablePatchSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassessmentActivityId()Get the assessmentActivityId property: The activity ID of the operation that produced this result.IntegercriticalAndSecurityPatchCount()Get the criticalAndSecurityPatchCount property: The number of critical or security patches that have been detected as available and not yet installed.ApiErrorerror()Get the error property: The errors that were encountered during execution of the operation.OffsetDateTimelastModifiedTime()Get the lastModifiedTime property: The UTC timestamp when the operation began.IntegerotherPatchCount()Get the otherPatchCount property: The number of all available patches excluding critical and security.BooleanrebootPending()Get the rebootPending property: The overall reboot status of the VM.OffsetDateTimestartTime()Get the startTime property: The UTC timestamp when the operation began.PatchOperationStatusstatus()Get the status property: The overall success or failure status of the operation.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
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. It is used to correlate across CRP and extension logs.- 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.
-
criticalAndSecurityPatchCount
public Integer criticalAndSecurityPatchCount()
Get the criticalAndSecurityPatchCount property: The number of critical or security patches that have been detected as available and not yet installed.- Returns:
- the criticalAndSecurityPatchCount value.
-
otherPatchCount
public Integer otherPatchCount()
Get the otherPatchCount property: The number of all available patches excluding critical and security.- Returns:
- the otherPatchCount value.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: The UTC timestamp when the operation began.- Returns:
- the startTime value.
-
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: The UTC timestamp when the operation began.- Returns:
- the lastModifiedTime 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.
-
-