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

Constraints

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

Constraints to be applied while editing a schedule. These constraints ensure that Upgrade specific requirements are met.

interface Constraints {
readonly disallowedIntervals?: WeeklyTimeInterval[];
readonly minHoursDay?: number;
readonly minHoursWeek?: number;
readonly rescheduleDateRange?: Interval;
}

§Properties

§
readonly disallowedIntervals?: WeeklyTimeInterval[]
[src]

Output only. Output Only. A list of intervals in which maintenance windows are not allowed. Any time window that overlaps with any of these intervals will be considered invalid.

§
readonly minHoursDay?: number
[src]

Output only. Minimum number of hours must be allotted for the upgrade activities for each selected day. This is a minimum; the upgrade schedule can allot more hours for the given day.

§
readonly minHoursWeek?: number
[src]

Output only. The minimum number of weekly hours must be allotted for the upgrade activities. This is just a minimum; the schedule can assign more weekly hours.

§
readonly rescheduleDateRange?: Interval
[src]

Output only. Output Only. The user can only reschedule an upgrade that starts within this range.