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

PatchInstanceFilter

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

A filter to target VM instances for patching. The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones.

interface PatchInstanceFilter {
all?: boolean;
instanceNamePrefixes?: string[];
instances?: string[];
zones?: string[];
}

§Properties

§
all?: boolean
[src]

Target all VM instances in the project. If true, no other criteria is permitted.

§

Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.

§
instanceNamePrefixes?: string[]
[src]

Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".

§
instances?: string[]
[src]

Targets any of the VM instances specified. Instances are specified by their URI in the form zones/[ZONE]/instances/[INSTANCE_NAME], projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME], or https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]

§
zones?: string[]
[src]

Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.