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

UpdatePolicy

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

Maintenance policy applicable to instance updates.

interface UpdatePolicy {
channel?:
| "UPDATE_CHANNEL_UNSPECIFIED"
| "EARLIER"
| "LATER"
| "WEEK1"
| "WEEK2"
| "WEEK5";
denyMaintenancePeriods?: DenyMaintenancePeriod[];
}

§Properties

§
channel?: "UPDATE_CHANNEL_UNSPECIFIED" | "EARLIER" | "LATER" | "WEEK1" | "WEEK2" | "WEEK5"
[src]

Optional. Relative scheduling channel applied to resource.

§
denyMaintenancePeriods?: DenyMaintenancePeriod[]
[src]

Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. The protocol supports zero-to-many such periods, but the current SLM Rollout implementation only supports zero-to-one.

§

Optional. Maintenance window that is applied to resources covered by this policy.