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

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

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

Parameters affecting the OS adaptation process.

## Inheritance

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

## Implements

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

### ImageImportOsAdaptationParameters()

    public ImageImportOsAdaptationParameters()

### ImageImportOsAdaptationParameters(ImageImportOsAdaptationParameters)

    public ImageImportOsAdaptationParameters(ImageImportOsAdaptationParameters other)

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

## Properties

### AdaptationModifiers

    public RepeatedField<AdaptationModifier> AdaptationModifiers { get; }

Optional. Modifiers to be used as configuration of the OS adaptation
process.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AdaptationModifier` |   |

### BootConversion

    public BootConversion BootConversion { get; set; }

Optional. By default the image will keep its existing boot option. Setting
this property will trigger an internal process which will convert the
image from using the existing boot option to another.
The size of the boot disk might be increased to allow the conversion

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.BootConversion` |   |

### Generalize

    public bool Generalize { get; set; }

Optional. Set to true in order to generalize the imported image.
The generalization process enables co-existence of multiple VMs created
from the same image.
For Windows, generalizing the image removes computer-specific information
such as installed drivers and the computer security identifier (SID).

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

### LicenseType

    public ComputeEngineLicenseType LicenseType { get; set; }

Optional. Choose which type of license to apply to the imported image.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ComputeEngineLicenseType` |   |