ISolidFireElementCreateSnapshot Method (Int64, NullableInt64, String, NullableBoolean, String, String, Hashtable, String, NullableBoolean) |
CreateSnapshot enables you to create a point-in-time copy of a volume. You can create a snapshot from any volume or from an existing snapshot. If you do not provide a SnapshotID with this API method, a snapshot is created from the volume's active branch.
If the volume from which the snapshot is created is being replicated to a remote cluster, the snapshot can also be replicated to the same target. Use the enableRemoteReplication parameter to enable snapshot replication.
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 CreateSnapshotResult CreateSnapshot(
long VolumeID,
Nullable<long> SnapshotID = null,
string Name = null,
Nullable<bool> EnableRemoteReplication = null,
string ExpirationTime = null,
string Retention = null,
Hashtable Attributes = null,
string SnapMirrorLabel = null,
Nullable<bool> EnsureSerialCreation = null
)
Parameters
- VolumeID
- Type: SystemInt64
- SnapshotID (Optional)
- Type: SystemNullableInt64
- Name (Optional)
- Type: SystemString
- EnableRemoteReplication (Optional)
- Type: SystemNullableBoolean
- ExpirationTime (Optional)
- Type: SystemString
- Retention (Optional)
- Type: SystemString
- Attributes (Optional)
- Type: System.CollectionsHashtable
- SnapMirrorLabel (Optional)
- Type: SystemString
- EnsureSerialCreation (Optional)
- Type: SystemNullableBoolean
Return Value
Type:
CreateSnapshotResultSee Also