[Output Only] Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eFixedOrPercent\u003c/code\u003e class in the Google.Cloud.Compute.V1 API is 3.6.0, with numerous previous versions ranging from 1.0.0 to 3.5.0 available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFixedOrPercent\u003c/code\u003e class encapsulates a numeric value that can represent either an absolute value or a relative percentage within the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class can specify a fixed number of VM instances using the \u003ccode\u003eFixed\u003c/code\u003e property or a percentage of instances using the \u003ccode\u003ePercent\u003c/code\u003e property, which must be a positive integer and a value between 0 and 100, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCalculated\u003c/code\u003e property provides an output-only value of the absolute number of VM instances, which is determined by whether the value is fixed, or a percentage of the target size.\u003c/p\u003e\n"],["\u003cp\u003eThere are inherited members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e, and this class implements \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"]]],[],null,[]]