AttachVolumeRequest Class

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

Attach a previously created volume to a running instance.

Inheritance Hierarchy

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

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

Syntax

C#
public class AttachVolumeRequest : AmazonWebServiceRequest
         IRequestEvents

The AttachVolumeRequest type exposes the following members

Constructors

  Name Description
Public Method AttachVolumeRequest()

Properties

  Name Description
Public Property Device Specifies how the device is exposed to the instance (e.g., /dev/sdh).
Public Property 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.
Public Property 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.

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