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

InstanceFlexibilityPolicyInstanceSelection

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

Specification of machine type to use. Every position inside this message is an alternative. The count specified in the shape flexibility must not exceed the number of entries in per_instance_properties or the capacity of the name_pattern, if used.

interface InstanceFlexibilityPolicyInstanceSelection {
disks?: AttachedDisk[];
machineTypes?: string[];
rank?: bigint;
}

§Properties

§

Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.

§
machineTypes?: string[]
[src]

Alternative machine types to use for instances that are created from these properties. This field only accepts a machine type names, for example n2-standard-4 and not URLs or partial URLs.

§
rank?: bigint
[src]

Rank when prioritizing the shape flexibilities. The instance selections with rank are considered first, in the ascending order of the rank. If not set, defaults to 0.