ArmComputeModelFactory.UpgradeOperationHistoricalStatusInfoProperties Method

Definition

Initializes a new instance of UpgradeOperationHistoricalStatusInfoProperties.

public static Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfoProperties UpgradeOperationHistoricalStatusInfoProperties (Azure.ResourceManager.Compute.Models.UpgradeOperationHistoryStatus runningStatus = default, Azure.ResourceManager.Compute.Models.RollingUpgradeProgressInfo progress = default, Azure.ResourceManager.Compute.Models.ComputeApiError error = default, Azure.ResourceManager.Compute.Models.UpgradeOperationInvoker? startedBy = default, Azure.ResourceManager.Compute.Models.ImageReference targetImageReference = default, Azure.ResourceManager.Compute.Models.RollbackStatusInfo rollbackInfo = default);
static member UpgradeOperationHistoricalStatusInfoProperties : Azure.ResourceManager.Compute.Models.UpgradeOperationHistoryStatus * Azure.ResourceManager.Compute.Models.RollingUpgradeProgressInfo * Azure.ResourceManager.Compute.Models.ComputeApiError * Nullable<Azure.ResourceManager.Compute.Models.UpgradeOperationInvoker> * Azure.ResourceManager.Compute.Models.ImageReference * Azure.ResourceManager.Compute.Models.RollbackStatusInfo -> Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfoProperties
Public Shared Function UpgradeOperationHistoricalStatusInfoProperties (Optional runningStatus As UpgradeOperationHistoryStatus = Nothing, Optional progress As RollingUpgradeProgressInfo = Nothing, Optional error As ComputeApiError = Nothing, Optional startedBy As Nullable(Of UpgradeOperationInvoker) = Nothing, Optional targetImageReference As ImageReference = Nothing, Optional rollbackInfo As RollbackStatusInfo = Nothing) As UpgradeOperationHistoricalStatusInfoProperties

Parameters

runningStatus
UpgradeOperationHistoryStatus

Information about the overall status of the upgrade operation.

progress
RollingUpgradeProgressInfo

Counts of the VMs in each state.

error
ComputeApiError

Error Details for this upgrade if there are any.

startedBy
Nullable<UpgradeOperationInvoker>

Invoker of the Upgrade Operation.

targetImageReference
ImageReference

Image Reference details.

rollbackInfo
RollbackStatusInfo

Information about OS rollback if performed.

Returns

A new UpgradeOperationHistoricalStatusInfoProperties instance for mocking.

Applies to