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 latest version available for `ReservationAffinity` within the `Google.Cloud.Container.V1` namespace is 3.33.0."],["This page lists all available versions of `ReservationAffinity`, ranging from the latest 3.33.0 down to version 2.3.0, each with a direct link to its respective documentation."],["`ReservationAffinity` is a class that defines the configuration for instances to consume capacity from a desired reservation, implementing multiple interfaces such as `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The `ReservationAffinity` class includes properties like `ConsumeReservationType`, `Key`, and `Values` to manage reservation consumption, the reservation label key, and the reservation label values."]]],[]]