DetachVolumeRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the DetachVolume operation.

Detach a previously attached volume from a running instance.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.Model.DetachVolumeRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class DetachVolumeRequest : AmazonWebServiceRequest
         IRequestEvents

The DetachVolumeRequest type exposes the following members

Constructors

  Name Description
Public Method DetachVolumeRequest()

Properties

  Name Description
Public Property Device The device name to which the volume is attached on the specified instance.
Public Property Force Forces detachment if the previous detachment attempt did not occur cleanly (logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance will not have an opportunity to flush file system caches nor file system meta data. If you use this option, you must perform file system check and repair procedures.
Public Property InstanceId The ID of the instance from which to detach the the specified volume.
Public Property VolumeId The ID of the volume to detach.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8