ReservationAffinity constructor

const ReservationAffinity({
  1. Input<ReservationAffinityConsumeReservationType>? consumeReservationType,
  2. Input<String>? key,
  3. Input<List<String>>? values,
})

Creates a new ReservationAffinity. consumeReservationType Corresponds to the type of reservation consumption. 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. values Corresponds to the label value(s) of reservation resource(s).

Implementation

const ReservationAffinity({
  this.consumeReservationType,
  this.key,
  this.values,
});