Detaches an Amazon EBS volume from an instance.
Declaration Syntax
C# |
public class DetachVolumeRequest : EC2Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
DetachVolumeRequest()()()() | Initializes a new instance of the DetachVolumeRequest class | |
Device |
The device name.
| |
Equals(Object) | (Inherited from Object.) | |
Force |
Whether to force detachment.
| |
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 |
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 |
The ID of the volume.
| |
WithDevice(String) | Obsolete.
Sets the device name.
| |
WithForce(Boolean) | Obsolete.
Sets whether to force detachment.
| |
WithInstanceId(String) | Obsolete.
Sets the ID of the instance.
| |
WithVolumeId(String) | Obsolete.
Sets the ID of the volume.
|
Remarks
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.
Inheritance Hierarchy
Object | ||
EC2Request | ||
DetachVolumeRequest |