Attaches an Amazon EBS volume to a running instance and exposes it with the
specified device name.
| C# |
public class AttachVolumeRequest
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| AttachVolumeRequest()()()() | Initializes a new instance of the AttachVolumeRequest class | |
| Device |
The device name as exposed to the instance (e.g., /dev/sdh, or xvdh).
| |
| Equals(Object) | (Inherited from Object.) | |
| 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 to which the volume attaches.
The volume and instance must be within the same Availability Zone
and the instance must be running.
| |
| IsSetDevice()()()() |
Checks if Device 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 Amazon EBS volume.
The volume and instance must be within the same Availability Zone and the
instance must be running.
| |
| WithDevice(String) |
Sets the device name as exposed to the instance (e.g., /dev/sdh, or xvdh).
| |
| WithInstanceId(String) |
Sets the ID of the instance to which the volume attaches.
| |
| WithVolumeId(String) |
Sets the ID of the Amazon EBS volume.
|
Windows instances currently support devices xvda through xvdp. Devices
xvda and xvdb are reserved by the operating system, xvdc is
assigned to drive C:\, and, depending on the instance type, devices xvdd through
xvde might be reserved by the instance stores. Any device that is not
reserved can be attached to an Amazon EBS volume. For a list of
devices that are reserved by the instance stores, go to the Amazon
Elastic Compute Cloud Developer Guide.
| Object | |
| AttachVolumeRequest | |