Detaches an Amazon EBS volume from an instance. For more information about Amazon EBS, go to the Amazon Elastic Compute Cloud Developer Guide. Important - make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to unmount file systems, or otherwise properly release the device from use, can result in lost data and will corrupt the file system.

Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DetachVolumeRequest
Public Class DetachVolumeRequest
public ref class DetachVolumeRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DetachVolumeRequest()()()()
Initializes a new instance of the DetachVolumeRequest class
Device
Gets and sets the Device property. The device name.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Force
Gets and sets the Force property. 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.
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InstanceId
Gets and sets the InstanceId property. The ID of the instance.
IsSetDevice()()()()
Checks if Device property is set
IsSetForce()()()()
Checks if Force property is set
IsSetInstanceId()()()()
Checks if InstanceId property is set
IsSetVolumeId()()()()
Checks if VolumeId property is set
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
VolumeId
Gets and sets the VolumeId property. The ID of the volume.
WithDevice(String)
Sets the Device property
WithForce(Boolean)
Sets the Force property
WithInstanceId(String)
Sets the InstanceId property
WithVolumeId(String)
Sets the VolumeId property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..DetachVolumeRequest

See Also