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.
Implements
IMessage<ReservationAffinity>, IEquatable<ReservationAffinity>, IDeepCloneable<ReservationAffinity>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
ReservationAffinity()
public ReservationAffinity()
ReservationAffinity(ReservationAffinity)
public ReservationAffinity(ReservationAffinity other)
Parameter | |
---|---|
Name | Description |
other | ReservationAffinity |
Properties
ConsumeReservationType
public ReservationAffinity.Types.Type ConsumeReservationType { get; set; }
Corresponds to the type of reservation consumption.
Property Value | |
---|---|
Type | Description |
ReservationAffinity.Types.Type |
Key
public string Key { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |
Values
public RepeatedField<string> Values { get; }
Corresponds to the label value(s) of reservation resource(s).
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |