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

AlertPolicyCheck

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

AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail.

interface AlertPolicyCheck {
alertPolicies?: string[];
id?: string;
labels?: {
[key: string]: string;
}
;
}

§Properties

§
alertPolicies?: string[]
[src]

Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is projects/{project}/alertPolicies/{alert_policy}.

§
id?: string
[src]

Required. The ID of the analysis check.

§
labels?: {
[key: string]: string;
}
[src]

Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered.