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

ResourceMaintenanceSchedule

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

Maintenance window for the database resource. It specifies preferred time and day of the week and phase in some cases, when the maintenance can start. This is configured by the customer.

interface ResourceMaintenanceSchedule {
day?:
| "DAY_OF_WEEK_UNSPECIFIED"
| "MONDAY"
| "TUESDAY"
| "WEDNESDAY"
| "THURSDAY"
| "FRIDAY"
| "SATURDAY"
| "SUNDAY";
phase?:
| "WINDOW_PHASE_UNSPECIFIED"
| "WINDOW_PHASE_ANY"
| "WINDOW_PHASE_WEEK1"
| "WINDOW_PHASE_WEEK2"
| "WINDOW_PHASE_WEEK5";
time?: TimeOfDay;
week?:
| "PHASE_UNSPECIFIED"
| "ANY"
| "WEEK1"
| "WEEK2"
| "WEEK5";
}

§Properties

§
day?: "DAY_OF_WEEK_UNSPECIFIED" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"
[src]

Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.

§
phase?: "WINDOW_PHASE_UNSPECIFIED" | "WINDOW_PHASE_ANY" | "WINDOW_PHASE_WEEK1" | "WINDOW_PHASE_WEEK2" | "WINDOW_PHASE_WEEK5"
[src]

Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated. Use phase instead.

§

Optional. Preferred time to start the maintenance operation on the specified day.

§
week?: "PHASE_UNSPECIFIED" | "ANY" | "WEEK1" | "WEEK2" | "WEEK5"
[src]

Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance