public sealed class AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig : IMessage<AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig>, IEquatable<AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig>, IDeepCloneable<AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API class AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig.
MachineConfig describes the configuration of a machine.
[[["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\u003eThe latest version of the \u003ccode\u003eMachineConfig\u003c/code\u003e class for the Database Migration v1 API is 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMachineConfig\u003c/code\u003e is a class that describes the configuration of a machine within the Database Migration v1 API, specifically for AlloyDB settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMachineConfig\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and implements several interfaces, including \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\u003eThe class has a property called \u003ccode\u003eCpuCount\u003c/code\u003e, which is an integer representing the number of CPUs in the VM instance.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eMachineConfig\u003c/code\u003e class available, ranging from version 1.0.0 to the latest 2.5.0, all found in the \u003ccode\u003eGoogle.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig (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.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig) \n\n public sealed class AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig : IMessage\u003cAlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig\u003e, IEquatable\u003cAlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig\u003e, IDeepCloneable\u003cAlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig.\n\nMachineConfig describes the configuration of a machine. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AlloyDbSettings](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings)[Types](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types)[PrimaryInstanceSettings](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings)[Types](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types)[MachineConfig](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AlloyDbSettings](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings)[Types](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types)[PrimaryInstanceSettings](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings)[Types](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types)[MachineConfig](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AlloyDbSettings](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings)[Types](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types)[PrimaryInstanceSettings](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings)[Types](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types)[MachineConfig](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig), [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### MachineConfig()\n\n public MachineConfig()\n\n### MachineConfig(MachineConfig)\n\n public MachineConfig(AlloyDbSettings.Types.PrimaryInstanceSettings.Types.MachineConfig other)\n\nProperties\n----------\n\n### CpuCount\n\n public int CpuCount { get; set; }\n\nThe number of CPU's in the VM instance."]]