# VM Migration v1 API - Class DataDiskImageImport (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.DataDiskImageImport)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.8.0/Google.Cloud.VMMigration.V1.DataDiskImageImport)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.7.0/Google.Cloud.VMMigration.V1.DataDiskImageImport)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.6.0/Google.Cloud.VMMigration.V1.DataDiskImageImport)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.5.0/Google.Cloud.VMMigration.V1.DataDiskImageImport)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.4.0/Google.Cloud.VMMigration.V1.DataDiskImageImport)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.3.0/Google.Cloud.VMMigration.V1.DataDiskImageImport)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.2.0/Google.Cloud.VMMigration.V1.DataDiskImageImport)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.1.0/Google.Cloud.VMMigration.V1.DataDiskImageImport)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.0.0/Google.Cloud.VMMigration.V1.DataDiskImageImport)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/1.0.0/Google.Cloud.VMMigration.V1.DataDiskImageImport)

    public sealed class DataDiskImageImport : IMessage<DataDiskImageImport>, IEquatable<DataDiskImageImport>, IDeepCloneable<DataDiskImageImport>, IBufferMessage, IMessage

Reference documentation and code samples for the VM Migration v1 API class DataDiskImageImport.

Used when the image import is not using OS adaptation process.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataDiskImageImport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DataDiskImageImport), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataDiskImageImport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DataDiskImageImport), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataDiskImageImport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DataDiskImageImport), [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

### DataDiskImageImport()

    public DataDiskImageImport()

### DataDiskImageImport(DataDiskImageImport)

    public DataDiskImageImport(DataDiskImageImport other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DataDiskImageImport` |

## Properties

### GuestOsFeatures

    public RepeatedField<string> GuestOsFeatures { get; }

Optional. A list of guest OS features to apply to the imported image. These
features are flags that are used by Compute Engine to enable certain
capabilities for virtual machine instances that are created from the image.

This field does not change the OS of the image; it only marks the image
with the specified features. The user must ensure that the OS is
compatible with the features.

For a list of available features, see
<https://cloud.google.com/compute/docs/images/create-custom#guest-os-features>.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |