/** * * * OpenAPI spec version: 20190415 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; import common = require("oci-common"); /** * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mysql/ListMaintenanceEvents.ts.html |here} to see how to use ListMaintenanceEventsRequest. */ export interface ListMaintenanceEventsRequest extends common.BaseRequest { /** * The DB System [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ "dbSystemId": string; /** * Customer-defined unique identifier for the request. If you need to * contact Oracle about a specific request, please provide the request * ID that you supplied in this header with the request. * */ "opcRequestId"?: string; /** * The MySQL version before the maintenance event. */ "mysqlVersionBeforeMaintenance"?: string; /** * The MySQL version after the maintenance event. */ "mysqlVersionAfterMaintenance"?: string; /** * How the maintenance event was triggered. */ "maintenanceType"?: model.MaintenanceType; /** * The nature of the maintenance event. */ "maintenanceAction"?: model.MaintenanceAction; /** * The last status of the maintenance event. */ "maintenanceStatus"?: string; /** * The maximum number of items to return in a paginated list call. For information about pagination, see * [List Pagination](https://docs.oracle.com/iaas/#API/Concepts/usingapi.htm#List_Pagination). * */ "limit"?: number; /** * The value of the {@code opc-next-page} or {@code opc-prev-page} response header from * the previous list call. For information about pagination, see [List * Pagination](https://docs.oracle.com/iaas/#API/Concepts/usingapi.htm#List_Pagination). * */ "page"?: string; /** * The field to sort by. Only one sort order may be provided. * Time fields are default ordered as descending. * */ "sortBy"?: ListMaintenanceEventsRequest.SortBy; /** * The sort order to use (ASC or DESC). */ "sortOrder"?: ListMaintenanceEventsRequest.SortOrder; } export declare namespace ListMaintenanceEventsRequest { enum SortBy { TimeCreated = "timeCreated", TimeScheduled = "timeScheduled", TimeStarted = "timeStarted", TimeEnded = "timeEnded" } enum SortOrder { Asc = "ASC", Desc = "DESC" } }