AvailablePatchSummary Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. AvailablePatchSummary
- com.
Implements
public final class AvailablePatchSummary
implements JsonSerializable<AvailablePatchSummary>
Describes the properties of an virtual machine instance view for available patch summary.
Constructor Summary
Constructor | Description |
---|---|
AvailablePatchSummary() |
Creates an instance of Available |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
assessmentActivityId()
Get the assessment |
Integer |
criticalAndSecurityPatchCount()
Get the critical |
Api |
error()
Get the error property: The errors that were encountered during execution of the operation. |
static
Available |
fromJson(JsonReader jsonReader)
Reads an instance of Available |
Offset |
lastModifiedTime()
Get the last |
Integer |
otherPatchCount()
Get the other |
Boolean |
rebootPending()
Get the reboot |
Offset |
startTime()
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
AvailablePatchSummary
public AvailablePatchSummary()
Creates an instance of AvailablePatchSummary class.
Method Details
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:
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:
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:
fromJson
public static AvailablePatchSummary fromJson(JsonReader jsonReader)
Reads an instance of AvailablePatchSummary from the JsonReader.
Parameters:
Returns:
Throws:
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: The UTC timestamp when the operation began.
Returns:
otherPatchCount
public Integer otherPatchCount()
Get the otherPatchCount property: The number of all available patches excluding critical and security.
Returns:
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:
startTime
public OffsetDateTime startTime()
Get the startTime 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 "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings.".
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java