SolidFireElementListVolumesAsync Method (CancellationToken, NullableInt64, NullableInt64, String, Int64, NullableBoolean, Int64, String, NullableBoolean, String) |
The ListVolumes method enables you to retrieve a list of volumes that are in a cluster. You can specify the volumes you want to
return in the list by using the available parameters.
Namespace:
SolidFire.Element.Api
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax public Task<ListVolumesResult> ListVolumesAsync(
CancellationToken cancellationToken,
Nullable<long> StartVolumeID = null,
Nullable<long> Limit = null,
string VolumeStatus = null,
long[] Accounts = null,
Nullable<bool> IsPaired = null,
long[] VolumeIDs = null,
string VolumeName = null,
Nullable<bool> IncludeVirtualVolumes = null,
string[] ProtectionSchemes = null
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
- StartVolumeID (Optional)
- Type: SystemNullableInt64
- Limit (Optional)
- Type: SystemNullableInt64
- VolumeStatus (Optional)
- Type: SystemString
- Accounts (Optional)
- Type: SystemInt64
- IsPaired (Optional)
- Type: SystemNullableBoolean
- VolumeIDs (Optional)
- Type: SystemInt64
- VolumeName (Optional)
- Type: SystemString
- IncludeVirtualVolumes (Optional)
- Type: SystemNullableBoolean
- ProtectionSchemes (Optional)
- Type: SystemString
Return Value
Type:
TaskListVolumesResultImplements
ISolidFireElementListVolumesAsync(CancellationToken, NullableInt64, NullableInt64, String, Int64, NullableBoolean, Int64, String, NullableBoolean, String)See Also