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;
Information about the current running state of the overall upgrade.
/** * Information about the current running state of the overall upgrade. */
public class RollingUpgradeRunningStatus {
Code indicating the current status of the upgrade. Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted'.
/** * Code indicating the current status of the upgrade. Possible values * include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted'. */
@JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) private RollingUpgradeStatusCode code;
Start time of the upgrade.
/** * Start time of the upgrade. */
@JsonProperty(value = "startTime", access = JsonProperty.Access.WRITE_ONLY) private DateTime startTime;
The last action performed on the rolling upgrade. Possible values include: 'Start', 'Cancel'.
/** * The last action performed on the rolling upgrade. Possible values * include: 'Start', 'Cancel'. */
@JsonProperty(value = "lastAction", access = JsonProperty.Access.WRITE_ONLY) private RollingUpgradeActionType lastAction;
Last action time of the upgrade.
/** * Last action time of the upgrade. */
@JsonProperty(value = "lastActionTime", access = JsonProperty.Access.WRITE_ONLY) private DateTime lastActionTime;
Get code indicating the current status of the upgrade. Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted'.
Returns:the code value
/** * Get code indicating the current status of the upgrade. Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted'. * * @return the code value */
public RollingUpgradeStatusCode code() { return this.code; }
Get start time of the upgrade.
Returns:the startTime value
/** * Get start time of the upgrade. * * @return the startTime value */
public DateTime startTime() { return this.startTime; }
Get the last action performed on the rolling upgrade. Possible values include: 'Start', 'Cancel'.
Returns:the lastAction value
/** * Get the last action performed on the rolling upgrade. Possible values include: 'Start', 'Cancel'. * * @return the lastAction value */
public RollingUpgradeActionType lastAction() { return this.lastAction; }
Get last action time of the upgrade.
Returns:the lastActionTime value
/** * Get last action time of the upgrade. * * @return the lastActionTime value */
public DateTime lastActionTime() { return this.lastActionTime; } }