ClusterNodePoolNodeConfigReservationAffinity class

Constructors

ClusterNodePoolNodeConfigReservationAffinity({required Input<String> consumeReservationType, Input<String?>? key, Input<List<String>?>? values})
Creates a new ClusterNodePoolNodeConfigReservationAffinity. consumeReservationType The type of reservation consumption key 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 The list of label values of reservation resources. For example: the name of the specific reservation when using a key of "compute.googleapis.com/reservation-name"
const
ClusterNodePoolNodeConfigReservationAffinity.fromMap(Map<String, dynamic> map)
factory

Properties

consumeReservationType → Input<String>
The type of reservation consumption Accepted values are:
final
hashCode → int
The hash code for this object.
no setterinherited
key → Input<String?>?
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>?>?
The list of label values of reservation resources. For example: the name of the specific reservation when using a key of "compute.googleapis.com/reservation-name"
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