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

MaintenanceInfo

import type { MaintenanceInfo } from "https://googleapis.deno.dev/v1/databasecenter:v1beta.ts";

MaintenanceInfo to capture the maintenance details of database resource.

interface MaintenanceInfo {
readonly currentVersionReleaseDate?: Date;
denyMaintenanceSchedules?: ResourceMaintenanceDenySchedule[];
maintenanceSchedule?: ResourceMaintenanceSchedule;
readonly maintenanceVersion?: string;
readonly possibleFailureReasons?: "POSSIBLE_FAILURE_REASON_UNSPECIFIED" | "POSSIBLE_FAILURE_REASON_DENY_POLICY_CONFLICT" | "POSSIBLE_FAILURE_REASON_INSTANCE_IN_STOPPED_STATE"[];
readonly previousMaintenanceVersion?: string;
readonly state?:
| "MAINTENANCE_STATE_UNSPECIFIED"
| "MAINTENANCE_STATE_SCHEDULED"
| "MAINTENANCE_STATE_IN_PROGRESS"
| "MAINTENANCE_STATE_COMPLETED"
| "MAINTENANCE_STATE_FAILED";
readonly upcomingMaintenance?: UpcomingMaintenance;
}

§Properties

§
readonly currentVersionReleaseDate?: Date
[src]

Output only. The date when the maintenance version was released.

§
denyMaintenanceSchedules?: ResourceMaintenanceDenySchedule[]
[src]

Optional. List of Deny maintenance period for the database resource.

§
maintenanceSchedule?: ResourceMaintenanceSchedule
[src]

Optional. Maintenance window for the database resource.

§
readonly maintenanceVersion?: string
[src]

Output only. Current Maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15"

§
readonly possibleFailureReasons?: "POSSIBLE_FAILURE_REASON_UNSPECIFIED" | "POSSIBLE_FAILURE_REASON_DENY_POLICY_CONFLICT" | "POSSIBLE_FAILURE_REASON_INSTANCE_IN_STOPPED_STATE"[]
[src]

Output only. List of possible reasons why the maintenance is not completed. This is an optional field and is only populated if there are any reasons for failures recorded for the maintenance by DB Center. FAILURE maintenance status may not always have a failure reason.

§
readonly previousMaintenanceVersion?: string
[src]

Output only. Previous maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15". This is available once a minor version maintenance is complete on a database resource.

§
readonly state?: "MAINTENANCE_STATE_UNSPECIFIED" | "MAINTENANCE_STATE_SCHEDULED" | "MAINTENANCE_STATE_IN_PROGRESS" | "MAINTENANCE_STATE_COMPLETED" | "MAINTENANCE_STATE_FAILED"
[src]

Output only. Resource maintenance state. This is to capture the current state of the maintenance.

§
readonly upcomingMaintenance?: UpcomingMaintenance
[src]

Output only. Upcoming maintenance window for the database resource. This is only populated for an engine, if upcoming maintenance is scheduled for the resource. This schedule is generated per engine and engine version, and there is only one upcoming maintenance window at any given time. In case of upcoming maintenance, the maintenance_state will be set to SCHEDULED first, and then IN_PROGRESS when the maintenance window starts.