SolidFireElementDeleteVolumesAsync Method (CancellationToken, Int64, Int64, Int64) |
DeleteVolumes marks multiple (up to 500) active volumes for deletion.
Once marked, the volumes are purged (permanently deleted) after the cleanup interval elapses.
The cleanup interval can be set in the SetClusterSettings method.
For more information on using this method, see SetClusterSettings on page 1.
After making a request to delete volumes, any active iSCSI connections to the volumes are immediately terminated
and no further connections are allowed while the volumes are in this state.
A marked volume is not returned in target discovery requests.
Any snapshots of a volume that has been marked for deletion are not affected.
Snapshots are kept until the volume is purged from the system.
If a volume is marked for deletion and has a bulk volume read or bulk volume write operation in progress,
the bulk volume read or write operation is stopped.
If the volumes you delete are paired with a volume, replication between the paired volumes is suspended
and no data is transferred to them or from them while in a deleted state.
The remote volumes the deleted volumes were paired with enter into a PausedMisconfigured state
and data is no longer sent to them or from the deleted volumes.
Until the deleted volumes are purged, they can be restored and data transfers resume.
If the deleted volumes are purged from the system, the volumes they were paired with enter into a
StoppedMisconfigured state and the volume pairing status is removed.
The purged volumes become permanently unavailable.
Namespace:
SolidFire.Element.Api
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax public Task<DeleteVolumesResult> DeleteVolumesAsync(
CancellationToken cancellationToken,
long[] AccountIDs = null,
long[] VolumeAccessGroupIDs = null,
long[] VolumeIDs = null
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
- AccountIDs (Optional)
- Type: SystemInt64
- VolumeAccessGroupIDs (Optional)
- Type: SystemInt64
- VolumeIDs (Optional)
- Type: SystemInt64
Return Value
Type:
TaskDeleteVolumesResultImplements
ISolidFireElementDeleteVolumesAsync(CancellationToken, Int64, Int64, Int64)See Also