Delen via


ArmComputeModelFactory.RollbackStatusInfo Method

Definition

Initializes a new instance of RollbackStatusInfo.

public static Azure.ResourceManager.Compute.Models.RollbackStatusInfo RollbackStatusInfo (int? successfullyRolledbackInstanceCount = default, int? failedRolledbackInstanceCount = default, Azure.ResourceManager.Compute.Models.ComputeApiError rollbackError = default);
static member RollbackStatusInfo : Nullable<int> * Nullable<int> * Azure.ResourceManager.Compute.Models.ComputeApiError -> Azure.ResourceManager.Compute.Models.RollbackStatusInfo
Public Shared Function RollbackStatusInfo (Optional successfullyRolledbackInstanceCount As Nullable(Of Integer) = Nothing, Optional failedRolledbackInstanceCount As Nullable(Of Integer) = Nothing, Optional rollbackError As ComputeApiError = Nothing) As RollbackStatusInfo

Parameters

successfullyRolledbackInstanceCount
Nullable<Int32>

The number of instances which have been successfully rolled back.

failedRolledbackInstanceCount
Nullable<Int32>

The number of instances which failed to rollback.

rollbackError
ComputeApiError

Error details if OS rollback failed.

Returns

A new RollbackStatusInfo instance for mocking.

Applies to