Freigeben über


LastPatchInstallationSummary Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.LastPatchInstallationSummary

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 LastPatchInstallationSummary class.

Method Summary

Modifier and Type Method and Description
ApiError error()

Get the error property: The errors that were encountered during execution of the operation.

Integer excludedPatchCount()

Get the excludedPatchCount property: The number of all available patches but excluded explicitly by a customer-specified exclusion list match.

Integer failedPatchCount()

Get the failedPatchCount property: The count of patches that failed installation.

static LastPatchInstallationSummary fromJson(JsonReader jsonReader)

Reads an instance of LastPatchInstallationSummary from the JsonReader.

String installationActivityId()

Get the installationActivityId property: The activity ID of the operation that produced this result.

Integer installedPatchCount()

Get the installedPatchCount property: The count of patches that successfully installed.

OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: The UTC timestamp when the operation began.

Boolean maintenanceWindowExceeded()

Get the maintenanceWindowExceeded property: Describes whether the operation ran out of time before it completed all its intended actions.

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.

Integer pendingPatchCount()

Get the pendingPatchCount property: The number of all available patches expected to be installed over the course of the patch installation operation.

OffsetDateTime startTime()

Get the startTime property: The UTC timestamp when the operation began.

PatchOperationStatus status()

Get the status property: The overall success or failure status of the operation.

JsonWriter 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:

the error value.

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:

the excludedPatchCount value.

failedPatchCount

public Integer failedPatchCount()

Get the failedPatchCount property: The count of patches that failed installation.

Returns:

the failedPatchCount value.

fromJson

public static LastPatchInstallationSummary fromJson(JsonReader jsonReader)

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.

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:

the installationActivityId value.

installedPatchCount

public Integer installedPatchCount()

Get the installedPatchCount property: The count of patches that successfully installed.

Returns:

the installedPatchCount value.

lastModifiedTime

public OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: The UTC timestamp when the operation began.

Returns:

the lastModifiedTime value.

maintenanceWindowExceeded

public Boolean 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

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:

the notSelectedPatchCount value.

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:

the pendingPatchCount value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The UTC timestamp when the operation began.

Returns:

the startTime value.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to