public sealed class ReservationAffinity : IMessage<ReservationAffinity>, IEquatable<ReservationAffinity>, IDeepCloneable<ReservationAffinity>, IBufferMessage, IMessage
ReservationAffinity
is the configuration of desired reservation which instances could take
capacity from.
Corresponds to the label key of a reservation resource. To target a
SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
the key and specify the name of your reservation as its value.
[[["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-03-21 UTC."],[[["The `ReservationAffinity` class, found in the `Google.Cloud.Container.V1` namespace, configures how instances consume capacity from reservations, with version 3.33.0 being the most recent version."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing various functionalities such as message handling, equality checks, deep cloning, and buffer message management."],["`ReservationAffinity` objects can be created using a default constructor or a constructor that accepts another `ReservationAffinity` object for cloning."],["The `ConsumeReservationType` property specifies the type of reservation consumption, while the `Key` property represents the label key of a reservation resource, and the `Values` property holds the corresponding label values."],["The documentation provides links to various versions of `ReservationAffinity`, ranging from 3.33.0 down to 2.3.0, allowing users to navigate through different versions."]]],[]]