ResourceFilter
import type { ResourceFilter } from "https://googleapis.deno.dev/v1/workloadmanager:v1.ts";Resource filter for an evaluation defining the scope of resources to be evaluated.
interface ResourceFilter {
gceInstanceFilter?: GceInstanceFilter;
inclusionLabels?: {};
[key: string]: string;
resourceIdPatterns?: string[];
scopes?: string[];
}§Properties
§
gceInstanceFilter?: GceInstanceFilter
[src]Filter compute engine resources.
§
inclusionLabels?: {}
[src][key: string]: string;
Labels to filter resources by. Each key-value pair in the map must exist
on the resource for it to be included (e.g. VM instance labels). For
example, specifying { "env": "prod", "database": "nosql" } will only
include resources that have labels env=prod and database=nosql.