SchedulingNodeAffinityArgs

data class SchedulingNodeAffinityArgs(val key: Output<String>? = null, val operator: Output<SchedulingNodeAffinityOperator>? = null, val values: Output<List<String>>? = null) : ConvertibleToJava<SchedulingNodeAffinityArgs>

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling

Constructors

Link copied to clipboard
fun SchedulingNodeAffinityArgs(key: Output<String>? = null, operator: Output<SchedulingNodeAffinityOperator>? = null, values: Output<List<String>>? = null)

Functions

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

Properties

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

The label key of Node resource to reference.

Link copied to clipboard

The operator to use for the node resources specified in the values parameter.

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

Corresponds to the label values of Node resource.