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 com.fasterxml.jackson.annotation.JsonProperty;
Information about the number of virtual machine instances in each upgrade
state.
/**
* Information about the number of virtual machine instances in each upgrade
* state.
*/
public class RollingUpgradeProgressInfo {
The number of instances that have been successfully upgraded.
/**
* The number of instances that have been successfully upgraded.
*/
@JsonProperty(value = "successfulInstanceCount", access = JsonProperty.Access.WRITE_ONLY)
private Integer successfulInstanceCount;
The number of instances that have failed to be upgraded successfully.
/**
* The number of instances that have failed to be upgraded successfully.
*/
@JsonProperty(value = "failedInstanceCount", access = JsonProperty.Access.WRITE_ONLY)
private Integer failedInstanceCount;
The number of instances that are currently being upgraded.
/**
* The number of instances that are currently being upgraded.
*/
@JsonProperty(value = "inProgressInstanceCount", access = JsonProperty.Access.WRITE_ONLY)
private Integer inProgressInstanceCount;
The number of instances that have not yet begun to be upgraded.
/**
* The number of instances that have not yet begun to be upgraded.
*/
@JsonProperty(value = "pendingInstanceCount", access = JsonProperty.Access.WRITE_ONLY)
private Integer pendingInstanceCount;
Get the number of instances that have been successfully upgraded.
Returns: the successfulInstanceCount value
/**
* Get the number of instances that have been successfully upgraded.
*
* @return the successfulInstanceCount value
*/
public Integer successfulInstanceCount() {
return this.successfulInstanceCount;
}
Get the number of instances that have failed to be upgraded successfully.
Returns: the failedInstanceCount value
/**
* Get the number of instances that have failed to be upgraded successfully.
*
* @return the failedInstanceCount value
*/
public Integer failedInstanceCount() {
return this.failedInstanceCount;
}
Get the number of instances that are currently being upgraded.
Returns: the inProgressInstanceCount value
/**
* Get the number of instances that are currently being upgraded.
*
* @return the inProgressInstanceCount value
*/
public Integer inProgressInstanceCount() {
return this.inProgressInstanceCount;
}
Get the number of instances that have not yet begun to be upgraded.
Returns: the pendingInstanceCount value
/**
* Get the number of instances that have not yet begun to be upgraded.
*
* @return the pendingInstanceCount value
*/
public Integer pendingInstanceCount() {
return this.pendingInstanceCount;
}
}