Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.compute; import org.joda.time.DateTime; import com.fasterxml.jackson.annotation.JsonProperty;
Describes the properties of an virtual machine instance view for available patch summary.
/** * Describes the properties of an virtual machine instance view for available * patch summary. */
public class AvailablePatchSummary {
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.". Possible values include: 'Unknown', 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings'.
/** * 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.". Possible * values include: 'Unknown', 'InProgress', 'Failed', 'Succeeded', * 'CompletedWithWarnings'. */
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY) private PatchOperationStatus status;
The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
/** * The activity ID of the operation that produced this result. It is used * to correlate across CRP and extension logs. */
@JsonProperty(value = "assessmentActivityId", access = JsonProperty.Access.WRITE_ONLY) private String assessmentActivityId;
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.
/** * 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. */
@JsonProperty(value = "rebootPending", access = JsonProperty.Access.WRITE_ONLY) private Boolean rebootPending;
The number of critical or security patches that have been detected as available and not yet installed.
/** * The number of critical or security patches that have been detected as * available and not yet installed. */
@JsonProperty(value = "criticalAndSecurityPatchCount", access = JsonProperty.Access.WRITE_ONLY) private Integer criticalAndSecurityPatchCount;
The number of all available patches excluding critical and security.
/** * The number of all available patches excluding critical and security. */
@JsonProperty(value = "otherPatchCount", access = JsonProperty.Access.WRITE_ONLY) private Integer otherPatchCount;
The UTC timestamp when the operation began.
/** * The UTC timestamp when the operation began. */
@JsonProperty(value = "startTime", access = JsonProperty.Access.WRITE_ONLY) private DateTime startTime;
The UTC timestamp when the operation began.
/** * The UTC timestamp when the operation began. */
@JsonProperty(value = "lastModifiedTime", access = JsonProperty.Access.WRITE_ONLY) private DateTime lastModifiedTime;
The errors that were encountered during execution of the operation. The details array contains the list of them.
/** * The errors that were encountered during execution of the operation. The * details array contains the list of them. */
@JsonProperty(value = "error", access = JsonProperty.Access.WRITE_ONLY) private ApiError error;
Get 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.". Possible values include: 'Unknown', 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings'.
Returns:the status value
/** * Get 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.". Possible values include: 'Unknown', 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings'. * * @return the status value */
public PatchOperationStatus status() { return this.status; }
Get the activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
Returns:the assessmentActivityId value
/** * Get the activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. * * @return the assessmentActivityId value */
public String assessmentActivityId() { return this.assessmentActivityId; }
Get 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
/** * Get 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. * * @return the rebootPending value */
public Boolean rebootPending() { return this.rebootPending; }
Get the number of critical or security patches that have been detected as available and not yet installed.
Returns:the criticalAndSecurityPatchCount value
/** * Get the number of critical or security patches that have been detected as available and not yet installed. * * @return the criticalAndSecurityPatchCount value */
public Integer criticalAndSecurityPatchCount() { return this.criticalAndSecurityPatchCount; }
Get the number of all available patches excluding critical and security.
Returns:the otherPatchCount value
/** * Get the number of all available patches excluding critical and security. * * @return the otherPatchCount value */
public Integer otherPatchCount() { return this.otherPatchCount; }
Get the UTC timestamp when the operation began.
Returns:the startTime value
/** * Get the UTC timestamp when the operation began. * * @return the startTime value */
public DateTime startTime() { return this.startTime; }
Get the UTC timestamp when the operation began.
Returns:the lastModifiedTime value
/** * Get the UTC timestamp when the operation began. * * @return the lastModifiedTime value */
public DateTime lastModifiedTime() { return this.lastModifiedTime; }
Get the errors that were encountered during execution of the operation. The details array contains the list of them.
Returns:the error value
/** * Get the errors that were encountered during execution of the operation. The details array contains the list of them. * * @return the error value */
public ApiError error() { return this.error; } }