Detach Volume
storagegateway_detach_volume | R Documentation |
Disconnects a volume from an iSCSI connection and then detaches the volume from the specified gateway¶
Description¶
Disconnects a volume from an iSCSI connection and then detaches the volume from the specified gateway. Detaching and attaching a volume enables you to recover your data from one gateway to a different gateway without creating a snapshot. It also makes it easier to move your volumes from an on-premises gateway to a gateway hosted on an Amazon EC2 instance. This operation is only supported in the volume gateway type.
Usage¶
storagegateway_detach_volume(VolumeARN, ForceDetach)
Arguments¶
VolumeARN |
[required] The Amazon Resource Name (ARN) of the volume to detach from the gateway. |
ForceDetach |
Set to Valid Values: |
Value¶
A list with the following syntax:
list(
VolumeARN = "string"
)
Request syntax¶
svc$detach_volume(
VolumeARN = "string",
ForceDetach = TRUE|FALSE
)