public sealed class VmCreationConfig : IMessage<VmCreationConfig>, IEquatable<VmCreationConfig>, IDeepCloneable<VmCreationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API class VmCreationConfig.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eVmCreationConfig\u003c/code\u003e class within the Google Cloud Database Migration v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eVmCreationConfig\u003c/code\u003e class is 2.5.0, with several previous versions also available for reference, ranging back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVmCreationConfig\u003c/code\u003e is a class used to configure VM creation and it implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eVmCreationConfig\u003c/code\u003e include \u003ccode\u003eSubnet\u003c/code\u003e, \u003ccode\u003eVmMachineType\u003c/code\u003e, and \u003ccode\u003eVmZone\u003c/code\u003e, which specify the subnet, machine type, and zone for the VM, respectively, all of which are of string type.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes a constructor that allows the creation of a new \u003ccode\u003eVmCreationConfig\u003c/code\u003e using another one as a template.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class VmCreationConfig (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.VmCreationConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.VmCreationConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.VmCreationConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.VmCreationConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.VmCreationConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.VmCreationConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.VmCreationConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.VmCreationConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.VmCreationConfig) \n\n public sealed class VmCreationConfig : IMessage\u003cVmCreationConfig\u003e, IEquatable\u003cVmCreationConfig\u003e, IDeepCloneable\u003cVmCreationConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class VmCreationConfig.\n\nVM creation configuration message \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e VmCreationConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[VmCreationConfig](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.VmCreationConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[VmCreationConfig](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.VmCreationConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[VmCreationConfig](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.VmCreationConfig), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudDms.V1](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudDms.V1.dll\n\nConstructors\n------------\n\n### VmCreationConfig()\n\n public VmCreationConfig()\n\n### VmCreationConfig(VmCreationConfig)\n\n public VmCreationConfig(VmCreationConfig other)\n\nProperties\n----------\n\n### Subnet\n\n public string Subnet { get; set; }\n\nThe subnet name the vm needs to be created in.\n\n### VmMachineType\n\n public string VmMachineType { get; set; }\n\nRequired. VM instance machine type to create.\n\n### VmZone\n\n public string VmZone { get; set; }\n\nThe Google Cloud Platform zone to create the VM in."]]