Partager via


UpgradeOperationHistoricalStatusInfoProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.UpgradeOperationHistoricalStatusInfoProperties

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 UpgradeOperationHistoricalStatusInfoProperties class.

Method Summary

Modifier and Type Method and Description
ApiError error()

Get the error property: Error Details for this upgrade if there are any.

static UpgradeOperationHistoricalStatusInfoProperties fromJson(JsonReader jsonReader)

Reads an instance of UpgradeOperationHistoricalStatusInfoProperties from the JsonReader.

RollingUpgradeProgressInfo progress()

Get the progress property: Counts of the VMs in each state.

RollbackStatusInfo rollbackInfo()

Get the rollbackInfo property: Information about OS rollback if performed.

UpgradeOperationHistoryStatus runningStatus()

Get the runningStatus property: Information about the overall status of the upgrade operation.

UpgradeOperationInvoker startedBy()

Get the startedBy property: Invoker of the Upgrade Operation.

ImageReference targetImageReference()

Get the targetImageReference property: Image Reference details.

JsonWriter 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:

the error value.

fromJson

public static UpgradeOperationHistoricalStatusInfoProperties fromJson(JsonReader jsonReader)

Reads an instance of UpgradeOperationHistoricalStatusInfoProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UpgradeOperationHistoricalStatusInfoProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the UpgradeOperationHistoricalStatusInfoProperties.

progress

public RollingUpgradeProgressInfo progress()

Get the progress property: Counts of the VMs in each state.

Returns:

the progress value.

rollbackInfo

public RollbackStatusInfo rollbackInfo()

Get the rollbackInfo property: Information about OS rollback if performed.

Returns:

the rollbackInfo value.

runningStatus

public UpgradeOperationHistoryStatus runningStatus()

Get the runningStatus property: Information about the overall status of the upgrade operation.

Returns:

the runningStatus value.

startedBy

public UpgradeOperationInvoker startedBy()

Get the startedBy property: Invoker of the Upgrade Operation.

Returns:

the startedBy value.

targetImageReference

public ImageReference targetImageReference()

Get the targetImageReference property: Image Reference details.

Returns:

the targetImageReference value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to