RollbackStatusInfo Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RollbackStatusInfo
- com.
Implements
public final class RollbackStatusInfo
implements JsonSerializable<RollbackStatusInfo>
Information about rollback on failed VM instances after a OS Upgrade operation.
Constructor Summary
Constructor | Description |
---|---|
RollbackStatusInfo() |
Creates an instance of Rollback |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
failedRolledbackInstanceCount()
Get the failed |
static
Rollback |
fromJson(JsonReader jsonReader)
Reads an instance of Rollback |
Api |
rollbackError()
Get the rollback |
Integer |
successfullyRolledbackInstanceCount()
Get the successfully |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
RollbackStatusInfo
public RollbackStatusInfo()
Creates an instance of RollbackStatusInfo class.
Method Details
failedRolledbackInstanceCount
public Integer failedRolledbackInstanceCount()
Get the failedRolledbackInstanceCount property: The number of instances which failed to rollback.
Returns:
fromJson
public static RollbackStatusInfo fromJson(JsonReader jsonReader)
Reads an instance of RollbackStatusInfo from the JsonReader.
Parameters:
Returns:
Throws:
rollbackError
public ApiError rollbackError()
Get the rollbackError property: Error details if OS rollback failed.
Returns:
successfullyRolledbackInstanceCount
public Integer successfullyRolledbackInstanceCount()
Get the successfullyRolledbackInstanceCount property: The number of instances which have been successfully rolled back.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java