# VM Migration v1 API - Class AwsSourceVmDetails.Types.AwsDiskDetails (2.9.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.9.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.8.0/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.7.0/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.6.0/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.5.0/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.4.0/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.3.0/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.2.0/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.1.0/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.0.0/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/1.0.0/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails)

    public sealed class AwsSourceVmDetails.Types.AwsDiskDetails : IMessage<AwsSourceVmDetails.Types.AwsDiskDetails>, IEquatable<AwsSourceVmDetails.Types.AwsDiskDetails>, IDeepCloneable<AwsSourceVmDetails.Types.AwsDiskDetails>, IBufferMessage, IMessage

Reference documentation and code samples for the VM Migration v1 API class AwsSourceVmDetails.Types.AwsDiskDetails.

The details of an AWS instance disk.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AwsSourceVmDetails.Types.AwsDiskDetails

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AwsSourceVmDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types)[AwsDiskDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AwsSourceVmDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types)[AwsDiskDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AwsSourceVmDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types)[AwsDiskDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VMMigration.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1)

## Assembly

Google.Cloud.VMMigration.V1.dll

## Constructors

### AwsDiskDetails()

    public AwsDiskDetails()

### AwsDiskDetails(AwsDiskDetails)

    public AwsDiskDetails(AwsSourceVmDetails.Types.AwsDiskDetails other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceVmDetails.Types.AwsDiskDetails` |

## Properties

### DiskNumber

    public int DiskNumber { get; set; }

Output only. The ordinal number of the disk.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### SizeGb

    public long SizeGb { get; set; }

Output only. Size in GB.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### VolumeId

    public string VolumeId { get; set; }

Output only. AWS volume ID.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |