Class UpgradeOperationHistoryStatus
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.UpgradeOperationHistoryStatus
-
public final class UpgradeOperationHistoryStatus extends Object
Information about the current running state of the overall upgrade.
-
-
Constructor Summary
Constructors Constructor Description UpgradeOperationHistoryStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpgradeStatecode()Get the code property: Code indicating the current status of the upgrade.OffsetDateTimeendTime()Get the endTime property: End time of the upgrade.OffsetDateTimestartTime()Get the startTime property: Start time of the upgrade.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
code
public UpgradeState code()
Get the code property: Code indicating the current status of the upgrade.- Returns:
- the code value.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the upgrade.- Returns:
- the startTime value.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the upgrade.- Returns:
- the endTime value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-