UpgradeOperationHistoricalStatusInfoProperties Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. UpgradeOperationHistoricalStatusInfoProperties
- com.
Implements
public final class UpgradeOperationHistoricalStatusInfoProperties
implements JsonSerializable<UpgradeOperationHistoricalStatusInfoProperties>
Describes each OS upgrade on the Virtual Machine Scale Set.
Constructor Summary
Constructor | Description |
---|---|
UpgradeOperationHistoricalStatusInfoProperties() |
Creates an instance of Upgrade |
Method Summary
Modifier and Type | Method and Description |
---|---|
Api |
error()
Get the error property: Error Details for this upgrade if there are any. |
static
Upgrade |
fromJson(JsonReader jsonReader)
Reads an instance of Upgrade |
Rolling |
progress()
Get the progress property: Counts of the VMs in each state. |
Rollback |
rollbackInfo()
Get the rollback |
Upgrade |
runningStatus()
Get the running |
Upgrade |
startedBy()
Get the started |
Image |
targetImageReference()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
UpgradeOperationHistoricalStatusInfoProperties
public UpgradeOperationHistoricalStatusInfoProperties()
Creates an instance of UpgradeOperationHistoricalStatusInfoProperties class.
Method Details
error
public ApiError error()
Get the error property: Error Details for this upgrade if there are any.
Returns:
fromJson
public static UpgradeOperationHistoricalStatusInfoProperties fromJson(JsonReader jsonReader)
Reads an instance of UpgradeOperationHistoricalStatusInfoProperties from the JsonReader.
Parameters:
Returns:
Throws:
progress
public RollingUpgradeProgressInfo progress()
Get the progress property: Counts of the VMs in each state.
Returns:
rollbackInfo
public RollbackStatusInfo rollbackInfo()
Get the rollbackInfo property: Information about OS rollback if performed.
Returns:
runningStatus
public UpgradeOperationHistoryStatus runningStatus()
Get the runningStatus property: Information about the overall status of the upgrade operation.
Returns:
startedBy
public UpgradeOperationInvoker startedBy()
Get the startedBy property: Invoker of the Upgrade Operation.
Returns:
targetImageReference
public ImageReference targetImageReference()
Get the targetImageReference property: Image Reference details.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java