UpgradeOperationHistoryStatus Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. UpgradeOperationHistoryStatus
- com.
Implements
public final class UpgradeOperationHistoryStatus
implements JsonSerializable<UpgradeOperationHistoryStatus>
Information about the current running state of the overall upgrade.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Upgrade |
code()
Get the code property: Code indicating the current status of the upgrade. |
|
Offset |
endTime()
Get the end |
|
static
Upgrade |
fromJson(JsonReader jsonReader)
Reads an instance of Upgrade |
|
Offset |
startTime()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
code
public UpgradeState code()
Get the code property: Code indicating the current status of the upgrade.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the upgrade.
Returns:
fromJson
public static UpgradeOperationHistoryStatus fromJson(JsonReader jsonReader)
Reads an instance of UpgradeOperationHistoryStatus from the JsonReader.
Parameters:
Returns:
Throws:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the upgrade.
Returns:
toJson
validate
public void validate()
Validates the instance.