RollingUpgradeProgressInfo Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RollingUpgradeProgressInfo
- com.
Implements
public final class RollingUpgradeProgressInfo
implements JsonSerializable<RollingUpgradeProgressInfo>
Information about the number of virtual machine instances in each upgrade state.
Constructor Summary
Constructor | Description |
---|---|
RollingUpgradeProgressInfo() |
Creates an instance of Rolling |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
failedInstanceCount()
Get the failed |
static
Rolling |
fromJson(JsonReader jsonReader)
Reads an instance of Rolling |
Integer |
inProgressInstanceCount()
Get the in |
Integer |
pendingInstanceCount()
Get the pending |
Integer |
successfulInstanceCount()
Get the successful |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
RollingUpgradeProgressInfo
public RollingUpgradeProgressInfo()
Creates an instance of RollingUpgradeProgressInfo class.
Method Details
failedInstanceCount
public Integer failedInstanceCount()
Get the failedInstanceCount property: The number of instances that have failed to be upgraded successfully.
Returns:
fromJson
public static RollingUpgradeProgressInfo fromJson(JsonReader jsonReader)
Reads an instance of RollingUpgradeProgressInfo from the JsonReader.
Parameters:
Returns:
Throws:
inProgressInstanceCount
public Integer inProgressInstanceCount()
Get the inProgressInstanceCount property: The number of instances that are currently being upgraded.
Returns:
pendingInstanceCount
public Integer pendingInstanceCount()
Get the pendingInstanceCount property: The number of instances that have not yet begun to be upgraded.
Returns:
successfulInstanceCount
public Integer successfulInstanceCount()
Get the successfulInstanceCount property: The number of instances that have been successfully upgraded.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java