Click or drag to resize

CloneVolumeRequest Class

CloneVolumeRequest 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.
Inheritance Hierarchy
SystemObject
  SolidFire.CoreRpcBase
    SolidFire.Element.ApiCloneVolumeRequest

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public class CloneVolumeRequest : RpcBase

The CloneVolumeRequest type exposes the following members.

Constructors
  NameDescription
Public methodCloneVolumeRequest
Initializes a new instance of the CloneVolumeRequest class
Top
Properties
  NameDescription
Public propertyAccess
Specifies the level of access allowed for the new volume. If unspecified, the level of access of the volume being cloned is used. If replicationTarget is is passed and the volume is not paired, the access gets set to locked.
Public propertyAttributes
List of name-value pairs in JSON object format.
Public propertyEnable512e
Specifies whether the new volume should use 512-byte sector emulation. If unspecified, the setting of the volume being cloned is used.
Public propertyEnableSnapMirrorReplication
Specifies whether SnapMirror replication is enabled or not. Defaults to false.
Public propertyName
The name of the new cloned volume. Must be 1 to 64 characters in length.
Public propertyNewAccountID
AccountID for the owner of the new volume. If unspecified, the accountID of the owner of the volume being cloned is used.
Public propertyNewSize
New size of the volume, in bytes. Must be greater or less than the size of the volume being cloned. If unspecified, the volume size is not changed. Size is rounded to the nearest 1MB.
Public propertySnapshotID
ID of the snapshot that is used as the source of the clone. If no ID is provided, the current active volume is used.
Public propertyVolumeID
VolumeID for the volume to be cloned.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Builds a json-enabled string of all the properties and their values in this class.
(Inherited from RpcBase.)
Top
See Also