public sealed class ResourceCommitment : IMessage<ResourceCommitment>, IEquatable<ResourceCommitment>, IDeepCloneable<ResourceCommitment>, IBufferMessage, IMessage
Commitment for a particular resource (a Commitment is composed of one or more of these).
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
[[["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-08 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eResourceCommitment\u003c/code\u003e is 3.6.0, with various prior versions ranging from 3.5.0 down to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResourceCommitment\u003c/code\u003e is a class that represents a commitment for a specific resource, which can be composed of multiple individual resource commitments.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceCommitment\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e 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\u003e\u003ccode\u003eResourceCommitment\u003c/code\u003e has properties such as \u003ccode\u003eAcceleratorType\u003c/code\u003e, \u003ccode\u003eAmount\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, which define the characteristics of the committed resource.\u003c/p\u003e\n"],["\u003cp\u003eThe properties HasAcceleratorType, HasAmount, and HasType are boolean properties that determine if their respective fields have been set.\u003c/p\u003e\n"]]],[],null,[]]