ISolidFireElementCloneVolumeAsync Method (CancellationToken, Int64, String, NullableInt64, NullableInt64, String, NullableInt64, Hashtable, NullableBoolean, NullableBoolean) |
CloneVolume enables you to create a copy of a volume. This method is asynchronous and might take a variable amount of time to complete. The cloning process begins immediately when you make the CloneVolume request and is representative of the state of the volume when the API method is issued. You can use the GetAsyncResult method to determine when the cloning process is complete and the new volume is available for connections. You can use ListSyncJobs to see the progress of creating the clone.
Note: The initial attributes and QoS settings for the volume are inherited from the volume being cloned. You can change these settings with ModifyVolume.
Note: Cloned volumes do not inherit volume access group memberships from the source volume.
Namespace:
SolidFire.Element.Api
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax Task<CloneVolumeResult> CloneVolumeAsync(
CancellationToken cancellationToken,
long VolumeID,
string Name,
Nullable<long> NewAccountID = null,
Nullable<long> NewSize = null,
string Access = null,
Nullable<long> SnapshotID = null,
Hashtable Attributes = null,
Nullable<bool> Enable512e = null,
Nullable<bool> EnableSnapMirrorReplication = null
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
- VolumeID
- Type: SystemInt64
- Name
- Type: SystemString
- NewAccountID (Optional)
- Type: SystemNullableInt64
- NewSize (Optional)
- Type: SystemNullableInt64
- Access (Optional)
- Type: SystemString
- SnapshotID (Optional)
- Type: SystemNullableInt64
- Attributes (Optional)
- Type: System.CollectionsHashtable
- Enable512e (Optional)
- Type: SystemNullableBoolean
- EnableSnapMirrorReplication (Optional)
- Type: SystemNullableBoolean
Return Value
Type:
TaskCloneVolumeResultSee Also