LastPatchInstallationSummary Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. LastPatchInstallationSummary
- com.
Implements
public final class LastPatchInstallationSummary
implements JsonSerializable<LastPatchInstallationSummary>
Describes the properties of the last installed patch summary.
Constructor Summary
Constructor | Description |
---|---|
LastPatchInstallationSummary() |
Creates an instance of Last |
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
Last |
fromJson(JsonReader jsonReader)
Reads an instance of Last |
String |
installationActivityId()
Get the installation |
Integer |
installedPatchCount()
Get the installed |
Offset |
lastModifiedTime()
Get the last |
Boolean |
maintenanceWindowExceeded()
Get the maintenance |
Integer |
notSelectedPatchCount()
Get the not |
Integer |
pendingPatchCount()
Get the pending |
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
LastPatchInstallationSummary
public LastPatchInstallationSummary()
Creates an instance of LastPatchInstallationSummary 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 all available patches but excluded explicitly by a customer-specified exclusion list match.
Returns:
failedPatchCount
public Integer failedPatchCount()
Get the failedPatchCount property: The count of patches that failed installation.
Returns:
fromJson
public static LastPatchInstallationSummary fromJson(JsonReader jsonReader)
Reads an instance of LastPatchInstallationSummary 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 count of patches that successfully installed.
Returns:
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: The UTC timestamp when the operation began.
Returns:
maintenanceWindowExceeded
public Boolean maintenanceWindowExceeded()
Get the maintenanceWindowExceeded property: Describes 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 all available patches but not going to be installed because it didn't match a classification or inclusion list entry.
Returns:
pendingPatchCount
public Integer pendingPatchCount()
Get the pendingPatchCount property: The number of all available patches expected to be installed over the course of the patch installation operation.
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