ReservationAffinityContainerV1beta1 class
ReservationAffinity is the configuration of desired reservation which instances could take capacity from.
Constructors
-
ReservationAffinityContainerV1beta1({Input<
ReservationAffinityConsumeReservationTypeContainerV1beta1> ? consumeReservationType, Input<String> ? key, Input<List< ? values})String> > -
Creates a new ReservationAffinityContainerV1beta1.
consumeReservationTypeCorresponds to the type of reservation consumption.keyCorresponds 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.valuesCorresponds to the label value(s) of reservation resource(s).const -
ReservationAffinityContainerV1beta1.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
consumeReservationType
→ Input<
ReservationAffinityConsumeReservationTypeContainerV1beta1> ? -
Corresponds to the type of reservation consumption.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Input<
String> ? -
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Input<
List< ?String> > -
Corresponds to the label value(s) of reservation resource(s).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited