ReservationAffinity constructor
const
ReservationAffinity({
- Input<
ReservationAffinityConsumeReservationType> ? consumeReservationType, - Input<
String> ? key, - Input<
List< ? values,String> >
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,
});