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/vmmigration:v1.ts";

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

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

§Properties

§
key?: string
[src]

The label key of Node resource to reference.

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

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

§
values?: string[]
[src]

Corresponds to the label values of Node resource.