ClusterNodePoolNodeConfigReservationAffinityArgs

data class ClusterNodePoolNodeConfigReservationAffinityArgs(val consumeReservationType: Output<String>, val key: Output<String>? = null, val values: Output<List<String>>? = null) : ConvertibleToJava<ClusterNodePoolNodeConfigReservationAffinityArgs>

Constructors

constructor(consumeReservationType: Output<String>, key: Output<String>? = null, values: Output<List<String>>? = null)

Properties

Link copied to clipboard

The type of reservation consumption Accepted values are:

Link copied to clipboard
val key: Output<String>? = null

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.

Link copied to clipboard
val values: Output<List<String>>? = null

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"

Functions

Link copied to clipboard
open override fun toJava(): ClusterNodePoolNodeConfigReservationAffinityArgs