The BlockDeviceMapping data type.
| C# |
public class BlockDeviceMapping
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | ||
|---|---|---|---|---|
| BlockDeviceMapping()()()() | Initializes a new instance of the BlockDeviceMapping class | |||
| DeviceName |
The name of the device within Amazon EC2 (for example, /dev/sdh or xvdh).
Constraints: | |||
| Ebs |
The Elastic Block Storage volume information.
| |||
| 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.) | |||
| NoDevice |
Suppresses the device mapping.
| |||
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |||
| VirtualName |
The virtual name associated with the device.
Constraints: | |||
| WithDeviceName(String) | Obsolete.
Sets the DeviceName property
| |||
| WithEbs(Ebs) | Obsolete.
Sets the Ebs property
| |||
| WithNoDevice(Boolean) | Obsolete.
Sets the NoDevice property
| |||
| WithVirtualName(String) | Obsolete.
Sets the VirtualName property
|
| Object | |
| BlockDeviceMapping | |