RollingUpgradeRunningStatus Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RollingUpgradeRunningStatus
- com.
Implements
public final class RollingUpgradeRunningStatus
implements JsonSerializable<RollingUpgradeRunningStatus>
Information about the current running state of the overall upgrade.
Constructor Summary
Constructor | Description |
---|---|
RollingUpgradeRunningStatus() |
Creates an instance of Rolling |
Method Summary
Modifier and Type | Method and Description |
---|---|
Rolling |
code()
Get the code property: Code indicating the current status of the upgrade. |
static
Rolling |
fromJson(JsonReader jsonReader)
Reads an instance of Rolling |
Rolling |
lastAction()
Get the last |
Offset |
lastActionTime()
Get the last |
Offset |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
RollingUpgradeRunningStatus
public RollingUpgradeRunningStatus()
Creates an instance of RollingUpgradeRunningStatus class.
Method Details
code
public RollingUpgradeStatusCode code()
Get the code property: Code indicating the current status of the upgrade.
Returns:
fromJson
public static RollingUpgradeRunningStatus fromJson(JsonReader jsonReader)
Reads an instance of RollingUpgradeRunningStatus from the JsonReader.
Parameters:
Returns:
Throws:
lastAction
public RollingUpgradeActionType lastAction()
Get the lastAction property: The last action performed on the rolling upgrade.
Returns:
lastActionTime
public OffsetDateTime lastActionTime()
Get the lastActionTime property: Last action time of the upgrade.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the upgrade.
Returns:
toJson
validate
public void validate()
Validates the instance.