Class ReservationAffinity
ReservationAffinity is the configuration of desired reservation which instances could take capacity from.
Implements
Inherited Members
Namespace: Google.Apis.Container.v1beta1.Data
Assembly: Google.Apis.Container.v1beta1.dll
Syntax
public class ReservationAffinity : IDirectResponseSchema
Properties
ConsumeReservationType
Corresponds to the type of reservation consumption.
Declaration
[JsonProperty("consumeReservationType")]
public virtual string ConsumeReservationType { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Key
Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify "compute.googleapis.com/reservation-name" as the key and specify the name of your reservation as its value.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
Type | Description |
---|---|
string |
Values
Corresponds to the label value(s) of reservation resource(s).
Declaration
[JsonProperty("values")]
public virtual IList<string> Values { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |