Class LastPatchInstallationSummary
java.lang.Object
com.azure.resourcemanager.compute.models.LastPatchInstallationSummary
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LastPatchInstallationSummary>
public final class LastPatchInstallationSummary
extends Object
implements com.azure.json.JsonSerializable<LastPatchInstallationSummary>
Describes the properties of the last installed patch summary.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LastPatchInstallationSummary 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 all available patches but excluded explicitly by a customer-specified exclusion list match.Get the failedPatchCount property: The count of patches that failed installation.static LastPatchInstallationSummaryfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LastPatchInstallationSummary from the JsonReader.Get the installationActivityId property: The activity ID of the operation that produced this result.Get the installedPatchCount property: The count of patches that successfully installed.Get the lastModifiedTime property: The UTC timestamp when the operation began.Get the maintenanceWindowExceeded property: Describes whether the operation ran out of time before it completed all its intended actions.Get the notSelectedPatchCount property: The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry.Get the pendingPatchCount property: The number of all available patches expected to be installed over the course of the patch installation operation.Get the startTime 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 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
-
LastPatchInstallationSummary
public LastPatchInstallationSummary()Creates an instance of LastPatchInstallationSummary 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 "Unknown", "Failed", "Succeeded", 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.
-
maintenanceWindowExceeded
Get the maintenanceWindowExceeded property: Describes whether the operation ran out of time before it completed all its intended actions.- Returns:
- the maintenanceWindowExceeded value.
-
notSelectedPatchCount
Get the notSelectedPatchCount property: The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry.- Returns:
- the notSelectedPatchCount value.
-
excludedPatchCount
Get the excludedPatchCount property: The number of all available patches but excluded explicitly by a customer-specified exclusion list match.- Returns:
- the excludedPatchCount value.
-
pendingPatchCount
Get the pendingPatchCount property: The number of all available patches expected to be installed over the course of the patch installation operation.- Returns:
- the pendingPatchCount value.
-
installedPatchCount
Get the installedPatchCount property: The count of patches that successfully installed.- Returns:
- the installedPatchCount value.
-
failedPatchCount
Get the failedPatchCount property: The count of patches that failed installation.- Returns:
- the failedPatchCount value.
-
startTime
Get the startTime property: The UTC timestamp when the operation began.- Returns:
- the startTime value.
-
lastModifiedTime
Get the lastModifiedTime property: The UTC timestamp when the operation began.- Returns:
- the lastModifiedTime 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<LastPatchInstallationSummary>- Throws:
IOException
-
fromJson
public static LastPatchInstallationSummary fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of LastPatchInstallationSummary from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of LastPatchInstallationSummary 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 LastPatchInstallationSummary.
-