Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SchedulingNodeAffinity

import type { SchedulingNodeAffinity } from "https://googleapis.deno.dev/v1/compute:v1.ts";

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.

interface SchedulingNodeAffinity {
key?: string;
operator?: "IN" | "NOT_IN" | "OPERATOR_UNSPECIFIED";
values?: string[];
}

§Properties

§
key?: string
[src]

Corresponds to the label key of Node resource.

§
operator?: "IN" | "NOT_IN" | "OPERATOR_UNSPECIFIED"
[src]

Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.

§
values?: string[]
[src]

Corresponds to the label values of Node resource.