AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DetachVolume operation. 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.
Namespace: Amazon.StorageGateway.Model
Assembly: AWSSDK.StorageGateway.dll
Version: 3.x.y.z
public class DetachVolumeRequest : AmazonStorageGatewayRequest IAmazonWebServiceRequest
The DetachVolumeRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DetachVolumeRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ForceDetach | System.Boolean |
Gets and sets the property ForceDetach.
Set to
Valid Values: |
![]() |
VolumeARN | System.String |
Gets and sets the property VolumeARN. The Amazon Resource Name (ARN) of the volume to detach from the gateway. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5