Click or drag to resize

SolidFireElementRollbackToSnapshotAsync Method (RollbackToSnapshotRequest, CancellationToken)

RollbackToSnapshot enables you to make an existing snapshot of the "active" volume image. This method creates a new snapshot from an existing snapshot. The new snapshot becomes "active" and the existing snapshot is preserved until you delete it. The previously "active" snapshot is deleted unless you set the parameter saveCurrentState to true. Note: Creating a snapshot is allowed if cluster fullness is at stage 2 or 3. Snapshots are not created when cluster fullness is at stage 4 or 5.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public Task<RollbackToSnapshotResult> RollbackToSnapshotAsync(
	RollbackToSnapshotRequest obj,
	CancellationToken cancellationToken
)

Parameters

obj
Type: SolidFire.Element.ApiRollbackToSnapshotRequest
cancellationToken
Type: System.ThreadingCancellationToken

Return Value

Type: TaskRollbackToSnapshotResult

Implements

ISolidFireElementRollbackToSnapshotAsync(RollbackToSnapshotRequest, CancellationToken)
See Also