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

OSPolicyAssignmentInstanceFilter

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

Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.

interface OSPolicyAssignmentInstanceFilter {
all?: boolean;
exclusionLabels?: OSPolicyAssignmentLabelSet[];
inclusionLabels?: OSPolicyAssignmentLabelSet[];
}

§Properties

§
all?: boolean
[src]

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

§

List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.

§

List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM.

§

List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.