SchedulingNodeAffinityComputeV1 constructor

const SchedulingNodeAffinityComputeV1({
  1. Input<String>? key,
  2. Input<SchedulingNodeAffinityOperatorComputeV1>? operator,
  3. Input<List<String>>? values,
})

Creates a new SchedulingNodeAffinityComputeV1. key Corresponds to the label key of Node resource. operator Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. values Corresponds to the label values of Node resource.

Implementation

const SchedulingNodeAffinityComputeV1({
  this.key,
  this.operator,
  this.values,
});