[[["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\u003eInstanceQuota\u003c/code\u003e API class is 1.7.0, within the Google.Cloud.BareMetalSolution.V2 namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInstanceQuota\u003c/code\u003e is a resource budget that can be used in the Bare Metal Solution v2 API, and it includes properties like \u003ccode\u003eAvailableMachineCount\u003c/code\u003e, \u003ccode\u003eGcpService\u003c/code\u003e, \u003ccode\u003eInstanceQuotaName\u003c/code\u003e, \u003ccode\u003eLocation\u003c/code\u003e, and \u003ccode\u003eName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstanceType\u003c/code\u003e property is marked as obsolete, and it is recommended to use \u003ccode\u003egcp_service\u003c/code\u003e instead.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInstanceQuota\u003c/code\u003e class implements IMessage, IEquatable, IDeepCloneable, IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors that can be used for \u003ccode\u003eInstanceQuota\u003c/code\u003e: InstanceQuota() and InstanceQuota(InstanceQuota).\u003c/p\u003e\n"]]],[],null,["# Bare Metal Solution v2 API - Class InstanceQuota (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InstanceQuota)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.6.0/Google.Cloud.BareMetalSolution.V2.InstanceQuota)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.5.0/Google.Cloud.BareMetalSolution.V2.InstanceQuota)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.4.0/Google.Cloud.BareMetalSolution.V2.InstanceQuota)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.3.0/Google.Cloud.BareMetalSolution.V2.InstanceQuota)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.2.0/Google.Cloud.BareMetalSolution.V2.InstanceQuota)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.1.0/Google.Cloud.BareMetalSolution.V2.InstanceQuota)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.0.0/Google.Cloud.BareMetalSolution.V2.InstanceQuota) \n\n public sealed class InstanceQuota : IMessage\u003cInstanceQuota\u003e, IEquatable\u003cInstanceQuota\u003e, IDeepCloneable\u003cInstanceQuota\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Bare Metal Solution v2 API class InstanceQuota.\n\nA resource budget. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e InstanceQuota \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[InstanceQuota](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InstanceQuota), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[InstanceQuota](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InstanceQuota), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[InstanceQuota](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InstanceQuota), [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.BareMetalSolution.V2](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.BareMetalSolution.V2.dll\n\nConstructors\n------------\n\n### InstanceQuota()\n\n public InstanceQuota()\n\n### InstanceQuota(InstanceQuota)\n\n public InstanceQuota(InstanceQuota other)\n\nProperties\n----------\n\n### AvailableMachineCount\n\n public int AvailableMachineCount { get; set; }\n\nNumber of machines than can be created for the given location and\ninstance_type.\n\n### GcpService\n\n public string GcpService { get; set; }\n\nThe gcp service of the provisioning quota.\n\n### InstanceQuotaName\n\n public InstanceQuotaName InstanceQuotaName { get; set; }\n\n[InstanceQuotaName](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InstanceQuotaName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InstanceQuota#Google_Cloud_BareMetalSolution_V2_InstanceQuota_Name) resource name property.\n\n### InstanceType\n\n [Obsolete]\n public string InstanceType { get; set; }\n\nInstance type.\nDeprecated: use gcp_service.\n\n### Location\n\n public string Location { get; set; }\n\nLocation where the quota applies.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The name of the instance quota."]]