AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes an instance's Amazon EBS volume.

Inheritance Hierarchy

System.Object
  Amazon.OpsWorks.Model.Volume

Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.OpsWorks.dll
Version: 3.x.y.z

Syntax

C#
public class Volume

The Volume type exposes the following members

Constructors

NameDescription
Public Method Volume()

Properties

NameTypeDescription
Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The volume Availability Zone. For more information, see Regions and Endpoints.

Public Property Device System.String

Gets and sets the property Device.

The device name.

Public Property Ec2VolumeId System.String

Gets and sets the property Ec2VolumeId.

The Amazon EC2 volume ID.

Public Property Encrypted System.Boolean

Gets and sets the property Encrypted.

Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The instance ID.

Public Property Iops System.Int32

Gets and sets the property Iops.

For PIOPS volumes, the IOPS per disk.

Public Property MountPoint System.String

Gets and sets the property MountPoint.

The volume mount point. For example, "/mnt/disk1".

Public Property Name System.String

Gets and sets the property Name.

The volume name.

Public Property RaidArrayId System.String

Gets and sets the property RaidArrayId.

The RAID array ID.

Public Property Region System.String

Gets and sets the property Region.

The AWS region. For more information about AWS regions, see Regions and Endpoints.

Public Property Size System.Int32

Gets and sets the property Size.

The volume size.

Public Property Status System.String

Gets and sets the property Status.

The value returned by DescribeVolumes.

Public Property VolumeId System.String

Gets and sets the property VolumeId.

The volume ID.

Public Property VolumeType System.String

Gets and sets the property VolumeType.

The volume type. For more information, see Amazon EBS Volume Types.

  • standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB.

  • io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB.

  • gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB.

  • st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

  • sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms