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

InstanceSelection

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

Defines machines types and a rank to which the machines types belong.

interface InstanceSelection {
machineTypes?: string[];
rank?: number;
}

§Properties

§
machineTypes?: string[]
[src]

Optional. Full machine-type names, e.g. "n1-standard-16".

§
rank?: number
[src]

Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.